I know that when a Longitudinal (Sound) Wave spreads in water the displacement
of the water particles is parallel to the direction of wave propagation and the displacement
equation looks like this :
y(x,t)=A*sin[2*π*f*(t-x/u)]
where : A=Amplitude, π=3.14..., f=frequency, u=speed of...
I am writing a program in Fortran language, in which i use a Random Number Generator (RNG) subroutine.
Until now i used ran1 from " Numerical Recipes in fortran ,second edition, Page 271 ", but i think it is quite slow.
While searching on the internet for a faster RNG i found a few...