12-16-2019, 03:15 AM
Program to calculate tax inclusive or exclusive from giving price.
This program is similar to other 4 function calculator
That have [TAX-] and [TAX+] features.
Manual calculation is also fast and effective but this
Program help ease with less keystrokes to the results.
———————————————————————————-
Procedure: FIX 2
To Reset or Start Over: f. [PGRM] or [GTO] 00
Set Tax Rate Percent at Register 0 , [STO] 0
———————————————————————-
Initialize with 0 or 1
0 for exclusive tax [TAX-]
1 for inclusive tax [TAX+]
————————————————————————
Example: f [PRGM]
For tax of 8%
8 [STO] 0 // store 8% tax
$54 include tax, What is the original price without tax?
$ 100 include tax, What is the original price without tax?
0 [R/S] display 0.00 // initialize for tax exclusive [TAX-]
54 [R/S] display -50.00 [X<>Y] 4.00
100 [R/S] display -92.59 [X<>Y] 7.41
Answer:
$54 without tax is $50 and tax amount is $4
$100 without tax is $92.59 and tax amount is $7.41
Remark: the final answer with negative sign indicate answer for exclusive tax
————————————————————————————-
Example: Inclusive Tax [TAX+]
f [PGRM]
1 [R/S] display 1 // initialize for tax inclusive [TAX+]
Use the same 8% tax from previous example
What is the price include tax of $45
What is the price include tax of $105
45 [R/S] display 48.60 [X<>Y] 3.60
105 [R/S] display 113.40 [X<>Y] 8.40
————————————————————————————
Program:
Gamo
This program is similar to other 4 function calculator
That have [TAX-] and [TAX+] features.
Manual calculation is also fast and effective but this
Program help ease with less keystrokes to the results.
———————————————————————————-
Procedure: FIX 2
To Reset or Start Over: f. [PGRM] or [GTO] 00
Set Tax Rate Percent at Register 0 , [STO] 0
———————————————————————-
Initialize with 0 or 1
0 for exclusive tax [TAX-]
1 for inclusive tax [TAX+]
————————————————————————
Example: f [PRGM]
For tax of 8%
8 [STO] 0 // store 8% tax
$54 include tax, What is the original price without tax?
$ 100 include tax, What is the original price without tax?
0 [R/S] display 0.00 // initialize for tax exclusive [TAX-]
54 [R/S] display -50.00 [X<>Y] 4.00
100 [R/S] display -92.59 [X<>Y] 7.41
Answer:
$54 without tax is $50 and tax amount is $4
$100 without tax is $92.59 and tax amount is $7.41
Remark: the final answer with negative sign indicate answer for exclusive tax
————————————————————————————-
Example: Inclusive Tax [TAX+]
f [PGRM]
1 [R/S] display 1 // initialize for tax inclusive [TAX+]
Use the same 8% tax from previous example
What is the price include tax of $45
What is the price include tax of $105
45 [R/S] display 48.60 [X<>Y] 3.60
105 [R/S] display 113.40 [X<>Y] 8.40
————————————————————————————
Program:
Code:
01 X=0 // initialize 0 exclusive, 1 inclusive
02 GTO 11 // it is initialize with 0 goto line 11
03 R/S // wait for input for inclusive [Tax+]
04 ENTER
05 RCL 0
06 %
07 +
08 LSTx
09 X<>Y
10 GTO 03 // continue with [TAX+]
—————-
11 R/S // wait for input for exclusive [TAX-]
12 ENTER
13 1
14 ENTER
15 RCL 0
16 %
17 +
18 X<>Y
19 LSTx
20 X<>Y
21 x
22 X<>Y
23 LSTx
24 Rv
25 ÷
26 X<>Y
27 Rv
28 -
29 LSTx
30 X<>Y
31 CHS // “negative sign” indicate tax exclusive
32 GTO 11 // continue with [TAX-]
Gamo