Workshop 4 S1 2024 - Week 6-1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

MATH2310 Calculus of Science and Engineering

Semester 1, 2024 The University of Newcastle

Week 6 Workshop 4

Formulas
Multivariable calculus Differential equations
Euler’s method: y 0 = f (x, y)
The Cartesian coordinates (x, y, z) are related to the
cylindrical coordinates (r, θ, z) by y0 = y(x0 )
`1 = f (xn , yn )
r 2 = x2 + y 2 , x = r cos θ,
xn+1 = xn + h
y = r sin θ, z = z,
yn+1 = yn + h`1 (n ≥ 0)

where r ≥ 0, 0 ≤ θ < 2π, −∞ < z < ∞. Improved Euler method: y 0 = f (x, y)

y0 = y(x0 )
The Cartesian coordinates (x, y, z) are related to the
spherical coordinates (ρ, θ, φ) by `1 = f (xn , yn )
`2 = f (xn + h, yn + h`1 )
2 2 2 2 xn+1 = xn + h
ρ =x +y +z , x = ρ cos θ sin φ,
y = ρ sin θ sin φ, z = ρ cos φ, h
yn+1 = yn + (`1 + `2 ) (n ≥ 0)
2
where ρ ≥ 0, 0 ≤ θ < 2π, 0 ≤ φ ≤ π. Fourth order Runge-Kutta method: y 0 = f (x, y)

If u, v are related to x, y by y0 = y(x0 )


`1 = f (xn , yn )
x = x(u, v) and y = y(u, v) `2 = f (xn + h/2, yn + h`1 /2)
`3 = f (xn + h/2, yn + h`2 /2)
then the Jacobian is the determinant `4 = f (xn + h, yn + h`3 )
xn+1 = xn + h
∂x ∂x
∂(x, y) ∂u ∂v h
= ∂y ∂y yn+1 = yn + (`1 + 2`2 + 2`3 + `4 ) (n ≥ 0)
∂(u, v) ∂u ∂v 6

MATH2310 — Workshop 4 — page 1 of 4


Part 1: based on week 4 Lectures
ZZ
1. Consider the double integral 5xy 2 dA, where D is the region contained within x2 +y 2 = 4
D
such that x ≤ 0.

(a) Sketch the region D.

(b) Convert the region and the double integral into polar coordinates, and evaluate the integral.

2. Use the change of variable x = 2u + 3v, y = u − v in order to evaluate


RR
R (2x + y) dA,
where R is the region of the xy-plane bounded by

2y − x = −5, 2y − x = −15,
and
3y + x = −10, 3y + x = −15.

3. Consider the initial value problem

y 0 = x2 − y 2 ; y(0) = 1.

What can you say about the existence and uniqueness of any solutions of this problem?

4. Does the initial value problem



y 0 = 2x y − 1; y(0) = 1

have a unique solution in any neighbourhood of the point (0, 1)?


If you think it does, then

(a) find the unique solution, and

(b) show how the existence follows from the existence and uniqueness theorem.

If you think it doesn’t, then

(a) write down at least two solutions, and

(b) show why the existence and uniqueness theorem fails to apply to this initial value problem.

5. Rewrite the following higher order ODEs as an equivalent system of first order DEs:

(a) y 00 − 5y 0 + 4y = 0

(b) x3 y 000 − 3x2 y 00 + 3xy 0 − y = x4 .

MATH2310 — Workshop 4 — page 2 of 4


Part 2: based on week 5 Lectures

1. Calculate the following triple integrals

(a) Z 1 Z 1 Z 1
xyz dz dy dx
x=0 y=0 z=0

(b) Z 1 Z x Z y
xyz dz dy dx
x=0 y=0 z=0

2. Consider the solid E, enclosed by x2 + y 2 + z 2 = 9 where z ≥ 0.

(a) What geometric object is E, and what is its volume?

(b) Confirm your answer by calculating the triple integral


ZZZ
1 dV.
E

(You will first need to convert this integral to spherical coordinates).


3. Let E be the solid enclosed by the surface z = 3 x2 + y 2 and the plane z = 6, so that E
is a solid cone of height 6 and radius 2 with vertex (0, 0, 0).
By evaluating the triple integral ZZZ
1 dV
E
using cylindrical coordinates, find the volume of this cone.

MATH2310 — Workshop 4 — page 3 of 4


dx
4. Consider the initial value problem = x − t2 , where x(0) = 2.
dt
(a) Use Euler’s method with a step-size of h = 0.5 to estimate x(1).

(b) Repeat the above, but using the improved Euler method.

(c) Confirm that x(t) = t2 + 2t + 2 is the unique solution to the IVP, and hence determine the
exact value of x(1).

dx
5. Consider the initial value problem = x − t2 , where x(0) = 2. Estimate x(1)using the
dt
Fourth order Runge-Kutta method with step size h = 1 .

END OF PAPER

MATH2310 — Workshop 4 — page 4 of 4

You might also like