Question: 2. (5 points) A calculus student was asked to determine lim-100 n, where n (100)!. He wrote a C program in single precision to evaluate

2. (5 points) A calculus student was asked to determine lim-100 n, where n (100")!. He wrote a C program in single precision to evaluate tn by using r1-100, x,-1002-1, n-2.3, . . . , 70. The numbers printed became ever larger and finally became oo. So the student concluded that linno Xn-oo. Please write a C progran in single precision to verify the student's observation. The student's conclusion is actually wrong. What is the problem with his program? Bonus (2 points): Can you rewrite a C program to evaluate an so that you can make a right conclusion about lim0 n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
