blob: 3e75fcd2e8fd3dfe46787e63b1cd1a56e4a22fbe (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Given that
p1 = 5 //in kg.m/s
d1 = 2.0 //in meter
p2 = 2 //in kg.m/s
d2 = 4.0 //in meter
//Sample Problem 12-4
printf("**Sample Problem 12-4**\n")
L = p1*d1 - p2*d2 //the direction of L2 is opposite to L1
printf("The net angular momentum of the two particle system is %dkg.m/s^2", L)
|