The following diagram is the schematic diagram of variable power supply which will deliver 0 to 28V output voltage at…