1 2 3 4 5
//Finding T and R //applying Lami's Theorem we get T=(100*sind(90))/sind(90+15) //N R=(100*sind(180-15))/sind(90+15) //N printf("\nThe required values are:-\nT=%.1f N \nR=%.1f N",T,R)