Page 1 of 1

code for matlab code for matlab

Posted: Fri May 20, 2022 3:36 pm
by answerhappygod
code for matlab
code for matlab
Code For Matlab Code For Matlab 1
Code For Matlab Code For Matlab 1 (24.72 KiB) Viewed 19 times
Code For Matlab Code For Matlab 2
Code For Matlab Code For Matlab 2 (24.72 KiB) Viewed 19 times
2.5 Q2. Fully developed flow moving through a 40-cm diameter pipe has the following velocity profile: Radius, cm 0.0 5.0 7.5 10.0 12.5 15.0 175 20.0 Velocity v m/s 0.914 0.890 0.847 0.795 0.719 0.543 0.427 0.204 0 Find the volume flow rate Q using the relationship Q = 1" 2nrv dr, where r is the radial axis of the pipe, Ris the radius of the pipe, and v is the velocity, Solve the problem using two different approaches. (a) Fit a polynomial curve to the velocity data and integrate analytically, (b) Use multiple-application Simpson's 1/3 rule to integrate then Develop a MATLAB code to solve the equation (c) Find the percent error using the integral of the polynomial fit as the more correct value.