This problem can be easily computed with the help of programming .
i'm using c++ code for computing this
here is the code which can be used for finding the solution
#include<iostream>
using namespace std;
double calFunc(double x,double y)
{
double res=x*x - (1/y);
return res;
}
int main()
{
double x0=0, y0=11,x1=0.2, y1=22;
double finalY=0;
double h=0.2;
for(int i=2;i<=99;i++)
{
finalY=y1+ h* (5*calFunc(x1,y1)/12+2*calFunc(x0,y0)/3 );
x0=x1;
y0=y1;
x1+=0.2;
y1=finalY;
cout<<"\ny"<<i<<": "<<finalY;
}
}
and the output associated is :
as we can see that y99 is 2731.29 which will be 2731 when rounded off to nearest integer.
I hope this will help you so please give positive ratings :)))
Consider the ODE fx,y)2- Take initial conditions xo0, yo(0) 11, x10.2 and y - y(0.2) 22 solve for y(99) with a step siz...
Consider the ODE f(x,y) = - 10r5 Take initial conditions xo = 0 , yo = y(0) = 11 , x1 = 0.2 and y y(0.2)= 22, solve for y(99) with a step size of 0.2 using an adaptation of Euler's method, which uses two known y solutions to approximate the next y solution. The general formula is: 3 Vi+2 i+1+ h 1 (owsan-cuea An example of the first few iterations is shown below. (wcomnce) (ceny5-cesn) y2 yh 3 (esa-c)...
Problem 3. Given the initial conditions, y(0) from t- 0 to 4: and y (0 0, solve the following initial-value problem d2 dt Obtain your solution with (a) Euler's method and (b) the fourth-order RK method. In both cases, use a step size of 0.1. Plot both solutions on the same graph along with the exact solution y- cos(3t). Note: show the hand calculations for t-0.1 and 0.2, for remaining work use the MATLAB files provided in the lectures Problem...
solve it with matlab 25.24 Given the initial conditions, y(0) = 1 and y'(0) = 1 and y'(0) = 0, solve the following initial-value problem from t = 0 to 4: dy + 4y = 0 dt² Obtain your solutions with (a) Euler's method and (b) the fourth- order RK method. In both cases, use a step size of 0.125. Plot both solutions on the same graph along with the exact solution y = cos 2t.
2. (10 points) Consider the initial value problem y = y-2. and y(1) = 0. (a) (4 points) Use Euler's method with step size 0.5 to approximate y(2) (i.e., the value of y when x = 2)? (b) (6 points) Solve the differential equation (with the specified initial value) to get y as a function of r.
using matlab thank you 3 MARKS QUESTION 3 Background The van der Pol equation is a 2nd-order ODE that describes self-sustaining oscillations in which energy is withdrawn from large oscillations and fed into the small oscillations. This equation typically models electronic circuits containing vacuum tubes. The van der Pol equation is: dt2 dt where y represents the position coordinate, t is time, and u is a damping coefficient The 2nd-order ODE can be solved as a set of 1st-order ODEs,...
MATLAB help please!!!!! 1. Use the forward Euler method Vi+,-Vi + (ti+1-tinti , yi) for i=0.1, 2, , taking yo-y(to) to be the initial condition, to approximate the solution at 2 of the IVP y'=y-t2 + 1, 0 2, y(0) = 0.5. t Use N 2k, k2,...,20 equispaced timesteps so to 0 and t-1 2) Make a convergence plot computing the error by comparing with the exact solution, y: t (t+1)2 exp(t)/2, and plotting the error as a function of...
Required information Consider the following equation: dạy dt2 +9y=0 Given the initial conditions, 10) = 1 and y(0) = 0 and a step size = 0.1. Solve the given initial-value problem from t= 0 to 4 using Euler's method. (Round the final answers to four decimal places.) The solutions are as follows: t y z 0.1 1.2 2.3 4
I. Use Euler's method with step size h = 0.1 to numerically solve the initial value problem y,--2ty+y2, y(0) 1 on the interval 0 < t 2. Compare your approximations with the exact solution. I. Use Euler's method with step size h = 0.1 to numerically solve the initial value problem y,--2ty+y2, y(0) 1 on the interval 0
Solve using Matlab Use the forward Euler method, Vi+,-Vi+(4+1-tinti ,Vi) for i= 0,1,2, , taking yo y(to) to be the initial condition, to approximate the solution at t-2 of the IVP y'=y-t2 + 1, 0-t-2, y(0) = 0.5. Use N = 2k, k = 1, 2, , 20 equispaced time steps (so to = 0 and tN-1 = 2). Make a convergence plot, computing the error by comparing with the exact solution, y: t1)2 -exp(t)/2, and plotting the error as...
Discretization, ODE solving, condition number. Consider the differential equation 5y"(x) - 2y'(x) +10y(x)0 on the interval x E [0,10] with boundary conditions y(0)2 and y (10) 3 we set up a finite difference scheme as follows. Divide [0,10] into N-10 sub-intervals, i.e. {xo, X1, [0,1,. 10. Denote xi Xo + ih (here, h- 1) and yi E y(x). Approximate the derivatives as follows X10- 2h we have the following equations representing the ODE at each point Xi ,i = 1,...