3. Consider the differential equation dy 2x2y dx 0, y 1 In the following questions work...
For the following differential equation: (x^3)dy/dx+y^4+3=0 where dy/dx is the first derivative of y with respect to x, () means power. The equation has initial values y=2.00 at x=1.00 Using Euler method with a step in the x direction of h=0.30: Show the equation to use to generate values of (2 marks) Calculate the missing values of y in the table below I .1.30 1.00 2.00 1.60 For (2 marks)
Use the "mixed partials" check to see if the following differential equation is exact. If it is exact find a function F(x,y) whose differential, dF (x, y) is the left hand side of the differential equation. That is, level curves F (x, y) = C are solutions to the differential equation: (4ху? — 4y)dx + (4х^у — 4х)dy %3D0 First: and N(x, y) : М/(х, у) 3 вху-4 = 8xy-4 If the equation is not exact, enter not exact, otherwise...
a) Consider the first-order differential equation (y + cos.r) dx + dy = 0. By multiplying integrating factor y(x) = ei" to both sides, show that the differential equation is exact. Hence, solve the differential equation. (6 marks) b) Solve the differential equation (4.r + 5)2 + ytan z = dc COSC (7 marks)
Consider the following initial value problem у(0) — 0. у%3D х+ у, (i) Solve the differential equation above in tabular form with h= 0.2 to approximate the solution at x=1 by using Euler's method. Give your answer accurate to 4 decimal places. Given the exact solution of the differential equation above is y= e-x-1. Calculate (ii) all the error and percentage of relative error between the exact and the approximate y values for each of values in (i) 0.2 0.4...
Consider the following ordinary differential equation: y' - sin(4t) = 0 (Eq. 4) The boundary condition is that y(0) = -0.25. When the position y is a function of time, t, this describes an oscillating system – it's an example of simple harmonic motion. Functions like this are extremely common when considering mechanical systems. Write MATLAB code to carry out the following tasks: a) Apply the Taylor method for solving this equation (up to t4) for 20 steps, using a...
The differential equation : dy/dx = 2x -3y , has the initial conditions that y = 2 , at x = 0 Obtain a numerical solution for the differential equation, correct to 6 decimal place , using , The Euler-Cauchy method The Runge-Kutta method in the range x = 0 (0.2) 1.0
Consider the differential equation dy/dx = (y-1)/x. (a) On the axes provided, sketch a slope field for the given differential equation at the nine points indicated. (b) Let y = f (x) be the particular solution to the given differential equation with the initial condition f (3) = 2. Write an equation for the line tangent to the graph of y= f (x) at x = 3. Use the equation to approximate the value of f (3.3). (c) Find the particular solution y...
Question 14 (12 marks) Consider the following separable differential equation. dy cos(z)(-1) dr (a) Find any constant solutions of this differential equation and hence write down the solution with initial value y=- when r=7 (b) Use partial fractions to evaluate 1 dy. 1 (c) Use the method for solving separable differential equations to solve this DE in the case where y 0 when r T. You may assume that the solution does not cross the constant solutions you found in...
17. Consider the differential equation given by dy/dx = xy/2 (A) On the axes provided, sketch a slope field for the given differential equation. (B) Let f be the function that satisfies the given differential equation. Write an equation for the tangent line to the curve y (x) through the point (1, 1). Then use your tangent line equation to estimate the value of f(1.2) (C) Find the particular solution y=f(x) to the differential equation with the initial condition f(1)=1. Use your solution...
6. The differential equation: y 4y 2x y(0) 1/16 has the exact solution given by the following equation: v = (1 /2)s, + (14)s +1.16 Calculate y (2.0) using a step size h-0.5 using the following methods: (a) Euler (b) Euler P-c (c)4h order Runge-Kutta (d) Compare the errors for each method. (e) Solve using Matlab's ode45.m function. Include your code and a print of the solution.