Chapter 11 Calculus - PowerPoint PPT Presentation

About This Presentation
Title:

Chapter 11 Calculus

Description:

Chapter 11 Calculus Symbolic Expressions Required: Symbolic Math Toolbox Use Symbolic Variables Functions for Symbolic Processing x = sym( x ) Creates the ... – PowerPoint PPT presentation

Number of Views:181
Avg rating:3.0/5.0
Slides: 17
Provided by: Goos5
Category:

less

Transcript and Presenter's Notes

Title: Chapter 11 Calculus


1
Chapter 11Calculus
2
Symbolic ExpressionsRequiredgt Symbolic Math
Toolboxgt Use Symbolic Variables
3
Functions for Symbolic Processingx sym(x)
Creates the symbolic
variable with name x.syms x y u v Creates
the symbolic variables x,
y, u, v.Simplify(ans) Simplifies the
expression ans.
4
Symbolic Expression Examplegtgtsyms x
ygtgtsxygtgtrsqrt(x2y2)
5
Symbolic Expression Examplegtgtn3gtgtsyms
xgtgtAx.((0n)(0n))gtgtA 1, 1, 1, 1 1,
x, x2, x3 1, x2, x4, x6 1, x3, x6,
x9
6
Manipulating ExpressionsUse the expand
commandgtgtsyms x ygtgtexpand((xy)2)ans x22
xyy2gtgtexpand(sin(xy))ans sin(x)cos(y)cos
(x)sin(y)
7
Evaluating ExpressionsUse subs(E, old, new) or
double(y)gtgtsyms xgtgtEx26x7gtgtGsubs(E,x,2)
G 23
8
Multiple Variablesgtgtsyms x y zgtgtEx26y2zgt
gtsubs(E,x,y,z,2,2,3)ans 22
9
Using Double Command Examplegtgtsqroot2sym(sqrt(2
))gtgty6sqroot2y 62(1/2)gtgtzdouble(y)z
8.4853
10
Plotting ExpressionsUse ezplot commandgtgtsyms
xgtgtEx2-6x7gtgtezplot(E,-2 6)
11
(No Transcript)
12
Symbolic Calculus Functionsdiff(E) Returns
the derivative of the expression E with respect
to the default independent variable.diff(E,v)
To variable v.diff(E,v,n) nth derivative
int(E) Returns the integrallimit(E)
Returns the limit
13
(No Transcript)
14
(No Transcript)
15
Laplace Transformslaplace(exp) Returns
Laplace transform.ilaplace(exp) Returns
inverse Laplace.
16
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com