Numerical Control(NC): Numerical Control(NC) is a method of controlling the…