martes, 29 de septiembre de 2009

deber 4

TAREA 4
FOR
public class Funcion {public static void main(String args[]){
double j;
double s;
for(j=0;j<=10;j=j+0.1)
System.out.println("Sen "+j+" = " +Math.sen(j));
for(j=0;j<=10;j=j+0.1)
System.out.println("Cos "+j+" = " +Math.cos(j));
e=2.718;
System.out.println("s = 2.718");
for(j=0;j<=10;j=j+0.1)
System.out.println("s ^ "+j+" = " +(Math.pow(j,s)));
for(j=0;j<=10;j=j+0.1)
System.out.println("j”^ "+s+" * cos "+j+ " = " +(Math.pow(e,j))*(Math.cos(j)));
}
}

No hay comentarios:

Publicar un comentario