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

  Time domain design and analysis

To design a "custom" controller to reduce the vibrations of the seat and a PID controller to reduce the vibration of the seat

  Calculate the distance between cities

Calculate the distance between cities

  Compare two sound wave in matlab

Compare two sound wave in matlab as on speech to text processing and open as notepad, calculator,C:,D: and many other on speaking

  Implement the finite difference method

Write a computer program to implement the finite difference method. The program can be in any computer language that is available within the school. Set up the code to find the potential for a parallel plate capacitor in the box shown below, all dime..

  Determine the inputs, outputs, relevant formulas

determine the inputs, outputs, relevant formulas

  Matlab program to compute how much money will accumulate

Write a MATLAB program to compute how much money will accumulate in 5 years in the account and in any CDs you buy. Run the program for two different savings interest rates: 4 percent and 5 percent.

  Develop a simulation program

Develop a simulation program

  Create a matlab program

Create a MATLAB program that will use MATLAB's fzero function to determine d for the following parameters: R = 0.5 m and in steps of 0.1. Create a table consisting of S and d .

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Demonstrate the effect of zero-padding

Write a programs in Matlab to demonstrate the effect of zero-padding and filtering the DC-component in the frequency domain.

  Write a functions

The function range basis takes a matrix A as input, and outputs a basis (again written as columns) for the range space of A.

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