QUICK-RETURN MECHANISM SOLUTION BY THE NEWTON-RAPHSON METHOD

Size: px
Start display at page:

Download "QUICK-RETURN MECHANISM SOLUTION BY THE NEWTON-RAPHSON METHOD"

Transcription

1 QUICK-RETURN MECHANISM SOLUTION BY THE NEWTON-RAPHSON METHOD

2 Loop Equations 1st loop O K KO O O 0 i i 2 f se a e a e i f s cos a cos a f ssin a sin 0 2

3 Loop Equations 2nd loop O L LM MN NO 0 i i i i f a e a e e a a e 0 f a cos a cos a a f a sin a sin 0 5 5

4 Newton Raphson Method Position Equations f s cos a cos a f ssin a sin 0 2 f a cos a cos a a f a sin a sin J f 0 J f f1 f1 f1 f1 k k k k 5 s k f 2 f2 f2 f 2 f1 k k k k k 5 s f 5 2 f3 f3 f3 f 3 k f s 3 k k k k 5 s f k f f f f k k k k 5 s k k k k k s sin 0 cos 0 k s cos a2 cos 2 a 1 k k k k k s cos 0 sin 0 k s sin 5 a2 sin 2 a sin a sin 0 0 a cos a cos a a k k k k k a cos a5 cos k a sin a5 sin 5 k k k k k 5 5 s

5 Velocity Equations f1 v1 Vs cos ssin 2a2 sin 2 0 t f2 v2 Vs sin s cos 2a2 cos 2 0 t f3 v3 a sin 5a5 sin 5 0 t f v a cos 5a5 cos 5 V 0 t a ssin 0 cos 0 2a2 sin 2 s cos 0 sin 0 5 2a2 cos 2 a 0 sin 5 sin 5 0 0Vs V 0 a cos a5 cos 5 0 1

6 Acceleration Equations scos sin 2 ssin s cos 2a2 sin 2 2 a2 cos 2 0 ssin cos 2 scos s sin 2a2 cos 2 2 a2 sin 2 0 a cos A a s V 1 A a s V 2 A a sin a sin a cos a cos 0 A a 5a5 5 5 a5 5 a a a ssin 0 cos 0 s cos 0 sin 0 5 a sin 5 sin 5 0 0as a a cos 5 cos sin cos sin 0 a cos 5 a5 cos5 a sin a sin 2V s sin s cos 2a2 sin a2 cos 2 2V s cos ssin 2a2 cos a2 sin

7 MATLAB PROGRAM %CLEAR: Variables and command window in MATLAB clc,clear % INPUT: PHYSICAL PARAMETERS of MECHANISM (meter) a1=0;a2=15;a=70;a5=30;a6=22; % INPUT: Maximum Iteration Number Nmax Nmax=100; % INPUT: INITIAL GUESS VALUES for th, th5, s and to respectively x=[30*pi/180,60*pi/180,0,20]; % INPUT: ERROR TOLERANCE xe=0.001*abs(x); % INPUT: SYSTEM INPUTS (th2,w2,al2) dth=5*pi/180; th2=0*pi/180:dth:180*pi/180; w2=-20.9*ones(1,length(th2)); al2=0*ones(1,length(th2)); % xe=transpose(abs(xe)); kerr=1; %If kerr=1, results are not converged

8 for k=1:1:length(th2); for n=1:nmax % %Assign initial guess to unknowns th(k)=x(1);th5(k)=x(2); s(k)=x(3);to(k)=x(); % INPUT: JACOBIAN Matrix J=zeros(,); J(1,1)=-s(k)*sin(th(k));J(1,3)=cos(th(k)); J(2,1)=s(k)*cos(th(k));J(2,3)=sin(th(k)); J(3,1)=-a*sin(th(k));J(3,2)=a5*sin(th5(k)); J(,1)=a*cos(th(k));J(,2)=-a5*cos(th5(k));J(,)=1; % INPUT: Function f f=zeros(,1); f(1,1)=-(s(k)*cos(th(k))-a2*cos(th2(k))-a1); f(2,1)=-(s(k)*sin(th(k))-a2*sin(th2(k))); f(3,1)=-(a*cos(th(k))-a5*cos(th5(k))-a1-a6); f(,1)=-(a*sin(th(k))-a5*sin(th5(k))+to(k)); % eps=inv(j)*f;x=x+transpose(eps);

9 if abs(eps)<xe kerr=0;break end end if kerr==1 'Error nr' end th(k)=x(1);th5(k)=x(2); s(k)=x(3);to(k)=x(); %---velocity fv(1,1)=-w2(k)*a2.*sin(th2(k)); fv(2,1)=w2(k)*a2.*cos(th2(k)); fv(3,1)=0; fv(,1)=0; vel=inv(j)*fv; w(k)=vel(1);w5(k)=vel(2); Vs(k)=vel(3);Vt(k)=vel();

10 %---acceleration fa(1,1)=-al2(k)*a2*sin(th2(k))- w2(k)^2*a2*cos(th2(k))+2*w(k)*vs(k)*sin(th(k))+w(k)^2*s(k)*cos(th(k)); fa(2,1)=al2(k)*a2*cos(th2(k))-w2(k)^2*a2*sin(th2(k))- 2*w(k)*Vs(k)*cos(th(k))+w(k)^2*s(k)*sin(th(k)); fa(3,1)=w(k)^2*a*cos(th(k))-a5*w5(k)^2*cos(th5(k)); fa(,1)=w(k)^2*a*sin(th(k))-a5*w5(k)^2*sin(th5(k)); acc=inv(j)*fa; al(k)=acc(1);al5(k)=acc(2); as(k)=acc(3);at(k)=acc(); End % Angle: radian --> degree th2d=th2*180/pi; thd=th*180/pi; th5d=th5*180/pi; % Plots figure(1), subplot(,3,1),plot(th2d,thd,'r','linewidth',2),xlabel('\theta_2 (^o)'),ylabel('\theta_ (^o)'),xlim([0 180]) subplot(,3,2),plot(th2d,w,'r','linewidth',2),xlabel('\theta_2 (^o)'),ylabel('\omega_ (r/s)'),xlim([0 180]) subplot(,3,3),plot(th2d,al,'r','linewidth',2),xlabel('\theta_2 (^o)'),ylabel('\alpha_ (r/s^2)'),xlim([0 180])

11 subplot(,3,),plot(th2d,th5d,'r','linewidth',2),xlabel('\theta_2 (^o)'),ylabel('\theta_5 (^o)'),xlim([0 180]) subplot(,3,5),plot(th2d,w5,'r','linewidth',2),xlabel('\theta_2 (^o)'),ylabel('\omega_5 (r/s)'),xlim([0 180]) subplot(,3,6),plot(th2d,al5,'r','linewidth',2),xlabel('\theta_2 (^o)'),ylabel('\alpha_5 (r/s^2)'),xlim([0 180]) subplot(,3,7),plot(th2d,s,'r','linewidth',2),xlabel('\theta_2 (^o)'),ylabel('s (cm)'),xlim([0 180]) subplot(,3,8),plot(th2d,vs,'r','linewidth',2),xlabel('\theta_2 (^o)'),ylabel('v_s (cm/s)'),xlim([0 180]) subplot(,3,9),plot(th2d,as,'r','linewidth',2),xlabel('\theta_2 (^o)'),ylabel('a_s (cm/s^2)'),xlim([0 180]) subplot(,3,10),plot(th2d,to,'r','linewidth',2),xlabel('\theta_2 (^o)'),ylabel('t (cm)'),xlim([0 180]) subplot(,3,11),plot(th2d,vt,'r','linewidth',2),xlabel('\theta_2 (^o)'),ylabel('v_t (cm/s)'),xlim([0 180]) subplot(,3,12),plot(th2d,at,'r','linewidth',2),xlabel('\theta_2 (^o)'),ylabel('a_t (cm/s^2)'),xlim([0 180])

12 %% Writing position values to file knm=[transpose(th2d) transpose(thd) transpose(th5d) transpose(s) transpose(to)]; str = 'th2 th th5 s t '; %# A string fname = 'konum.txt'; %# A file name fid = fopen(fname,'w'); %# Open the file if fid ~= -1 fprintf(fid,'%s\r\n',str); %# Print the string fclose(fid); %# Close the file end dlmwrite(fname,knm,'-append',... %# Print the matrix 'delimiter','\t', 'newline','pc'); %% Writing velocity values to file hz=[transpose(th2d) transpose(w) transpose(w5) transpose(vs) transpose(vt)]; str = 'th2 w w5 Vs Vt '; %# A string fname = 'hız.txt'; %# A file name fid = fopen(fname,'w'); %# Open the file if fid ~= -1 fprintf(fid,'%s\r\n',str); %# Print the string fclose(fid); %# Close the file end dlmwrite(fname,hz,'-append',... %# Print the matrix 'delimiter','\t', 'newline','pc');

13 %% Writing acceleration values to file ivme=[transpose(th2d) transpose(al) transpose(al5) transpose(as) transpose(at)]; str = 'th2 al al5 as at '; %# A string fname = 'ivme.txt'; fid = fopen(fname,'w'); if fid ~= -1 fprintf(fid,'%s\r\n',str); fclose(fid); end dlmwrite(fname,hz,'-append',... 'delimiter','\t',... 'newline','pc'); %# A file name %# Open the file %# Print the string %# Close the file %# Print the matrix

14

NON-LINEAR ALGEBRAIC EQUATIONS Lec. 5.1: Nonlinear Equation in Single Variable

NON-LINEAR ALGEBRAIC EQUATIONS Lec. 5.1: Nonlinear Equation in Single Variable NON-LINEAR ALGEBRAIC EQUATIONS Lec. 5.1: Nonlinear Equation in Single Variable Dr. Niket Kaisare Department of Chemical Engineering IIT Madras NPTEL Course: MATLAB Programming for Numerical Computations

More information

SOLVING EQUATIONS OF ONE VARIABLE

SOLVING EQUATIONS OF ONE VARIABLE 1 SOLVING EQUATIONS OF ONE VARIABLE ELM1222 Numerical Analysis Some of the contents are adopted from Laurene V. Fausett, Applied Numerical Analysis using MATLAB. Prentice Hall Inc., 1999 2 Today s lecture

More information

Numerical Analysis Fall. Roots: Open Methods

Numerical Analysis Fall. Roots: Open Methods Numerical Analysis 2015 Fall Roots: Open Methods Open Methods Open methods differ from bracketing methods, in that they require only a single starting value or two starting values that do not necessarily

More information

Numerical Methods Lecture 3

Numerical Methods Lecture 3 Numerical Methods Lecture 3 Nonlinear Equations by Pavel Ludvík Introduction Definition (Root or zero of a function) A root (or a zero) of a function f is a solution of an equation f (x) = 0. We learn

More information

Lesson 4-A. = 2.2, a = 2.0, b = 0.5 = 1.0, 2 = 3.0, 3

Lesson 4-A. = 2.2, a = 2.0, b = 0.5 = 1.0, 2 = 3.0, 3 Lesson 4-A Procedures in Computational Kinematics For computational kinematics, we consider two solution methods: Coordinate Partitioning method Appended Constraint method These methods are introduced

More information

University of Delaware Department of Mathematical Sciences Math 353 Engineering Mathematics III 06S C. Bacuta

University of Delaware Department of Mathematical Sciences Math 353 Engineering Mathematics III 06S C. Bacuta University of Delaware Department of Mathematical Sciences Math 353 Engineering Mathematics III 06S C. Bacuta Homework 4: Due Friday, 0/4/06, 10:00am Part I) (1) Section., Problems #3(a,d), 9, 11. () Apply

More information

CS 221 Lecture 9. Tuesday, 1 November 2011

CS 221 Lecture 9. Tuesday, 1 November 2011 CS 221 Lecture 9 Tuesday, 1 November 2011 Some slides in this lecture are from the publisher s slides for Engineering Computation: An Introduction Using MATLAB and Excel 2009 McGraw-Hill Today s Agenda

More information

Amplitude

Amplitude An Elementary Continuation Technique Anindya Chatterjee September 9, 00 1 Introduction Let us begin with the differential equation ẍ + c _x + x + ax + bx 5 = F sin!t ; (1) which we study using harmonic

More information

Matlab Sheet 4. Conditional Statements and Loops

Matlab Sheet 4. Conditional Statements and Loops Matlab Sheet 4 Conditional Statements and Loops 1. It is desired to compute the sum of the first 10 terms of the series 14k 20k 2 + 5k. k = 1,2,, Write and run the program to calculate the sum. 2. Create

More information

Math 551 Homework Assignment 3 Page 1 of 6

Math 551 Homework Assignment 3 Page 1 of 6 Math 551 Homework Assignment 3 Page 1 of 6 Name and section: ID number: E-mail: 1. Consider Newton s method for finding + α with α > 0 by finding the positive root of f(x) = x 2 α = 0. Assuming that x

More information

Section 4.1 The Power Method

Section 4.1 The Power Method Section 4.1 The Power Method Key terms Dominant eigenvalue Eigenpair Infinity norm and 2-norm Power Method Scaled Power Method Power Method for symmetric matrices The notation used varies a bit from that

More information

The roots are found with the following two statements. We have denoted the polynomial as p1, and the roots as roots_ p1.

The roots are found with the following two statements. We have denoted the polynomial as p1, and the roots as roots_ p1. Part II Lesson 10 Numerical Analysis Finding roots of a polynomial In MATLAB, a polynomial is expressed as a row vector of the form [an an 1 a2 a1 a0]. The elements ai of this vector are the coefficients

More information

Outline. Additional Nonlinear Systems. Abstract. Finding Equilibrium Points Numerically. Newton s Method

Outline. Additional Nonlinear Systems. Abstract. Finding Equilibrium Points Numerically. Newton s Method Outline Finding Equilibrium Points Numerically Additional Nonlinear Systems James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University June 13, 2017

More information

Some MATLAB Programs and Functions. Bisection Method

Some MATLAB Programs and Functions. Bisection Method Some MATLAB Programs and Functions By Dr. Huda Alsaud Bisection Method %Computes approximate solution of f(x)=0 %Input: function handle f; a,b such that f(a)*f(b)

More information

Robotics: Tutorial 3

Robotics: Tutorial 3 Robotics: Tutorial 3 Mechatronics Engineering Dr. Islam Khalil, MSc. Omar Mahmoud, Eng. Lobna Tarek and Eng. Abdelrahman Ezz German University in Cairo Faculty of Engineering and Material Science October

More information

Solution of a System of ODEs with POLYMATH and MATLAB, Boundary Value Iterations with MATLAB

Solution of a System of ODEs with POLYMATH and MATLAB, Boundary Value Iterations with MATLAB dy Solution of a System of ODEs with POLYMATH and MATLAB, Boundary Value Iterations with MATLAB For a system of n simultaneous first-order ODEs: dy1 = f1( y1, y2, K yn, x) dx dy2 = f 2( y1, y2, K yn, x)

More information

Optimization and Calculus

Optimization and Calculus Optimization and Calculus To begin, there is a close relationship between finding the roots to a function and optimizing a function. In the former case, we solve for x. In the latter, we solve: g(x) =

More information

Companion. Jeffrey E. Jones

Companion. Jeffrey E. Jones MATLAB7 Companion 1O11OO1O1O1OOOO1O1OO1111O1O1OO 1O1O1OO1OO1O11OOO1O111O1O1O1O1 O11O1O1O11O1O1O1O1OO1O11O1O1O1 O1O1O1111O11O1O1OO1O1O1O1OOOOO O1111O1O1O1O1O1O1OO1OO1OO1OOO1 O1O11111O1O1O1O1O Jeffrey E.

More information

MAE 107 Homework 8 Solutions

MAE 107 Homework 8 Solutions MAE 107 Homework 8 Solutions 1. Newton s method to solve 3exp( x) = 2x starting at x 0 = 11. With chosen f(x), indicate x n, f(x n ), and f (x n ) at each step stopping at the first n such that f(x n )

More information

Topic 4b. Open Methods for Root Finding

Topic 4b. Open Methods for Root Finding Course Instructor Dr. Ramond C. Rump Oice: A 337 Phone: (915) 747 6958 E Mail: rcrump@utep.edu Topic 4b Open Methods or Root Finding EE 4386/5301 Computational Methods in EE Outline Open Methods or Root

More information

SOLUTIONS to Exercises from Optimization

SOLUTIONS to Exercises from Optimization SOLUTIONS to Exercises from Optimization. Use the bisection method to find the root correct to 6 decimal places: 3x 3 + x 2 = x + 5 SOLUTION: For the root finding algorithm, we need to rewrite the equation

More information

CHEE 222: PROCESS DYNAMICS AND NUMERICAL METHODS

CHEE 222: PROCESS DYNAMICS AND NUMERICAL METHODS CHEE 222: PROCESS DYNAMICS AND NUMERICAL METHODS Winter 2017 Implementation of Numerical Methods via MATLAB Instructor: Xiang Li 1 Outline 1. Introduction - Command, script and function - MATLAB function

More information

Homework Assignment 4 Root Finding Algorithms The Maximum Velocity of a Car Due: Friday, February 19, 2010 at 12noon

Homework Assignment 4 Root Finding Algorithms The Maximum Velocity of a Car Due: Friday, February 19, 2010 at 12noon ME 2016 A Spring Semester 2010 Computing Techniques 3-0-3 Homework Assignment 4 Root Finding Algorithms The Maximum Velocity of a Car Due: Friday, February 19, 2010 at 12noon Description and Outcomes In

More information

MATH 3795 Lecture 12. Numerical Solution of Nonlinear Equations.

MATH 3795 Lecture 12. Numerical Solution of Nonlinear Equations. MATH 3795 Lecture 12. Numerical Solution of Nonlinear Equations. Dmitriy Leykekhman Fall 2008 Goals Learn about different methods for the solution of f(x) = 0, their advantages and disadvantages. Convergence

More information

Finding Roots of Equations

Finding Roots of Equations Finding Roots of Equations Solution Methods Overview Bisection/Half-interval Search Method of false position/regula Falsi Secant Method Newton Raphson Iteration Method Many more. Open Methods Bracketing

More information

Numerical Solution of f(x) = 0

Numerical Solution of f(x) = 0 Numerical Solution of f(x) = 0 Gerald W. Recktenwald Department of Mechanical Engineering Portland State University gerry@pdx.edu ME 350: Finding roots of f(x) = 0 Overview Topics covered in these slides

More information

IB Math SL Year 2 Name Date Lesson 10-4: Displacement, Velocity, Acceleration Revisited

IB Math SL Year 2 Name Date Lesson 10-4: Displacement, Velocity, Acceleration Revisited Name Date Lesson 10-4: Displacement, Velocity, Acceleration Revisited Learning Goals: How do you apply integrals to real-world scenarios? Recall: Linear Motion When an object is moving, a ball in the air

More information

A MATLAB Implementation of the. Minimum Relative Entropy Method. for Linear Inverse Problems

A MATLAB Implementation of the. Minimum Relative Entropy Method. for Linear Inverse Problems A MATLAB Implementation of the Minimum Relative Entropy Method for Linear Inverse Problems Roseanna M. Neupauer 1 and Brian Borchers 2 1 Department of Earth and Environmental Science 2 Department of Mathematics

More information

Lecture 44. Better and successive approximations x2, x3,, xn to the root are obtained from

Lecture 44. Better and successive approximations x2, x3,, xn to the root are obtained from Lecture 44 Solution of Non-Linear Equations Regula-Falsi Method Method of iteration Newton - Raphson Method Muller s Method Graeffe s Root Squaring Method Newton -Raphson Method An approximation to the

More information

Table 1 Principle Matlab operators and functions Name Description Page reference

Table 1 Principle Matlab operators and functions Name Description Page reference Matlab Index Table 1 summarises the Matlab supplied operators and functions to which we have referred. In most cases only a few of the options available to the individual functions have been fully utilised.

More information

ME451 Kinematics and Dynamics of Machine Systems

ME451 Kinematics and Dynamics of Machine Systems ME451 Kinematics and Dynamics of Machine Systems Newton-Raphson Method 4.5 Closing remarks, Kinematics Analysis October 25, 2010 Dan Negrut, 2011 ME451, UW-Madison Success is going from failure to failure

More information

Errata for the book A First Course in Numerical Methods, by Uri Ascher and Chen Greif

Errata for the book A First Course in Numerical Methods, by Uri Ascher and Chen Greif Errata for the book A First Course in Numerical Methods, Uri Ascher and Chen Greif February 8, 016 In this file we have collected various changes to be made to the first edition of our book. Several have

More information

Computational Methods for Engineers Programming in Engineering Problem Solving

Computational Methods for Engineers Programming in Engineering Problem Solving Computational Methods for Engineers Programming in Engineering Problem Solving Abu Hasan Abdullah January 6, 2009 Abu Hasan Abdullah 2009 An Engineering Problem Problem Statement: The length of a belt

More information

UNIT II SOLUTION OF NON-LINEAR AND SIMULTANEOUS LINEAR EQUATION

UNIT II SOLUTION OF NON-LINEAR AND SIMULTANEOUS LINEAR EQUATION UNIT II SOLUTION OF NON-LINEAR AND SIMULTANEOUS LINEAR EQUATION. If g x is continuous in a, b, then under what condition the iterative method x = g x has a unique solution in a, b? g x < in a, b. State

More information

SECTION A. f(x) = ln(x). Sketch the graph of y = f(x), indicating the coordinates of any points where the graph crosses the axes.

SECTION A. f(x) = ln(x). Sketch the graph of y = f(x), indicating the coordinates of any points where the graph crosses the axes. SECTION A 1. State the maximal domain and range of the function f(x) = ln(x). Sketch the graph of y = f(x), indicating the coordinates of any points where the graph crosses the axes. 2. By evaluating f(0),

More information

Inverse Kinematics. Mike Bailey. Oregon State University. Inverse Kinematics

Inverse Kinematics. Mike Bailey. Oregon State University. Inverse Kinematics Inverse Kinematics Mike Bailey mjb@cs.oregonstate.edu inversekinematics.pptx Inverse Kinematics Forward Kinematics solves the problem if I know the link transformation parameters, where are the links?.

More information

UNIVERSITY OF KWAZULU-NATAL EXAMINATIONS: NOVEMBER 2013 COURSE, SUBJECT AND CODE: THEORY OF MACHINES ENME3TMH2 MECHANICAL ENGINEERING

UNIVERSITY OF KWAZULU-NATAL EXAMINATIONS: NOVEMBER 2013 COURSE, SUBJECT AND CODE: THEORY OF MACHINES ENME3TMH2 MECHANICAL ENGINEERING UNIVERSITY OF KWAZULU-NATAL EXAMINATIONS: NOVEMBER 2013 COURSE, SUBJECT AND CODE: THEORY OF MACHINES ENME3TMH2 DURATION: 3 Hours MARKS: 100 MECHANICAL ENGINEERING Internal Examiner: Dr. R.C. Loubser Indeendent

More information

MATH 3795 Lecture 13. Numerical Solution of Nonlinear Equations in R N.

MATH 3795 Lecture 13. Numerical Solution of Nonlinear Equations in R N. MATH 3795 Lecture 13. Numerical Solution of Nonlinear Equations in R N. Dmitriy Leykekhman Fall 2008 Goals Learn about different methods for the solution of F (x) = 0, their advantages and disadvantages.

More information

BSM510 Numerical Analysis

BSM510 Numerical Analysis BSM510 Numerica Anaysis Roots: Bracketing methods : Open methods Prof. Manar Mohaisen Department of EEC Engineering Lecture Content v Introduction v Bracketing methods v Open methods v MATLAB hints 2 Introduction

More information

Tacoma Narrows and the Gradient Vector

Tacoma Narrows and the Gradient Vector Tacoma Narrows and the Gradient Vector Ken Huffman May 18, 2005 Abstract The mathematical models that have been proposed to explain the collapse of the Tacoma Narrows Bridge are highly dependent on the

More information

Answers !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Answers !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 11 th Grade Physics Workbook METU Development Foundation High School 1 Answers 11th Grade hapter-1 Vectors Activity - 1.1.1 Parallelogram & tip-to-tail methods 1. 2. Twelve vectors are given in the figure

More information

3. ANALYTICAL KINEMATICS

3. ANALYTICAL KINEMATICS In planar mechanisms, kinematic analysis can be performed either analytically or graphically In this course we first discuss analytical kinematic analysis nalytical kinematics is based on projecting the

More information

Hence a root lies between 1 and 2. Since f a is negative and f(x 0 ) is positive The root lies between a and x 0 i.e. 1 and 1.

Hence a root lies between 1 and 2. Since f a is negative and f(x 0 ) is positive The root lies between a and x 0 i.e. 1 and 1. The Bisection method or BOLZANO s method or Interval halving method: Find the positive root of x 3 x = 1 correct to four decimal places by bisection method Let f x = x 3 x 1 Here f 0 = 1 = ve, f 1 = ve,

More information

Computational Inelasticity FHLN05. Assignment A non-linear elasto-plastic problem

Computational Inelasticity FHLN05. Assignment A non-linear elasto-plastic problem Computational Inelasticity FHLN05 Assignment 2017 A non-linear elasto-plastic problem General instructions A written report should be submitted to the Division of Solid Mechanics no later than October

More information

These will be no tutorials for Math on Tuesday April 26.

These will be no tutorials for Math on Tuesday April 26. Worksheet The purpose of this worksheet is 1. To understand how the differential equation describing simple harmonic motion is derived. 2. To explore how to predict what the solution to this differential

More information

Instructor: Marios M. Fyrillas HOMEWORK ASSIGNMENT ON NUMERICAL SOLUTION OF NONLINEAR EQUATIONS

Instructor: Marios M. Fyrillas HOMEWORK ASSIGNMENT ON NUMERICAL SOLUTION OF NONLINEAR EQUATIONS AMAT 34 Numerical Methods Instructor: Marios M. Fyrillas Email: m.fyrillas@fit.ac.cy Office Tel.: 34559/60 Ext. 3 HOMEWORK ASSIGNMENT ON NUMERICAL SOLUTION OF NONLINEAR EQUATIONS Question You are required

More information

Chapter 9 Implicit Methods for Linear and Nonlinear Systems of ODEs

Chapter 9 Implicit Methods for Linear and Nonlinear Systems of ODEs Chapter 9 Implicit Methods for Linear and Nonlinear Systems of ODEs In the previous chapter, we investigated stiffness in ODEs. Recall that an ODE is stiff if it exhibits behavior on widelyvarying timescales.

More information

Lesson 13: Rapid Cooling and Euler-trapezoid

Lesson 13: Rapid Cooling and Euler-trapezoid Lesson 13: Rapid Cooling and Euler-trapezoid 13.1 Applied Problem. If an object is being cooled very rapidly, and the model is Newton's law of cooling, then the constant c in u t = c(usur - u) will be

More information

ME451 Kinematics and Dynamics of Machine Systems

ME451 Kinematics and Dynamics of Machine Systems ME451 Kinematics and Dynamics of Machine Systems Introduction to Dynamics Newmark Integration Formula [not in the textbook] December 9, 2014 Dan Negrut ME451, Fall 2014 University of Wisconsin-Madison

More information

Finding the Roots of f(x) = 0. Gerald W. Recktenwald Department of Mechanical Engineering Portland State University

Finding the Roots of f(x) = 0. Gerald W. Recktenwald Department of Mechanical Engineering Portland State University Finding the Roots of f(x) = 0 Gerald W. Recktenwald Department of Mechanical Engineering Portland State University gerry@me.pdx.edu These slides are a supplement to the book Numerical Methods with Matlab:

More information

Finding the Roots of f(x) = 0

Finding the Roots of f(x) = 0 Finding the Roots of f(x) = 0 Gerald W. Recktenwald Department of Mechanical Engineering Portland State University gerry@me.pdx.edu These slides are a supplement to the book Numerical Methods with Matlab:

More information

Analysis Methods in Atmospheric and Oceanic Science

Analysis Methods in Atmospheric and Oceanic Science Analysis Methods in Atmospheric and Oceanic Science AOSC 652 Week 7, Day 1 13 Oct 2014 1 Student projects: 20% of the final grade: you will receive a numerical score for the project and final grade will

More information

Chapter 4 Discrete Fourier Transform (DFT) And Signal Spectrum

Chapter 4 Discrete Fourier Transform (DFT) And Signal Spectrum Chapter 4 Discrete Fourier Transform (DFT) And Signal Spectrum CEN352, DR. Nassim Ammour, King Saud University 1 Fourier Transform History Born 21 March 1768 ( Auxerre ). Died 16 May 1830 ( Paris ) French

More information

Analysis Methods in Atmospheric and Oceanic Science

Analysis Methods in Atmospheric and Oceanic Science Analysis Methods in Atmospheric and Oceanic Science 1 AOSC 652 Week 7, Day 1 10 Oct 2016 Student projects: 20% of the final grade: you will receive a numerical score for the project and final grade will

More information

6.1 The function can be set up for fixed-point iteration by solving it for x

6.1 The function can be set up for fixed-point iteration by solving it for x 1 CHAPTER 6 6.1 The function can be set up for fied-point iteration by solving it for 1 sin i i Using an initial guess of 0 = 0.5, the first iteration yields 1 sin 0.5 0.649637 a 0.649637 0.5 100% 3% 0.649637

More information

Homework 2 - Solutions MA/CS 375, Fall 2005

Homework 2 - Solutions MA/CS 375, Fall 2005 Homework 2 - Solutions MA/CS 375, Fall 2005 1. Use the bisection method, Newton s method, and the Matlab R function fzero to compute a positive real number x satisfying: sinh x = cos x. For each of the

More information

Numerical Methods - Preliminaries

Numerical Methods - Preliminaries Numerical Methods - Preliminaries Y. K. Goh Universiti Tunku Abdul Rahman 2013 Y. K. Goh (UTAR) Numerical Methods - Preliminaries 2013 1 / 58 Table of Contents 1 Introduction to Numerical Methods Numerical

More information

Extended Introduction to Computer Science CS1001.py. Lecture 8 part A: Finding Zeroes of Real Functions: Newton Raphson Iteration

Extended Introduction to Computer Science CS1001.py. Lecture 8 part A: Finding Zeroes of Real Functions: Newton Raphson Iteration Extended Introduction to Computer Science CS1001.py Lecture 8 part A: Finding Zeroes of Real Functions: Newton Raphson Iteration Instructors: Benny Chor, Amir Rubinstein Teaching Assistants: Yael Baran,

More information

Chapter 9b: Numerical Methods for Calculus and Differential Equations. Initial-Value Problems Euler Method Time-Step Independence MATLAB ODE Solvers

Chapter 9b: Numerical Methods for Calculus and Differential Equations. Initial-Value Problems Euler Method Time-Step Independence MATLAB ODE Solvers Chapter 9b: Numerical Methods for Calculus and Differential Equations Initial-Value Problems Euler Method Time-Step Independence MATLAB ODE Solvers Acceleration Initial-Value Problems Consider a skydiver

More information

Math Introduction to Numerical Methods - Winter 2011 Homework 2 Assigned: Friday, January 14, Due: Thursday, January 27,

Math Introduction to Numerical Methods - Winter 2011 Homework 2 Assigned: Friday, January 14, Due: Thursday, January 27, Math 371 - Introduction to Numerical Methods - Winter 2011 Homework 2 Assigned: Friday, January 14, 2011. Due: Thursday, January 27, 2011.. Include a cover page. You do not need to hand in a problem sheet.

More information

Calculations to predict motion or move objects (done repetitively in a loop)

Calculations to predict motion or move objects (done repetitively in a loop) Lab 2: Free Fall 1 Modeling Free Fall Now that you ve done experimental measurements of an object in free fall, you will model the motion of an object in free fall using numerical methods and compare your

More information

Practical Numerical Analysis: Sheet 3 Solutions

Practical Numerical Analysis: Sheet 3 Solutions Practical Numerical Analysis: Sheet 3 Solutions 1. We need to compute the roots of the function defined by f(x) = sin(x) + sin(x 2 ) on the interval [0, 3] using different numerical methods. First we consider

More information

Roots of Equations Roots of Polynomials

Roots of Equations Roots of Polynomials Roots of Equations Roots of Polynomials Content Roots of Polynomials Birge Vieta Method Lin Bairstow Method Roots of Polynomials The methods used to get all roots (real and complex) of a polynomial are:

More information

Python & Numpy A tutorial

Python & Numpy A tutorial Python & Numpy A tutorial Devert Alexandre School of Software Engineering of USTC 13 February 2012 Slide 1/38 Table of Contents 1 Why Python & Numpy 2 First steps with Python 3 Fun with lists 4 Quick tour

More information

Spacecraft Dynamics and Control

Spacecraft Dynamics and Control Spacecraft Dynamics and Control Matthew M. Peet Arizona State University Lecture 4: Position and Velocity Introduction In this Lecture, you will learn: Motion of a satellite in time How to predict position

More information

BEKG 2452 NUMERICAL METHODS Solution of Nonlinear Equations

BEKG 2452 NUMERICAL METHODS Solution of Nonlinear Equations BEKG 2452 NUMERICAL METHODS Solution of Nonlinear Equations Ser Lee Loh a, Wei Sen Loi a a Fakulti Kejuruteraan Elektrik Universiti Teknikal Malaysia Melaka Lesson Outcome Upon completion of this lesson,

More information

Chapter 2: Numeric, Cell, and Structure Arrays

Chapter 2: Numeric, Cell, and Structure Arrays Chapter 2: Numeric, Cell, and Structure Arrays Topics Covered: Vectors Definition Addition Multiplication Scalar, Dot, Cross Matrices Row, Column, Square Transpose Addition Multiplication Scalar-Matrix,

More information

Quiescent Steady State (DC) Analysis The Newton-Raphson Method

Quiescent Steady State (DC) Analysis The Newton-Raphson Method Quiescent Steady State (DC) Analysis The Newton-Raphson Method J. Roychowdhury, University of California at Berkeley Slide 1 Solving the System's DAEs DAEs: many types of solutions useful DC steady state:

More information

ECE 476. Exam #2. Tuesday, November 15, Minutes

ECE 476. Exam #2. Tuesday, November 15, Minutes Name: Answers ECE 476 Exam #2 Tuesday, November 15, 2016 75 Minutes Closed book, closed notes One new note sheet allowed, one old note sheet allowed 1. / 20 2. / 20 3. / 20 4. / 20 5. / 20 Total / 100

More information

MATH 235/W08: Orthogonality; Least-Squares; & Best Approximation SOLUTIONS to Assignment 6

MATH 235/W08: Orthogonality; Least-Squares; & Best Approximation SOLUTIONS to Assignment 6 MATH 235/W08: Orthogonality; Least-Squares; & Best Approximation SOLUTIONS to Assignment 6 Solutions to questions 1,2,6,8. Contents 1 Least Squares and the Normal Equations*** 2 1.1 Solution...........................................

More information

Nonlinear Equations. Not guaranteed to have any real solutions, but generally do for astrophysical problems.

Nonlinear Equations. Not guaranteed to have any real solutions, but generally do for astrophysical problems. Nonlinear Equations Often (most of the time??) the relevant system of equations is not linear in the unknowns. Then, cannot decompose as Ax = b. Oh well. Instead write as: (1) f(x) = 0 function of one

More information

3.1: 1, 3, 5, 9, 10, 12, 14, 18

3.1: 1, 3, 5, 9, 10, 12, 14, 18 3.:, 3, 5, 9,,, 4, 8 ) We want to solve d d c() d = f() with c() = c = constant and f() = for different boundary conditions to get w() and u(). dw d = dw d d = ( )d w() w() = w() = w() ( ) c d d = u()

More information

Identity Matrix: EDU> eye(3) ans = Matrix of Ones: EDU> ones(2,3) ans =

Identity Matrix: EDU> eye(3) ans = Matrix of Ones: EDU> ones(2,3) ans = Very Basic MATLAB Peter J. Olver October, 2003 Matrices: Type your matrix as follows: Use, or space to separate entries, and ; or return after each row. EDU> [;5 0-3 6;; - 5 ] or EDU> [,5,6,-9;5,0,-3,6;7,8,5,0;-,,5,]

More information

A New Modification of Newton s Method

A New Modification of Newton s Method A New Modification of Newton s Method Vejdi I. Hasanov, Ivan G. Ivanov, Gurhan Nedjibov Laboratory of Mathematical Modelling, Shoumen University, Shoumen 971, Bulgaria e-mail: v.hasanov@@fmi.shu-bg.net

More information

Mahboubeh Molavi-Arabshahi. School of Mathematics, Iran University of Science and Technology (IUST), Narmak, Tehran, Iran.

Mahboubeh Molavi-Arabshahi. School of Mathematics, Iran University of Science and Technology (IUST), Narmak, Tehran, Iran. Proceedings of the 2 nd International Conference on Combinatorics, Cryptography and Computation (I4C2017) Solving Some Ordinary Differential Equations in Mechanical Engineering using Runge Kutta and Heun

More information

Inverse Kinematics. Mike Bailey.

Inverse Kinematics. Mike Bailey. Inverse Kinematics This work is licensed under a Creative Commons Attribution-NonCommercial- NoDerivatives 4.0 International License Mike Bailey mjb@cs.oregonstate.edu inversekinematics.pptx Inverse Kinematics

More information

Data Analysis Question Sheet

Data Analysis Question Sheet MSE 11: Mathematics: Sam Cooper and David Dye Data Analysis Question Sheet Comments and corrections to david.dye@imperial.ac.uk Exercises Logs and curve sketching 1. Simplify the following expressions:

More information

Solution of Nonlinear Equations: Graphical and Incremental Sea

Solution of Nonlinear Equations: Graphical and Incremental Sea Outlines Solution of Nonlinear Equations: Graphical and s September 2, 2004 Outlines Part I: Solution of Nonlinear Equations Solution of Nonlinear Equations Introduction General Form of the Problem Types

More information

These will be no tutorials for Math on Tuesday April 26.

These will be no tutorials for Math on Tuesday April 26. Worksheet The purpose of this worksheet is 1. To understand how the differential equation describing simple harmonic motion is derived. 2. To explore how to predict what the solution to this differential

More information

( ) 2 75( ) 3

( ) 2 75( ) 3 Chemistry 380.37 Dr. Jean M. Standard Homework Problem Set 3 Solutions 1. The part of a particular MM3-like force field that describes stretching energy for an O-H single bond is given by the following

More information

INTRODUCTION TO NUMERICAL ANALYSIS

INTRODUCTION TO NUMERICAL ANALYSIS INTRODUCTION TO NUMERICAL ANALYSIS Cho, Hyoung Kyu Department of Nuclear Engineering Seoul National University 3. SOLVING NONLINEAR EQUATIONS 3.1 Background 3.2 Estimation of errors in numerical solutions

More information

Solutions of Equations in One Variable. Newton s Method

Solutions of Equations in One Variable. Newton s Method Solutions of Equations in One Variable Newton s Method Numerical Analysis (9th Edition) R L Burden & J D Faires Beamer Presentation Slides prepared by John Carroll Dublin City University c 2011 Brooks/Cole,

More information

2007 Summer College on Plasma Physics

2007 Summer College on Plasma Physics 856-57 2007 Summer College on Plasma Physics 30 July - 24 August, 2007 Numerical methods and simulations. Lecture 4: Solution of nonlinear systems of equations and nonlinear boundary value problems B.

More information

Lab 6a: Pole Placement for the Inverted Pendulum

Lab 6a: Pole Placement for the Inverted Pendulum Lab 6a: Pole Placement for the Inverted Pendulum Idiot. Above her head was the only stable place in the cosmos, the only refuge from the damnation of the Panta Rei, and she guessed it was the Pendulum

More information

Numerical solutions of nonlinear systems of equations

Numerical solutions of nonlinear systems of equations Numerical solutions of nonlinear systems of equations Tsung-Ming Huang Department of Mathematics National Taiwan Normal University, Taiwan E-mail: min@math.ntnu.edu.tw August 28, 2011 Outline 1 Fixed points

More information

Computational Inelasticity FHLN05. Assignment A non-linear elasto-plastic problem

Computational Inelasticity FHLN05. Assignment A non-linear elasto-plastic problem Computational Inelasticity FHLN05 Assignment 2018 A non-linear elasto-plastic problem General instructions A written report should be submitted to the Division of Solid Mechanics no later than November

More information

Linear Algebra II (finish from last time) Root finding

Linear Algebra II (finish from last time) Root finding Lecture 5: Topics: Linear lgebra II (finish from last time) Root finding -Cross product of two vectors -Finding roots of linear equations -Finding roots of nonlinear equations HW: HW 1, Part 3-4 given

More information

INTRODUCTION TO CHEMICAL ENGINEERING COMPUTING

INTRODUCTION TO CHEMICAL ENGINEERING COMPUTING INTRODUCTION TO CHEMICAL ENGINEERING COMPUTING BRUCE A. FINLÄYSON, PH.D. University of Washington Seattle, Washington iwiley- INTERSCIENCE A JOHN WILEY & SONS, INC., PUBLICATION Microsoft product screen

More information

EEE161 Applied Electromagnetics Laboratory 1

EEE161 Applied Electromagnetics Laboratory 1 Dr. Milica Marković Applied Electromagnetics Laboratory page 1 EEE161 Applied Electromagnetics Laboratory 1 Instructor: Dr. Milica Marković Office: Riverside Hall 3028 Email: milica@csus.edu Web:http://gaia.ecs.csus.edu/

More information

Analysis of Critical Speed Yaw Scuffs Using Spiral Curves

Analysis of Critical Speed Yaw Scuffs Using Spiral Curves Analysis of Critical Speed Yaw Scuffs Using Spiral Curves Jeremy Daily Department of Mechanical Engineering University of Tulsa PAPER #2012-01-0606 Presentation Overview Review of Critical Speed Yaw Analysis

More information

Updated 2013 (Mathematica Version) M1.1. Lab M1: The Simple Pendulum

Updated 2013 (Mathematica Version) M1.1. Lab M1: The Simple Pendulum Updated 2013 (Mathematica Version) M1.1 Introduction. Lab M1: The Simple Pendulum The simple pendulum is a favorite introductory exercise because Galileo's experiments on pendulums in the early 1600s are

More information

Experiment P09: Acceleration of a Dynamics Cart I (Smart Pulley)

Experiment P09: Acceleration of a Dynamics Cart I (Smart Pulley) PASCO scientific Physics Lab Manual: P09-1 Experiment P09: (Smart Pulley) Concept Time SW Interface Macintosh file Windows file Newton s Laws 30 m 500 or 700 P09 Cart Acceleration 1 P09_CAR1.SWS EQUIPMENT

More information

Numerical solution of ODEs

Numerical solution of ODEs Péter Nagy, Csaba Hős 2015. H-1111, Budapest, Műegyetem rkp. 3. D building. 3 rd floor Tel: 00 36 1 463 16 80 Fax: 00 36 1 463 30 91 www.hds.bme.hu Table of contents Homework Introduction to Matlab programming

More information

TWO METHODS FOR OF EQUATIONS

TWO METHODS FOR OF EQUATIONS TWO METHODS FOR FINDING ROOTS OF EQUATIONS Closed (Bracketing) Methods Open Methods Motivation: i In engineering applications, it is often necessary to determine the rootofan of equation when a formula

More information

Lesson 11: Mass-Spring, Resonance and ode45

Lesson 11: Mass-Spring, Resonance and ode45 Lesson 11: Mass-Spring, Resonance and ode45 11.1 Applied Problem. Trucks and cars have springs and shock absorbers to make a comfortable and safe ride. Without good shock absorbers, the truck or car will

More information

Example: Modeling DC Motor Position Physical Setup System Equations Design Requirements MATLAB Representation and Open-Loop Response

Example: Modeling DC Motor Position Physical Setup System Equations Design Requirements MATLAB Representation and Open-Loop Response Page 1 of 5 Example: Modeling DC Motor Position Physical Setup System Equations Design Requirements MATLAB Representation and Open-Loop Response Physical Setup A common actuator in control systems is the

More information

Halley s Method: A Cubically Converging. Method of Root Approximation

Halley s Method: A Cubically Converging. Method of Root Approximation Halley s Method: A Cubically Converging Method of Root Approximation Gabriel Kramer Brittany Sypin December 3, 2011 Abstract This paper will discuss numerical ways of approximating the solutions to the

More information

Average and Instantaneous Velocity. p(a) p(b) Average Velocity on a < t < b =, where p(t) is the position a b

Average and Instantaneous Velocity. p(a) p(b) Average Velocity on a < t < b =, where p(t) is the position a b Particle Motion Problems Particle motion problems deal with particles that are moving along the x or y axis. Thus, we are speaking of horizontal of vertical movement. The position, velocity or acceleration

More information

3.1 Introduction. Solve non-linear real equation f(x) = 0 for real root or zero x. E.g. x x 1.5 =0, tan x x =0.

3.1 Introduction. Solve non-linear real equation f(x) = 0 for real root or zero x. E.g. x x 1.5 =0, tan x x =0. 3.1 Introduction Solve non-linear real equation f(x) = 0 for real root or zero x. E.g. x 3 +1.5x 1.5 =0, tan x x =0. Practical existence test for roots: by intermediate value theorem, f C[a, b] & f(a)f(b)

More information

AP Calculus (BC) Chapter 10 Test No Calculator Section. Name: Date: Period:

AP Calculus (BC) Chapter 10 Test No Calculator Section. Name: Date: Period: AP Calculus (BC) Chapter 10 Test No Calculator Section Name: Date: Period: Part I. Multiple-Choice Questions (5 points each; please circle the correct answer.) 1. The graph in the xy-plane represented

More information