Professional Documents
Culture Documents
Lab Tutorials
Lab Tutorials
Vector fields
Consider the motion of a particle represented in a vector form by = sin + cos + between the
time instants = 0 to 8 . Compute the velocity and acceleration vectors. Visualize the motion of this particle
by plotting all the three vectors.
Numerical methods
!
Consider the differential equation, = # − 2& subject to the initial condition & 0 = 1. Solve this problem
numerically using Improved Euler’s method. Compare your answer with the analytical solution and plot them
both.
Algorithm:
1. Run loop over a dummy variable n from 1 to a predefined value
2. For each value of n, calculate the values of #)*+ = #) + ℎ and &)*+
∗
, &)*+ using,
&)*+ = &) + ℎ/ #) , &)
∗
Laplace transform
A spring-mass system, in presence of damping force, subjected to an external stimulus is governed by the
+ 9 +
differential equation, 9 + 1.2 + 2# = 5 cos 4 with initial conditions, # 0 = and #′ 0 = 0. Solve for
6
# using laplace transforms.