Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic 4 Ole Database And Controls Superbible

Authors: Michael Hatmaker, C. Woody Butler, Ibrahim Malluf, Bill Potter

1st Edition

1571690077, 978-1571690074

More Books

Students also viewed these Databases questions

Question

(1 point) Calculate 3 sin x cos x dx.

Answered: 1 week ago

Question

Find the derivative of y= cos cos (x + 2x)

Answered: 1 week ago