The code I tried is as follows:
import matplotlib.pyplot as plt import numpy as np #to store coordinates of trochoid x=list() y=list() #to store the coordi