You are on page 1of 1

Name & Index Number: ...............................................

M.Sc. in Mathematics Education - 2022


MME 5026 REVISION

1. (a) What would you enter in OCTAVE to calculate 23 + 78 and get as decimal places.
(b) What would you enter in OCTAVE to get factors of x2 + 5x − 6.
(c) What would you enter in OCTAVE to substitute x = 8 to x3 + 3x − 1.
(d) What would you enter in OCTAVE to substitute x = π/3 to sin(x) and get as
decimal places.
(e) What would you enter in OCTAVE to get derivative of x2 exp(x).
(f) What would you enter in OCTAVE to integrate general x ∗ tan(x).

2. (a) What would you enter to plot the curve given by y = t−sin(t) and y = 2−cos(t)
together on the same graph, for 0 ≤ t ≤ 6π.
(b) What would you enter to plot the curve given by x = t−sin(t) and y = 2−cos(t)
together on the same graph, for 0 ≤ t ≤ 6π.

3. Define f (x, y) = exp(−x2 − y 2 )cos(20x). Obtain 3-dimensional plot.

4. (a) Enter the differential equation:

dy(x) −2xy(x)
= .
dx 1 + x2

Solve the the equation with initial condition y(0) = 2. Plot the solution curve.
(b) Plot the solution curves of the above differential equation with initial condi-
tions, y(0) = 2, y(0) = 4, y(0) = 8 in the same graph.

5. Consider the function: f (x) = x3 −7x+2, plot f (x) and locate all real roots (correct
up to three decimal points).

ˆ Root 1:...................................
ˆ Root 2:...................................
ˆ Root 3:...................................

You might also like