Assign 1 SP24
Assign 1 SP24
Assign 1 SP24
Name: I.D:
Instructions:
• Answer all questions in a single Maple worksheet and save your work in pdf format.
• The question sheet should be attached as front sheet to the answer printout.
x4 + x3 − 4x2 − 4x
1. Let R(x) = . Transforn R(x) into each of the following: [2+2+2]
x4 + x3 − x2 − x
(x + 2)(x − 2) (x2 − 4)
(a) (b) (c) Partial fractions.
(x + 1)(x − 1) x2 − 1
x sin x1
if x > 0,
g(x) =
−x if x ≤ 0.
(a) Divide the interval [−π, π] into 16 equally spaced intervals, then compute all the pairs [xi , g(xi )]
at each of the points xi in the interval [−π, π].
(b) Plot all the points [xi , g(xi )] using solid circles.
3. (a) Create a function fdiff which for a given function f produces its second derivative. Apply
fdill to the function f given by f (x) = x2 sin x. [3+5]
(b) Create a procedure tplot which for each couple (f, x0 ), where f is a function and x0 is a
scalar, produces the graph of f in the interval [−3, 3] together with the tangent line at the
point (x0 , f (x0 )). Apply tplot to f (x) = xex/2 and x0 = 1.
(a) Graph the path C for −2 ≤ t ≤ 4 in the range [−10, 10] × [−10, 10].
(b) Find the point(s) on the path C where the velocity is vertical.
(c) Determine the time when the particle passes through the origin.
x3 + xy + 2y 2 = 4
x3 + y = 1.
(a) Graph the two equations together in the range [−2, 2] × [−3, 3] using different colors.
(b) Compute an approximation to the intersection point that lies in the second quadrant.
Total marks = 40