Elementary numerical methods and programming

Assignment Help MATLAB Programming
Reference no: EM1395869

1235_Determine the dynamics of the double pendulum.png

This project involes determining the dynamics of the double pendulum with a sliding base (see figure above). Each link is assumed to be of square cross section.

The objective is to determine the angles θ1 and θ2 over the time period of t = 0 s to t = 4 s. Let the base motion be prescribed as x(t)= 1/8 sin(4.2t). Based on the Newton's second law, the equations of motion (for the angular acceleration of each link) are given by

1992_Determine the dynamics of the double pendulum1.png

where m and l are the mass and length of the links and Ic = ml2/12 is the moment of inertia of each link. Important note: the 'dot' notation over the symbol means the corresponding derivative with respect to time.

The values of various parameters to be used in the calculations are:

g = 9.81 m/s2; I = 0.50 m; p = 6500 kg/m3 (link density); b = .05 m (dimension of square link cross-section); m =1*(b*b)op kg; lc = m*I*1/12.0 m3.

The above is a system of two 2nd order ordinary differential equations (ODEs). In order to be able to solve this, first transform them into an equivalent four 1st order ODEs. This can be accomplished as follows: Inverting or solving the system of equations above (using the backslash operator or other techniques in MATLAB) and using the fact that dθ1/ dt = .θ1 d.θ1/dt = ..θ1 (and similarly for θ2 ) will provide the values needed to complete the right hand side of the following representation of the system of four 1st order ODEs

110_Determine the dynamics of the double pendulum3.png

Write a MATLAB program that solves for y' over the interval t = 0 s to t = 4 s using three different methods: the Euler method, the mid-point method (2nd Order Runge­Kutta), and the classical 4th Order Runge-Kutta method.

To evaluate the effect of your step size (h) on the results for each of the three methods, use the following six values of h (units of seconds): 0.02, 0.01, 0.005, 0.0025, 0.00125, and 0.000625. For step sizes 0.01s and smaller, calculate the approximate percent relative error in θ1 at t = 4 s between the current step size and the next largest step size.

For example, for a step size of 0.01, the approximate percent relative error is:

1666_Determine the dynamics of the double pendulum4.png

Reference no: EM1395869

Questions Cloud

Do you agree with Friedman explain why : This is fundamentally a subversive doctrine. If businessmen do have a social responsibility other than maximum profits for stockholders, Explain how are they to know illustrate what it is?"
Discuss how a myocardial infarction could occur : Discuss how a myocardial infarction could occur and explain how drugs, angioplasty and coronary bypass can help the patient.
Point effect large enough to statistically significant : If the population standard deviation is σ = 20 is the 6 point effect large enough to be statistically significant? Use the two - tailed test with α = .05
What type of factors change decision to centralize : What type of factors change decision to centralize or decentralize authority over time in the comparative environment like the home building supply?
Elementary numerical methods and programming : Project involes determining the dynamics of the double pendulum with a sliding base. Each link is assumed to be of square cross section - MECH 3010: Elementary Numerical Methods and Programming
Why computer literacy has become fourth fundamental skill : Explain whether today, computer literacy (knowledge of how to properly use computer and its software applications) has become fourth basic skill.
Describe the principle behind highly sensitive eias : World Health Organization has set up strict guidlines for laboratory detection of avian influenze virus in human or animals speciments.
Gender-ethnicity play main role in mathematics community : Gender and ethnicity play very main role in the Mathematics Education community when it comes to overall performance and mastery of skills.
Explanatory variable and response variable : In a recent study, a random sample of children in grades two through four showed a significant negative relationship between the amount of homework assigned and student attitudes. What is the explanatory variable and what is the response variable?

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Construct the shear force and bending moment diagrams

Write the algorithm and draw the flowchart for each problem

  Recall the velocity of the falling parachutist

Question: Recall the velocity of the falling parachutist can be computed by  V(t) = gm(1-e -c/mx )/c,  Use first order error analysis to estimate the error of v at t=6. If g=9.8 and m=50 but c=12.5 +_ 1.5

  Compute the power spectral density vector

Compute the power spectral density vector. Plot the spectrogram using the same parameters as in lecture.

  Fingerprint watermarking techniques

Need to investigate the best method to embed watermark image into fingerprint image.

  Determine the inputs, outputs, relevant formulas

determine the inputs, outputs, relevant formulas

  Write a function in matlab

write a function in MATLAB

  An efficient human identification using gait analysis

An Efficient Human Identification Using Gait Analysis, Apply specific approach for Pattern Recognition,Implement this approach in MATLAB,Compare and discuss the results with others.

  Filtering – biomedical application

Prepare a filter that removes noise produced by electronic medical equipment.

  Mat lab programming problem

In case the problem in the code I want you to modify it give the correct temperature.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Develop a well-structured function

Develop a well-structured function to compute v as a function of t. Then use this function to generate a table of v versus t for t = -5 to 50 at increments of 0.5.

  Parking in garage using matlab

In matlab: parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd