Project #1 Math lab

I’m stuck on a MathLab question and need an explanation.

You need to include an introduction, primary discussion, and summary. Include graphs, tables, and images, as necessary, to improve the clarity of your discussion. Your project needs to be both correct and well written. Communication remains a critical component of our modern, technological society. A few notes about format: you MUST use MS Word for your project and use Equation Editor for all mathematical symbols, e.g. ( ) = sin( ) + 1 ln( ) . 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 1A:

Approximate the solution to the IVP using 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 Euler’s method applied to this IVP + Plot the Euler’s method approximation + Plot the absolute error between the approximation and the exact solution using a semi-log plot

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

Part 1C:

Approximate the solution to the IVP using the RK4 method with the following conditions: Initial condition 0 = − 1 2 ; time step ℎ = 1 16 ; and time interval ∈ [0,20] + Plot the RK4 method approximation + Plot the absolute error between the approximation and the exact solution using a semilog plot

Problem 2: Consider the following Initial Value Problem (IVP) where ( ) is the dependent function:

′ = − 2 + 1.14 cos( /2 ) with (0) = 0 and ≥ 0

Part 2A:

Approximate the solution to the IVP using the Improved Euler’s method with the following conditions: Initial condition 0 = 1; time steps ℎ = 1 8 , 1 16 , 1 32 , 1 64 ; and time interval ∈ [0,20]

Plot the Improved Euler’s method approximation for all 4 time steps

Discuss the results of these approximations

Part 2B:

Approximate the solution to the IVP using the RK4 method with the following conditions:

Initial condition 0 = 1;

time steps ℎ = 1 8 , 1 16 , 1 32 , 1 64 ; and time interval ∈ [0,20]

Plot the RK4 approximation for all 4 time steps

Discuss the results of these approximations

Order a Similar or Custom Paper from our Writers