Differentiate the following expressions and saveit under the given variables. 1. yp1 = 2. yp2 3. yp3 = = x² (6-x) x+2 d dx d dx } :( find the derivative and save as yp1 x² (4-x) 4+x (x²-1)² x²-6x-1, find the derivative and save as find the derivative and save as yp3

Calculus: Early Transcendentals
8th Edition
ISBN:9781285741550
Author:James Stewart
Publisher:James Stewart
Chapter1: Functions And Models
Section: Chapter Questions
Problem 1RCC: (a) What is a function? What are its domain and range? (b) What is the graph of a function? (c) How...
icon
Related questions
Question

DUE NOW. Please answer it as same as the format given in the blank. Please see the guide and example to answer the required questions. Thank you!

 

Exercises
Differentiate the following expressions and saveit under the given variables.
1. yp1
2. yp2
Script>
3. yp3 =
=
=
=
=
x² (6-x)
x+2
8 yp1 =
9 %Solve for yp2
10 yp2 =
11 %Solve for yp3
12 yp3 =
13
d
dx
d
}
find the derivative and save as yp1
x² (4-x)
4+x
dxx²-6x-1)
"
1
Define the variables for symbolic processing
2 syms X
3 Type in the functions y1, y2 and y3
4 y1(x)
5 y2(x)
6 y3 (x)
7 %Solve for yp1
find the derivative and save as yp2
find the derivative and save as yp3
Transcribed Image Text:Exercises Differentiate the following expressions and saveit under the given variables. 1. yp1 2. yp2 Script> 3. yp3 = = = = = x² (6-x) x+2 8 yp1 = 9 %Solve for yp2 10 yp2 = 11 %Solve for yp3 12 yp3 = 13 d dx d } find the derivative and save as yp1 x² (4-x) 4+x dxx²-6x-1) " 1 Define the variables for symbolic processing 2 syms X 3 Type in the functions y1, y2 and y3 4 y1(x) 5 y2(x) 6 y3 (x) 7 %Solve for yp1 find the derivative and save as yp2 find the derivative and save as yp3
diff Difference and approximate derivative.
diff(X), for a vector X, is [X(2)-X(1) X(3)-X(2) ... X(n)-X(n-1)].
diff(X), for a matrix X, is the matrix of row differences, [X(2:n,:) - X(1:n-1,:)].
diff(X), for an N-D array X, is the difference along the first non-singleton dimension of X.
diff(X,N) is the N-th order difference along the first non-singleton dimension (denote it by DIM). If N >= size(X,DIM), diff takes successive differences along the next non-
singleton dimension.
diff(X,N,DIM) is the Nth difference function along dimension DIM. If N >= size(X,DIM), diff returns an empty array.
Examples:
Y = diff(X) % calculates thederivative of x
Y = diff(X,n) %applies diff recursively n times,
Y = diff(X,n,dim) % is the nth difference function
returns an empty array (USED IN DIFFERENCE
resulting in the nth difference.
calculated along the dimension specified by scalar dim. If order n equals or exceeds the length of dimension dim, diff
EQUATIONS)
Transcribed Image Text:diff Difference and approximate derivative. diff(X), for a vector X, is [X(2)-X(1) X(3)-X(2) ... X(n)-X(n-1)]. diff(X), for a matrix X, is the matrix of row differences, [X(2:n,:) - X(1:n-1,:)]. diff(X), for an N-D array X, is the difference along the first non-singleton dimension of X. diff(X,N) is the N-th order difference along the first non-singleton dimension (denote it by DIM). If N >= size(X,DIM), diff takes successive differences along the next non- singleton dimension. diff(X,N,DIM) is the Nth difference function along dimension DIM. If N >= size(X,DIM), diff returns an empty array. Examples: Y = diff(X) % calculates thederivative of x Y = diff(X,n) %applies diff recursively n times, Y = diff(X,n,dim) % is the nth difference function returns an empty array (USED IN DIFFERENCE resulting in the nth difference. calculated along the dimension specified by scalar dim. If order n equals or exceeds the length of dimension dim, diff EQUATIONS)
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Calculus: Early Transcendentals
Calculus: Early Transcendentals
Calculus
ISBN:
9781285741550
Author:
James Stewart
Publisher:
Cengage Learning
Thomas' Calculus (14th Edition)
Thomas' Calculus (14th Edition)
Calculus
ISBN:
9780134438986
Author:
Joel R. Hass, Christopher E. Heil, Maurice D. Weir
Publisher:
PEARSON
Calculus: Early Transcendentals (3rd Edition)
Calculus: Early Transcendentals (3rd Edition)
Calculus
ISBN:
9780134763644
Author:
William L. Briggs, Lyle Cochran, Bernard Gillett, Eric Schulz
Publisher:
PEARSON
Calculus: Early Transcendentals
Calculus: Early Transcendentals
Calculus
ISBN:
9781319050740
Author:
Jon Rogawski, Colin Adams, Robert Franzosa
Publisher:
W. H. Freeman
Precalculus
Precalculus
Calculus
ISBN:
9780135189405
Author:
Michael Sullivan
Publisher:
PEARSON
Calculus: Early Transcendental Functions
Calculus: Early Transcendental Functions
Calculus
ISBN:
9781337552516
Author:
Ron Larson, Bruce H. Edwards
Publisher:
Cengage Learning