Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.math.*;
- class sample {
- public static void main(String s[]) {
- float w1=2250,w2=2750,sigma=6,c=5,torqe=420,g=84,t1;
- int t;
- String t2;
- System.out.println("\n\t\t Maths Calculation");
- System.out.println("\n\t\t Twisting Moment");
- t1=(w2*5)/2;
- t=(int)t1;
- t2=t+"d";
- System.out.println(t2);
- float inter=(float)(3.14/16)*torqe;
- System.out.println(inter);
- float d2=t/inter;
- System.out.println(Math.sqrt(d2));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment