Re: VAT calculations with RPN-calculator Message #3 Posted by tony(nz) on 28 Nov 2005, 1:05 a.m., in response to message #1 by Kalevipoeg
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
(with n=1 and PMT=0) to do all shopkeeper markup/markdown calculations, which parallel
VAT/normal_tax(eg income tax) calculations. The markdown and income tax percentages need
to be entered as negative. It takes a bit of getting used to as PV and FV have opposite
signs, but we usually know which is the larger. And then PV+FV gives the amount of the
tax for example. Yes, I remember now, last year in Datafile V23N2P14/15, I wrote about this
- also showing how to calculate markup given markdown, and vice-versa.
So you could set FV=GROSS, i=VAT RATE. Then solving for PV gives -NET. You can input
any two, and solve for the third - not that this is very useful, except if you are a tax
consultant or a shopkeeper :-) But it is fun to try and do many calculations, actually
seen in daily life, with one equation: PV*(1+i/100)+FV=0.
BTW I have submitted some 12C games to HPCC Datafile and I mention your name in bold when
presenting lunar lander, referring folk to your Moon Landing Simulator as published here
early last month. I hope you don't mind - I never thought to ask!
Cheers,
Tony
|