Recent content by Haleemos
-
H
Comp Sci Fortran Program - Calculate the Function
the program works but the answers all zero- Haleemos
- Post #3
- Forum: Engineering and Comp Sci Homework Help
-
H
Comp Sci Fortran Program - Calculate the Function
Homework Statement F(x) = exp(-a x^2) cos bx for -100 =< x >= 100 , a=13 and b=7. Homework Equations ... The Attempt at a Solution program main implicit double precision (A-H,O-Z) implicit integer (I-N) DO I = -100,100 X = I * 1D0 F = DEXP(-A * X**2) * DCOS(B * X)...- Haleemos
- Thread
- Fortran Function Program
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help