Search results

  1. H

    Comp Sci Fortran Program - Calculate the Function

    the program works but the answers all zero
  2. 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)...
Top