This is the text of the original description initially included in the package Advanced Laplace v.1.4

Similar documents
MAT 275 Laboratory 7 Laplace Transform and the Symbolic Math Toolbox

e st f (t) dt = e st tf(t) dt = L {t f(t)} s

Laplace Transforms Chapter 3

8 sin 3 V. For the circuit given, determine the voltage v for all time t. Assume that no energy is stored in the circuit before t = 0.

20.5. The Convolution Theorem. Introduction. Prerequisites. Learning Outcomes

Module 39: Periodic Forcing Functions

18.03 Class 23, Apr 2. Laplace Transform: Second order equations; completing the square; t-shift; step and delta signals. Rules:

Math Shifting theorems

Laplace Transforms. Chapter 3. Pierre Simon Laplace Born: 23 March 1749 in Beaumont-en-Auge, Normandy, France Died: 5 March 1827 in Paris, France

Ordinary Differential Equations. Session 7

20.6. Transfer Functions. Introduction. Prerequisites. Learning Outcomes

(f g)(t) = Example 4.5.1: Find f g the convolution of the functions f(t) = e t and g(t) = sin(t). Solution: The definition of convolution is,

CHBE320 LECTURE V LAPLACE TRANSFORM AND TRANSFER FUNCTION. Professor Dae Ryook Yang

Matemáticas II: Segundo del Grado en Ingeniería Aeroespacial

37. f(t) sin 2t cos 2t 38. f(t) cos 2 t. 39. f(t) sin(4t 5) 40.

Exam 3 Review Sheet Math 2070

Ordinary Differential Equations

Laplace Transforms and use in Automatic Control

Ch 6.2: Solution of Initial Value Problems

ECE 3793 Matlab Project 3

Definition of the Laplace transform. 0 x(t)e st dt

Section 2.4 Linear Equations

Notes 07 largely plagiarized by %khc

Parametric Equations

Basic Procedures for Common Problems

Laplace Transform Theory - 1

The above statement is the false product rule! The correct product rule gives g (x) = 3x 4 cos x+ 12x 3 sin x. for all angles θ.

Name: Solutions Exam 3

Section 6.4 DEs with Discontinuous Forcing Functions

Differential Equations

The Laplace transform

Time Response of Systems

Definitions of the Laplace Transform (1A) Young Won Lim 1/31/15

Math 266 Midterm Exam 2

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 2 Laplace Transform I 1/52

Section 6.5 Impulse Functions

27. The pole diagram and the Laplace transform

EE -213 BASIC CIRCUIT ANALYSIS LAB MANUAL

Math 216 Second Midterm 17 November, 2016

E2.5 Signals & Linear Systems. Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & 2)

Calculus & Analytic Geometry I

Math 215/255 Final Exam (Dec 2005)

Laplace Transform Part 1: Introduction (I&N Chap 13)

Practice Problems For Test 3

9.2 The Input-Output Description of a System

INTRODUCTION TO TRANSFER FUNCTIONS

CH.6 Laplace Transform

MATH 251 Examination II April 3, 2017 FORM A. Name: Student Number: Section:

Practice Problems For Test 3

Chapter 2: Linear systems & sinusoids OVE EDFORS DEPT. OF EIT, LUND UNIVERSITY

Name: Solutions Final Exam

Math 310 Introduction to Ordinary Differential Equations Final Examination August 9, Instructor: John Stockie

Exam 1 Review Solutions

f(t)e st dt. (4.1) Note that the integral defining the Laplace transform converges for s s 0 provided f(t) Ke s 0t for some constant K.

Course roadmap. ME451: Control Systems. Example of Laplace transform. Lecture 2 Laplace transform. Laplace transform

Computer Problems for Methods of Solving Ordinary Differential Equations

Homework 5 EE235, Summer 2013 Solution

MathQuest: Differential Equations

Math 307 Lecture 19. Laplace Transforms of Discontinuous Functions. W.R. Casper. Department of Mathematics University of Washington.

Review Sol. of More Long Answer Questions

Control Systems. Laplace domain analysis

Solutions to Homework 1, Introduction to Differential Equations, 3450: , Dr. Montero, Spring y(x) = ce 2x + e x

F(p) y + 3y + 2y = δ(t a) y(0) = 0 and y (0) = 0.

Question: Total. Points:

Math 2C03 - Differential Equations. Slides shown in class - Winter Laplace Transforms. March 4, 5, 9, 11, 12, 16,

we get y 2 5y = x + e x + C: From the initial condition y(0) = 1, we get 1 5 = 0+1+C; so that C = 5. Completing the square to solve y 2 5y = x + e x 5

ORDINARY DIFFERENTIAL EQUATIONS

Math 216 Final Exam 14 December, 2012

Module 4. Related web links and videos. 1. FT and ZT

Advanced Engineering Mathematics

ECE-202 FINAL April 30, 2018 CIRCLE YOUR DIVISION

Math 3313: Differential Equations Laplace transforms

ECON 582: An Introduction to the Theory of Optimal Control (Chapter 7, Acemoglu) Instructor: Dmytro Hryshko

EE Homework 12 - Solutions. 1. The transfer function of the system is given to be H(s) = s j j

Math 256: Applied Differential Equations: Final Review

Exam 3 Review Sheet Math 2070

Laplace Transform. Chapter 4

MATH 251 Final Examination May 4, 2015 FORM A. Name: Student Number: Section:

GATE EE Topic wise Questions SIGNALS & SYSTEMS

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS IV: Laplace Transform Method David Levermore Department of Mathematics University of Maryland

Solutions to Assignment 7

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS IV: Laplace Transform Method. David Levermore Department of Mathematics University of Maryland

MATH 251 Examination II April 4, 2016 FORM A. Name: Student Number: Section:

FINAL EXAM SOLUTIONS, MATH 123

Unit 2: Modeling in the Frequency Domain Part 2: The Laplace Transform. The Laplace Transform. The need for Laplace

Homogeneous Linear Systems and Their General Solutions

2. Time-Domain Analysis of Continuous- Time Signals and Systems

= e t sin 2t. s 2 2s + 5 (s 1) Solution: Using the derivative of LT formula we have

Math 180 Written Homework Assignment #10 Due Tuesday, December 2nd at the beginning of your discussion class.

ECE 301 Division 1 Exam 1 Solutions, 10/6/2011, 8-9:45pm in ME 1061.

Math 216 Second Midterm 20 March, 2017

Getting to the Roots of Quadratics

ECE 301 Fall 2011 Division 1. Homework 1 Solutions.

APPM 2360: Midterm 3 July 12, 2013.

1 Fundamental Concepts From Algebra & Precalculus

MATH 251 Examination II April 7, 2014 FORM A. Name: Student Number: Section:

Systems Analysis and Control

LIMITS AND DERIVATIVES

LINEAR EQUATIONS OF HIGHER ORDER. EXAMPLES. General framework

This exam is closed book with the exception of a single 8.5 x11 formula sheet. Calculators or other electronic aids are not allowed.

Transcription:

This is the text of the original description initially included in the package Advanced Laplace v.1.4 Some parts of this text do not apply to the TI-Nspire version, this is why they are shown in light grey. ==================== Advanced Laplace v. 1.4 This package contains functions for solving single or multiple differential equations with constant coefficients. Differential equations can be of any order and complexity. The functions have also the ability to find the solutions of most integral equations or combinations of differential and integral equations (integro-differential equations). Method used: Laplacetransformation. This package does also contain functions for Laplace-transformation. Keep the functions together in a separate folder with the name "LAPLACE" and do not create any variable in it. Functions: SolveD solve single differential/integral equations SimultD solve multiple simultaneous differential/integral equations Laplace transforms from time to Laplace domain. ilaplace transforms from Laplace to time domain. Before using functions set MODE Complex Format to RECTANGULAR Angle to RADIAN Exact/Approx to AUTO You have to do these settings yourself because; the programs cannot change the mode setting on the calculator. Help This program will give online information about and demonstrate the use of functions in this package. When you do not need this program any longer just delete it. Syntax: Help() On the TI-Nspire version, you may use demo_laplace( ) SolveD Solving single differential/integral equation. The Principe in this function is, first it will transform the equation in to the Laplace-domain and second it solves the equation as a linear equations, third it transforms the solution back to the time-domain (see Laplace/iLaplace for further information about Laplacetransformation). In Principe SolveD can solve differential/integral equations of any order. The

only limitation is the size of the calculator's memory (if it is a very complex solution, it may run out of memory). Equations/initial conditions may contain constants of any kind, but the letter 's' may not be used in any connection. Heaviside/Dirac delta functions can be used in equation (see Laplace for further information). Syntax: SolvD SolvD(equation,{function,initial conditions}) equation differential/integral equation derivative of a function is written: d(f(x),x,n) where "d()" is the normal differentiation function on the calculator and 'n' is the order. Integrals of a function is written: 'int'(f(x),x) or d(f(x),x,-n). Where 'int'() is the calculators normal integral-function functionfunction to solve fore: f(x) initial conditions f(0),f'(0),f''(0),.. Example 1: Solving second order differential equation: Equation: d^2x(t)/dt^2+2*dx(t)/dt+5=sin(2*t) and t>=0 Initial conditions: x'=3 and x=1 at t=0 SolveD(d(x(t),t,2)+2*d(x(t),t)+5=e^(-t),{x(t),1,3}) d() is the normal differentiation function on the calculator. Result: x(t)= 10 - t*e^(-t) - 9*e^(-t) - 5*t +10 --------------------------------------------------------------- Example 2: Obtain the solution x(t), t>=0, of the differential equation d^2x(t)/dt^2+5*dx(t)/dt+6=f(t) where f(t) is the pulse function 3 (0<= t <6) f(t) = 0 (t >= 6) Initial conditions x(0)=0 and x'(0)=2 First rewriting f(t) to Heaviside functions f(t) = 3*(u(t) - u(t-6)) Now the equation can be solved with SolvD

SolveD( d(x(t),t,2)+5*d(x(t),t)+6=3*(u(t)-u(t-6)),{x(t),0,2}) Result x(t)=(13/25-3*t/5-13*e^(-5t)/25)*u(t)+(93/25-3*t/5-3*e^(-5*t+30)/25)*u(t-6) --------------------------------------------------------------- Example 3: Obtain the solution x(t), t>=0, of the integral equation 'int'(x(t),t)+x=sin(5*t) Where 'int'() is the calculators normal integral-function SolveD('int'(x(t),t)+x=sin(5*t),{x(t)}) Result x(t)=5*cos(5*t)/26+25*sin(5*t)/26-5*e^(-t)/26 --------------------------------------------------------------- Example 4: Obtain the solution x(t), t>=0, of the mixed differential/integral equation 'int'(x(t),t)+dx/dt=cos(t) Initial conditions: unknown SimultD('int'(x(t),t)+d(x(t),t)=cos(t),{x(t)}) Solution x(t)=t*cos(t)/2+x0*cos(t)+sin(t)/2 Here "x0"= the unknown initial condition SimultD Solving multiple simultaneous differential/integral equations. The Principe in this function is, first it will transform the equations in to the Laplacedomain and second it solves the equations as a system of linear equations, third it transforms the solutions back to the time-domain (see Laplace/iLaplace for further information about Laplace-transformation). There are very few rules to obey when using SimultD. First, there has to be an equal number of equations and unknown variables. Second, the variable has to be a function of the type f(var). Equations do not need to be of same order. In Principe SimultD can solve any number of simultaneous differential/integral equations of any order or mixture of different orders, if there are a sufficient number of equations. The only limitation is the size of the calculator's memory (if it is a very complex solution, it can run out of memory). Equations/initial conditions may contain constants of any kind, but the letter 's' may not be used in any connection.

Heaviside/Dirac delta functions may be used in equations (see Laplace for further information). Syntax: SimultD SimultD([equation;equation;...], [f1(var),f1(0),f1'(0),..;f2(var), f2(0),f2'(0),..;.. ]) equation; equation;.. differential/integral equations separated by ';' derivative of a function is written: d(f(x),x,n) where "d()" is the normal differentiation function on the calculator and 'n' is the order. Integrals of a function is written: 'int'(f(x),x) or d(f(x),x,-n). Where 'int'() is the calculators normal integral-function f1(var),f1(0),..; f2(var),.. by ';' functions and belonging initial conditions separated Example 1. Solve for t>=0 the first-order simultaneous differential equation dx/dt+dy/dt+5*x+3*y=e^(-t) 2*dx/dt+dy/dt+x+y=3 initial conditions x=2 and y=1 at t=0 [d(x(t),t)+d(y(t),t)+5*x+3*y=e^(-t); 2*d(x(t),t)+d(y(t),t)+x+y=3] ->matx1 SimultD(matx1, [x(t),2;y(t),1]) result x(t)=25*e^(t)/3-11*e^(-2*t)-9/2 y(t)=-25*e^(t)/2+1*e^(-t)/2+11*e^(-2*t)/2+15/2 ATTENTION when solving equations containing integrals. There are some situations where Laplace-transformation gives a wrong answer. 1. When an answer from SolveD/SimultD contains Dirac Delta-functions, it may indicate, that something is wrong. Use the function Check to see if the solution is correct. If Check return something different from zero the solution may be false. In most cases just remove the Dirac-functions, the rest of the answer will be the correct solution to equation. 2. When the equation contains constants like this: 'int'(f(t),t)+f(t)+sin(t)=const Laplace-transformation will give the solution for: 'int'(f(t),t)+f(t)+sin(t)=0 Remember when interpreting the results from Check 'int'('delta'(t),t) = 'Heaviside'(t) = 1

'int'('delta'(t),t,2) = t*'heaviside'(t) = t and t>=0 I do actually not know why Laplace-transformation gives these false solutions. If somebody knows the explanation/solution to this, I would like to know it. Check Function constructed to check that the results from SolveD/SimultD are correct. Check will replace the functions in the equations with the output from SolveD/SimultD and return the result. Check always the results from SolveD/SimultD. Function: Check Syntax: Check(equation, result from SolveD/SimultD) equation has to be exactly the same as past to SimultD/SolveD. result from SolveD/SimultD the second parameter has to be the result returned from SolveD/SimultD. Menu Creates a Custom Menu with functions included in this package. After executing the program press '2nd' 'CUSTUM' to activate/deactivate the menu. Program: Menu Syntax: Menu() On TI-Nspire version, you may use LibShortcut("specfunc","s") to get an easier use of these functions. --------------------------------------------------------------------------- Laplace(f(var), var) Please, use Laplace(f(t)) on the TI-Nspire version Transforms the expression "f(t)" from time domain to Laplace domain. f(var): can be almost any expression, which have a Laplace transform. var : is the name of the variable to transform normally 't', but can be any name. const: the expression may contain constants of any kind. Special transforms: Unit step function (Heaviside function): Laplace(u(t - a),t) = e^(-a*s)/s Dirac delta function: Laplace('delta'(t - a),t) = e^(-a*s)

You can get 'delta' by pressing 'green diamond' + G + D on TI-92. --------------------------------------------------------------------------- ilaplace(f(var), var) Please, use ilaplace(f(s)) on the TI-Nspire version Transform the other way around from Laplace domain to time domain. F(var): can be any polynomial. It may contain ln() and atan(). var: is the name of the variable to transform normally 's', but can be any name. const: the expression may contain constants of any kind. The letter 's' is reserved for the program. Special transforms: ilaplace(e^(-a*s)/s,s) = u(t - a) ilaplace(e^(-a*s),s) = 'delta'(t - a) ilaplace may never give an error if used correct. It shall be able to transform any real polynomial. If this is not the case please report it to me. fold(f(var), g(var), var) Solving convolution integrals f*g. f(var) and g(var): can be any expressions, which has a Laplace transform. var: is the name of the variable to integrate normally 't', but can be any name. This function use the fact that, if f(t) and g(t) are of exponential order, piecewise-continuous on t>=0 and have Laplace transforms F(s) and G(s) respectively, then, for Re(s)>0 f*g=invl{f(s)g(s)} Example: f(t) = t*u(t) g(t) = sin(2t)*u(t) To solve f*g write following on the commandline: fold(t*u(t),sin(2t)*u(t),t) This gives the result: t/2-sin(2t)/4. Author: Lars Frederiksen E-mail: LTF@POST8.TELE.DK PS. Please do not ask for more programs.