Esraa_Amer

QUESTION(5) (5-a) page 53

Jan 14th, 2013
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.       FUNCTION R(U,V,W)
  2.       R=SQRT(U**2+V**2+W**2)
  3.       RETURN
  4.       END
  5.       READ(*,*)X,Y,Z
  6.       D=2*X
  7.       E=3*Y
  8.       F=2*Z
  9.       A=X/R(X,Y,Z)
  10.       B=R(X,Y,Z)
  11.       C=R(D,E,F)
  12.       WRITE(*,*)A,B,C
  13.       STOP
  14.       END
Advertisement
Add Comment
Please, Sign In to add comment