# operation separator in PROG mode // FX5800p

casio fx5800p

7 replies to this topic

### #1 zorba

zorba

Newbie

• Members
• 3 posts

• Calculators:
fx5800p

Posted 05 September 2019 - 10:55 AM

if anyone already had this problem it will be an easy one to help me

how to enter the semicolon symbol ( ; ) on a casio fx5800p;

or also another operation separator different from ( : ) and colon ( , )

Edited by zorba, 05 September 2019 - 10:56 AM.

### #2 CalcLoverHK

CalcLoverHK

Casio Freak

• Members
• 218 posts
• Gender:Male
• Location:Hong Kong
• Interests:Playing video games (especially Minecraft, krunker.io), calculators, programming (Casio Basic/C.Basic, Scratch), watching memes, IT research, mathematics...

• Calculators:
fx-50FHII

Posted 05 September 2019 - 01:55 PM

Hi zorba,

There is no way to type ; in fx-5800P in my own knowledges. Manual doesn't have anything about this character, either.

I recommended you try fx-9860G emulator first. It has a whole bunch of characters for you to choose, so it may helps you more.

Cheers,

CalcLoverHK

### #3 zorba

zorba

Newbie

• Members
• 3 posts

• Calculators:
fx5800p

Posted 05 September 2019 - 04:13 PM

The following should be the programming function for Lagrangian Interpolation polynomial, which I found somewhere.

?→A: ?→B: ?→C: ?→D: ?→X: ?→Y:

; D - B -. 1 DT : (the Y - D) ÷ (X-- C DT ??: D →: → M:

(M - Y) ÷ (D - X→M: (M - Σx ) ÷ (D - C→B:

(D - A) -1 (B - (X - A) -1 ( Σx - n ÷ (C - A→A◢

B - A(D +X + C→B◢ D + X: M - BAns - A(DAns + X →C ◢

Y - AX 3 - BX 2 - AnsX → D

You can see the semicolon in the second row. It may be a mistake by the author, but I wonder what should be the corresponding correct symbol?

### #4 pan.gejt

pan.gejt

Casio Freak

• Members
• 205 posts
• Gender:Male
• Location:CZ

• Calculators:
.

Posted 05 September 2019 - 07:23 PM

The program is written for fx-3650.

http://webcal.freetz...P/Lagrange3.htm

So it means the semicolon together with DT is used for entering the statistical data ("30;2 DT" enter 30 as X and 2 as freq) and probably the SD mode is used to save program memory. The fx-5800p handles this computation differently - the table is used for entering the statistical data.

Maybe this part of the code can be rewritten.

Edited by pan.gejt, 05 September 2019 - 07:35 PM.

### #5 CalcLoverHK

CalcLoverHK

Casio Freak

• Members
• 218 posts
• Gender:Male
• Location:Hong Kong
• Interests:Playing video games (especially Minecraft, krunker.io), calculators, programming (Casio Basic/C.Basic, Scratch), watching memes, IT research, mathematics...

• Calculators:
fx-50FHII

Posted 06 September 2019 - 05:08 AM

Hi zorba,

I know this program!! It is in webcal forum (a place which focuses on fx-3650PII/fx-50FHII that I currently have and use my language Traditional Chinese) but sadly the forum is currently down for unknown reason. Only the archived website can be accessed.

Cheers,

CalcLoverHK

### #6 zorba

zorba

Newbie

• Members
• 3 posts

• Calculators:
fx5800p

Posted 06 September 2019 - 09:28 AM

Yes, that's the site.

It contains a lot of programs, and as I'm unfamiliar with them, it's precious to me. I also emailed CASIO, and they confirm there's no semicolon because there is no need to use it in programming.

Nevermind, maybe in future I will be more practical with the language for doing it.

Cheers

### #7 CalcLoverHK

CalcLoverHK

Casio Freak

• Members
• 218 posts
• Gender:Male
• Location:Hong Kong
• Interests:Playing video games (especially Minecraft, krunker.io), calculators, programming (Casio Basic/C.Basic, Scratch), watching memes, IT research, mathematics...

• Calculators:
fx-50FHII

Posted 06 September 2019 - 11:01 AM

Hi zorba,

I know Chinese (because I am Hongkonger  ) and I can translate that program to fx-5800P.

```ClrStat
?→A
?→B
?→C
?→D
?→X
?→Y
D-B-1→List Freq
(Y-D)÷(X-C→List X
?→D
?→M
(M-Y)÷(D-X→M
(M-Σx)÷(D-C→B
(D-A)^(-1)(B-(X-A)^(-1)(Σx-n÷(C-A→A◢
B-A(D+X+C→B◢
D+X
M-BAns-A(DAns+X^(2)◢
Y-AX^(3)-BX^(2)-AnsX
```

Actually it changes not so much from fx-3650P version, but it can now load on fx-5800P at least.

Maybe I should start a project titled "fx-3650P/50F Programs to fx-5800P" or something like that.

Cheers,

CalcLoverHK

Edited by CalcLoverHK, 06 September 2019 - 11:06 AM.

### #8 pan.gejt

pan.gejt

Casio Freak

• Members
• 205 posts
• Gender:Male
• Location:CZ

• Calculators:
.

Posted 06 September 2019 - 11:01 AM

My approach for 4 points lagrange polynomial

ClrMemory:"X0="?→A:"Y0="?→B:"X1="?→C:"Y1="?→D:"X2="?→E:"Y2="?→F:"X3="?→G:"Y3="?→H↵
((A-C)ｘ(A-E)ｘ(A-G))→I:((C-A)ｘ(C-E)ｘ(C-G))→J:((E-A)ｘ(E-C)ｘ(E-G))→K:((G-A)ｘ(G-C)ｘ(G-E))→L↵
"X^(3)"◢↵
B÷I+D÷J+F÷K+H÷L◢↵
"X^(2)"◢↵
(－(B÷I)ｘ(C+E+G))-((D÷J)ｘ(A+E+G))-((F÷K)ｘ(A+C+G))-((H÷L)ｘ(A+C+E))◢↵
"X^(1)"◢↵
B÷Iｘ((C+E)ｘG+CｘE)+D÷Jｘ((A+E)ｘG+AｘE)+F÷Kｘ((A+C)ｘG+AｘC)+H÷Lｘ((A+C)ｘE+AｘC)◢↵
"X^(0)"◢↵
－B÷Iｘ(CｘEｘG)-D÷Jｘ(AｘEｘG)-F÷Kｘ(AｘCｘG)-H÷Lｘ(AｘCｘE)◢↵

#### 0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users