in case (B) and case (A) will be: (g=10ms^−2)