public class Trekant2 { public static void main(String[] arg) { double a, v, hypotenuse; a = 10; v = 0.3; // svarer til ca. 34 grader. hypotenuse = a/Math.sin(v); System.out.println("Hypotenusen har længden: "+hypotenuse); } }