Re: Need help using solver on HP 19BII Message #7 Posted by Tom Sherman on 3 July 2006, 8:32 p.m., in response to message #1 by Kim Ragone
Kim,
The following should work for you:
MEDCOST: PAY=(COST*(1-DISC/100))*(1-IPER/100)+(DUCT*IPER/100)
where DISC is the % discount, IPER is the % covered by insurance, and DUCT is the patient deductible.
As wonderful as the HP Solver and the HP-19BII are, I think that for applications such as this, a BASIC program is less prone to operator mistakes (such as forgetting to enter a variable, or forgetting to clear the data from a previous case). The following program is for the HP-71B, but by omitting the first line, it would run on most handheld calculator/computers that have BASIC.
10 DESTROY ALL @ FIX 2 @ DELAY 8
20 INPUT "PROCEDURE COST =";C
30 INPUT "% INSURER DISCOUNT =";D
40 N=C*(1-D/100)
50 INPUT "PATIENT'S DEDUCTIBLE =";P
60 INPUT "% INSURER COVERS =";I
70 A=(N-P)*I/100
80 B=N-A
90 PRINT "INSURER PAYS =";A
100 PRINT "PATIENT PAYS =";B
110 END
I hope you get something worked out to your satisfaction.
Cheers, Tom
|