Electrical Mathematics Question
Electrical Mathematics Question
FACULTY OF ENGINEERING
DEPARTMENT OF MECHANICAL ENGINEERING
2015/2016 SESSION SUMMER SCHOOL EXAMINATION
Question 1
(a) Solve the following first order differential equation:
' y+x
(i) y = y ( 0 )=3
y−x
dy
(ii) x = y+x y ( 1 )=−6
dx
(iii) x 2 y 2 dx−( 1+ x 2 ) dy=0 y ( 0 )=1
(b) Find the series expansion of the following:
1
(i) f ( x )=
1−x
(ii) f ( x )=e x
Question 2
(a) Describe the following types of differential equation. Give relevant examples:
(i) Order of a differential equation (ii) Degree of differential equation
(iii) Homogeneous equation (iv) Non-linear differential equation
Question 3
(a) Using power series method, find the linearly independent solution of y ' =2 xy when the series
expansion is about the origin.
(b) Find the series solution for the following equation using the Frobenius method
3 x 2 y ' ' −x y ' + y (1−x )=0
Question 4
(a) Starting from Taylor’s series for f (x), derive an expression for Euler’s method for solving a
second order differential equation.
(b) Using extension of Euler’s method to second order differential equation, solve the equation
'
y ' ' = y + x y ' for 0 ≤ x ≤ 1.0, interval of 0.2, given that x o=0 , y o =1 and ( y )0 =0. Tabulate your
results and write a simple basic program to determine a numerical solution of the equation.
Question 5
(a) Differentiate between Linear interpolation and Quadratic interpolation.
(b) Given the following data
i xi f(xi) = log xi
0 1 0
1 3 1.098612
2 3.5 1.252763
3 5.5 1.704748
Fit a third order Newton’s polynomial to estimate log 5. Compute also the percentage relative error.
Question 6
(a) Develop a basic program to solve the system of equation below for the unknown variables using
Cramer’s rule:
3 x 1+ 4 x 2=6
2 x1 +6 x 2=9
(b) Solve the system of equations below for the unknown variables by using Gauss-Jordan approach
3 x 1−0.3 x 2−0.15 x3 =9
0.1 x 1+6 x 2−0.32 x 3=−19.3
0.3 x 1−0.2 x2 +3 x 3=21
Question 7
(a) Starting from Maclaurin’s and Taylor’s series, derive the expression for solving first order
differential equation using Euler’s method.
(b) Using Runge-Kutta method for solving first order differential equation, solve the equation
dy
=x+ y for 0 ≤ x ≤ 0.1, step of 0.1, given that y (0)=1. Tabulate your results and show the results
dx
graphically.