Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Lab 6 Calculus For It 501031: 1 Exercises

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Ton Duc Thang University

Faculty of Information Technology

Lab 6
CALCULUS FOR IT 501031

1 Exercises
Exercise 1: Find the Taylor series expension of these function:
π
(a) f (x) = cos(x) at x = and the order is 6
3
(b) f (x) = ln(x) at x = 2 and the order is 10
(c) f (x) = ex at x = 3 and the order is 12

Exercise 2: Find the Maclaurin series expansion of these function:

(a) f (x) = cos(x) with the order is 6 1


(d) f (x) = with the order is 12
(b) f (x) = ln(x) with the order is 10 1−x
(c) f (x) = ex with the order is 12 (e) f (x) = tan−1 (x) with the order is 12

Exercise 3: Find the limit of the following sequences:


√ √
4n2 + 1 √
q
nsin n
(a) lim (c) lim ( 2n + n − 2n + 1) (e) lim
n→∞ 3n2 + 2 n→∞ n→∞ n2 + n − 1
n n
p 3(5) − 2
(b) lim ( n2 + 1 − n) (d) lim n
n→∞ n→∞ 4 + 2.5n

Exercise 4: Determine whether the sequence converges or diverges. If it converges, find the limit of these
following series:

(a) an = 1 − (0.2)n (e) an = e n


1
2nπ
(h) an = tan( )
n3 1 + 8n
(b) an = 3 r
n +1 n+1
(f) an = (2n − 1)!
3 + 5n2 9n + 1 (i) an =
(c) an = (2n + 1)!
n + n2
n3 (−1)n+1 n
(d) an = (g) an = √ (j) an = ln(2n2 + 1) − ln(n2 + 1)
n+1 n+ n

Exercise 5: Find the first five terms of the sequence following:

(a) an = 1 − (0.2)n 1
(d) an =
2n (n + 1)!
(b) an = 2
n +1 (e) a1 = 1, an+1 = 5an − 3
(−1)n−1 an
(c) an = (f) a1 = 2, an+1 =
5n an + 1

Anh H. Vo - vohoanganh@tdtu.edu.vn 1
Ton Duc Thang University
Faculty of Information Technology

Exercise 6: Use a graph of the sequence to determine whether the sequence is convergent or divergent.

−2 n n2 cos(n)
(a) an = 1 − ( ) (d) an =
e (1 + n2 )
√ π
(b) an = nsin( √ ) 1.3.5...(2n − 1)
n (e) an =
n!
r
3 + 2n2 1.3.5...(2n − 1)
(c) an = (f) an =
8n2 + n (2n)n

Exercise 7: Find Taylor polynomials of orders 0, 1, 2, and 3 generated by f (x) at a in the following cases:

(a) f (x) = ex at a = 0 (c) f (x) = ln(x) at a = 1


(b) f (x) = sinx at a = 0 (d) f (x) = 1/x at a = 2

Exercise 8: Write a program to illustrate Fractal sequences in Lindenmayer Systems (L-Systems). Where

• F: to represent the turtle moving forward by a certain distance d.


• +: to represent the turtle turning right by a certain angle α.
• -: to represent the turtle turning left by a certain angle.
• [ Push current state of the turtle into a pushdown stack.
• ] Pop a state from the stack, and make it the current state of the turtle. No line is drawn, although
the position of the turtle may change. Show these Fractal sequences with n = 5.
(a) axiom: F ← F[+F][-F], if n = 0 : F, α = 450 , d = 2
(b) axiom: F ← F+F-F-F+F, if n = 0 : F, α = 900 , d = 2

Anh H. Vo - vohoanganh@tdtu.edu.vn 2

You might also like