Recent content by mayankbhargava101

  1. M

    If statement for Monte Carlo integration

    Hello, I am writing a program on Fortran to calculate the integral of sin^4(x) between x = 0 and x = π/2. I believe I know how to write the correct code, but I am unsure what the if statement should be for whether or not a point is inside the desired area. Any thoughts? Thanks.
Back
Top