// Example 3.2, page no-163 clear clc m1=50 g1=9.8 W2=m1*g1 printf("W = %d Newtons = %d kgf",W2,m1)