SlideShare a Scribd company logo
1 of 1
Download to read offline
2-DOF system with translational and rotational motion The diagram shows an inverted
pendulum on a cart that is driven by a force F. Here we consider the case where F = 0. Assume
that the mass of the pendulum is concentrated at the ball (the rod is massless). Let x denote the
position of the cart in an inertial reference frame. The linearized equations of motion for small
theta, dtheta/dt, and dx/dt are the following: x=mg/m theta theta = M+m/Ml gtheta (a) Define
the state variables of the system and the state vector x. Convert the two 2nd-order ODE's above
into four 1-order ODE 's that are functions of the state variables. Write an output equation y =
Cx in which there are 2 outputs, theta and x. (b) Suppose that the system starts at rest with the
cart position at x = 0 and the pendulum angle at theta = pi/10. Use the MATLAB function ode45
to numerically solve the four 1st-order ODE's from time 0 sec to 1 sec with parameters in = 0.5
kg. M = 3 kg. l = 1 m, and g = 9.81 m/s^2. Plot x over time in one figure, and plot theta over
time in another figure. Hand in your code with your homework.
Solution
1)x^2+3x=98
2)the plot comes to be elliptical

More Related Content

Similar to 2-DOF system with translational and rotational motion The diagram sho.pdf

MATLAB sessions Laboratory 6MAT 275 Laboratory 6Forced .docx
MATLAB sessions Laboratory 6MAT 275 Laboratory 6Forced .docxMATLAB sessions Laboratory 6MAT 275 Laboratory 6Forced .docx
MATLAB sessions Laboratory 6MAT 275 Laboratory 6Forced .docx
andreecapon
 
Julio Bravo's Master Graduation Project
Julio Bravo's Master Graduation ProjectJulio Bravo's Master Graduation Project
Julio Bravo's Master Graduation Project
Julio Bravo
 
Chapter_3_State_Variable_Models.ppt
Chapter_3_State_Variable_Models.pptChapter_3_State_Variable_Models.ppt
Chapter_3_State_Variable_Models.ppt
khinmuyaraye
 
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxSAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
anhlodge
 
From the Front LinesOur robotic equipment and its maintenanc.docx
From the Front LinesOur robotic equipment and its maintenanc.docxFrom the Front LinesOur robotic equipment and its maintenanc.docx
From the Front LinesOur robotic equipment and its maintenanc.docx
hanneloremccaffery
 
Advanced vibrations
Advanced vibrationsAdvanced vibrations
Advanced vibrations
Springer
 
MA 243 Calculus III Fall 2015 Dr. E. JacobsAssignmentsTh.docx
MA 243 Calculus III Fall 2015 Dr. E. JacobsAssignmentsTh.docxMA 243 Calculus III Fall 2015 Dr. E. JacobsAssignmentsTh.docx
MA 243 Calculus III Fall 2015 Dr. E. JacobsAssignmentsTh.docx
infantsuk
 
Get bebas redaman_2014
Get bebas redaman_2014Get bebas redaman_2014
Get bebas redaman_2014
Abdul Rahman
 
The Laplace Transform of Modeling of a Spring-Mass-Damper System
The Laplace Transform of Modeling of a Spring-Mass-Damper System The Laplace Transform of Modeling of a Spring-Mass-Damper System
The Laplace Transform of Modeling of a Spring-Mass-Damper System
Mahmoud Farg
 

Similar to 2-DOF system with translational and rotational motion The diagram sho.pdf (20)

Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
 
Week 10 part 3 pe 6282 mecchanical liquid and electrical
Week 10 part 3 pe 6282 mecchanical liquid and electricalWeek 10 part 3 pe 6282 mecchanical liquid and electrical
Week 10 part 3 pe 6282 mecchanical liquid and electrical
 
547 Writeup
547 Writeup547 Writeup
547 Writeup
 
Control Systems Assignment Help
Control Systems Assignment HelpControl Systems Assignment Help
Control Systems Assignment Help
 
MATLAB sessions Laboratory 6MAT 275 Laboratory 6Forced .docx
MATLAB sessions Laboratory 6MAT 275 Laboratory 6Forced .docxMATLAB sessions Laboratory 6MAT 275 Laboratory 6Forced .docx
MATLAB sessions Laboratory 6MAT 275 Laboratory 6Forced .docx
 
Problem and solution i ph o 25
Problem and solution i ph o 25Problem and solution i ph o 25
Problem and solution i ph o 25
 
Julio Bravo's Master Graduation Project
Julio Bravo's Master Graduation ProjectJulio Bravo's Master Graduation Project
Julio Bravo's Master Graduation Project
 
Chapter_3_State_Variable_Models.ppt
Chapter_3_State_Variable_Models.pptChapter_3_State_Variable_Models.ppt
Chapter_3_State_Variable_Models.ppt
 
Damped and undamped motion differential equations.pptx
Damped and undamped motion differential equations.pptxDamped and undamped motion differential equations.pptx
Damped and undamped motion differential equations.pptx
 
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxSAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
 
From the Front LinesOur robotic equipment and its maintenanc.docx
From the Front LinesOur robotic equipment and its maintenanc.docxFrom the Front LinesOur robotic equipment and its maintenanc.docx
From the Front LinesOur robotic equipment and its maintenanc.docx
 
Advanced vibrations
Advanced vibrationsAdvanced vibrations
Advanced vibrations
 
On Double Elzaki Transform and Double Laplace Transform
On Double Elzaki Transform and Double Laplace TransformOn Double Elzaki Transform and Double Laplace Transform
On Double Elzaki Transform and Double Laplace Transform
 
MA 243 Calculus III Fall 2015 Dr. E. JacobsAssignmentsTh.docx
MA 243 Calculus III Fall 2015 Dr. E. JacobsAssignmentsTh.docxMA 243 Calculus III Fall 2015 Dr. E. JacobsAssignmentsTh.docx
MA 243 Calculus III Fall 2015 Dr. E. JacobsAssignmentsTh.docx
 
Modern Control System (BE)
Modern Control System (BE)Modern Control System (BE)
Modern Control System (BE)
 
lecture1ddddgggggggggggghhhhhhh (11).ppt
lecture1ddddgggggggggggghhhhhhh (11).pptlecture1ddddgggggggggggghhhhhhh (11).ppt
lecture1ddddgggggggggggghhhhhhh (11).ppt
 
Get bebas redaman_2014
Get bebas redaman_2014Get bebas redaman_2014
Get bebas redaman_2014
 
Moment generating function
Moment generating functionMoment generating function
Moment generating function
 
The Laplace Transform of Modeling of a Spring-Mass-Damper System
The Laplace Transform of Modeling of a Spring-Mass-Damper System The Laplace Transform of Modeling of a Spring-Mass-Damper System
The Laplace Transform of Modeling of a Spring-Mass-Damper System
 
ENGINEERING SYSTEM DYNAMICS-TAKE HOME ASSIGNMENT 2018
ENGINEERING SYSTEM DYNAMICS-TAKE HOME ASSIGNMENT 2018ENGINEERING SYSTEM DYNAMICS-TAKE HOME ASSIGNMENT 2018
ENGINEERING SYSTEM DYNAMICS-TAKE HOME ASSIGNMENT 2018
 

More from ahmedmodassir

2. Consumer surplus for a group of consumers Aa Aa The following grap.pdf
 2. Consumer surplus for a group of consumers Aa Aa The following grap.pdf 2. Consumer surplus for a group of consumers Aa Aa The following grap.pdf
2. Consumer surplus for a group of consumers Aa Aa The following grap.pdf
ahmedmodassir
 
2. A. Define power. B. List five bases for power and explain each mea.pdf
 2. A. Define power. B. List five bases for power and explain each mea.pdf 2. A. Define power. B. List five bases for power and explain each mea.pdf
2. A. Define power. B. List five bases for power and explain each mea.pdf
ahmedmodassir
 
141. Which of the following statements is true A. U.S non- fin.pdf
 141. Which of the following statements is true A. U.S non- fin.pdf 141. Which of the following statements is true A. U.S non- fin.pdf
141. Which of the following statements is true A. U.S non- fin.pdf
ahmedmodassir
 

More from ahmedmodassir (17)

2. The Mars Climate Orbiter (formerly the Mars Surveyor 98 Orbiter) w.pdf
 2. The Mars Climate Orbiter (formerly the Mars Surveyor 98 Orbiter) w.pdf 2. The Mars Climate Orbiter (formerly the Mars Surveyor 98 Orbiter) w.pdf
2. The Mars Climate Orbiter (formerly the Mars Surveyor 98 Orbiter) w.pdf
 
2. The switch has been closed for a long time and is opened at t = 0..pdf
 2. The switch has been closed for a long time and is opened at t = 0..pdf 2. The switch has been closed for a long time and is opened at t = 0..pdf
2. The switch has been closed for a long time and is opened at t = 0..pdf
 
2. Transistors (25 pts) Given ID= KPnW(2L)(Vos-Vr )2. VDD 1.8V, W = .pdf
 2. Transistors (25 pts) Given ID= KPnW(2L)(Vos-Vr )2. VDD 1.8V, W = .pdf 2. Transistors (25 pts) Given ID= KPnW(2L)(Vos-Vr )2. VDD 1.8V, W = .pdf
2. Transistors (25 pts) Given ID= KPnW(2L)(Vos-Vr )2. VDD 1.8V, W = .pdf
 
2. Identifying time lags Advocates of active policy face several obst.pdf
 2. Identifying time lags Advocates of active policy face several obst.pdf 2. Identifying time lags Advocates of active policy face several obst.pdf
2. Identifying time lags Advocates of active policy face several obst.pdf
 
2. Consumer surplus for a group of consumers Aa Aa The following grap.pdf
 2. Consumer surplus for a group of consumers Aa Aa The following grap.pdf 2. Consumer surplus for a group of consumers Aa Aa The following grap.pdf
2. Consumer surplus for a group of consumers Aa Aa The following grap.pdf
 
2. Consider the system shown n Figure.4, determine a) The system fu.pdf
 2. Consider the system shown n Figure.4, determine a) The system fu.pdf 2. Consider the system shown n Figure.4, determine a) The system fu.pdf
2. Consider the system shown n Figure.4, determine a) The system fu.pdf
 
2. Classify the following variable as nominal, ordinal, discrete,.pdf
 2. Classify the following variable as nominal, ordinal, discrete,.pdf 2. Classify the following variable as nominal, ordinal, discrete,.pdf
2. Classify the following variable as nominal, ordinal, discrete,.pdf
 
2. A. Define power. B. List five bases for power and explain each mea.pdf
 2. A. Define power. B. List five bases for power and explain each mea.pdf 2. A. Define power. B. List five bases for power and explain each mea.pdf
2. A. Define power. B. List five bases for power and explain each mea.pdf
 
2. A pond is stocked with 100 fish in 1997, and it is observed that t.pdf
 2. A pond is stocked with 100 fish in 1997, and it is observed that t.pdf 2. A pond is stocked with 100 fish in 1997, and it is observed that t.pdf
2. A pond is stocked with 100 fish in 1997, and it is observed that t.pdf
 
2) (S-poin errors are systematic or random in nature. ts) List 5 .pdf
 2) (S-poin errors are systematic or random in nature. ts) List 5 .pdf 2) (S-poin errors are systematic or random in nature. ts) List 5 .pdf
2) (S-poin errors are systematic or random in nature. ts) List 5 .pdf
 
13. Is the following proposition true or false Justify your conclusi.pdf
 13. Is the following proposition true or false Justify your conclusi.pdf 13. Is the following proposition true or false Justify your conclusi.pdf
13. Is the following proposition true or false Justify your conclusi.pdf
 
141. Which of the following statements is true A. U.S non- fin.pdf
 141. Which of the following statements is true A. U.S non- fin.pdf 141. Which of the following statements is true A. U.S non- fin.pdf
141. Which of the following statements is true A. U.S non- fin.pdf
 
12. Find the transition matrix from the basis B to the basis c where .pdf
 12. Find the transition matrix from the basis B to the basis c where .pdf 12. Find the transition matrix from the basis B to the basis c where .pdf
12. Find the transition matrix from the basis B to the basis c where .pdf
 
12. Let U be a nonempty set and let P(U) be the power set of U. That .pdf
 12. Let U be a nonempty set and let P(U) be the power set of U. That .pdf 12. Let U be a nonempty set and let P(U) be the power set of U. That .pdf
12. Let U be a nonempty set and let P(U) be the power set of U. That .pdf
 
1.) Prepare contribution margin income statement at sales level o.pdf
 1.) Prepare contribution margin income statement at sales level o.pdf 1.) Prepare contribution margin income statement at sales level o.pdf
1.) Prepare contribution margin income statement at sales level o.pdf
 
1. What is the difference between law and morality 2. What are .pdf
 1. What is the difference between law and morality  2. What are .pdf 1. What is the difference between law and morality  2. What are .pdf
1. What is the difference between law and morality 2. What are .pdf
 
1. What is the purpose of criminal law 2. What are the various c.pdf
 1. What is the purpose of criminal law 2. What are the various c.pdf 1. What is the purpose of criminal law 2. What are the various c.pdf
1. What is the purpose of criminal law 2. What are the various c.pdf
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

2-DOF system with translational and rotational motion The diagram sho.pdf

  • 1. 2-DOF system with translational and rotational motion The diagram shows an inverted pendulum on a cart that is driven by a force F. Here we consider the case where F = 0. Assume that the mass of the pendulum is concentrated at the ball (the rod is massless). Let x denote the position of the cart in an inertial reference frame. The linearized equations of motion for small theta, dtheta/dt, and dx/dt are the following: x=mg/m theta theta = M+m/Ml gtheta (a) Define the state variables of the system and the state vector x. Convert the two 2nd-order ODE's above into four 1-order ODE 's that are functions of the state variables. Write an output equation y = Cx in which there are 2 outputs, theta and x. (b) Suppose that the system starts at rest with the cart position at x = 0 and the pendulum angle at theta = pi/10. Use the MATLAB function ode45 to numerically solve the four 1st-order ODE's from time 0 sec to 1 sec with parameters in = 0.5 kg. M = 3 kg. l = 1 m, and g = 9.81 m/s^2. Plot x over time in one figure, and plot theta over time in another figure. Hand in your code with your homework. Solution 1)x^2+3x=98 2)the plot comes to be elliptical