(no subject)

Jul 10, 2006 14:38

Doing e^x

Java:

e=C;
for(A=0; A< X ; A++)
{
e*C=C;
}

TI-BASIC:

e->C
for(A,2,B,1)
(e*C)->C
End
Disp C

Doing ln(R):

Java (assumes R is a variable already input):

0=A;
for(X=1; X<=50; X++)
{
(((-1)^(X+1))/X)(R-1)^X+A=A
}

TI-BASIC:

prompt R
0->A
For(X,1,50)
(((-1)^(X+1))/X)(R-1)^X+A->A
End
Disp A

In case anyone ever needs that for a project or something? I dont know. I figured it would be best to make it open source (with credit :))

~Max.
Previous post Next post
Up