Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in) | :: | W_ | Weight of the object (kg) |
||
real, | intent(in) | :: | lc_ | length of the cable (m) |
||
real, | intent(in) | :: | lp_ | Length of the pole (m) |
||
real, | intent(in) | :: | d_ | Distance to attach the weight (m) |
Tension in N
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in) | :: | P1_ | |||
real, | intent(in) | :: | P2_ |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | m1 | mass of body 1 in kg |
||
real(kind=real64), | intent(in) | :: | m2 | mass of body 2 in kg |
||
real(kind=real64), | intent(in) | :: | r | distance between bodies in meters |
Gravitational force