Week 2- 2R Robotic Arm Challenge
Objective: Simulation of 2R robotic arm:Let l1 be the length of the first arml2 be the length of the second arm and the dimensions are defined in the code.The first arm is fixed to the ground and its co-ordinates be (0,0). i.e x0=0, and y0=0.Let the end co-ordinates of the first arm be x1 and y1 as defined in the code.The starting…