Sultan Qaboos University
College of Science
Department of Mathematics and Statistics
MATH3730 - Computer Algebra System I
MIDTERM TEST I - FALL 2017
Time allowed : 1 hour and 45 min.
INSTRUCTIONS: Q-No. Max. Score
• Write your ID number and name on this cover
sheet. Q-1 5
• Write the Maple Code required for each
question. Q-2 7
• Some Maple Commands require specific packages
to be loaded. Q-3 6
• Give your approximate answers up to 2 decimal
places only.
Q-4 6
• Attempt all questions.
Q-5 6
Q-6 5
DATE: ......................................................................................................
Q-7 5
SECTION NUMBER: ................................................................................
- - -
I.D. NUMBER:.......................................................................................
- - -
NAME: ......................................................................................................
- - -
- - -
TOTAL 40
– 1 –
p 1
3+ x3 −2
1. Consider the function: f (x) = . 3+2=5
x −1
(a) Find the domain of f .
Answer:
Maple Code:
(b) Compute lim f (x).
x→1
Answer:
Maple Code:
1 p 2
2. Let f (x) = x x + 5. 2+2+3=7
3
(a) Compute m = f 0 (2).
Answer:
Maple Code:
(b) Find an equation of the tangent line to the graph of f at the point (2, 2). Express your
equation in the form y = mx + b.
Answer:
Maple Code:
(c) Graph f (x) and the tangent line obtained in (b) together for 0 ≤ x ≤ 4 and −1 ≤ y ≤ 6
using different colors and line styles
– 2 –
Maple Code:
3. 3+3=6
∂ 2z x y2
(a) Find at the point (x = π2 , y = 2) if z = .
∂ x∂ y sin x
Answer:
Maple Code:
d3 y
(b) Find if ln (x) + x y = y.
d x3
Answer:
Maple Code:
4. Consider the system of equations: 4+2=6
x2 + y2 + 4 x = 1
§
3x −2xy +2 y = 4
2 2
(a) Graph the two equations together for x ∈ [−4.5, 1.5] and y ∈ [−2.5, 2.5] using the
same scale for both coordinate axes.
– 3 –
Maple Code:
(b) From the graphs estimate the solution of the system of equations.
Answer:
5. 3+3=6
3θ
(a) Graph the polar function sin for θ ∈ [0, 4π].
2
Maple Code:
– 4 –
(b) Plot the curve y(x) defined parametrically by:
x(t) = 2 cos t − sin 2t, y(t) = 4 sin t
for 0 ≤ t ≤ 2π.
Maple Code:
6. Graph the following 3-D plots, labelling the 3 coordinates axes by x, y, z. 2+3=5
(a) The curve r(t) =< tan−1 t, 2e−t sin t, t > for t ∈ [0, 4].
Maple Code:
(b) The surface z = x 2 + x 2 y 2 + y 4 for x ∈ [−1, 1] and y ∈ [−1, 1].
– 5 –
Maple Code:
7.
8. Consider the function: 2+3=5
x ; x < −1
f (x) = x 2 ; −1 ≤ x ≤ 1
x3 ; x >1
(a) Use the Maple function piecewise to define the function f (x).
Maple Code:
(b) Use the Maple function proc to define the function f (x).
Maple Code:
Total: 40 points