For the following FORTRAN operations give the rank from fastest to slowest in terms of computer time required:

1)x*0.5 2)x+0.5 3)x**0.5 4)sqrt(x)

1-2-3-4

1-2-4-3

2-1-3-4

2-1-4-3

4-1-2-3


Back to the 201 Homepage or Back to the exercise reference page