summaryrefslogtreecommitdiff
path: root/1436/CH2/EX2.11/ex2_11.sce
blob: d74df0f83ab833c9a66ac3c0657c17c8441eadc8 (plain)
1
2
3
4
5
6
7
8
9
// Example 2.11, page no-121
clear
clc

A=1
p1=10
W1=A*p1
printf("W1 = %d kg",W1)
printf("\nWith the 4 standard weights of 10kg, 20kg, 30kg and 40kg  ")