Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Lv 42,701 points

skiairplane

Favorite Answers17%
Answers755
  • Have a 2nd job interview, was told to expect a 3 to 4 hour interview?

    Had a job interview yesterday which went very well and lasted 3 hours with Q and A, skill set, joking, etc. I have been called back for a 2nd interview and was told to expect for it to be 3 to 4 hours. It is an IT Manager position and I am curious as to why the second interview would be that long? Any ideas? I have not had an interview that lasted that long in each case and still was offered a position in the past.

    2 AnswersOther - Careers & Employment10 years ago
  • HTML Coding Problem.?

    I am new to this so please be patient. I have written my first HTML code, but the boxes are all connected together. I need the to be the same width and length as you see, but separated. Here is my code below. I want the entire page to execute center, but I am stuck as to why all my boxes are connected and all the way to the left when I run it?? Any expert help is appreciated.

    <html>

    <body>

    <div id=”layer”>

    <head>

    <title> Resource Guide </title>

    </head>

    <table width="400px" border="1">

    <tr>

    <td colspan="2" style="background-color:white;">

    Header<H1 align="center">

    </td>

    </tr>

    <tr>

    <td style="background-color:white;width:100p…

    Hyperlinks Here

    </td>

    <td style="background-color:white;height:400…

    Context Here

    </td>

    </tr>

    <tr>

    <td colspan="2" style="background-color:white;">

    Footer

    </td>

    </tr>

    </table>

    2 AnswersProgramming & Design1 decade ago
  • Internet does not work while using treadmill?

    I have a wierd issue to where when I use my home treadmill to exercise the internet either stops working on the desktop or wireless or the internet is very slow. I cannot figure this out. I have ATT DSL. Why would a simple treadmill that plugs into the wall make the internet not work?

    3 AnswersOther - Internet1 decade ago
  • Writing a Linux Script? Please Help.?

    Hi,

    I am very confused on this.

    Would I use #!/bin/bash to create in the home bin directory?? I am lost

    1. Log in to the Linux system as a user, and then open a Terminal emulation window.

    2. Create a script named Project5-2 in the $HOME/bin directory.

    3. Insert a reference to the bash shell, appropriate comments, and your name as author.

    4. Accept five positional parameters from the command line.

    5. Display all five values on the screen.

    6. Display a usage clause if the incorrect number of values is entered.

    7. Display an average of the five values.

    8. Save the script, close the editor, make the script executable, and then execute the

    script.

    9. Record the output.

    1 AnswerProgramming & Design1 decade ago
  • JAVA Programming Error Question?

    Hello,

    I keep getting this error code in BlueJ:

    '{' expected

    on this line:

    public class MortgageGUI.java extends JApplet

    Here is my code:

    import java.io.*;

    import javax.swing.*;

    import javax.swing.event.*;

    import java.awt.*;

    import java.awt.event.*;

    import java.text.*;

    import java.util.*;

    public class MortgageGUI.java extends JApplet

    private String[] terms={"7","15","30"};

    private double[] rates={0.0535,0.055,0.0575};

    private JLabel amountLabel=new JLabel("Loan amount (enter amount): ");

    private JTextField amount=new JTextField();

    private JLabel termLabel=new JLabel("Term(enter years or pick): ");

    private JTextField term=new JTextField();

    private JLabel rateLabel=new JLabel("Interest rate(enter rate or pick): ");

    private JTextField rate=new JTextField();

    private JComboBox termList = new JComboBox(terms);

    private JLabel payLabel=new JLabel("Monthly Payment: ");

    private JLabel payment=new JLabel();

    private JButton calculate=new JButton("Calculate");

    private JButton clear=new JButton("Clear");

    private JButton exit=new JButton("Exit");

    private JTextArea paymentSchedule=new JTextArea();

    private JScrollPane schedulePane=new JScrollPane(paymentSchedule);

    private Container cp = getContentPane();

    public void init() {

    // Take care of termList

    termList.setSelectedIndex(0);

    termList.addActionListener(new ActionListener() {

    public void actionPerformed(ActionEvent e) {

    JComboBox cb = (JComboBox)e.getSource();

    // the source of the event is the combo box

    String termYear = (String)cb.getSelectedItem();

    term.setText(termYear);

    int index=0;

    switch (Integer.parseInt(termYear)) {

    case 7: index=0; break;

    case 15: index=1; break;

    case 30: index=2; break;

    }

    rate.setText(rates[index]+"");

    }

    });

    // Take care of three buttons

    calculate.addActionListener(new ActionListener() {

    public void actionPerformed(ActionEvent e) {

    try {

    // calculate the monthly payment

    double p=Double.parseDouble(amount.getText());

    double r=Double.parseDouble(rate.getText())/12;

    double n=Integer.parseInt(term.getText())*12;

    double monthlyPayment=p*Math.pow(1+r,n)*r/(Math.pow(1+r,n)-1);

    DecimalFormat df = new DecimalFormat("$###,###.00");

    payment.setText(df.format(monthlyPayment));

    // calculate the detailed loan

    double principal=p;

    int month;

    StringBuffer buffer=new StringBuffer();

    buffer.append("Month\tAmount\tInterest\tBalance\n");

    for (int i=0; i<n; i++) {

    month=i+1;

    double interest=principal*r;

    double balance=principal+interest-monthlyPayment;

    buffer.append(month+"\t");

    buffer.append(new String(df.format(principal))+"\t");

    buffer.append(new String(df.format(interest))+"\t");

    buffer.append(new String(df.format(balance))+"\n");

    principal=balance;

    }

    paymentSchedule.setText(buffer.toString());

    } catch(Exception ex) {

    System.out.println(ex);

    }

    }

    });

    clear.addActionListener(new ActionListener() {

    public void actionPerformed(ActionEvent e) {

    amount.setText("");

    payment.setText("");

    paymentSchedule.setText("");

    }

    });

    exit.addActionListener(new ActionListener() {

    public void actionPerformed(ActionEvent e) {

    System.exit(1);

    }

    });

    JPanel upScreen=new JPanel();

    upScreen.setLayout(new GridLayout(5,2));

    upScreen.add(amountLabel); upScreen.add(amount);

    upScreen.add(termLabel); upScreen.add(term);

    upScreen.add(new Label()); upScreen.add(termList);

    upScreen.add(rateLabel); upScreen.add(rate);

    upScreen.add(payLabel); upScreen.add(payment);

    JPanel buttons=new JPanel();

    buttons.setLayout(new BoxLayout(buttons, BoxLayout.X_AXIS));

    buttons.add(calculate); buttons.add(clear); buttons.add(exit);

    JPanel up=new JPanel();

    up.setLayout(new BoxLayout(up, BoxLayout.Y_AXIS));

    up.add(upScreen); up.add(buttons);

    cp.add(BorderLayout.NORTH, up);

    cp.add(BorderLayout.CENTER, schedulePane);

    }

    public static void main(String[] args) {

    JApplet applet = new MortgageGUI.java();

    JFrame frame = new JFrame("Sean Mortgage Calculator");

    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

    frame.setResizable(false);

    frame.getContentPane().add(applet);

    frame.setSize(400,420);

    applet.init();

    applet.start();

    frame.setVisible(true);

    }

    }

    1 AnswerProgramming & Design1 decade ago
  • JAVA Problem Graphical Interface-Lost Help?

    Ok, So I am new to Java and Netbeans. I have to write a program using a graphical user interface that calculates and displays the mortgage payment amount from user input of the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. Allow the user to clear and enter new data or quit. Insert comments in the program to document the program. Here is what I have I know I am missing stuff so can someone please show me and help? Here are the terms and rates int[] intTerms = { 7*12, 15*12, 30*12 };

    double[] dblRates = { 0.0535, 0.055, 0.0575 };:

    */

    import javax.swing.*;

    import java.awt.*;

    import java.awt.event.*;

    import javax.swing.*;

    import java.text.*;

    import java.awt.Dimension;

    import javax.swing.JFrame;

    import javax.swing.SwingUtilities

    public class MortgageCalculator {

    public static void main(String[] args){

    //variables that are to be used and the information in the program.

    private JFormattedTextField loanamount;

    private JFormattedTextField term;

    private JFormattedTextField interestrate;

    private JLabel lblterm = new JLabel("Term of loan: ");

    private JLabel lblrate = new JLabel("Rate: ");

    private JButton btnCalculate = new JButton("Calculate");

    private JButton btnReset = new JButton("Reset");

    private JButton btnEnd = new JButton("End");

    private static String defaultOutputMessage = "Please enter the amount of the loan" +

    " the length of the loan, and the selected interest rate. Click on Calculate" +

    " when done.";

    private JTextArea outputText = new JTextArea(defaultOutputMessage);

    private NumberFormat currency = NumberFormat.getCurrencyInstance();

    // (Main) method that will display all of the output.

    // Define the variables to be used

    private void calculate()

    {

    double loan = ((Number)loanamount.getValue()).doubleValue();

    int termlength = ((Number)term.getValue()).doubleValue();

    double rate = ((Number)interestrate.getValue()).doubleValue();

    double Payment = calculateMonthlyPayment(loan,rate/100, termlength);

    outputText.setText("Mortgage Payment is " + currency.format(Payment));

    }

    // Used to calculate the amound in the payment based on the principle, the term and the interest rate.

    public static double CalculatePayment(double principle, int term, double rate)

    {

    //Returns the amount of the mortgage and does all the fancy work for the user behind the scenes in the meanwhile exiting quietly.

    return(principle * Math.pow(1+(rate/12), term) * rate/12) / (Math.pow(1 + rate/12, term) - 1);

    }

    }

    2 AnswersProgramming & Design1 decade ago
  • Need recommendation for good air filter system?

    I am looking for a good, reliable room air filter for our bedroom. I wanting something that can handle running alot as I have terrible allergies. I use 3M allergy filters for my AC unit, but would like a separate unit for the bedroom as it seems to collect the most dust. Also, I would like to unit to be able to be moved room from room. Any ideas? I think $200.00 is the max I would spend. Thanks,

    2 AnswersAllergies1 decade ago
  • 80's or 90's song question?

    I am trying to remember the song that talks about stars in the sky. The video has a guy with dreadlocks and another female singer with a blue background. came out in the late 80's. early 90's. They were both african american singers. Great song.

    1 AnswerOther - Music1 decade ago
  • JAVA Programming and Problem Questions?

    OK, I executed my new code and received no errors. I would like a second set of eyes to look it over. Any advice or tweaks would be helpful. I think I everything right. Thanks.

    import java.text.*;

    import java.io.IOException;

    {

    public static void main(String[] args) throws IOException

    {

    double amount,moPay,totalInt,principal = 200000; //monthly payment, total interest and principal

    double rate [ ] = {.0535, .055, .0575}; //the three interest rates

    int [ ] term = {7,15,30}; //7, 15 and 30 year term loans

    int time,ratePlace = 0,i,pmt=1,firstIterate = 0,secondIterate = 0,totalMo=0;

    char answer,test;

    boolean validChoice;

    System.in.skip(System.in.available()); //clear the stream for the next entered character

    do

    {

    validChoice = true;

    System.out.println("What Choice would you Like\n");

    System.out.println("1-Interest rate of 5.35% for 7 years?");

    System.out.println("2-Interest rate of 5.55% for 15 years?");

    System.out.println("3-Interest rate of 5.75% for 30 years?");

    System.out.println("4-Quit");

    answer = (char)System.in.read();

    if (answer == '1') //7 yr loan at 5.35%

    {

    ratePlace = 0;

    firstIterate = 4;

    secondIterate = 21;

    totalMo= 84;

    }

    else if (answer == '2') //15 yr loan at 5.55%

    {

    ratePlace = 1;

    firstIterate = 8;

    secondIterate = 24;

    totalMo = 180;

    }

    else if (answer == '3') //30 yr loan at 5.75%

    {

    ratePlace = 2;

    firstIterate = 15;

    secondIterate = 24;

    totalMo = 360;

    }

    else if (answer == '4') //exit or quit

    {

    System.exit(0);

    }

    else

    {

    System.in.skip(System.in.available()); //validates choice

    System.out.println("Invalid choice, try again.\n\n");

    validChoice = false;

    }

    }while(!validChoice); //when a valid choice is found calculate the following, ! means not, similar to if(x != 4)

    for(int x = 0; x < 25; x++)System.out.println();

    amount = (principal + (principal * rate[ratePlace] * term[ratePlace] ));

    moPay = (amount / totalMo);

    totalInt = (principal * rate[ratePlace] * term[ratePlace]);

    DecimalFormat df = new DecimalFormat("0.00");

    System.out.println("The Interest on $" + (df.format(principal) + " at " + rate[ratePlace]*100 +

    "% for a term of "+term[ratePlace]+" years is \n" +"$"+ (df.format(totalInt) +" Dollars\n")));

    System.out.println("\nThe total amount of loan plus interest is $"+(df.format(amount)+" Dollars.\n"));

    System.out.println("\nThe Payments spread over "+term[ratePlace]* 12+" months would be $"+

    (df.format (moPay) + " Dollars a month\n\n"));

    System.in.skip(System.in.available());

    System.out.println("\nWould you like to see a planned payment schedule? y for Yes, or x to Exit");

    answer = (char)System.in.read();

    if (answer == 'y')

    {

    System.out.println((term[ratePlace]*12) + " monthly payments:");

    String monthlyPayment = df.format(moPay);

    for (int a = 1; a <= firstIterate; a++)

    {

    System.out.println(" Payment Schedule \n\n ");

    System.out.println("Month Payment Balance\n");

    for (int b = 1; b <= secondIterate; b++)

    {

    amount -= Double.parseDouble(monthlyPayment);

    System.out.println(""+ pmt++ +"\t"+ monthlyPayment + "\t"+df.format(amount));

    }

    System.in.skip(System.in.available());

    System.out.println(("This Page Is Complete Press [ENTER] to Continue"));

    System.in.read();

    }

    }

    }

    1 AnswerProgramming & Design1 decade ago
  • JAVA programming question and problem. Help Please!?

    Hi Everyone,

    I designed my JAVA programming with the following from a previous assignment and was told it did not execute, but when I ran it in JAVA it was fine. I now have to add the following:

    Write the program in Java (without a graphical user interface) using a loan amount of $200,000 with an interest rate of 5.75% and a 30 year term. Display the mortgage payment amount and then list the loan balance and interest paid for each payment over the term of the loan. If the list would scroll off the screen, use loops to display a partial list, hesitate, and then display more of the list. I also have to show a flow chart on how it works and I AM REALLY LOST.

    HERE IS MY PREVIOUS CODE:

    public class MortageCalculator {

    public static void main(String [] args) {

    //declare variables

    double interestRate=.0575;

    int amount=200000;

    int term=30;

    double monthlyInterestRate=interestRate / 12;

    int totalMonths=term * 12;

    double payment=amount * (1-(Math.pow((1+monthlyInterestRate ),(-totalMonths))));

    //display payment amount

    System.out.println("The monthly payment for your mortage is" + payment);

    }

    }

    ANY HELP IS APPRECIATED!! THANKS

    2 AnswersProgramming & Design1 decade ago
  • JAVA programming code writing question?

    Ok , I am doing an assignment for a mortgage calculator in JAVA. The assignment is to write the code first, then enter into JAVA to execute. I am all new to this so......Here is my code and it will not execute. I am lost as lost can be. Any help will be appreciated.

    public class MortageCalculator {

    public static void main(String [] args) {

    //declare variables

    double interestRate=.0575;

    int amount=200000;

    int term=30;

    double monthlyInterestRate=interestRate / 12;

    int totalMonths=term * 12;

    double payment=amount * (1-(Math.pow((1+monthlyInterestRate ),(-totalMonths))));

    //display payment amount

    System.out.println("The monthly payment for your mortage is" + payment);

    }

    }

    Here is the info:

    Formula for mortgage payment calculation:

    a = [P(1 + r)nr]/[(1 + r)n - 1] -- where P is the principal amount, r is the interest rate and n is the term in years.

    Formulas to calculate the monthly payment and balance:

    interestRate = .0575;

    amount = 200000;

    term = 30;

    monthlyInterestRate = interestRate / 12;

    totalMonths= term * 12;

    payment = amount * monthlyInterestRate / (1-(Math.pow((1+monthlyInterestRate ),(-totalMonths))));

    Formulas to calculate the amortization:

    interestPaid = loanBalance * montlyInterestRate;

    principalPaid = payment - interestPaid;

    loanBalance = loanBalance - principalPaid;

    //loanBalance is a running number, the initial value is equal to amount

    2 AnswersProgramming & Design1 decade ago
  • ATT DSL Modem Replacement?

    I have a SIEMENS Speed stream 4100 I got free from ATT three years ago. It finally bit the dust. ATT states I have to buy a replacement. Can I buy one from any store or online instead of ATT? I only have DSL, but the prices on the ATT page are very high. Thanks.

    3 AnswersOther - Hardware1 decade ago
  • Layoff Protection Insurance?

    Does anyone know where you can purchase layoff protection insurance or some sort of policy to handle the bills if you are laid off? I know Paycheck Guardian used to issue policies but they have stopped selling them. I would figure this would be a lucrative business at this point in time.

    3 AnswersInsurance1 decade ago
  • SQL Syntax Error 2008 Studio Management?

    I am using the following code:

    CREATE INDEX EmpLastNameIndex

    ON Employee (LastName)

    SELECT * FROM Employee

    WITH (INDEX(EmpLastNameIndex))

    DROP INDEX Employee.EmpLastNameIndex

    CREATE TABLE Orders

    (OrderID INT PRIMARY KEY,

    EmpID INT,

    Notes CHAR(128)

    FOREIGN KEY (EmpID)

    REFERENCES dbo.Employee(EmpID)

    ALTER TABLE Emps

    ADD Cost2 money NOT NULL DEFAULT(0)

    and I receive the following error:

    Msg 156, Level 15, State 1, Line 16

    Incorrect syntax near the keyword 'ALTER'

    I cannot figure out what I am missing? Any help please?

    1 AnswerOther - Computers1 decade ago
  • SQL Error MS 2008 Server Management Studio?

    I am using the following code:

    CREATE INDEX EmpLastNameIndex

    ON Employee (LastName)

    SELECT * FROM Employee

    WITH (INDEX(EmpLastNameIndex))

    DROP INDEX Employee.EmpLastNameIndex

    CREATE TABLE Orders

    (OrderID INT PRIMARY KEY,

    EmpID INT,

    Notes CHAR(128)

    FOREIGN KEY (EmpID)

    REFERENCES dbo.Employee(EmpID)

    ALTER TABLE Emps

    ADD Cost2 money NOT NULL DEFAULT(0)

    and I receive the following error:

    Msg 156, Level 15, State 1, Line 16

    Incorrect syntax near the keyword 'ALTER'

    I cannot figure out what I am missing? Any help please?

    2 AnswersProgramming & Design1 decade ago
  • Should I get rid of my car?

    ok, I have been thinking? I bought a new car about 4 months ago. It was at 0% interest for 5 years and I owe about 27k on it. I like the car, but I have been in this bill paying mode for a while. I have knocked out almost all of my credit cards and working on student loans. My idea is to get a car around $7-8k that is used. I found the perfect one with almost 100,000 miles on it, but the price is right. Am I foolish for thinking about this? I keep thinking in my head it is better to have $7k then 27K owed. I will probably be $4-5k in the hole on the new car which I will pay. I am just trying to be debt free and this seems like a quick way with the economy and such. Any thoughts. I know a car with that mileage can be risky, but carfax comes back clean and it had one owner?? Mechanic says its a great car. I can always get an extended warranty. 10% says idiot and 90% says the less you owe better.

    5 AnswersBuying & Selling1 decade ago
  • Dell XPS 730X Overclock Configuration Opinion Needed?

    I was hoping to get some advice on my overclock. I have a i7 2.6ghz overclocked to 3.2ghz. Memory is 1066mhz overclocked to 1280mhz. Everything runs fine and I did a prime 95 test and the temps got to 89C under 100% load. I think they may be too high. What on my settings would lower the temp? I hate to repalce the cooler as it is a huge aftermarket that Dell provided when they built the 730X. If my settings look good, then let me know. If not please recommend any changes. :

    Overclock Configuration

    CPU BClk (mhz) -160

    Spread Spectrum -Enabled

    Adjust PCI Freq -Auto

    Adjust PCI-E Freq -100

    Intel Turbo Mode Tech -Enabled

    Overvoltage Configuration

    CPU Temperature Sensor - 43 C/ 109F when idle.

    V core -1.296 V

    Dynamic CPU Vcore Offset - +20mv

    DDR3 Memory Voltage -1.65v

    IOH Voltage - 1.10v

    QPI and uncore voltage - Default

    Advance DRAM Config

    7 Dram Clocks

    trcd-7 dram

    trp-7 dram

    tras-20 dram

    trfc-59 dram

    twr-8 dram

    twtr-4 dram

    trrd-4 dram

    trtp-4 dram

    1T/2T-2T

    CPU Speed 3.2ghz (160x20)

    Memory Speed 1280mhz (160x8)

    Current QPI Speed 5.760gt

    QPI Frequency-Auto

    Memory Ratio 8

    CPU Core (non-turbo) Ratio-20

    2 AnswersDesktops1 decade ago
  • SLI Graphics Card Question?

    Can you combine an overclocked GTX 285 with a regular GTX 285 in SLI? the only difference is the clock speed. The OC is 680mhz and the regular GTX 285 is 648mhz. They are the same card, just different clock speeds?

    3 AnswersDesktops1 decade ago