VAT calculations with RPN-calculator - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: VAT calculations with RPN-calculator (/thread-83128.html) |
VAT calculations with RPN-calculator - Kalevipoeg - 11-26-2005 I like to tell you how I became more familiar with % function of the HP12c. VAT = Value Added Tax (in the European Union)
NET = GROSS/(1+(VAT RATE/100)) I wanted to write a short program which a) calculates NET amount into Y register and b) calculates VAT into X register. In this case VAT RATE is stored in R0-register. Usage: Key in the GROSS amount and press [R/S]. First I wrote the following program (16 steps)
01 RCL 0 Then I realized my calculator has a % function and I wrote my program again (now 7 steps)
01 1
The % function of the RPN-calculators is more useful function than I believed!
% vs. delta-% - Karl Schneider - 11-27-2005 Kalevipoeg -- Good thinking! Of course, "per cent" means "per 100", so those are logical simplifications. Among Voyagers, only the HP-12C and HP-10C have a "%" key as an unshifted function. I believe that "%" is much more useful in business than in science and engineering, in which "delta-%" is more useful. It makes sense to me that the 12C would have "%" unshifted.
However, the basic scientific 10C omitted "delta-%", while providing "%" unshifted. Not good thinking...
Re: VAT calculations with RPN-calculator - tony (nz) - 11-28-2005 Hello Kalevipoeg. Nice to see you again. Today I learned from Wikipedia that you must be the son of Kalev :-)
Indeed it can be very handy the way % preserves Y. I once had fun using i,PV and FV
So you could set FV=GROSS, i=VAT RATE. Then solving for PV gives -NET. You can input
BTW I have submitted some 12C games to HPCC Datafile and I mention your name in bold when
Cheers, Re: VAT calculations with RPN-calculator - Kalevipoeg - 11-28-2005 Thank you Tony. I'm happy you mentioned my name. Thanks. About VAT calculations Why did I want to calculate NET amount into Y register and VAT into X register? Answer: Now I can use Sigma+ to calculate totals if necessary.
Edited: 28 Nov 2005, 7:41 a.m.
|