2. One 1.0-kg paing bucket is hanging by a massless cord from another 2.5-kg paing bucket, also hanging by a massless cord, as shown in the figure.

a. (10 points)

If the buckets are at rest, what is the tension in each cord.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

b. (15 points)

If the two buckets are pulled upward with an acceleration of 2.0 m/s2 by the upper cord, calculate the tension in each cord.