Newton-Raphson Example 4:

Slides:



Advertisements
Similar presentations
Mechanics of Machines Dr. Mohammad Kilani
Advertisements

Mechanics of Machines Dr. Mohammad Kilani
Lesson 17 Intro to AC & Sinusoidal Waveforms
Solutions of system of nonlinear equations: Newton-Raphson Example 4: The kinematic equations for a Four-Bar mechanism can be written as (5th semester,
CHAPTER 4: HARMONIC RESPONSE WITH A SINGLE DEGREE OF FREEDOM
HOMEWORK 01C Eigenvalues Problem 1: Problem 2: Problem 3: Problem 4: Lecture 1 Problem 5: Problem 6:
From a vibration measurement on a machine, the damping ratio and undamped vibration frequency are calculated as 0.36 and 24 Hz, respectively. Vibration.
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.
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.
Solutions of system of nonlinear equations: Newton-Raphson Example 4: The kinematic equations for a Four-Bar mechanism can be written as (5th semester,
, Free vibration Eigenvalue equation EIGENVALUE EQUATION
The formulae for the roots of a 3rd degree polynomial are given below
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.).
How is rotational motion related to linear motion?
H(s) 8.b Laplace Transform:
Lesson 15: Bode Plots of Transfer Functions
Simple Harmonic Motion
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
(x(t) depends on the initial conditions)
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
Chapter 8: Rotational Motion
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
ELL100: INTRODUCTION TO ELECTRICAL ENGG.
Net 222: Communications and networks fundamentals (Practical Part)
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.
(x(t) depends on the initial conditions)
(x(t) depends on the initial conditions)
Design Synthesis Fundamental Problem – locate a point (or set of points) fixed in a moving body that will pass through a series of points in space that.
SYSTEM OF DIFFERENTIAL EQUATIONS
Equations of Motion: Kinetic energy: Potential energy: Sin≈
Simpson’s Rule: Example: Calculate the integral of the given function.
ME321 Kinematics and Dynamics of Machines
4. Closed-Loop Responses Using the Laplace Transform Method
SYSTEM OF ORDINARY DIFFERENTIAL EQUATIONS
Differential Equations
The formulae for the roots of a 3rd degree polynomial are given below
How is rotational motion related to linear motion?
VIBRATION.
VIBRATION.
1. Plotting Graph with Matlab:
8. Solution of Linear Differential Equations: f(t): Input,
CBE / MET Feb 12.
Linear Differential Equations with Constant Coefficients:
8. Solution of Linear Differential Equations: f(t): Input,
8. Solution of Linear Differential Equations: f(t): Input,
o Problem Reconsider Problem
SYSTEM OF ORDINARY DIFFERENTIAL EQUATIONS
Newton-Raphson Example 4:
Calculate the integral with; a) Trapezoidal rule b) Simpson’s rule
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
(x(t) depends on the initial conditions)
Presentation transcript:

Newton-Raphson Example 4: 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) L2=0.15 m L3=0.45 m L4=0.28 m s1=0.2 m s1 L2 L3 L4 θ2 θ3 θ4 3 4 2 1 Where link 2 is the input member. How do you calculate θ3 and θ4 when θ2=120°. -0.075 0.13

Following changes are made in the computer program. Solutions of system of nonlinear equations: Following changes are made in the computer program. Sub newtonrn_Click() - - - 40 n=2 41 xb(1)=0.5:xb(2)=1:xh(1)=.001:xh(2)=.001 - - 45 ‘…Error equations… a(1,1)=-0.45*Sin(xb(1)):a(1,2)=0.28*Sin(xb(2)) a(2,1)=0.45*Cos(xb(1)):a(2,2)=-0.28*Cos(xb(2)) b(1)=-(0.45*Cos(xb(1))-0.28*cos(xb(2))-0.275) b(2)=-(0.13+0.45*Sin(xb(1))-0.28*Sin(xb(2))) 46 ‘... End sub (Initial angle values must be given in RADIAN) ANSWER: θ3=0.216 rad (12.37°) θ4=0.942 rad (53.97°) clc;clear [x,y]=solve('0.45*cos(x)-0.28*cos(y)=0.275','0.13+0.45*sin(x)-0.28*sin(y)=0'); vpa(x,6) vpa(y,6) Solution with MATLAB

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

Following changes are made in the computer program. Solutions of system of nonlinear equations: Following changes are made in the computer program. Sub newtonrn_Click() - - - 40 n=2 41 xb(1)=-1:xb(2)=0.8:xh(1)=.001:xh(2)=.001 - - 45 ‘…Error equations… a(1,1)=-0.6*Sin(xb(1)):a(1,2)=-1 a(2,1)=0.6*Cos(xb(1)):a(2,2)=0 b(1)=-(0.075+0.6*Cos(xb(1))-xb(2)) b(2)=-(0.1299+0.6*Sin(xb(1))) 46 ‘... End sub ANSWER: θ3=-0.2182 rad (-12.5°) s=0.6607 m Solution with MATLAB clc;clear [x,y]=solve('0.075+0.6*cos(x)-y=0','0.1299+0.6*sin(x)=0'); vpa(x,6) vpa(y,6)

Newton-Raphson Example 6: Solutions of system of nonlinear equations: Newton-Raphson Example 6: The time-dependent locations of two cars denoted by A and B are given as clc;clear t=solve('t^3-t^2-4*t+3=0'); vpa(t,6) Solution with MATLAB At which time t, two cars meet? Sub newtonr1_Click () ' CHANGE LINES 30, 35 AND 37 FOR DIFFERENT PROBLEMS 30 x = 1: AERROR = .0001 niter1 = 5: niter2 = 20: ir = 0: Call cls1 32 xp = x 35 f = x ^ 3 - x ^ 2 - 4 * x + 3 37 f1 = 3 * x ^ 2 - 2 * x - 4 … End Sub ANSWER T=0.713 s t=2.198 s Using roots command in MATLAB a=[ 1 -1 -4 3];roots(a)

Graph Plotting Example 7: 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 -42o. Write the MATLAB code to plot the graph of the vibration signal. Given: z=0.36 ω0=24*2*π (rad/s) A=1.2 Φ=-42*π/180 (rad)=-0.73 rad ω0=150.796 rad/s ω -σ α

yt=1.2*exp(-54.3*t).*cos(140.7*t+0.73); plot(t,yt) xlabel(‘Time (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)');