Casio FC200 Financial Consultant

12152020, 12:07 PM
(This post was last modified: 12152020 12:17 PM by Gamo.)
Post: #1




Casio FC200 Financial Consultant
Just acquired this Casio FC200 Financial Calculator and this calculator is programmable.
I use to program Casio Programmable calculator before long ago when I was in High School. Since I just got this calculator so I refreshed my memony and make up two program. I like to share this and any advice or other who got program listing to share is very welcome. Code:
Gamo 12/15/2020 

12162020, 03:21 AM
Post: #2




RE: Casio FC200 Financial Consultant
Just noticed that this particular model it doen't have the [RAN#] function but
it got [Intg] and [Frac] Gamo 

12212020, 07:51 AM
Post: #3




RE: Casio FC200 Financial Consultant
Just added the video clip to sovle for [Tax ] using
Casio FC200 with the Tax Deduction program. Youtube link: https://youtu.be/UiQscuKxvXw Gamo 

12212020, 03:01 PM
Post: #4




RE: Casio FC200 Financial Consultant
I've got a couple of programs I use on mine. For readability, I've replaced the colons between statements with newlines. Use colons to separate statements when entering these.
Weekdays Calculates weekdays/working days within a date range. Use the DATE key for inputting the two dates, e.g. 12/21/2020/ (yes, you need that final slash). Date A should be the earlier date. Code: ?→A Paydown/curtailment savings Estimates the amount of interest saved over the remaining life of a loan if an extra principle payment of a given size is made. The financial variables should already contain the current parameters of the loan such that FV=0. Financial variables are written in lowercase. Use RCL to insert them into formulas. Code: ?→A 

12212020, 03:56 PM
(This post was last modified: 12222020 05:40 AM by Gamo.)
Post: #5




RE: Casio FC200 Financial Consultant
Dave Thanks
The Weekday program look very interesting. From Post #3 Little program to solve for the VAT or Exclusive Tax Store Tax in Register Alpha [T] if tax is 8% enter 0.08 [STO] [Alpha] [T] Enter Selling Price including Tax press [EXE] display Price Without Tax [EXE] display Tax Amount. Program: Lbl 1: ?→A: A ÷ (1 + T)◢ // Answer Price without Tax A  Ans◢ Goto 1 // Answer Tax Amount Gamo 

12242020, 06:02 AM
Post: #6




RE: Casio FC200 Financial Consultant
Hello Dave
I have try your Weekdays program. Work out ok but not on February. I try 2/1/2021 to 2/28/2021 program run and answer 21 days but suppost to be 20 days. Thanks Gamo 

12242020, 02:25 PM
Post: #7




RE: Casio FC200 Financial Consultant
(12242020 06:02 AM)Gamo Wrote: Hello Dave Well that's interesting! At a glance, I can't figure out why it would do that. The program first calculates the actual number of days between the two dates, then calculates the number of days mod 7 since 1/6/1901 to work out the starting weekday. Must be some edge case I missed, as I don't think this has anything to do with February having fewer days. This was based on a 12C program I wrote; I'll have to see if that one has the same issue. 

12252020, 08:16 PM
Post: #8




RE: Casio FC200 Financial Consultant
I just ran a few test cases for dates in/around February, and I seem to be getting correct results (2/1/20212/28/2021 is 20, for example). I've doublechecked that the program listing is accurate, so you may want to take a look for any typos in your entry. The last few lines that check W and W+M adjust for ranges that start/end on weekends, so you might want to look there first.


12262020, 01:14 AM
(This post was last modified: 12262020 01:41 AM by Gamo.)
Post: #9




RE: Casio FC200 Financial Consultant
Thanks Dave
Just figured out what cause the wrong answer. I didn't noticed that the calculator Date was set to 360 days mode. Once I set to 365 the answer is now correct. Gamo 

12262020, 02:41 PM
Post: #10




RE: Casio FC200 Financial Consultant
(12262020 01:14 AM)Gamo Wrote: Thanks Dave Ah, that would certainly explain it! It's probably throwing off the dayofweek calculation since the number of days since 1/6/1901 would come back different. I never use 360day mode, so I hadn't even thought of that. 

12262020, 11:31 PM
(This post was last modified: 12272020 05:17 AM by Albert Chan.)
Post: #11




RE: Casio FC200 Financial Consultant
We can make the code more compact, with sign function.
PHP Code: function sign(x) return x==0 and 0 or x/abs(x) end Update: the code had a bug, when A falls on Sunday. Shifting it to Monday fixed it, matched openoffice networkdays() results. 

12272020, 12:09 AM
Post: #12




RE: Casio FC200 Financial Consultant
(12262020 11:31 PM)Albert Chan Wrote: We can make the code more compact, with sign function. There is definitely no sign function on an fc200 to take advantage of that though. 

12272020, 05:49 AM
Post: #13




RE: Casio FC200 Financial Consultant
(12262020 11:31 PM)Albert Chan Wrote: return DEE  sign(D7*E + W  6) If end date falls on Saturday, and start date not on Sunday, sign correction mess goes away. Example, networkdays between 1/1/2021 (Friday) to 4/1/2021 (Thursday) Remove the correction term by adjusting enddate to Saturday, 4/3/2022 Sat D = 31 + 28 + 31 + 2 = 92 days E = floor(D/7) = 13 weeks networkdays (1/1/2020 to 4/3/2020) = DEE = 66 networkdays (1/1/2020 to 4/1/2020) = 66  1 = 65 PHP Code: function networkdays(A, B)  assumed date A <= B 

12272020, 08:49 AM
(This post was last modified: 12272020 10:08 AM by Csaba Tizedes.)
Post: #14




RE: Casio FC200 Financial Consultant
(12272020 12:09 AM)Dave Britten Wrote: There is definitely no sign function on an fc200 to take advantage of that though. On CASIOs the simplest SIGN(var) function is (var>0)(var<0). Maybe it's works on 3650P and similar models. I have checked on my 4000P (seems same as FC models) this causes Syntax error. Csaba 

12272020, 02:01 PM
Post: #15




RE: Casio FC200 Financial Consultant
(12272020 08:49 AM)Csaba Tizedes Wrote:(12272020 12:09 AM)Dave Britten Wrote: There is definitely no sign function on an fc200 to take advantage of that though. Yeah, I don't think Casio changed the relational/comparison operators to work like actual mathematical functions until somewhere around the fx9750G/cfx9850G. Prior to that, you could only use them in conjunction with the 'if/then' arrow. 

12272020, 04:22 PM
Post: #16




RE: Casio FC200 Financial Consultant
Here is an implementation without sign(), and very fast.
Code: function networkdays(A, B)  assumed date A <= B Sunday to Saturday is the tricky one, where my previous attempts failed. FYI, Dave's posted code might failed this too. Please confirm. lua> networkdays(day(2021,2,28), day(2021,3,5))  Sun to Fri 5 lua> networkdays(day(2021,2,28), day(2021,3,6))  Sun to Sat 5 lua> networkdays(day(2021,2,28), day(2021,3,7))  Sun to Sun 5 

12312020, 06:05 AM
(This post was last modified: 12312020 11:16 AM by Gamo.)
Post: #17




RE: Casio FC200 Financial Consultant
Just play around a bit more on this Casio FC200 Financial Consultant calculator.
So I make a small and very handy program to use for total up a group of items price with different discount percentage rate on each group. This program use the Statistic Funtions to help in accumulate each items.  Discount Percent and Total 1. Following items is 15% discount 12.45, 55.75, 18.50, 10.25 and 75.75 Total = 172.70 Total  (15%) = 146.80 Grand Total = 146.80  2. Following items is 20% discount 127.15, 215, 115 and 215.65 Total = 672.80 Total  (20%) = 538.24 Grand Total = 146.80 + 538.24 = 658.04  Procedure: Fix 2 Setup: 0→M Mode 6  Input each items to [DT] the **[MAR] button** Select [Prog] # where you put this program ?D input Discount Percent Rate [EXE] Items Total [EXE] Total subtract Discount [EXE] Grand Total To input next group of items [Prog] # and same steps as above.  Program: ?→D: T◢ Ans  D%: Scl◢ Ans + M →M  Remark: The Apha Letter T in program is the [Σx] function and this function does not show Summation on the screen in program but Shown as Letter T instead. To put [Σx] in program enter [ALPHA] [2] and screen shown letter T Program must activate the Statistic Mode 6 [SD] and program will automatically clear Satistic Data on each usage so that new group of data is always ready.  Gamo 12/31/2020 

05012021, 01:11 PM
(This post was last modified: 05012021 01:14 PM by Gamo.)
Post: #18




RE: Casio FC200 Financial Consultant
This calculator got the Pricing Calculations to find Cost, Price or Margin but no Markup.
This program will will find the Markup when the Margin is known. Even if only the Markup is known another program will find the Margin and automatically store it. Program #8 for convert Markup and store into the Margin Program #9 for Convert Margin to Markup  Example: Cost = 8 and Markup = 25 what is the Price? 25 [MAR] [Prog] 8 [EXE] display 20 8 [CST] [COMP] [SEL] [EXE] display answer 10 Answer: Price is 10  Cost = 15 and Price = 28 what is the Markup? 15 [CST] 28 [SEL] [COMP] [MAR] display 46.43 [PROG] 9 [EXE] display answer 86.67 Answer: Markup is 86.67  Program: Program P8 MAR^1 + .01: Ans^1: Ans→MAR Program P9 MAR^1  .01: Ans^1  Remark: The MAR at the start of each program when enter use [RCL] [MAR] The ^1 is the (1/x) this model use [X^1] the key located at the [SHIFT] [STO]  Gamo 5/2021 

05022021, 04:30 AM
(This post was last modified: 05032021 01:59 AM by Gamo.)
Post: #19




RE: Casio FC200 Financial Consultant
Program P8 on previous post can be use as the [Tax ] or Tax Exclusive
[Tax ] is when price is already included tax or VAT and this function is to find the price not include tax or VAT. For Example: This product you pay already included tax is 550 The Tax Rate is 20% What is the price not include tax? 20 [MAR] [Prog] 8 [EXE] display 16.67 // set up the Tax Rate 550 [SEL] [COMP] [CST] [EXE] display 458.33 // Answer Price without Tax or VAT To find the Tax Amount: [RCL] [SEL]  [RCL] [CST] [EXE] display 91.67  You go to other place and got another product for 80 What is the price without tax or VAT? While the Tax Rate data still in the memory go ahead and continue 80 [SEL] [COMP] [CST] 66.67 To find Tax Amount: [RCL] [SEL] [] [RCL] [CST] [EXE] display 13.33 Remark: This Pricing Calculation program can adapted to use for [Tax] and [Tax+] The "Tax Rate" have to convert and store to [MAR] by the use of the P8 program. Use [CST] for [Tax] USE [SEL] for [Tax+] Example: To find Price with Tax: Price [CST] [COMP] [SEL] [EXE] To find Price without Tax: Price [SEL] [COMP] [CST] [EXE] Gamo 

« Next Oldest  Next Newest »

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