Código:
package senocoseno;
public class SenoCoseno {
public static void main(String[] args) {
System.out.println("Seno de 90 = " + java.lang.Math.sin(90));
System.out.println("Coseno de 90 = " + Math.cos(90));
}
}
Resultado:
run:
Seno de 90 = 0.8939966636005579
Coseno de 90 = -0.4480736161291701
BUILD SUCCESSFUL (total time: 0 seconds)
;/
ResponderEliminar