Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class App {
- // Main
- public static void main (String[] args){
- Polar pol = new Polar(2 * Math.sqrt(2), Math.PI/4);
- Rectangular rect = new Rectangular(5, 5);
- Polar result = pol.multiplyPolRect(pol, rect);
- System.out.println("Result r = " + result.r);
- System.out.println("Result argument = " + result.arg);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement