project 1 math lab
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