Cheat Sheet
Cheat Sheet
Vo
cos(x)
Find lim f (x) =
x→0+ x Find the Taylor polynomial generated by f (x) = sin(x) at x = 1
and order 3
1 from sympy import ∗
2
1 from sympy import ∗
3 x = symbols (’x’)
2
4 f = cos(x)/x
3 x = symbols (’x’)
5 lmr = limit (f, x, 0 ,’+’)
4 expr = sin(x)
6 print (’The right limit of f(x)
5 taylor_poly = expr. series (x, 1,
at x = 0: {}’. format (lmr))
3)
6 print (’Taylor polynomial {}’.
2 Derivatives format ( taylor_poly ))
Find the first order of derivative of f (x) = 5x − 3x2 Find the Maclaurin polynomial generated by f (x) = sin(x) at
x = 0 and order 3
6 Integrals
Z
Find the integrate of f (x) = x2 + x + 1
2. using matplotlib.pyplot