summaryrefslogtreecommitdiff
path: root/608/CH1/EX1.02/1_02.sce
blob: 7bd5e03b567ef8d1291163f7b824dbd30a969bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Problem 1.02: A mass of 5000 g is accelerated at 2 m/s2 by a force. Determine the force needed.

//initializing the variables:
M = 5; // in Kg
a = 2; // in m/s2

//calculation:
F = M*a

printf("\n\nResult\n\n")
printf("\nForce: %.0f Newton(N)\n",F)