Question: Numerical Integration Project In this project you will have to analytically and numerically integrate the same acceleration equation and A particle, having mass m ,
Numerical Integration Project
In this project you will have to analytically and numerically integrate the same acceleration equation and
A particle, having mass is suspended by two cables and in a vertical plane. Then cable is cut
and the ball begins to swing. The equations, in NormalTangential Polar Coordinates, for this problem
are:
mgsin
mgcos
where:
m : mass of the ball,
r : length of the string,
g: gravity
: Angular position, velocity, and acceleration of the mass about point C in and
respectively
Determine analytically:
The angular velocity of the mass about point C as a function of angular position, by
integration of the equation of motion, Initial angular position of rad.
The tension in the string as a function of angular position,
Determine numerically:
The angular velocity and angular position of the mass about point as a function of time by
integration of the equation of motion,
The tension in the string as a function of time.
Deliverables:
Plot both the analytical and numerical solutions of Use a solid black line for the analytical
solution and a dashed red line for the numerical solution. Include appropriate labels and a
legend.
Plot the relative error between the numerical and analytical solutions:
How does this compare to the default relative tolerance of ode
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
