Question: Need help solving this in matlab! 1) Numerical Differentiation a) Evaluate y(x) = cos(x) sin(x) on x (0,210), Ax = 0.1. Then, use the resulting

Need help solving this in matlab! Need help solving this in matlab! 1) Numerical Differentiation a) Evaluate y(x)

1) Numerical Differentiation a) Evaluate y(x) = cos(x) sin(x) on x (0,210), Ax = 0.1. Then, use the resulting vector to estimate the following derivatives: First derivative using O(Ax?) accurate scheme for center and boundary. Save on HW5_1.dat Second derivative using 0(AX) accurate scheme for center and boundary. Save on HW5_2.dat First derivative using O(Ax*) accurate scheme for center and O(Ax2) accurate schemes for boundary. Always use the available points that give the greatest accuracy. This mean using 4 different schemes across the domain (Forward 0 (4x2) center 0 (Ax?), center 0(4x4), center 0(4x2) again, and backward 0(4x2)). Save on HW5_3.dat b) Evaluate y(x) = e* on x (0,5), Ax = 0.01. Then use the resulting x and y vectors to do the exact same thing you did in part a)! Save the results on HW5_4.dat, HW5_5.dat, and HW5_6.dat

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!