Jump to content



Photo
- - - - -

Lagrange_polynomial_v0.15 Error


  • Please log in to reply
10 replies to this topic

#1 Pedro

Pedro

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 25 April 2012 - 09:53 PM

Hi everyone here is the code:

Menu "Lagrange Polynomial","Interpolate",I,"Substitution",S  //Error 
Lbl I
1->\r
Goto Z
Lbl S
2->\r
Goto Z
Lbl Z
If \r=1
Then
Dim List 1->A
Dim List 2->B
"x@E769"->List 1[0] _linenums:0'>ClrText0->A~Z0->\r<strong class='bbc'>Menu "Lagrange Polynomial","Interpolate",I,"Substitution",S</strong> //Error Lbl I1->\rGoto ZLbl S2->\rGoto ZLbl ZIf \r=1ThenDim List 1->ADim List 2->B"x@E769"->List 1[0]:"f(x@E769)"->List 2[0]:"P(x)"->List 3[0]If A<>BThen"Error:""Dimension Of List 1""& List 2 Must Be Same"ReturnIfEndLbl 0"Input Degree"?->NIf A<=NThenClrText"Error:""Degree < Dim List 1 Or List 2"Goto 0IfEndN+1->Dim List 23For 1->I To N+11->Dim List 261->List 26[1]For 1->J To N+1If J<>IThen1->Dim List 251->List 25[1]-List 1[J]->List 25[2]'PolyMultDim List 25->UDim List 26->VU+V-1->WW->Dim List 24For 1->K To W'max(1,K+1-V)If 1>=(K+1-V)Then1->SElseK+1-V->SIfEnd'min(K,U)If K<=UThenK->EElseU->EIfEnd0->PFor S->Q To EP+(List 25[Q]*List 26[K+1-Q])->PNextP->List 24[K]NextList 24->List 26List 1[I]-List 1[J]->RList 26/R->List 26IfEndNext"L@E769(x)="_List 26_List 23+(List 2[I]*List 26)->List 23NextList 23->List 3"P(X)="_List 3_ClrList23ClrList24ClrList25ClrList26ClrListAns"---------------------""Goto MENU\\STAT For See Calculations"_IfEndIf \r=2Then"Input X"?->XDim List 3->LIf X<>0Then0->DFor 1->M To LList 3[M]X^(L-M)+D->DNextD_ElseList 3[L]_IfEndIfEnd

i get the program here: http://www.casiocalc...?cat2disp=FS.FX

#2 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 25 April 2012 - 09:57 PM

Hello Pedro and welcome to UCF!

You should introduce yourself in this thread: http://www.casiocalc...?showtopic=5677



I think you may have an old OS version. Try upgrading ;) :

http://edu.casio.com

#3 Pedro

Pedro

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 25 April 2012 - 10:02 PM

how can i upgrade my casio system? i mean there is any tutorial so i can do it without any risk.

tks for the reply

Seems that i have os version 01.04.0000

Edited by Pedro, 25 April 2012 - 10:09 PM.


#4 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 25 April 2012 - 10:10 PM

1. Go here: http://edu.casio.com..._agreement.html
2. Press "accept"
3. Under "fx-9860GII/fx-9860G series" select "OS Update for your_calculator V2.01"
4. Press next
5. Click "*Version 2.01"
6. Click "Download" in the popup window that appears.
7. when it has finished downloading execute that program
8. Press "next" as you would with any installer.
9. When it has finished installing double click the link on your desktop
10. follow the onscreen instructions ;)

#5 Pedro

Pedro

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 25 April 2012 - 10:12 PM

thanks man, just one question can i skip one upgrade? since before 2.01 there is the 1.05. no problem skiping?

#6 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 25 April 2012 - 10:32 PM

Nope. You can upgrade right to 2.01 ;)

#7 Pedro

Pedro

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 25 April 2012 - 10:41 PM

THANKS MAN its ALIVE :D working, i did the upgrade and now all the programs are working, this ill help alot ty. and i believe that this topic can help other ppl like me.

:D

#8 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 25 April 2012 - 11:22 PM

THANKS MAN its ALIVE :D working, i did the upgrade and now all the programs are working, this ill help alot ty. and i believe that this topic can help other ppl like me.

:D


I'd like to remind you that at UCF, we value spelling. If in the future, you could use proper spelling, capitalization, and grammar, that'd be great.

#9 Pedro

Pedro

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 25 April 2012 - 11:54 PM

Ok sorry i will try, but my english isn't the best to. :S english isn't my main language.

#10 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 26 April 2012 - 02:41 AM

Ok sorry i will try, but my english isn't the best to. :S english isn't my main language.


That's all right, we have plenty of foreign language members here. I'd just like to keep the forums looking like forums, and not aol. \

#11 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 26 April 2012 - 01:39 PM

Just for everyone's future reference, if you have an OS version that is lower than 2.0, you will need to upgrade to use most of the new programs. OS 2.0 and up has the Menu function, ability to use and handle strings, and more.




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users