AN INTRODUCTION TO NUMERICAL METHODS USING MATHCAD. Mathcad Release 14. Khyruddin Akbar Ansari, Ph.D., P.E.

Similar documents
Numerical Methods for Engineers

Numerical Methods for Engineers. and Scientists. Applications using MATLAB. An Introduction with. Vish- Subramaniam. Third Edition. Amos Gilat.

Applied Numerical Analysis

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn

Numerical Analysis. A Comprehensive Introduction. H. R. Schwarz University of Zürich Switzerland. with a contribution by

Numerical Methods. Scientists. Engineers

Excel for Scientists and Engineers Numerical Method s. E. Joseph Billo

MATHEMATICAL METHODS INTERPOLATION

Numerical Methods for Engineers

TABLE OF CONTENTS INTRODUCTION, APPROXIMATION & ERRORS 1. Chapter Introduction to numerical methods 1 Multiple-choice test 7 Problem set 9

PARTIAL DIFFERENTIAL EQUATIONS

Preface. 2 Linear Equations and Eigenvalue Problem 22

Numerical Methods with MATLAB

NUMERICAL METHODS FOR ENGINEERING APPLICATION

FISIKA KOMPUTASI (COMPUTATIONAL PHYSICS) Ishafit Program Studi Pendidikan Fisika Universitas Ahmad Dahlan

NUMERICAL ANALYSIS SYLLABUS MATHEMATICS PAPER IV (A)

CAM Ph.D. Qualifying Exam in Numerical Analysis CONTENTS

Numerical Analysis. Introduction to. Rostam K. Saeed Karwan H.F. Jwamer Faraidun K. Hamasalh

AN INTRODUCTION TO NUMERICAL METHODS USING MATHCAD. Mathcad Release 13. Khyruddin Akbar Ansari, Ph.D., P.E.

Mathematical Methods for Numerical Analysis and Optimization

midas Civil Dynamic Analysis

Computational Methods

AN INTRODUCTION TO NUMERICAL METHODS USING MATHCAD. Mathcad Release 14. Khyruddin Akbar Ansari, Ph.D., P.E.

Introduction to Mechanical Vibration

Spis treści Contents List of Examples Preface to Third Edition 21

CHAPTER 1 Introduction to Differential Equations 1 CHAPTER 2 First-Order Equations 29

NUMERICAL MATHEMATICS AND COMPUTING

Solution of Nonlinear Equations

Dynamic Systems. Modeling and Analysis. Hung V. Vu. Ramin S. Esfandiari. THE McGRAW-HILL COMPANIES, INC. California State University, Long Beach

Class XI Physics Syllabus One Paper Three Hours Max Marks: 70

Engineering. Mathematics. GATE 2019 and ESE 2019 Prelims. For. Comprehensive Theory with Solved Examples

Differential Equations with Mathematica

MATLAB for Engineers

Name of the Student: Unit I (Solution of Equations and Eigenvalue Problems)

41514 Dynamics of Machinery

Numerical Simulation of Impacts involving a Collapsible Nonlinear Multilayer Structure

Fundamental Numerical Methods for Electrical Engineering

p 1 p 0 (p 1, f(p 1 )) (p 0, f(p 0 )) The geometric construction of p 2 for the se- cant method.

NUMERICAL METHODS USING MATLAB

PHYSICS. Course Structure. Unit Topics Marks. Physical World and Measurement. 1 Physical World. 2 Units and Measurements.

Feedback Control and Stability of the Van der Pol Equation Subjected to External and Parametric Excitation Forces

Contents. Chapter 1 Introduction Chapter 2 Unacceptable Cam Curves Chapter 3 Double-Dwell Cam Curves... 27

Structural Dynamics Lecture Eleven: Dynamic Response of MDOF Systems: (Chapter 11) By: H. Ahmadian

Chapter 1, Section 1.2, Example 9 (page 13) and Exercise 29 (page 15). Use the Uniqueness Tool. Select the option ẋ = x

Structural Dynamics. Spring mass system. The spring force is given by and F(t) is the driving force. Start by applying Newton s second law (F=ma).

Index. Index. More information. in this web service Cambridge University Press

1427. Response and performance of a nonlinear vibration isolator with high-static-low-dynamic-stiffness under shock excitations

Structural Dynamics Lecture 4. Outline of Lecture 4. Multi-Degree-of-Freedom Systems. Formulation of Equations of Motions. Undamped Eigenvibrations.

Subbalakshmi Lakshmipathy College of Science. Department of Mathematics

Contents. Dynamics and control of mechanical systems. Focus on

Numerical Analysis Solution of Algebraic Equation (non-linear equation) 1- Trial and Error. 2- Fixed point

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

DIFFERENTIAL EQUATIONS WITH BOUNDARY VALUE PROBLEMS

In the presence of viscous damping, a more generalized form of the Lagrange s equation of motion can be written as

Contents as of 12/8/2017. Preface. 1. Overview...1

F I F T H E D I T I O N. Introductory Methods of Numerical Analysis. S.S. Sastry

Numerical Methods in Physics and Astrophysics

West Windsor-Plainsboro Regional School District AP Calculus BC Grades 9-12

MATHEMATICS. Course Syllabus. Section A: Linear Algebra. Subject Code: MA. Course Structure. Ordinary Differential Equations

Measurement Techniques for Engineers. Motion and Vibration Measurement

Integral Section List for OCR Specification

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF MATHEMATICS ACADEMIC YEAR / EVEN SEMESTER QUESTION BANK

LECTURE 14: DEVELOPING THE EQUATIONS OF MOTION FOR TWO-MASS VIBRATION EXAMPLES

Exam 2. Average: 85.6 Median: 87.0 Maximum: Minimum: 55.0 Standard Deviation: Numerical Methods Fall 2011 Lecture 20

Lecture 15 Strain and stress in beams

Program System for Machine Dynamics. Abstract. Version 5.0 November 2017

ADVANCED ENGINEERING MATHEMATICS

Virtual University of Pakistan

Numerical Mathematics

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Advanced. Engineering Mathematics

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad MECHANICAL ENGINEERING TUTORIAL QUESTION BANK

a) Find the equation of motion of the system and write it in matrix form.

SOLUTION OF EQUATION AND EIGENVALUE PROBLEMS PART A( 2 MARKS)

APPLIED MATHEMATICS AM 02

Contents. Part I Vector Analysis

Dynamics and control of mechanical systems

Numerical Analysis & Computer Programming

Contents. I Basic Methods 13

CONTENTS. ABOUTTHEAUTHORS xviii PART ONE MODELING, COMPUTERS, AND ERROR ANALYSIS 3

Do not turn over until you are told to do so by the Invigilator.

TOPIC E: OSCILLATIONS EXAMPLES SPRING Q1. Find general solutions for the following differential equations:

Contents. Preface to the Third Edition (2007) Preface to the Second Edition (1992) Preface to the First Edition (1985) License and Legal Information

Numerical and Statistical Methods

MOOC QP Set 2 Principles of Vibration Control

Introduction to Ordinary Differential Equations with Mathematica

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67

STATICS & DYNAMICS. Engineering Mechanics. Gary L. Gray. Francesco Costanzo. Michael E. Plesha. University of Wisconsin-Madison

Numerical and Statistical Methods

DIVIDED SYLLABUS ( ) - CLASS XI PHYSICS (CODE 042) COURSE STRUCTURE APRIL

Strain Measurements. Isaac Choutapalli

Follow links Class Use and other Permissions. For more information, send to:

A THEORETICAL INTRODUCTION TO NUMERICAL ANALYSIS

YEAR III SEMESTER - V

Figure XP3.1 (a) Mass in equilibrium, (b) Freebody diagram, (c) Kinematic constraint relation Example Problem 3.1 Figure XP3.1 illustrates a mass m

ENGINEERING MATHEMATICS I. CODE: 10 MAT 11 IA Marks: 25 Hrs/Week: 04 Exam Hrs: 03 PART-A

SCHEME OF WORK FOR LEVEL 5 MECHANICAL ENGINEERING

An Introduction to the Finite Element Method

Solution of Nonlinear Equations: Graphical and Incremental Sea

Step 1: Mathematical Modeling

Transcription:

AN INTRODUCTION TO NUMERICAL METHODS USING MATHCAD Mathcad Release 14 Khyruddin Akbar Ansari, Ph.D., P.E. Professor of Mechanical Engineering School of Engineering and Applied Science Gonzaga University SDC PUBLICATIONS Schroff Development Corporation www.schroff.com www.schroff-europe.com

Table of Contents: i TABLE OF CONTENTS Preface v 1. Basics of Mathcad. 1 1.1 Introduction 1 1.2 The Mathcad Screen 1 1.3 Exact Answers 3 1.4 Variables, Functions and Live math. 3 1.5 Feedback 4 1.6 Graphics 5 1.7 Graphing of Functions and Plotting of Data 5 1.8 Animations 7 1.9 The Mathcad Tutorials 7 1.10 Advantages of Mathcad 7 1.11 Computations in Mathcad 10 1.12 The Mathcad Window, Toolbars and Palettes 13 1.13 Mathcad Regions 15 1.14 Entering Math and Text 16 1.15 Mathcad Worksheets,Templates and Styles 17 1.16 Defining Variables 18 1.17 Defining Functions in Mathcad 19 1.18 Building and Editing Mathematical Expressions 21 1.19 Defining Range Variables 23 1.20 Defining Vectors and Matrices 24 1.21 Creating Graphs 28 1.22 Formatting Math, Text and Results 35 1.23 Using Units 39 2. Introduction to Numerical Methods. 43 2.1 The Use of Numerical Methods in Science and Engineering 43 2.2 Comparison of Numerical Methods with Analytical Methods 43 2.3 Sources of Numerical Errors and their Computation 44 2.4 Taylor Series Expansion 44 Problems 49 3. Roots of Equations. 53 3.1 Introduction 53 3.2 Methods Available 53 3.3 Bisection Method 53 3.4. The Regula Falsi or the False Position Method 58 3.5 Newton-Raphson Method 65 3.6 Use of Mathcad s root and polyroots Functions 71

ii AN INTRODUCTION TO NUMERICAL METHODS USING MATHCAD 3.7 Secant Method 72 3.8. Method of Successive Substitution 78 3.9 Multiple Roots and Difficulties in Computation 80 3.10. Solution of Systems of Nonlinear Equations 84 3.11 Solving Systems of Equations using Mathcad's Given and Find Functions 86 3.12 Applications in Root-Finding 87 3.12.1 Maximum Design Load for a Column 87 3.12.2 Natural frequencies of Vibration of a Uniform Beam 89 3.12.3 Solving the Characteristic Equation in Control Systems Engineering 91 3.12.4 Horizontal Tension in a Uniform Cable 93 Problems 96 4. Matrices and Linear Algebra. 103 4.1 Basic Matrix Operations 103 4.2 Use of Mathcad in Performing Matrix Operations 105 4.3 Solution of Linear Algebraic Equations by Using the Inverse 108 4.4 Solution of Linear Algebraic Equations by Cramer s Rule 110 4.5 Solution of Linear Algebraic Equations Using the Function lsolve 112 4.6 The Eigenvalue Problem 114 4.7 Solving the Eigenvalue Problem with Mathcad 116 4.8 Application of the Eigenvalue Problem to Vibration Engineering 117 4.9 Application of the Eigenvalue Problem to Stress Analysis- Determination of Principal Stresses and Principal Directions 125 4.10 Repeated Roots in the Determinantal Equation 128 4.11 Solution of Nonlinear Simultaneous Equations 131 Problems 134 5. Numerical Interpolation. 141 5.1 Linear Interpolation 141 5.2 The Method of Undetermined Coefficients 141 5.3 The Gregory-Newton Interpolating Polynomial 144 5.4 Interpolation Using Finite Differences 149 5.5 Newton s Method Utilizing Finite Differences 151 5.6 The Lagrange Interpolating Polynomial 155 5.7 Interpolation Using Linear, Quadratic and Cubic Splines 158 5.8 Interpolation with Mathcad 159 5.9 Applications in Numerical Interpolation 168 5.9.1 Stress-Strain data for Titanium 168 5.9.2 Notch Sensitivity of Aluminum 169 5.9.3 Speech Interference Level 172 5.9.4 Load-Deflection Data for Elastomeric Mounts 175 Problems 177

Table of Contents: iii 6. Curve-Fitting. 183 6.1 The Need to Fit a Function to Measured Data 183 6.2 The Method of Least Squares. 184 6.3 Straight Line Regression 185 6.4 Curve-Fitting with a Quadratic Function 188 6.5 Curve-Fit with a Power Function 191 6.6 Curve-Fitting with an Exponential Function 194 6.7 Curve-Fitting with a Linear Combination of Known Functions 199 6.8 Curve-Fitting with Polynomials. 203 6.9 Use of Mathcad's Regression Functions for Curve-Fitting 207 6.9.1 Linear Regression with Mathcad 207 6.9.2 Nonlinear Regression with Mathcad 209 6.9.3 Use of the Function linfit 211 6.9.4 Use of the Function genfit 213 6.9.5 Use of the Mathcad Functions logfit, lnfit, pwrfit and expfit 215 6.9.6 More Examples with Mathcad 220 6.10 Applications in Curve-Fitting 236 6.10.1 Fatigue Failure Curve for Loading in the Finite Life Range 236 6.10.2 Temperature Response of an Object Placed in a Hot Stream of Air 239 6.10.3 The Effect of Operating Temperature on the Strength of a Mechanical Element 242 6.10.4 Drop-Testing of Packaged Articles 245 Problems 248 7. Numerical Differentiation 255 7.1 Introduction to Numerical Differentiation and the Use of the Mathcad Derivative Operators 255 7.2 Method of Finite Differences 255 7.3 Interpolating Polynomial Method 259 7.4 Applications in Numerical Differentiation 262 7.4.1 Determination of Velocities and Accelerations from Given Displacement Data 262 7.4.2 Determination of Shock Absorber Parameters, and Damper and Spring Restoring Forces from Given Vehicle Displacement Data 266 Problems 271 8. Numerical Integration 277 8.1 Introduction to Numerical Integration and the Use of the Mathcad Integral Operator 277 8.2 The Interpolating Polynomial Method 279 8.3 Trapezoidal Rule 280 8.4 Simpson s Rules 283

iv AN INTRODUCTION TO NUMERICAL METHODS USING MATHCAD 8.4.1 Simpson s One-Third Rule 283 8.4.2 Simpson s Three-Eighth Rule 286 8.4.3 Limitations of Simpson s Rules 287 8.5 Romberg Integration 288 8.6 Applications in Numerical Integration 301 8.6.1 Centroid of a Rod Bent into the Shape of A Parabola 301 8.6.2 Moment of Inertia of a Beam of Semi-Elliptic Cross Section 302 8.6.3 Launch of a Projectile 303 8.6.4 Large Oscillations of a Simple Pendulum 304 Problems 306 9. Numerical Solution of Ordinary Differential Equations. 311 9.1 Introduction 311 9.2 Taylor Series Method 312 9.3 Euler s Method 317 9.4 Modified Euler s Method 323 9.5 Runge- Kutta Methods 329 9.5.1 Fourth-Order Runge-Kutta Method 329 9.5.2 Mathcad Solutions to a First-Order Differential Equation 335 9.6 Systems of Ordinary Differential Equations 341 9.7 Solution of Higher-Order Ordinary Differential Equations 349 9.8 Boundary-Value Problems and the Shooting Method 358 9.9 Applications in Numerical Solution of Ordinary Differential Equations 363 9.9.1 Response of an Electric R-L Circuit to a Unit-Step Voltage Input 363 9.9.2 Deflection Curve of a Cantilevered Beam with a Uniformly Distributed Load 364 9.9.3 Temperature Response of a Solid Steel Ball Placed in a Hot Stream of Air 366 9.9.4 Nonlinear Vibration of a Simple Pendulum 367 9.9.5 Transient Vibration of a Spring-Mass-Damper System Excited by a Pulse Function 370 9.9.6 Nonlinear Vibration of a Damped System with a Hardening Spring 373 9.9.7 Temperature Distribution in the Wall of a Pipe Carrying a Hot Fluid 378 9.9.8 Response of an R-L Circuit with a Nonlinear Resistor 382 9.9.9 The Effect of Damping on the Step Response of a Second-Order Control System 384 Problems 386 Bibliography 399 Index 401