Name: Student Id:: Eee 424: Numerical Methods Assignment On Experiment 2 (Solution To Odes)
Name: Student Id:: Eee 424: Numerical Methods Assignment On Experiment 2 (Solution To Odes)
Name:
Student ID:
Instructions
1. (Lab Task) Write a MATLAB code for solving the ODE + = 6(1 ) with
0 = 0 and 0 = 1 for 0 50 using RK-4 method. Obtain the y vs. x plot.
2. Change the value of h in problem 1 and see how the resulting curve varies. Comment on
your results.
3. Write a MATLAB code to solve the following system of differential equations for
1 . Give the corresponding plots.
1
+
=0
1
= 6
with the boundary conditions 1 = 0, 1 = 1, 1 = 1 and 1 = 2, 1 = 3
4. (Lab Task) Write a MATLAB code to solve the boundary value problem 2
2 = 0 with 0 = 1, 1 = . Give the corresponding plot. Use LU decomposition
by Thomas algorithm followed by forward and backward substitution to solve the linear
system of equation you get.
5. (Analytical) Assume a differential equation of the form
= (, , ) where a is an
unknown constant. The boundary values are specified = and = .
Devise a method of solving the equation. Mention the limitations of your method (if any).
6. Use your method in problem 5 to solve the ODE = + with 1 = 1.021 and
3 = 12.606 for 1 3.