Post Reply 
Como converter números decimais ou fracionados em inteiros no HP30b?
12-31-2020, 07:43 PM (This post was last modified: 12-31-2020 07:48 PM by FabioBrasil.)
Post: #1
Como converter números decimais ou fracionados em inteiros no HP30b?
On the HP30b, is it possible to enter non-integer P / YR values and thus not get an ERROR message? At HP, is there any way to convert decimal or fractional numbers to whole numbers (C / YR and P / YR)?

Currently, I find interest rates equivalent, either by a program on the HP30b, or by the traditional method. Is there a possibility to do this without a program?

Example: I have the rate 1.8% bimonthly (2 months) and I want the equivalent effective rate for quarter (3 months).

With the program I do:
1.8 I / YR 3 INPUT 2 ÷ N SHIFT PRGM =

Or manually:
1.8 I / YR PV = 1 N = 1 FV =? (= -1,0002) 2 INPUT 3 ÷ N I / YR =?

Answer: 2.7%

Sorry for the question and errors in English (I use Google Translate), but I'm starting on the HP30b. Still thanks and happy holidays!
Find all posts by this user
Quote this message in a reply
12-31-2020, 10:34 PM
Post: #2
RE: Como converter números decimais ou fracionados em inteiros no HP30b?
Do you have the Owner's Manual for your 30b?

There is a copy you can download here:

https://literature.hpcalc.org/official/h...-ug-en.pdf

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
01-01-2021, 12:24 AM
Post: #3
RE: Como converter números decimais ou fracionados em inteiros no HP30b?
1.8% bi-monthly rate to quarterly (3-months) effective rate:

1.018 ^ (3/2) = 1.027121138             // effective quarterly rate = 2.7121138%
Find all posts by this user
Quote this message in a reply
01-01-2021, 01:58 PM
Post: #4
RE: Como converter números decimais ou fracionados em inteiros no HP30b?
One way to do it manually is to pretend that 1.8% is an annual rate compounded yearly for 6 years, then determine the interest rate that would produce the same future value in 4 years:

Code:
1 SHIFT P/YR
6 N
1.8 I/YR 
1 PV
0 PMT
FV            [FV = -1.11297822601]
4 N
I/YR          [I/YR = 2.71211379381]

— Ian Abbott
Find all posts by this user
Quote this message in a reply
01-01-2021, 11:39 PM
Post: #5
RE: Como converter números decimais ou fracionados em inteiros no HP30b?
(01-01-2021 01:58 PM)ijabbott Wrote:  One way to do it manually is to pretend that 1.8% is an annual rate compounded yearly for 6 years, then determine the interest rate that would produce the same future value in 4 years

No need to pretend: (I/Yr) ÷ (P/Yr) = I/P

By setting P/Yr = 1, whatever entered into I/Yr is I/P (interest rate per period).

So, the code can also interpret as first getting APY (FV = -1.11297822601 → APY ≈ 11.2978%),
then convert to quarterly rate (I/P ≈ 2.7121%, P = 3 months)

(12-31-2020 07:43 PM)FabioBrasil Wrote:  On the HP30b, is it possible to enter non-integer P / YR values and thus not get an ERROR message?

This also answered OP question.

Example: P/Yr = 3.14, I/Yr = 6% is equivalent to P/Yr = 1, I/P = I/Yr = 6%/3.14
Find all posts by this user
Quote this message in a reply
01-08-2021, 09:00 PM
Post: #6
RE: Como converter números decimais ou fracionados em inteiros no HP30b?
Thank you all
Find all posts by this user
Quote this message in a reply
Post Reply 




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