Create a program to code the bisection method. Use the example f(x) = x3 – 3x – 4 with your left starting value of 1 and your right starting value of 3. Your program should end when |fmid|

1 answer below »
pfa


Create a program to code the bisection method. Use the example f(x) = x3 – 3x – 4 with your left starting value of 1 and your right starting value of 3. Your program should end when |fmid| < tol where tol = 0.01. count how many times it took for the bisection to run before it finishes with your answer.to evaluate f(x) you must use a function call. pmap 4041: problem set 3 grading: this assignment is worth a total of 34 points (5% of your overall grade). question 1: please answer the following questions based on the information in table 1.table 1 shows the regression with grade and a set of dummy variables representing people’s race. race would be five values: whites, asians, blacks, hispanic, and indians. table 1 coefficientsa model unstandardized coefficients standardized coefficients t sig. b std. error beta 1 (constant) 10.082 .121 83.238 .000 asian -.437 .599 -.022 -.730 .466 black -2.168 .275 -.245 -7.880 .000 hispanic -1.144 .482 -.073 -2.371 .018 indian -1.847 .802 -.071 -2.304 .021 a. dependent variable: grade 1. what is the regression equation (2 points) 2. what is the reference group? (2 points) 3. interpret the y-intercept (2 points) 4. interpret the regression coefficient on hispanic(2 points) 5. interpret the regression coefficient on asian(2 points) question 2: please answer the following questions based on the information in table 2. male is coded with 1 = male and 0 = female; white is coded with 1= white, and 0 = racial/ethnic minorities. table 2 coefficientsa model unstandardized coefficients standardized coefficients t sig. b std. error beta 1 (constant) 7.405 .204 36.260 .000 male 2.213 .197 .328 11.232 .000 white 1.462 .221 .193 6.604 .000 a. dependent variable: grade 1. what is the regression equation(2 points) 2. interpret the y-intercept (2 points) 3. what is the expected grade for female whites?(1 point) 4. what is the expected grade for male whites?(1 point) 5. what is the expected grade for male minorities?(1 point) 6. interpret the regression coefficient on male(2 points) 7. interpret the regression coefficient on white(2 points) (bonus) does the equation generate a line or several points? if it generates several points, how many points specifically for this question?(2 points) 2 math 1342 – calc 2 – homework chapter 2.5 name:________________ math 1342 – calc 2 – homework chapter 4.1 name:________________ §4.1 approximating polynomials #1-3, 7-11, 15, 16, 20 math 1342 – calc 2 – homework chapter 2.6 name:________________ math 1342 – calculus 2 - homework ch 4.3 name:_______________________ 4.3 error in approximation (1st day) #1, 2, 5, 13, 21 math 1342 – calculus 2 - homework ch 4.2 name:_______________________ tol="" where="" tol="0.01." count="" how="" many="" times="" it="" took="" for="" the="" bisection="" to="" run="" before="" it="" finishes="" with="" your="" answer.to="" evaluate="" f(x)="" you="" must="" use="" a="" function="" call.="" pmap="" 4041:="" problem="" set="" 3="" grading:="" this="" assignment="" is="" worth="" a="" total="" of="" 34="" points="" (5%="" of="" your="" overall="" grade).="" question="" 1:="" please="" answer="" the="" following="" questions="" based="" on="" the="" information="" in="" table="" 1.table="" 1="" shows="" the="" regression="" with="" grade="" and="" a="" set="" of="" dummy="" variables="" representing="" people’s="" race.="" race="" would="" be="" five="" values:="" whites,="" asians,="" blacks,="" hispanic,="" and="" indians.="" table="" 1="" coefficientsa="" model="" unstandardized="" coefficients="" standardized="" coefficients="" t="" sig.="" b="" std.="" error="" beta="" 1="" (constant)="" 10.082="" .121="" 83.238="" .000="" asian="" -.437="" .599="" -.022="" -.730="" .466="" black="" -2.168="" .275="" -.245="" -7.880="" .000="" hispanic="" -1.144="" .482="" -.073="" -2.371="" .018="" indian="" -1.847="" .802="" -.071="" -2.304="" .021="" a.="" dependent="" variable:="" grade="" 1.="" what="" is="" the="" regression="" equation="" (2="" points)="" 2.="" what="" is="" the="" reference="" group?="" (2="" points)="" 3.="" interpret="" the="" y-intercept="" (2="" points)="" 4.="" interpret="" the="" regression="" coefficient="" on="" hispanic(2="" points)="" 5.="" interpret="" the="" regression="" coefficient="" on="" asian(2="" points)="" question="" 2:="" please="" answer="" the="" following="" questions="" based="" on="" the="" information="" in="" table="" 2.="" male="" is="" coded="" with="" 1="male" and="" 0="female;" white="" is="" coded="" with="" 1="white," and="" 0="racial/ethnic" minorities.="" table="" 2="" coefficientsa="" model="" unstandardized="" coefficients="" standardized="" coefficients="" t="" sig.="" b="" std.="" error="" beta="" 1="" (constant)="" 7.405="" .204="" 36.260="" .000="" male="" 2.213="" .197="" .328="" 11.232="" .000="" white="" 1.462="" .221="" .193="" 6.604="" .000="" a.="" dependent="" variable:="" grade="" 1.="" what="" is="" the="" regression="" equation(2="" points)="" 2.="" interpret="" the="" y-intercept="" (2="" points)="" 3.="" what="" is="" the="" expected="" grade="" for="" female="" whites?(1="" point)="" 4.="" what="" is="" the="" expected="" grade="" for="" male="" whites?(1="" point)="" 5.="" what="" is="" the="" expected="" grade="" for="" male="" minorities?(1="" point)="" 6.="" interpret="" the="" regression="" coefficient="" on="" male(2="" points)="" 7.="" interpret="" the="" regression="" coefficient="" on="" white(2="" points)="" (bonus)="" does="" the="" equation="" generate="" a="" line="" or="" several="" points?="" if="" it="" generates="" several="" points,="" how="" many="" points="" specifically="" for="" this="" question?(2="" points)="" 2="" math="" 1342="" –="" calc="" 2="" –="" homework="" chapter="" 2.5="" name:________________="" math="" 1342="" –="" calc="" 2="" –="" homework="" chapter="" 4.1="" name:________________="" §4.1="" approximating="" polynomials="" #1-3,="" 7-11,="" 15,="" 16,="" 20="" math="" 1342="" –="" calc="" 2="" –="" homework="" chapter="" 2.6="" name:________________="" math="" 1342="" –="" calculus="" 2="" -="" homework="" ch="" 4.3="" name:_______________________="" 4.3="" error="" in="" approximation="" (1st="" day)="" #1,="" 2,="" 5,="" 13,="" 21="" math="" 1342="" –="" calculus="" 2="" -="" homework="" ch="" 4.2="">
Answered 45 days AfterJun 05, 2021

Answer To: Create a program to code the bisection method. Use the example f(x) = x3 – 3x – 4 with your left...

Shivam answered on Jul 21 2021
129 Votes
1. ∫ ∞
0
dx
(2x+ 5)2
=
[
(2x+ 5)−2+1
−1× 2
]∞
0
=
[
1
−2(2x+ 5)
]∞
0
lim
t→∞
[
1

−2(2x+ 5)
]t
0
= lim
t→∞
[
1
−2(2t+ 5)
− 1
−10
]
= 0 +
1
10
=
1
10
2. ∫ ∞
1
dy
(4y − 3)1/2
=
[
(4y − 3)−1/2+1
1/2× 4
]∞
1
=
[√
4y − 3
2
]∞
1
lim
t→∞
[√
4y − 3
2
]t
1
= lim
t→∞
[√
4t− 3
2
− 1
2
]
We can clearly see that above limit diverges to ∞. Hence the integral does not converge.
3. ∫ ∞
0
Sin(z)dz =
[
Cos(z)
]∞
0
= lim
t→∞
[
Cos(z)
]t
0
lim
t→∞
[
Cos(t)−...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here