Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 3. (Module 8) Consider g(t) = x2 e-x/2, x = 0, 0.4, 0.8, 1.2. Determine derivative g'(t) in the point xo = 0.8 and
Problem 3. (Module 8) Consider g(t) = x2 e-x/2, x = 0, 0.4, 0.8, 1.2. Determine derivative g'(t) in the point xo = 0.8 and h=0.4 using self-developed Matlab program: a) Two-point backward difference formula. b) Two-point forward difference formula. c) Two-point central difference formula. d) Taylor series based difference formula. Find the percentage relative error in each case. Note: Matlab program Mod8_Example1.m can be used; however it is work only for Forward difference, and need to be adapted to the other formulas. Put your answer in this field: Forward difference: g'(t) = Error = Backward difference: g'(t) = Error = Central difference: g'(t) = Error = Taylor based difference: g'(t) = Error = Paste your two-point central difference formula only below
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