Improved Euler's Method Code
์กฐํ ์: 20 (์ต๊ทผ 30์ผ)
์ด์ ๋๊ธ ํ์
Problem 1: Consider the following Initial Value Problem (IVP) where ? is the dependent variable and ? is the independent variable: ? โฒ = sin(?) โ (1 โ ?) with ?(0) = ?0 and ? โฅ 0 Note: the analytic solution for this IVP is: ?(?) = 1 + (?0 โ 1)?^cos(?)โ1.
Part 1B: Approximate the solution to the IVP using the Improved Eulerโs method with the following conditions: Initial condition ?0 = โ 1/2 ; time step โ = 1/16 ; and time interval ? โ [0,20]
+ Derive the recursive formula for the Improved Eulerโs method applied to this IVP
+ Plot the Improved Eulerโs method approximation
+ Plot the absolute error between the approximation and the exact solution using a semilog plot
๋๊ธ ์: 2
James Tursa
2018๋
12์ 14์ผ
What have you done so far? What specific problems are you having with your code?
๋ต๋ณ (0๊ฐ)
์ฐธ๊ณ ํญ๋ชฉ
์นดํ ๊ณ ๋ฆฌ
Help Center ๋ฐ File Exchange์์ Symbolic Math Toolbox์ ๋ํด ์์ธํ ์์๋ณด๊ธฐ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!