Write a simple Java application which calculates the RC time constant in a simple RC circuit. Your application should ask the user to enter the capacitor and resistor values of the circuit. You must use the JOptionPane class to collect the user's input. The capacitor and resistor values should be treated as floating point values. Calculate the time constant in seconds: tc = capacitor (in farads) * resistor (in ohms). You must use the JOptionPane class to output the result. Your output must show four digits after the decimal point and contain explanatory text. Make sure you remember to import what your program will use.

 

 

    • 9 years ago
    Complete A++ Solutions
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      rctime.zip