Shane
Joined: 30 Jan 2009 Posts: 1
|
Posted: January 30, 2009 8:48 PM Post subject: Sums |
|
|
Hey...
Sorry, but i'm verry new at this...
I used to have a Ti-84, where I had this code for sums (left, right, mid, trapez and simpson) Now I've tried to "convert" the code for a TI-89, which does not work... Can anybody tell me what I'm doing wrong?
| Code: | Disp "Remember F to Y1"
Prompt A, B, N
(B-A)/N->D
Ø->V
For(I,Ø,N-1)
V+Y1 (A+ID)->V
End
VD->V
Disp "Venstre", V
V+D(Y1(B)-Y1(A))->H
Disp "Højre", H
(V+H)/2->T
Disp "Trapez",T
Ø->M
For(I,Ø,N-1)
M+Y1(A+D/2+ID)->M
End
MD->M
Pause
Disp "Midt", M
(2M+T)/3->S
Disp "Simpson",S |
Because I'm danish there are some different signs... ex. venstre = left, højre = right and midt = mid and the Ø...
In addition to that, when I'm trying ti safe the code it gives me a message: Variable of Flash application is locked, procted or archived.
What does that means?
Well, hope someone can help me... |
|