(5/5)

Submit a single pdf file consisting of a scan of your neatly handwritten solutions (solutions may also be typed or written electronically using a tablet). Include full working for all solutions; you must demonstrate that you can find your solutions without the aid of a calculator, computer algebra system or similar (e.g. Wolfram Alpha).

For MATLAB, you should include both your script and the plots created. It is recommended you do so by publishing your script as a pdf and combining this pdf with your working

QUES1

(a) (5 marks) Find the maximum velocity by doing the following:

i) find all the critical points of the function v(x, y),

ii) identify the single critical point that is within the cross section area A depicted above (including, possibly, on the boundary).

iii) show that this critical point is a local maximum using the Hessian determinant test, iv) evaluate the value of v at this maximum

(b) (5 marks) The flow rate of water Q (metres3/second) through the channel is defined as the integral

where A is the cross-section depicted in the figure above. For h = 1, calculate the flow rate by doing the following:

i) describe the fluid region A mathematically, with x as the outer variable and y as the inner variable,

ii) set up and evaluate the double integral. If you want, for fun (but no bonus marks) you can try to find the flux for general depth h

(c) (2 marks) use MATLAB to create a contour plot of the velocity v(x, y) for h = 1. Make sure to include a few (three or more) contours (level curves) between zero and the maximum value you found in Q1a.

Question 2

(a) (2 marks) Assume the resistance is constant: R = 100. Check by direct substitution that the function VC (t) = 9(1 – e^−10t ) satisfies the ODE and the initial condition.

(b) (4 marks) Now assume that the resistor slowly degrades, so that its resistance increases with time:

R = R(t) = 100 + 2t. Solve the ordinary differential equation for VC (t) with this resistance, using either separation of variables, or the integrating factor method. Make sure to also include the initial condition.

(5/5)

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of