Solutions of system of nonlinear equations: Newton-Raphson Example 4: The kinematic equations for a Four-Bar mechanism can be written as (5th semester,

Slides:



Advertisements
Similar presentations
PLOTTING PHASE PORTRAITS WITH MATLAB:
Advertisements

H(s) x(t)y(t) 8.b Laplace Transform: Y(s)=X(s) H(s) The Laplace transform can be used in the solution of ordinary linear differential equations. Let’s.
MEEG 5113 Modal Analysis Set 3.
Lesson 17 Intro to AC & Sinusoidal Waveforms
This lesson covers the following outcomes Unit 54 P1, P7, P8 Unit 6 P10, P11.
Bode Magnitude Plots Constructed Bode Actual Bode
8. Solution of Linear Differential Equations Example 8.1 f(t) : Input u(t) : Response s 3 H(s)e st +4s 2 H(s)e st +14sH(s)e st +20H(s)e st =3e st +se st.
CHAPTER 4: HARMONIC RESPONSE WITH A SINGLE DEGREE OF FREEDOM
Functions.
Lecture 211 EEE 302 Electrical Networks II Dr. Keith E. Holbert Summer 2001.
Solving Quadratic Equations Tammy Wallace Varina High.
S1-1 SECTION 1 REVIEW OF FUNDAMENTALS. S1-2 n This section will introduce the basics of Dynamic Analysis by considering a Single Degree of Freedom (SDOF)
HOMEWORK 01C Eigenvalues Problem 1: Problem 2: Problem 3: Problem 4: Lecture 1 Problem 5: Problem 6:
Roots of a Polynomial: Root of a polynomial is the value of the independent variable at which the polynomial intersects the horizontal axis (the function.
Area of a single trapezoid = h
From a vibration measurement on a machine, the damping ratio and undamped vibration frequency are calculated as 0.36 and 24 Hz, respectively. Vibration.
Class 5: Question 1 Which of the following systems of equations can be represented by the graph below?
VIBRATIONS EXPERIMENT OBJECTIVES: 1. Solve a second order non-homogenous differential equation describing the displacement of a specimen.
Simpson’s Rule: Example: Calculate the integral of the given function.
3.6 Solving Absolute Value Equations and Inequalities
Second Order System (Continued)
APPLIED MECHANICS Lecture 05 Slovak University of Technology
o Problem Reconsider Problem
INC 341PT & BP INC341 Frequency Response Method Lecture 11.
Week 9 Frequency Response And Bode Plots. Frequency Response The frequency response of a circuit describes the behavior of the transfer function, G(s),
Solutions of system of nonlinear equations: Newton-Raphson Example 4: The kinematic equations for a Four-Bar mechanism can be written as (5th semester,
A Paper Presentation on VIBRATION MEASURING INSTRUMENTS by A.ARIF DEPARTMENT OF MECHANICAL ENGINEERING GUDLAVALLERU ENGINEERING COLLEGE GUDLAVALLERU -
Laboratory 2. LABORATORY OBJECTIVES This lab work is intended to give the students more insights on the Matlab environment and how to work more efficiently.
, Free vibration Eigenvalue equation EIGENVALUE EQUATION
Root Locus Method. Root Locus Method Root Locus Method.
Sinusoidal AC Signals EGR 101.
1. Plotting Graph with Matlab:
 Sub : system response analysis using ‘MATLAB’. prepared by, chokshi abhi ( ) Guided by, Prof. Vishvjit.K.Thakar sir(Head of ECE dept.).
H(s) 8.b Laplace Transform:
Lesson 15: Bode Plots of Transfer Functions
COMPLEX NUMBERS and PHASORS
The formulae for the roots of a 3rd degree polynomial are given below
The formulae for the roots of a 3rd degree polynomial are given below
Chapter 2 Response to Harmonic Excitation
1. Plotting Graph with Matlab:
Equations of Motion: Kinetic energy: Potential energy: Sin≈
6. Nyquist Diagram, Bode Diagram, Gain Margin, Phase Margin,
x points: -7, -4+3i HW 5 Problem:05-01
Equations of Motion: Kinetic energy: Potential energy: Sin≈
1. Plotting Graph with Matlab:
The formulae for the roots of a 3rd degree polynomial are given below
1. Plotting Graph with Matlab:
8. Solution of Linear Differential Equations
ME321 Kinematics and Dynamics of Machines
Example: Obtain the equation of motion of the mechanical system given below. Write the form of the output θ(t) in case of free vibration and determine.
Equations of Motion: Kinetic energy: Potential energy: Sin≈
CBE / MET Feb 12.
CBE 491 / Sep 12.
Simpson’s Rule: Example: Calculate the integral of the given function.
ME321 Kinematics and Dynamics of Machines
The formulae for the roots of a 3rd degree polynomial are given below
Homework 02 ANSYS: Problem 1: (The system in Homework 01C- Problem 5)
1. Plotting Graph with Matlab:
Newton-Raphson Example 4:
CBE / MET Feb 12.
More Properties of Logarithms
o Problem Reconsider Problem
Calculate 81 ÷ 3 = 27 3 x 3 x 3 3 x 3 x 3 x 3 ÷ 3 = This could be written as
Newton-Raphson Example 4:
1. Plotting Graph with Matlab:
Newton-Raphson Example 4:
The formulae for the roots of a 3rd degree polynomial are given below
Newton-Raphson Example 4:
The formulae for the roots of a 3rd degree polynomial are given below
Presentation transcript:

Solutions of system of nonlinear equations: Newton-Raphson Example 4: The kinematic equations for a Four-Bar mechanism can be written as (5th semester, Mechanisms Course) s1s1 L2L2 L3L3 L4L4 θ2θ2 θ3θ3 θ4θ4 L 2 =0.15 m L 3 =0.45 m L 4 =0.28 m s 1 =0.2 m Where link 2 is the input member. How do you calculate θ 3 and θ 4 when θ 2 =120°

Solutions of system of nonlinear equations: Following changes are made in the computer program. clc, clear x=[0.5 1] ; err=[ ]; niter1=10;niter2=50; err=transpose(abs(err)); for n=1:niter2 x %Error Equations a(1,1)=-0.45*sin(x(1));a(1,2)=0.28*sin(x(2)); a(2,1)=0.45*cos(x(1));a(2,2)=-0.28*cos(x(2)); b(1)=-(0.45*cos(x(1))-0.28*cos(x(2))-0.275); b(2)=-( *sin(x(1))-0.28*sin(x(2))); % bb=transpose(b);eps=inv(a)*bb;x=x+transpose(eps); if n>niter1 if abs(eps)<err break else display ('Roots are not found') end ANSWER: θ 3 =0.216 rad (12.37°) θ 4 =0.942 rad (53.97°) (Initial angle values must be given in RADIAN) clc;clear [x,y]=solve('0.45*cos(x)-0.28*cos(y)=0.275',' *sin(x)-0.28*sin(y)=0'); vpa(x,6) vpa(y,6) Alternative solution with MATLAB

Solutions of system of nonlinear equations: Newton-Raphson Example 5: Kinematic equations for a crank mechanism are given below (5th semester Mechanisms Course) s L2L2 L3L3 θ2θ2 θ3θ3 L 2 =0.15 m L 3 =0.6 m Where link 2 (crank) is the input member. How dou you calculate θ 3 and s with computer when θ 2 =60°

Following changes are made in the computer program. ANSWER: θ 3 = rad (-12.5°) s= m Solutions of system of nonlinear equations: clc;clear [x,y]=solve(' *cos(x)-y=0',' *sin(x)=0'); vpa(x,6) vpa(y,6) Alternative solution with MATLAB clc, clear x=[-1 0.8] ; err=[ ]; niter1=10;niter2=50; err=transpose(abs(err)); for n=1:niter2 x %Error Equations a(1,1)=-0.6*sin(x(1));a(1,2)=-1; a(2,1)=0.6*cos(x(1));a(2,2)=0; b(1)=-( *cos(x(1))-x(2)); b(2)=-( *sin(x(1))); % bb=transpose(b);eps=inv(a)*bb;x=x+transpose(eps); if n>niter1 if abs(eps)<err break else display ('Roots are not found') end

Newton-Raphson Example 6: Solutions of system of nonlinear equations: The time-dependent locations of two cars denoted by A and B are given as At which time t, two cars meet?

Newton-Raphson Example 6: Solutions of system of nonlinear equations: ANSWER t=0.713 s t=2.198 s Using roots command in MATLAB a=[ ]; roots(a) clc;clear t=solve('t^3-t^2- 4*t+3=0'); vpa(t,6) Alternative Solutions with MATLAB clc, clear x=1;err=0.001; niter=20; % for n=1:niter % f=x^3-x^2-4*x+3; df=3*x^2-2*x-4; % eps=-f/df; x =x+eps; if abs(f)<err break end display('Answer is='),x

From a vibration measurement on a machine, the damping ratio and undamped vibration frequency are calculated as 0.36 and 24 Hz, respectively. Vibration magnitude is 1.2 and phase angle is -42 o. Write the MATLAB code to plot the graph of the vibration signal. Graph Plotting: Graph Plotting Example 7: Given:  =0.36 ω 0 =24*2*π (rad/s) A=1.2 Φ=-42*π/180 (rad)=-0.73 rad ω 0 = rad/s ω -σ-σ α

Graph Plotting: clc;clear t=0:0.002:0.1155; yt=1.2*exp(-54.3*t).*cos(140.7*t+0.73); plot(t,yt) xlabel(‘Time (s)'); ylabel(‘Displacement (mm)');