You are on page 1of 1

CE6011:

Computer methods in Civil Engineering


Assignment I

Solve all the problems numerically (ode45) as well as analytically (Dsolve). In either of the
cases, if MATLAB gives no solution, try to reason out why.

Problem 1
Solve the system of equations and plot each component of solution as a function of time.




Problem 2
Solve the following set of differential equations


where g is acceleration due to gravity and c is drag coefficient and


Consider that the initial velocity is oriented along 45o with horizontal and Vo = 10 m/s at
t=0. Considering c=0.5, plot x(t) and y(t) up to 1.5 seconds.

Problem 3
Consider the following differential equation with initial conditions


If L = 5 cm, solve with small angle approximation (sin ) and without any simplifications.
The former is linear response while the latter is nonlinear. Compare the linearized solution
with the nonlinear solution.

You might also like