Hi,
I have just started programming with
Java. I have tried to write a program which calculates function y = sqrt( (a + x) / (a - x) ) meanings in this interval: xp <= x <= xg, hx (xp - first , xg - last, hx - step)
I have written this successfuly. But I also want to reply the calculation for all array A(n) elements, I do not understand how to do this. I need to create array A(n) and somehow go through it? But how this is possible, if at this time I enter "xp, xg, hx, a" by my own?
Here is my code:
Main:
Methods:
Function:
[ September 07, 2006: Message edited by: Bichumo ]