Use your computer to construct a table of three functions f , g, and h defined as follows. For each integer n in the range 1 to 50, let f (n) = 1/n. Then g(n) is computed by adding f (n) to itself n − 1 times. Finally, set h(n) = n f (n). We want to see the effects of round off error in these computations. Use the function real(n) to convert an integer variable n to its real (floating point) form. Print the table with all the precision of which your computer is capable (in single-precision mode).
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.