Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Solve using Wolfram or matlab please Calculation of the numerical derivative of a function Solve with the problem data Compute the numerical derivative of the
Solve using Wolfram or matlab please
Calculation of the numerical derivative of a function Solve with the problem data Compute the numerical derivative of the function f defined below if /D = 1x10-4 and Re=1x105 1 / = 7 g(f) = +0.86 Ln [+ 2.51 ] Re vf f 3.7 a) using a forward finite difference approximation. b) using a backward finite difference approximation. c) using a central finite difference approximation. d) Compare your results with the result obtained with the analytic derivative. Yes, you want the difference between the numerical approximation to the derivative and the exact value is s 1x10-2 find the value of h needed in each case The analytical derivative of the function can be obtained with Mathematica in the following way: ED = E/D In[1]= ED = 1 x 10-4; re = 1 x 10"; 1 ED 2.51 In[2]:= g [f_] := +0.86 Log f 3.7 :] re VF In[3]:= D[g[f], f] 1 (1 3/2 Out[3] 2 14 0.000010793 0.000027027 0.0000251 f f3/2 VF O well 2 In[4]= 8'[f] 1 (1 3/2 0.000010793 Out4 0.000027027+ 0.8988251 f}/2 VF , utilizando palettes 1151- d4g[f] 1 (13/2 0.000010793 Ou5 0.00027027+ 0.0008251 f3/2 VF defino la derivada como gp[f] .1793* In[6] - gp[f] 0.000827027027027027023 + evalo la derivada en f= 0.01 [7)- Ep.01] 3/2 109). 0.0000251 f3/2 Oul-538.82
Step 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