Question: 2 . In bisection.m , we stopped iteration when % 0 0 0 1 . 0 < = a epsi where % 1 0

2. In bisection.m, we stopped iteration when %0001.0<=a
\epsi where %100\times
= new
r
old
r
new
r
a
x
xx
\epsi . Modify
the m-file such that the iteration stops after the 10 th iteration. Test the modified m-file using the initial
lower and upper bounds as 3.5 and 4, respectively, to find a solution of 0)(=xf within these bounds
()(xf is defined in Prob. 1). Use format long to have enough digits in your solution. Beware of the
iteration number counting. In this example, the 1 st iteration solution is 3.75[=(3.5+4)/2]. Thus, if
iteration stops after the 1 st iteration, the solution should be 3.75. Print out both the modified m-file and
the solution in PDF format.
3. Diffuse light is coming out of an LED panel into the northern hemisphere.
\theta
is an angle between a light direction and the panel surface normal as shown in
the figure on the right. Determine the angle
\theta that satisfies the following
relation using the bisection method:
1
tan 1 e
\theta
\theta
=+
Express your solution in degrees.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!