Search Results<span>Use BFS to determine the length of the shortest v-w-path. Then use DFS to find thenumber of the v-w-shortest paths such that two nodes are connected and the length of path equals to the output of BFS. But the running time of this plan is O(m+n)+O(m+n). Also I've tried to modify the Dijkstra algorithm.</span>
ans will be 1500006.15
= 1.5*10^6
we move the decimal point to the left six digits
Answer:
Counterclockwise
Explanation:
We need to calculate the clocwkise and the counterclockwise torque.
The clockwise torque is the one generated by the child sitting on the right. This torque is given by:

where
is the force exerted by the child (his weight)
d = 1.8 m is the distance from the pivot point
So, the clockwise torque is

The counterclockwise torque is the one generated by the adult pushing on the left, and it is given by

where
F = 151 N is the force applied
d = 3.0 m is the distance from the pivot
Substituting,

So, the net torque is

And since the counterclockwise momentum is greater than the clockwise one, the teeter-totter will rotate counterclockwise.