Unformatted text preview:

Lab2temp 151 22C Jupyter Notebook 9 6 22 1 16 PM MATH 151 Lab 2 Haya Mohammad Jason Tharun Fatima section 580 In from sympy import from sympy plotting import plot plot parametric Question 1 In 4 from sympy import from sympy plotting import plot plot parametric x symbols x f 1 x x 1 x 2 x 3 Values solve f x values i evalf for i in Values print The values of x for which f x 0 are values The values of x for which f x 0 are 2 61803398874989 0 3819 66011250105 1a 1b 1c 1d In 5 print f expand x 4 6 x 3 11 x 2 6 x 1 In 6 print f factor x 2 3 x 1 2 http localhost 8891 notebooks Downloads Lab2temp 151 22C ipynb Page 1 of 4 Lab2temp 151 22C Jupyter Notebook 9 6 22 1 16 PM In 8 plot f x 5 1 print So yes the plot agrees with the values i found in part a and the expression i found in part c So yes the plot agrees with the values i found in part a and the expression i found in part c Question 2 2a 2b In 21 from sympy import from sympy plotting import plot plot parametric t symbols t h 0 5 9 8 t 2 6 Values solve h t values i evalf for i in Values print The time when the object hits the ground will be values 1 The time when the object hits the ground will be 1 10656667034498 s http localhost 8891 notebooks Downloads Lab2temp 151 22C ipynb Page 2 of 4 Lab2temp 151 22C Jupyter Notebook 9 6 22 1 16 PM In 17 from sympy import from sympy plotting import plot plot parametric t symbols t s 2 9 8 t 2 2 9 8 exp t 2 2 2 9 8 6 Values solve s t values i evalf for i in Values print The time when the object hits the ground will be values 1 The time when the object hits the ground will be 1 21873095569557 s 2c In 23 plot h t 0 3 s t 0 3 print Blue is without air resistance and Orange is with air resistance 30 Blue is without air resistance and Orange is with air resistance Question 3 3a http localhost 8891 notebooks Downloads Lab2temp 151 22C ipynb Page 3 of 4 Lab2temp 151 22C Jupyter Notebook 9 6 22 1 16 PM In 43 from sympy import from sympy plotting import plot plot parametric t x y s h p m symbols t x y s h p m xt sin 2 t yt cos t st 3 sin 2 t ht cos t pt sin 3 t mt 2 cos t plot parametric xt yt t 0 4 pi st ht t 0 4 pi pt mt t 0 print a is in blue b in orange and c in green a is in blue b in orange and c in green 3b In 44 print When a increases there is a horizontal stretch print When n increases there is a vertical compression print When b increases there is a vertical stretch When a increases there is a horizontal stretch When n increases there is a vertical compression When b increases there is a vertical stretch http localhost 8891 notebooks Downloads Lab2temp 151 22C ipynb Page 4 of 4


View Full Document

TAMU MATH 151 - Lab 2

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 5

Lab 5

5 pages

Lab 4

Lab 4

6 pages

Lab 3

Lab 3

6 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 2
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 2 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 2 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?