public class ComputeThis {
public static void main(String[] args) {
double d1 = 3*Math.PI*Math.sin(3.26377)+ Math.abs(Math.cos(2.1293));
double d2 = ((14.72)*3.801)+(Math.log(72));
double surfaceArea = (2*Math.PI*2*5) + (2*Math.PI * (2*2));
double volume = Math.PI * (2 * 2) * 5;
System.out.println(d1);
System.out.println(d2);
System.out.println("\\The volume and surface area of a cylinder with radius of 2 feet and height of 5 feet.");
System.out.println(volume);
System.out.println(surfaceArea);
}
}
I hope this helps!