IIT JEE Preparation| Classic Problem based on Mechanical Energy Conservation : Fits to any type