IMO, this DUE is an inartful term here since the payment is due anyway, either at beginning or end of each period. A variable called BEGIN would be more appropriate for what it does.HPMike wrote: ↑Sun May 24, 2020 1:53 pmIt is a setting to determine if payments are to be made at the end of a payment period (arrears), in which case DUE=0, or if they are made at the beginning of a payment period when due, in which case DUE=1. When payments are made when due, they are lower, since no interest will accrue during that period on the current unpaid balance. In this case, with DUE=0, then PMT=45.8037941842, whereas if DUE=1, then PMT=44.4697030914.
how to use mort.raw?
Re: how to use mort.raw?
DM42 SN: 00041 Beta
WP 43S running on this device
HP35, HP45, ..., HP50, WP 34S, WP 31S, DM16L
WP 43S running on this device
HP35, HP45, ..., HP50, WP 34S, WP 31S, DM16L
 PierreMengisen
 Posts: 82
 Joined: Wed Nov 29, 2017 12:38 pm
 Location: Neuchâtel CH
Re: how to use mort.raw?
in French we talk about prenumerando and postnumerando payment.
These are two modes of treatment. Why not talk about "KOP" (kind of payment)?
These are two modes of treatment. Why not talk about "KOP" (kind of payment)?
Pierre
[TI59 with PC100C; TI84 Plus CET; HP41CV with HP IL loop & 2*82161A DCD & 82162 TP; HP15C; HP28S; DM41; DM41L; DM42; DM41X]
[TI59 with PC100C; TI84 Plus CET; HP41CV with HP IL loop & 2*82161A DCD & 82162 TP; HP15C; HP28S; DM41; DM41L; DM42; DM41X]
Re: how to use mort.raw?
BEGIN is not a variable either, since it represents only one case for a binary choice. On my HP 12C, there are two choices, BEGIN for payments made at the beginning of a payment period, and END for payments made at the end of a period. So DUE in fact makes perfect sense for the variable, as it requests the answer to the question of when is the payment due for each payment period. Perhaps the variable name should be WD for “when due.”Walter wrote: ↑Sun May 24, 2020 3:12 pmIMO, this DUE is an inartful term here since the payment is due anyway, either at beginning or end of each period. A variable called BEGIN would be more appropriate for what it does.HPMike wrote: ↑Sun May 24, 2020 1:53 pmIt is a setting to determine if payments are to be made at the end of a payment period (arrears), in which case DUE=0, or if they are made at the beginning of a payment period when due, in which case DUE=1. When payments are made when due, they are lower, since no interest will accrue during that period on the current unpaid balance. In this case, with DUE=0, then PMT=45.8037941842, whereas if DUE=1, then PMT=44.4697030914.
DM15L, S/N 00548. DM42, SN: 00159.
Re: how to use mort.raw?
You're right in principle (a variable BEGIN presumes you know the only alternative is end  so if BEGIN = false then end must be true and vice versa). But a variable DUE or even WhenDue by its name asks for a date, or for an answer reading begin or end; none of these answers is true or false. So any intelligent compiler would throw a data type mismatch here.HPMike wrote: ↑Sun May 24, 2020 5:54 pmBEGIN is not a variable either, since it represents only one case for a binary choice. On my HP 12C, there are two choices, BEGIN for payments made at the beginning of a payment period, and END for payments made at the end of a period. So DUE in fact makes perfect sense for the variable, as it requests the answer to the question of when is the payment due for each payment period. Perhaps the variable name should be WD for “when due.”Walter wrote: ↑Sun May 24, 2020 3:12 pmIMO, this DUE is an inartful term here since the payment is due anyway, either at beginning or end of each period. A variable called BEGIN would be more appropriate for what it does.HPMike wrote: ↑Sun May 24, 2020 1:53 pmIt is a setting to determine if payments are to be made at the end of a payment period (arrears), in which case DUE=0, or if they are made at the beginning of a payment period when due, in which case DUE=1. When payments are made when due, they are lower, since no interest will accrue during that period on the current unpaid balance. In this case, with DUE=0, then PMT=45.8037941842, whereas if DUE=1, then PMT=44.4697030914.
DM42 SN: 00041 Beta
WP 43S running on this device
HP35, HP45, ..., HP50, WP 34S, WP 31S, DM16L
WP 43S running on this device
HP35, HP45, ..., HP50, WP 34S, WP 31S, DM16L
Re: how to use mort.raw?
Just to add a little more confusion: in italian DUE means TWO.
Greetings,
Massimo
ajcaton
+×÷ left is right and right is wrong Casted in gold
Massimo
ajcaton
+×÷ left is right and right is wrong Casted in gold

 Posts: 321
 Joined: Wed May 24, 2017 8:44 pm
 Location: Vancouver Canada
 Contact:
Re: how to use mort.raw?
Due = two
Well that is too funny to!
Well that is too funny to!
Re: how to use mort.raw?
so sorry but this is my first time using the DM42, I previously had various models of 48, so this it a bit different.
can some one walk me thru the steps? as an example, this is the loan I would like to calculate. $50,000 loan [pv], 60 months [60], 2.5% interest
this is what i'm doing
[xeq]
[mort]
0 [due]
0 [fv]
50,000 [pv]
0.025
60 [n]
[pmt][pmt]
the result is 1,617.67 which is obviously wrong it should be returning 887.37
thanks for the guidance.
can some one walk me thru the steps? as an example, this is the loan I would like to calculate. $50,000 loan [pv], 60 months [60], 2.5% interest
this is what i'm doing
[xeq]
[mort]
0 [due]
0 [fv]
50,000 [pv]
0.025
60 [n]
[pmt][pmt]
the result is 1,617.67 which is obviously wrong it should be returning 887.37
thanks for the guidance.
Re: how to use mort.raw?
I just got my DM42 and are not used to using it, I'm coming from using various HP48 for the past 20 years or so. Can someone please walk me thru the steps? I just cant seem to get it to work this is what I try:
[xeq]
[mort]
0 [due]
0 [fv]
50,000 [pv]
2.5
60 [n]
[pmt] [pmt]
result is 125,000 which is not correct it should be 887.37. this is for a 50,000 loan, 5 years, 2.5% interest.
thank you for the guidance and patients.
[xeq]
[mort]
0 [due]
0 [fv]
50,000 [pv]
2.5
60 [n]
[pmt] [pmt]
result is 125,000 which is not correct it should be 887.37. this is for a 50,000 loan, 5 years, 2.5% interest.
thank you for the guidance and patients.
Re: how to use mort.raw?
DHCrocks wrote: ↑Mon May 25, 2020 6:25 amso sorry but this is my first time using the DM42, I previously had various models of 48, so this it a bit different.
can some one walk me thru the steps? as an example, this is the loan I would like to calculate. $50,000 loan [pv], 60 months [60], 2.5% interest
this is what i'm doing
[xeq]
[mort]
0 [due]
0 [fv]
50,000 [pv]
0.025
60 [n]
[pmt][pmt]
the result is 1,617.67 which is obviously wrong it should be returning 887.37
thanks for the guidance.
You forgot to divide the annual interest by twelve to get monthly compounding interest. So, monthly interest = 0.025 / 12 = 0.00208333 will give you the result 887.3680803. Note that interest is entered as decimal value, not a percentage.
DM15L, S/N 00548. DM42, SN: 00159.
Re: how to use mort.raw?
That’s it! Thank you so much. That’s a strange way of inputting interest. I just hope I can remember it when I actually need to use the program a year from now. lol.