Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please answer this question using matlab. Thank you b) The force per unit length f that is exerted by the wind on a 24 ft
Please answer this question using matlab. Thank you
b) The force per unit length f that is exerted by the wind on a 24 ft tall sail as a function of its height y is given by: y lb/ft f =160- -ey/8 y+4 The total force F on the sail is calculated by: 24 F = [" f dy Estimate the total force by applying the right Riemann sum with 10 subintervals ( N=10). Compare your result with that obtained by the MATLAB built-in function integral (did you learn this built-in function in BE1500?). Assume that the result from applying the function integral is exact, what is the relative percentage error in using the Riemann sum with 10 subintervals? c) Increase N to 50, what is the relative percentage of error? Plot the relative percentage error as a function of N up to 100. Critical thinking: From parts (b) and (c), we have already obtained the relative percentage errors for N=10 and N=50, i.e., we have obtained two data points for the required graph. Use a for-loop to generate sufficient data points for the graph. Based on the results of (c), what is the qualitative relationship between the error and the number of subintervals? Is this expectedStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started