Batch Simulation_2

We have introduced Batch Simulation for variables in Batch Simulation_1. File and string for Batch Simulation will be introduced in this…