Two points to be noted are in step E, where all seven input parameters, including…