Question # 3 2. a) Consider the initial value problem d3y dy dy dxs dx dx2 Obtain the first five non-zero terms of the solution using the Taylor expansion approach. b) Calculate y(1.5, ( (1.5) usi...
Number 2 1. a) The displacement x of a forced spring-mass system is governed by dx d2x dt2 + (1 + t)x2 = sint t> 0 x(0) = 0 dx (0) = 0 dt dt Obtain the first four non-zero terms of the solution using the Taylor expansion approach. b) Calculate the position and velocity of the mass at t = 0.5 using the result of part (a). a) The displacement x of a forced spring-mass system is governed by...
Consider the initial value problem given below dy y =xy y(1.4)3 dx X The solution to this initial value problem has a vertical asymptote at some point in the interval [1.4,2.11. By experimenting with the improved Euler's method subroutin determine this point to two decimal places. The solution has a vertical asymptote at x Consider the initial value problem given below dy y =xy y(1.4)3 dx X The solution to this initial value problem has a vertical asymptote at some...
1. Solve the following initial value problem over the interval from x- 0 to 0.5 with a step size h-0.5 where y(0)-1 dy dx Using Heun method with 2 corrector steps. Calculate g for the corrector steps. Using midpoint method a. b. 1. Solve the following initial value problem over the interval from x- 0 to 0.5 with a step size h-0.5 where y(0)-1 dy dx Using Heun method with 2 corrector steps. Calculate g for the corrector steps. Using...
Problem Thre: 125 points) Consider the following initial value problem: dy-2y+ t The y(0) -1 ea dt ical solution of the differential equation is: y(O)(2-2t+3e-2+1)y fr exoc the differential equation numerically over the interval 0 s i s 2.0 and a step size h At 0.5.A Apply the following Runge-Kutta methods for each of the step. (show your calculations) i. [0.0 0.5: Euler method ii. [0.5 1.0]: Heun method. ii. [1.0 1.5): Midpoint method. iv. [1.5 2.0): 4h RK method...
Question Question 9 (2 marks) Attempt 1 Consider the initial value problem: v=2x2+5 y(1) = 3. Using Euler's method: yn+1 =y, thyn n+1 = In th, with step-size h = 0.5, obtain an approximate solution to the initial value problem at x = 2. Maintain at least eight decimal digit accuracy throughout all calculations. You may express your answer as a five decimal digit number, for example 6.27181 YOU DO NOT HAVE TO ROUND YOUR FINAL ESTIMATE. Estimate at x...
[7] 1. Consider the initial value problem (IVP) y′(t) = −y(t), y(0) = 1 The solution to this IVP is y(t) = e−t [1] i) Implement Euler’s method and generate an approximate solution of this IVP over the interval [0,2], using stepsize h = 0.1. (The Google sheet posted on LEARN is set up to carry out precisely this task.) Report the resulting approximation of the value y(2). [1] ii) Repeat part (ii), but use stepsize h = 0.05. Describe...
Using the Runge-Kutta fourth-order method, obtain a solution to dx/dt=f(t,x,y)=xy^3+t^2; dy/dt=g(t,x,y)=ty+x^3 for t= 0 to t= 1 second. The initial conditions are given as x(0)=0, y(0) =1. Use a time increment of 0.2 seconds. Do hand calculations for t = 0.2 sec only.
In this exercise we consider finding the first five coefficients in the series solution of the first order linear initial value problem (+3)y' 2y 0 subject to the initial condition y(0) 1. Since the equation has an ordinary point at z 0 it has a power series solution in the form We learned how to easily solve problems like this separation of variables but here we want to consider the power series method (1) Insert the formal power series into...