MATLAB教程(转自厦门大学高代精品课程网站)
MATLAB Exercise 7 – Calculus
1. Try to express y to be a compose function of x.
1) y1 u e x;
2) y2 u lnv,v e x;
3) y u lnv,v sinw,w e x. 2. Try to generate the converse function of y.
1) y
2) y 3) y 3. Letx
, where u is as the independent variable
, where x is as the independent variable
4
. Try to evaluate the value of sinx(express the result as 1/2*2^(1/2) ) and
arcsin(sinx)(express the result as pi/4 ).
4. Compute the following limits, and simplify them.
tannx sinmx1) lim
x 0x
ex ey
2) lim
x yx y
5) lim (tanx)
x
x3
3) lim
x 2x 100
6) lim tan
x
x3
4) lim
x sinx
tan2x
x 2
4
(x h)n xn
5. 1) Compute the limitlim, and simplify it.
h 0h
2) Compute (x) by diff. 6. Compute the following derivatives
n
dg
1)
dx
dg3)
dy
x3 5
for g(x) 2
2x 7x 0
d2g
2)
dxdy
4) f
(5)
x3y 5y
for g(x,y) 2
2x 7x 1
x3y 5y
for g(x,y) 2
2x 7x 1,y 2
for f sinxsin2xsin3x
7. Let A [a1,a2,...,an]is a vector with n elements, say A [1,5,8, 2,6,3], how can we
generate a new vector
1)B [a1 a2,a2 a3,...,an 1 an]?