Thanks a lot Borek. I changed Xstep and Nstep from integers to real and now the calculations come out right. I am sure i will have another silly question in a few minutes and your help is muuuuuuuuuuuuuuuuuuuuuuuuuuuuch appreciated
I am trying to rewrite a program that i have in matlab to one in fortran. as i chug along, i am comparing the results and i am getting funny answers. This is the program in have in fortran so far:
I am new to fortran and there are things that I believe fortran should do and don't know how to do it - I am using fortran 77.
1- I know how to declare variables, but i do not know how to make sure that i start out with zeros and not use old data that might have been stored by a...