Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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! image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases 28th British National Conference On Databases Bncod 28 Manchester Uk July 2011 Revised Selected Papers Lncs 7051

Authors: Alvaro A.A. Fernandes ,Alasdair J.G. Gray ,Khalid Belhajjame

2011th Edition

3642245765, 978-3642245763

More Books

Students also viewed these Databases questions

Question

Persuading Your Audience Strategies for

Answered: 1 week ago