Professional Documents
Culture Documents
Parcial 1 de Computacion Cientifica
Parcial 1 de Computacion Cientifica
1
From the picture above, it is clear that L is the length of the trough, is the
radius of the semicircle cross section of the trough, V is the volume of water in
the trough, and is the distance from the water level to the top of the trough.
Let be the depth of the water. We have indicated on the figure above. Since the
radius of the trough is given to be 1 foot, the depth of the water will be given
by d = 1 − h
Plugging in the values for the length, radius, and volume given above, we
have the following equation to solve for h :
1
12.4 = 10[0.5π − arcsen(h) − h(1 − h2 ) 2 ]
Since
1
f (0) = 10[0.5π − arcsen(0) − 0(1 − 02 ) 2 ] − 12.4 > 0
, and
1
f (1) = 10[0.5π − arcsen(1) − 1(1 − 12 ) 2 ] − 12.4 < 0
, and f is continuous on [0, 1] then by the Intermediate Value Theorem we
know that f has a zero on the interval. Using the Bisection method with initial
interval [0, 1] we get that h = 0.16699219 which is accurate to 10−3 , Lastly
solving for d we have that d = 10.1669922 = 0.8330078. Thus the depth of the
water is approximately 0.833 feet
equal to b−a
2n .
1
| n | < 10− 2
2
100 < 2n
1
ln(100)ln(2n )
Solving for n we have
2ln10
< n ⇒ 6.64 < n ⇒ n = 7
ln2
then we had that approximate to 10 for it using 3
3ln10
< n ⇒ 9.966 < n ⇒ n = 10
ln2