Unformatted text preview:

Lab5temp 151 22C Jupyter Notebook 10 4 22 1 30 PM MATH 151 Lab 5 Put team members names and section number here In 1 from sympy import from sympy plotting import plot plot parametric Question 1 In 2 from sympy import x symbols x f exp x 1 x 2 print The first derivative of y is y diff f x the second is y The first derivative of y is y 2 x exp x x 2 1 exp x the second is y x 2 4 x 3 exp x the third is y x 2 6 x 7 exp x the fourth is y x 2 8 x 13 exp x t he fifth is y x 2 10 x 21 exp x the sixth is y x 2 12 x 31 exp x the seventh is y x 2 14 x 43 exp x and the eigth is y x 2 16 x 57 exp x In 3 print The formula for the nth derivative of f is exp x x 2 n 2 x n n 1 1 The formula for the nth derivative of f is exp x x 2 n 2 x n n 1 1 In 1 from sympy import x symbols x f exp x 1 x 2 print Derivative fifty is exp x x 2 50 2 x 50 50 1 Derivative fifty is x 2 100 x 2451 exp x Question 2 http localhost 8888 notebooks Downloads Lab5temp 151 22C ipynb 3g Page 1 of 5 1a 1b 1c In 14 A symbols A B symbols B f A sin k t B sin k t deriv diff f t 2 print f f print 4f 25f 0 s 4 deriv 25 f value solve s k print values of k are value 0 and value 2 therefore all members of y A sin kt B cos kt is also a solution Lab5temp 151 22C Jupyter Notebook 10 4 22 1 30 PM In 15 from sympy import k symbols k t symbols t y cos k t derivative diff y t 2 f 4 derivative 25 y value solve f k print values of k are value 0 and value 1 values of k are 5 2 and 5 2 f A sin k t B sin k t 4f 25f 0 values of k are 5 2 and 5 2 therefore all members of y A sin kt B cos kt is also a solution Question 3 In 17 t symbols t f t 2 2 t 1 9 derivative diff f t print Derivative is derivative Derivative is 18 t 2 9 2 t 1 10 9 t 2 8 2 t 1 9 http localhost 8888 notebooks Downloads Lab5temp 151 22C ipynb 3g Page 2 of 5 2a 2b 3a 3b Lab5temp 151 22C Jupyter Notebook 10 4 22 1 30 PM In 18 print Derivative simplified is derivative simplify Derivative simplified is 45 t 2 8 2 t 1 10 In 21 function derivative simplify values solve function t print Horizontal tangent line is at the point t values 0 Horizontal tangent line is at the point t 2 In 22 t symbols t f 2 t 1 5 t 2 t 2 4 derivative diff f t print Derivative is derivative Derivative is 2 t 1 5 8 t 4 t 2 t 2 3 10 2 t 1 4 t 2 t 2 4 In 33 print Derivative simplified is derivative simplify print The derivative is expanded and factored Derivative simplified is 2 t 1 4 t 2 t 2 3 10 t 2 10 t 4 2 t 1 2 t 1 20 The derivative is expanded and factored 3c 3d 3e 3f 3g http localhost 8888 notebooks Downloads Lab5temp 151 22C ipynb 3g Page 3 of 5 In 34 print Derivative factored is derivative factor print This is more simplified than the simplified deirvative powers and multiplications are simplified grouped Derivative factored is 2 2 t 1 4 t 2 t 2 3 13 t 2 5 t 8 This is more simplified than the simplified deirvative powers and multiplications are simplified grouped Lab5temp 151 22C Jupyter Notebook 10 4 22 1 30 PM In 29 function derivative factor values solve function t print Factored is more useful because you can identify using the brackets where the derivative function would equal 0 The powers are cancelled and one bracket remians 4 which is equated to 0 and solved Therefore the factored form would be quicker to solve print Horizontal tangent line is at the point t values 0 Factored is more useful because you can identify using the bracke ts where the derivative function would equal 0 The powers are ca ncelled and one bracket remians 4 which is equated to 0 and sol ved Therefore the factored form would be quicker to solve Horizontal tangent line is at the point t 1 2 Question 4 In 36 W symbols W symbols symbols F W sin cos derivative diff F print Rate of change with respet to is derivative Rate of change with respet to is W cos sin sin cos 2 In 42 value solve derivative print value 0 2 atan sqrt 2 1 1 4a 4b 4c http localhost 8888 notebooks Downloads Lab5temp 151 22C ipynb 3g Page 4 of 5 Lab5temp 151 22C Jupyter Notebook 10 4 22 1 30 PM In 61 F 60 0 6 sin cos plot F pi pi ylim 0 70 print Graph of F with vertical aysmptotes print Estimate of when dF d 0 is 0 5 60 50 Graph of F with vertical aysmptotes Estimate of when dF d 0 is 0 5 4d In 60 derivative diff F value solve derivative print Value of when dF d 0 is value 0 Value of when dF d 0 is 0 540419500270584 http localhost 8888 notebooks Downloads Lab5temp 151 22C ipynb 3g Page 5 of 5


View Full Document

TAMU MATH 151 - Lab 5

Documents in this Course
Lab 9

Lab 9

5 pages

Lab 8

Lab 8

9 pages

Lab 7

Lab 7

5 pages

Lab 6

Lab 6

5 pages

Lab 4

Lab 4

6 pages

Lab 3

Lab 3

6 pages

Lab 2

Lab 2

4 pages

Lab 1

Lab 1

3 pages

Notes

Notes

15 pages

Notes

Notes

1 pages

Notes

Notes

39 pages

Vectors

Vectors

7 pages

2011a_x3b

2011a_x3b

10 pages

lec5_5-7

lec5_5-7

33 pages

lec3_6-9

lec3_6-9

26 pages

lec4_1-2

lec4_1-2

25 pages

2_7

2_7

4 pages

handout

handout

2 pages

2010c_x1b

2010c_x1b

10 pages

lec3_1-3

lec3_1-3

26 pages

2011a_x3a

2011a_x3a

10 pages

LIFE

LIFE

2 pages

LIFEans

LIFEans

2 pages

s4.6

s4.6

4 pages

app_D

app_D

7 pages

lec13-23

lec13-23

28 pages

2009a_x2b

2009a_x2b

11 pages

syll5

syll5

2 pages

lec3_a-c

lec3_a-c

34 pages

syll151

syll151

2 pages

lec4_5-8

lec4_5-8

31 pages

lec6_3-4

lec6_3-4

37 pages

lec2_5-6

lec2_5-6

29 pages

2010a_x3b

2010a_x3b

12 pages

2008c_x2b

2008c_x2b

11 pages

lec5_1-3

lec5_1-3

24 pages

Exam 2A

Exam 2A

12 pages

handout

handout

2 pages

lec3_1-3

lec3_1-3

26 pages

L3A

L3A

3 pages

lec3_a-c

lec3_a-c

34 pages

lec4_3-4

lec4_3-4

15 pages

151wir8ws

151wir8ws

11 pages

lec4_5-8

lec4_5-8

31 pages

2_2

2_2

2 pages

2010c_x1a

2010c_x1a

10 pages

6_5

6_5

2 pages

lec3_4-5

lec3_4-5

29 pages

2010a_x1b

2010a_x1b

12 pages

2010a_x1a

2010a_x1a

12 pages

Load more
Download Lab 5
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lab 5 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lab 5 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?