Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need part (f) please follow the instructions and show the output you got when you ran the code. Consider the following double integral with
I need part (f) please follow the instructions and show the output you got when you ran the code.
Consider the following double integral with a=15,b=14.5,c=16, and d=4. abad160+(9x2+16y2)dydx a) Use the mesh function to plot the function (do not use fmesh). Use the axis command to limit the range of x and y to the range specified by a,b,c, and d. Make sure the lower bound for the z axis is 0 . Use the original upper bound for z (i.e. before using the axis command). You can save the original axes using: = axis; b) Calculate an estimate of the integral using a single application of Simpson's 3/8 rule in each dimension, starting with the x axis. Use an fprintf statement to print your answer. c) Calculate an estimate of the integral using a single application of Simpson's 3/8 rule in each dimension, starting with the y axis. Use an fprintf statement to print your answer. d) Calculate the true value of the integral using the int function. Use an fprintf statement to print your answer. e) Are the results from b through d the same? Why or why not? f) Extra Credit ( 6 points) Recreate the plot from part (a) in a new figure. Add two things to the plot: (i) a magenta plane corresponding to a height of 115 units above the xy plane (i.e. z= 115) and (ii) plot all of the points used in part (c) as red asterisks. Use the view command to set the view to AZ=6.6 and EL=12.4. Note: AZ represents the azimuth angle in degreesStep 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