Question(s) For Assignment 2
Question(s) For Assignment 2
BACKGROUND
If water is drained from a vertical cylindrical tank by opening a valve at the base, the water will flow fast
when the tank is full and slow down as it continues to drain. As it turns out, the rate at which the water
level drops is
𝑑𝑦
= −𝑘√𝑦
𝑑𝑡
Where k is a constant depending on the shape of the hole and cross-sectional area of the tank and drain
hole. The depth of the water y is measured in meters and the time t in minutes. If k=0.06, determine how
long it takes the tank to drain if the fluid level is initially 3m. Solve by applying any two methods to solve
ODE. Use a step of 0.5 minutes.
Consider the thin rod of length l moving in the x-y plane as shown in Fig. P26.13. The rod is fixed with a
pin on one end and a mass at the other. Note that g = 9.81 m/s2 and l = 0.5 m. This system can be solved
using
𝑔
𝜃̈ − 𝜃=0
𝑙
Let θ = 0 and 𝜃̇= 0.25 rad/s. Solve using any method studied in Ordinary Differential Equation (ODE)
chapter. Plot the angle versus time and the angular velocity versus time. (Hint: Decompose the second-
order ODE)
𝑑𝑥
= −700𝑥 − 1000𝑒 −𝑡
𝑑𝑡
𝑥(𝑡 = 0) = 4
Solve the stiff differential equation using a numerical method and over the time period 0 ≤ 𝑡 ≤ 5. Also
solve analytically and plot the analytical and numerical solution for both the fast transient and slow
transition phase of the timescale