1 2 3 4 5 6 7 8 9 10 11
//Chapter 1 //Example 1.5 //Page 23 clear; clc; K=2; //Calculation of mass in kg of 2 lb object printf("As 1 lb=0.454 kg Therefore we have \n m=%.3f kg",K*0.454);