code for matlab
code for matlab
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.
code for matlab code for matlab
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am