In a recent court case a judge cited a city for contempt


Question: In a recent court case, a judge cited a city for contempt and ordered a fine of $2 for the first day. Each subsequent day, until the city followed the judge's order, the fine was squared (i.e., the fine progressed as follows: $2, $4, $16, $256, $65,536, . . . ).

a. What would be the fine on day N?

b. How many days would it take for the fine to reach D dollars? (A Big-Oh answer will do.)

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: In a recent court case a judge cited a city for contempt
Reference No:- TGS02475098

Now Priced at $15 (50% Discount)

Recommended (96%)

Rated (4.8/5)