Unformatted text preview:

In 67 print If there is a change in sign at the points on the interval then there is a root in that interval provided the function is continuous If there is a change in sign at the points on the interval then t here is a root in that interval provided the function is continu ous Lab3temp 151 22C Jupyter Notebook 9 19 22 3 14 PM MATH 151 Lab 3 Put team members names and section number here In from sympy import from sympy plotting import plot plot parametric Question 1 In 20 from sympy import x symbols x f x 5 4 x 3 2 x 2 8 x 1 value1 f subs x 0 value2 f subs x 1 print When x 0 the values of f x is value1 print When x 1 the values of f x is value2 print Due to the change in sign there is a root in this interval When x 0 the values of f x is 1 When x 1 the values of f x is 10 Due to the change in sign there is a root in this interval 1a 1b In 25 from sympy import x symbols x f x 5 4 x 3 2 x 2 8 x 1 value solve f x values i evalf for i in value for i in range 5 values i re values i print The root in the interval 0 1 is values 0 The root in this interval is 0 128044891411745 http localhost 8891 notebooks Downloads Lab3temp 151 22C ipynb Page 1 of 6 Lab3temp 151 22C Jupyter Notebook 9 19 22 3 14 PM Question 2 2a In 33 from sympy import x symbols x g1 2 x 3 g2 4 x x 2 lim3left limit g1 x 3 lim3right limit g2 x 3 value g1 subs x 3 print As x approaches 3 the left limit is lim3left and the right limit is print Since g 3 value the function is continuous at x 3 g3 x 2 6 x 8 x 4 lim4left limit g2 x 4 lim4right limit g3 x 4 value g2 subs x 4 print As x approaches 4 the left limit is lim4left and the right limit is print Since g 4 value the function is continuous from the left g4 exp x 4 ln 3 lim5left limit g3 x 5 lim5right limit g4 x 5 value g4 subs x 5 print As x approaches 4 the left limit is lim5left and the right limit is print Since g 5 value the function is continuous from the Right As x approaches 3 the left limit is 3 and the right limit is 3 Since g 3 3 the function is continuous at x 3 As x approaches 4 the left limit is 0 and the right limit is 4 Since g 4 0 the function is continuous from the left As x approaches 4 the left limit is 17 5 and the right limit is 3 Since g 5 3 the function is continuous from the Right 2b http localhost 8891 notebooks Downloads Lab3temp 151 22C ipynb Page 2 of 6 Lab3temp 151 22C Jupyter Notebook 9 19 22 3 14 PM In 35 x symbols x plot 2 x 3 x 0 3 4 x x 2 x 3 4 x 2 6 x 8 x 4 print Graph for piece wise functions from Out 35 sympy plotting plot Plot at 0x7f9c9b1ecd00 Question 3 3a http localhost 8891 notebooks Downloads Lab3temp 151 22C ipynb Page 3 of 6 Lab3temp 151 22C Jupyter Notebook 9 19 22 3 14 PM In 35 from sympy import from math import t symbols t P 10000 10 990 e 0 1 t plot P t 100 500 print graph when K 1000 from 100 to 500 graph when K 1000 from 100 to 500 In 28 value limit P t oo print The limit as t OO when K 1000 is value The limit as t OO when K 1000 is 1000 3b http localhost 8891 notebooks Downloads Lab3temp 151 22C ipynb Page 4 of 6 Lab3temp 151 22C Jupyter Notebook 9 19 22 3 14 PM In 30 from sympy import from math import t symbols t P 10 10 9 e 0 1 t plot P t 50 50 print graph when K 1 from 50 to 50 graph when K 1 from 50 to 50 In 31 value limit P t oo print The limit as t OO when K 1 is value The limit as t OO when K 1 is 1 3c http localhost 8891 notebooks Downloads Lab3temp 151 22C ipynb Page 5 of 6 Lab3temp 151 22C Jupyter Notebook 9 19 22 3 14 PM In 36 from sympy import t symbols t P 150 10 5 e 0 1 t plot P t 50 100 print graph when K 15 from 50 to 100 graph when K 15 from 50 to 100 In 34 value limit P t oo print The limit as t OO when K 15 is value The limit as t OO when K 15 is 15 3d In As t tends to infinity there is no longer an increase in populati on size and it begins to limit this limit value is dependent on t he K value capped at it Therefore as the value of K increases so does population size http localhost 8891 notebooks Downloads Lab3temp 151 22C ipynb Page 6 of 6 In 1 print As t tends to infinity there is no longer an increase in population size and it begins to limit this limit value is dependent on the K value capped at it Therefore as the value of K increases so does population size


View Full Document

TAMU MATH 151 - Lab 3

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 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 3
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 3 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 3 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?