Search:

Type: Posts; User: iamgonge

Search: Search took 0.11 seconds.

  1. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    thank you
  2. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    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...
  3. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    forget it im struggling for hours now and all your doing is asking me more questions. thanks for nothing :( its much appreciated
  4. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    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
  5. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    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!!!!!!!!!!
  6. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    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?
  7. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    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 -...
  8. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    the bottom returns a negative which then turns the final number to a negative monthly payments cant be negative so something is wrong
  9. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    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...
  10. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    no
  11. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    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...
  12. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    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...
  13. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    ok changed it still doesnt work please check





    import java.util.Scanner;

    public class Project1 {
    public static void main(String[] args) {
  14. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    double monthlyPayment= ( ((housePrice - downPayment) * (annualInterestRate/12)) /((1-(1+Math.pow(annualInterestRate/12, -numberofPayments)))));

    this is my formula and its not working please help?
  15. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    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...
  16. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    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))...
  17. Replies
    38
    Views
    2,730

    Re: Monthly mortgage payment calculator

    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:...
  18. Replies
    38
    Views
    2,730

    Monthly mortgage payment calculator

    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...
Results 1 to 18 of 18