Casio fx50F/fx50FH programming

09082019, 03:16 AM
Post: #1




Casio fx50F/fx50FH programming
I scored a dirt cheap Casio fx50FH to play around with, and I've been seeing what I can do with its very limited programming capabilities. Here's some of the more noteworthy features (or lack thereof):
 Can store four programs, 680 bytes total  NO subroutines; you can't call one program from inside another  Has labels and goto, but also some structured programming: While and For loops with Break, and If/Then/Else, though you can't seem to nest loops  Only 7 variables (A, B, C, D, X, Y, M), with no indirect addressing; can use M+ and M to directly increment/decrement M  No prompt messages; when getting user input, it displays a simple prompt like "X?" I won't describe all its math capabilities  it's a pretty typical solarpowered Casio, with complex math, 1 and 2 variable stats, etc.  but it's worth mentioning that it has NO integer/fractional part functions. It does at least have a rounding function, which gave me enough to write a simple prime factor finder (trial division by 2 and sequential odd numbers, no mod30 sieve here): Code: 3→M Replace the "Norm 1" at the end with your choice of display mode to return to after running the program. This is definitely one of the least capable programmables I've seen from Casio; you're better off buying just about any other programmable model they've ever made. 

09082019, 10:24 AM
Post: #2




RE: Casio fx50F/fx50FH programming
(09082019 03:16 AM)Dave Britten Wrote: IThis is definitely one of the least capable programmables I've seen from Casio; you're better off buying just about any other programmable model they've ever made. Still, it's better than the original, walletcased fx50F, which only had 29 steps! The Casio programmables (the traditional calculators, not the BASIC portables) went seriously downhill after the FX602P for a few years. The walletcased programmables didn't catch up with the 602P until the fx4000p. I think of the fx50F Plus as more like a soupedup fx115ms, but with added formula library and programming capability inspired by the older fx50F. — Ian Abbott 

09102019, 09:38 PM
Post: #3




RE: Casio fx50F/fx50FH programming
Here is my IRR program for fx50FH. Try figure out how can I use ALL variables without change them and the program do loops, counts and do iterations for calculating IRR. This machine has hidden capabilities
Check my chanel, you can find the program list, and if you check my 82ARX video about IRR you can find the math behind (better than the Wikipedia's iterative process ) My videos Csaba 

09102019, 10:03 PM
Post: #4




RE: Casio fx50F/fx50FH programming
It was earlier in one topic, but again: 13 steps secant method on CASIO fx50F attached! I hope you enjoy it!
Csaba Attachment  13 steps secant method on CASIO fx50F 

09152019, 01:14 PM
Post: #5




RE: Casio fx50F/fx50FH programming
(09082019 03:16 AM)Dave Britten Wrote: This is definitely one of the least capable programmables I've seen from Casio; you're better off buying just about any other programmable model they've ever made. This is true, but as I know, no other company which manufacture programmable scientific model. Many schools there is only one limitation for the applicable calculators: text storage capability not allowed. That is why all the graphing calculators are banned from the exams (in Hungary) and scientific models are accepted. In this case the best is a programmable CASIO. Eg. a 3650P(II) or 50FH. HP35S is also looks good, but that calculator out of the market, but CASIOs are available. Csaba 

09252019, 04:22 PM
(This post was last modified: 09252019 06:35 PM by Csaba Tizedes.)
Post: #6




RE: Casio fx50F/fx50FH programming
SIGN(var) on CASIO: (var>0)(var<0)
I really like how CASIOs are evaluates logical expressions. Csaba 

09252019, 07:28 PM
Post: #7




RE: Casio fx50F/fx50FH programming
(09252019 04:22 PM)Csaba Tizedes Wrote: SIGN(var) on CASIO: (var>0)(var<0) Yeah, I think Casios started treating (in)equalities as mathematical operators rather than special conditional constructs somewhere around the 9750 and 7400. Since there were also no logical operators before then, you had to chain conditions to do an "and": X>0=>X<10=>Goto 3 It's also a useful technique for graphing stepwise functions. I believe TIs have done the same since at least the 82. I don't think the 81, 82, or 80 have any logical operators, so you have to do addition on the comparison results to get the same effect: If (X>0)*(X<10):Goto 3 

09262019, 07:34 AM
(This post was last modified: 09262019 07:36 AM by ijabbott.)
Post: #8




RE: Casio fx50F/fx50FH programming
(09252019 04:22 PM)Csaba Tizedes Wrote: SIGN(var) on CASIO: (var>0)(var<0) A similar trick can be used to determine the ordering of two numbers: \( (a > b)  (a < b) \) That yields 1, 0 or 1 depending on the ordering. That's what I usually do to calculate the return value for comparison functions for use with the qsort() (quicksort) function in the C programming language standard library. In that case, the comparison function is allowed to return any integer because only the sign is used to determine the sort order of its two parameters. But using the above trick avoids arithmetic overflow and works for both signed and unsigned numbers. It is easy enough to modify the expression to reverse the ordering. It doesn't necessarily generate the tightest binary code, but is pretty close to generating the tightest code, and it looks pretty. — Ian Abbott 

09302019, 05:58 AM
Post: #9




RE: Casio fx50F/fx50FH programming
(09152019 01:14 PM)Csaba Tizedes Wrote:(09082019 03:16 AM)Dave Britten Wrote: This is definitely one of the least capable programmables I've seen from Casio; you're better off buying just about any other programmable model they've ever made. Here in Hong Kong we have a restriction where dotmatrix displays are forbidden... The fx50FH (II) is pretty much the best approved calculator here. It is the only calculator sold here in Hong Kong with programming capabilities and no dot matrix display. Oh and no graphing calculators, of course. Even the Casio fxMS models are banned for some reason. By the way, the H in fx50FH stands Also, Casio makes another nongraphing programmable calculator, the fx5800P, which is pretty nice. The programming is certainly better than it is on the fx50FH though, but not by much. By the way, how common are fx50F(H)/fx3650P IIs outside Hong Kong? Pretty much everyone has one here but I don't see that much demand for a calculator like this other than exam requirements. 

10032019, 02:06 PM
Post: #10




RE: Casio fx50F/fx50FH programming
(09302019 05:58 AM)ddd Wrote: Here in Hong Kong we have a restriction where dotmatrix displays are forbidden... The fx50FH (II) is pretty much the best approved calculator here. It is the only calculator sold here in Hong Kong with programming capabilities and no dot matrix display. Oh and no graphing calculators, of course. Even the Casio fxMS models are banned for some reason. The fx5800P is actually quite a bit more programmable than the fx50F, and very close to what the graphing models are capable of (without the graphing). It's not nearly as fast as they are, though. Plus you can save userdefined formulas, and you can feed them into the solver if you only use singleletter variable names. The fx50F and fx3650P/fx3950P are pretty much nonexistent in North America, since Casio doesn't release any of their nongraphing programmable models here. They're pretty easy to find on ebay, though. 

10062019, 12:33 AM
Post: #11




RE: Casio fx50F/fx50FH programming
I don't know why Casio doesn't sell the fx50FH or the fx3650P in the United States, they should consider it.


08072020, 05:15 AM
Post: #12




RE: Casio fx50F/fx50FH programming
(09302019 05:58 AM)ddd Wrote: Here in Hong Kong we have a restriction where dotmatrix displays are forbidden... The fx50FH (II) is pretty much the best approved calculator here. It is the only calculator sold here in Hong Kong with programming capabilities and no dot matrix display. Oh and no graphing calculators, of course. Even the Casio fxMS models are banned for some reason. Really this fx50FH has dot matrix display: more or less half display is dot matrix display. Of course lower part is 7segement numbers display. But the problem I am thinking about is this calculator could be internally modified to show information (text) on upper dot matrix display. It can be modified and store tons of info in a small actual memory. Even it could connect by wireless and send/receive information. If you want to be sure no cheating is possible, the only allowable calculator would be all 7segment display (plus annunciators. i.e. fixed elements showing for example "RAD"/"DEG"/etc), and no matrix/text capability on display. And it is easy to check if an LCD display is only 7segments or not. I think there is no problem with programmability but with text/cheating/mods. Actually Casio makes 7segments display scientific calculators, some they draw so little power they can be solar without backup battery, because they can work with very low ambient light, where more power solar calculators can't operate without backup battery (more circuits plus dotmatrix displays draw more power). And of course, you can make very good programmable calculators with only 7segments displays: for example Casio fx501P/502P (much better than a lot of posterior Casio programmable calculators), and for example HP Voyager series, specially HP15C, which is an extraordinary example of that. Obviously no 7segement programmable calculator is on market today. (09302019 05:58 AM)ddd Wrote: By the way, how common are fx50F(H)/fx3650P IIs outside Hong Kong? Pretty much everyone has one here but I don't see that much demand for a calculator like this other than exam requirements. I live in Spain/EU, and I bought one by Ebay, because I wanted to play with it and specially because it is the only SOLAR powered programmable calculator, and a cheap calculator. Being programmable and SOLAR makes me hot. I know program model/capabilities are really poor, and program introduction is even worse (you must move with cursor key by slow menus to introduce some programming commands) but it is the best SOLAR programmable calculator I know about. 

08072020, 04:09 PM
Post: #13




RE: Casio fx50F/fx50FH programming
(08072020 05:15 AM)David22 Wrote: program model/capabilities are really poor Not the best, but 680 steps, 4 program area but no subroutines, 10 labels in each, Goto is available, 7 variables, common scientific functions + MODEs. The code is readable and input asks with the name of the variable, output also shows the variable name or the formula. You can use Ans as a variable in some cases and in SD or REG mode you can use statistics registers as variables also, eg. easily build a counter with 'n' and 'DT'. If/Then/Else, While/Break/EndWhile, For/To/Step/Next. I think this is far better than some in the 80's and 90's. And, frankly speaking, no other nongraphing programmable on the market. Csaba 

08072020, 05:41 PM
Post: #14




RE: Casio fx50F/fx50FH programming
(08072020 04:09 PM)Csaba Tizedes Wrote: I think this is far better than some in the 80's and 90's. Don't forget the Casio fx5800P! It's considerably more powerful than the fx50FH, but the fx50FH is probably the top solarpowered programmable. 

08072020, 07:04 PM
Post: #15




RE: Casio fx50F/fx50FH programming  
« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)