first commit

This commit is contained in:
2022-12-07 10:06:14 +01:00
commit 7acee63be6
40 changed files with 433 additions and 0 deletions

BIN
EidP/Ueb04/dose.class Normal file

Binary file not shown.

22
EidP/Ueb04/dose.java Normal file
View File

@@ -0,0 +1,22 @@
import java.util.*;
class dose{
public static void main(String args[]){
double radius = Double.parseDouble(args[0]);
double hoehe = Double.parseDouble(args[1]);
final double pi = Math.PI;
double umfang = 2*pi*radius;
double deckelflaeche = pi * radius * radius;
double mantelflaeche = umfang * hoehe;
double oberflaeche = 2*deckelflaeche + mantelflaeche;
double volumen = deckelflaeche*hoehe;
System.out.println("Umfang"+umfang+"deckelflaeche"+deckelflaeche+"mantelflaeche"+mantelflaeche+"oberflaeche"+oberflaeche+"volumen"+volumen
);
}
}