Controlling the motion of the trunk lid of a car
Objective: NOTE: Here 2 cases are discussed, 1). If we want the trunk lid to stop and not move after the first contact with the trunk 2). If we want the trunk lid to return back after stopping at the first contact with the trunk. For this simulation, it is important to know at which point of time and in what orientation the trunklid…