thank you
Type: Posts; User: iamgonge
thank you
i apologize just frustrated I think i figured it
double tempBottom = ((1-(Math.pow(1+(annualInterestRate/12), -numberofPayments))));
my 1+ was in the wrong spot, Norm you were right when i...
forget it im struggling for hours now and all your doing is asking me more questions. thanks for nothing :( its much appreciated
i dont know how to break this line down any further
double tempBottom = ((1-(1+(Math.pow(annualInterestRate/12, -numberofPayments)))));
on paper sure in java no clue
its in bottom expression but i dont know how to fix it thats problem i can break it down all day long but something is wrong please help me!!!!!!!!!!
what will that accomplish i dont get what your trying to do i showed you the formula and i showed you how i broke it down what else needs to be done?
ok when i run this program it asks questions i enter the following
house price = 1000
down payment = 50
interest rate = .05
number of payments 30
top equation: double tempTop = ((housePrice -...
the bottom returns a negative which then turns the final number to a negative monthly payments cant be negative so something is wrong
ok i did the calculations on a calculator and they do equal each other, I bottom number keeps turning back a negative number which i dont think is right.
the formula im supposed to use is written...
ok this what i got i broke the formula into a top and a bottom
then printed out the results: heres the code
import java.util.Scanner;
public class Project1 {
public static void...
im not faqmiliar with this formula i dont know how to break it down in java code so i cant do what your saying are you saying assign this a variable (housePrice - downPayment) then assign this a...
ok changed it still doesnt work please check
import java.util.Scanner;
public class Project1 {
public static void main(String[] args) {
double monthlyPayment= ( ((housePrice - downPayment) * (annualInterestRate/12)) /((1-(1+Math.pow(annualInterestRate/12, -numberofPayments)))));
this is my formula and its not working please help?
so it doesnt seem to be computing correctly i keep getting negative number and they seem quite off, Is my formula wrtitten wrong?
--- Update ---
ok so this my program as of this moment, it runs...
ok tried it didnt work now what( I dont know how to write this code!!!!!!)
heres what i tried
double monthlyPayment= ( ((housePrice - downPayment) * (annualInterestRate/12))...
import java.util.Scanner;
public class Project1 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("Enter the price of the house:...
IM writing a monthly mortgage payment calculator I have the formula but dont know how to enter it:
the formula i have is
pmt = ((p-d)*r/12) / (1-(1+(r/12)^-m)
my code is:
import...