This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Inputs = JOptionPane.showInputDialog(null, "Enter the number of terms to depict how accurate: " ); n = Integer.parseInt(Inputs); Sin2 = new Sin(); Sin2.setSin(x, n, 0.0, 0, 0); Sin1 = Sin2.getSin(); JOptionPane.showMessageDialog(null, Sin1); } }...
View Full Document
This note was uploaded on 05/01/2008 for the course ECE 172 taught by Professor Olabe during the Spring '08 term at Christian Brothers.
- Spring '08