//Loss in K.E. uAX=7.79 //m/sec uBX=-6 //m/sec vAX=-5.31 //m/sec vBX=7.104 //m/sec //mass of the ball m m=10/9.81 //Loss of K.E. loss=(10*((7.79^2)+(6*6)-(5.31*5.31)-(7.104*7.104)))/(2*9.81) //J printf("\nLoss of K.E.=%.3f J",loss) //The answer provided in the textbook is wrong