Question: Using array in FORTRAN calculate the error for each value of a and e Let a and b be floating point numbers and n be

 Using array in FORTRAN calculate the error for each value of

Using array in FORTRAN calculate the error for each value of a and e Let a and b be floating point numbers and n be an integer. I. Let a = 1e6, 1e7, 1e8, 1e9 2. Let b = 0.78 3. Let n = 10^4 . 10AS , 1005, 10A7 Let n 1044, 10A5, 1046, 10A7 Loop over the equation a = a + b, n times Calculate a ab*n (make sure to use a copy of the ORIGINAL value of a, not the modified a). Calculate the error by subtracting the results of the summation (a-atb ntimes) and the multiplication (a = a+b* n)

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 Databases Questions!