>how do u insert nth square into a complicated formulea?
like p={d[I(1+I)*n-th power]}/{(1+I)*n-th power-1}
izzit
[static int power(doubleb,doublen){
if (n==0)
return 1;
else{
int p=power (b, n/2);
if (n%2==0)
return p*p;
else
returnp*p*b;
}]
And this statement [cal.addActionListener(this);] the same as [System.out.println("cal");]?