1 2 3 4 5 6 7
// 2.4 clc; T=100; G=80*10^9; d=2*15*10^-3; th=16*T/(%pi*G*d^3) printf("Angle of twist= %.6f rad",th)