Question: 2. (25%) Consider the following first order differential equation. dx = (t t 1) y(0) = 1 (a) Find the value of the y

2. (25%) Consider the following first order differential equation. dx = (t t 1) y(0) = 1 (a) Find the value of the y at t=2 using the midpoint method and step size of h=1. (b) Formulate (but do not solve!) a Runga-Kutta method that uses the slope at the beginning, middle and end of an interval. The method gives the first slope twice as much weight as the middle slope which has twice as much weight at the last slope.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
