blob: 1683b56a6db606d3929751b69aaac9f38958f622 (
plain)
1
2
3
4
5
6
7
8
|
// Initilization of variables
W=1000 // N // weight to be raised
// Calculations
// From the Principle of virtual work,
P=W/2 // N
// Results
clc
printf('The value of force (i.e P) that can hold the system in equilibrium is %f N \n',P)
|