A solar power system design tool calculates the required component sizes. For every 1 m2 of solar panel area installed, the system produces 0.25 kW of peak electrical power. To ensure safety, the system requires a minimum inverter capacity (in kW\text{kW}kW) that is at least 1.15 times the peak electrical power.
The first line of the algorithm is shown below, where the user enters the installed panel area:
panel_area←USERINPUT \text{panel\_area} \leftarrow \text{USERINPUT} panel_area←USERINPUTWhich of the following lines of code correctly calculates the required minimum inverter capacity, to be stored in the variable inverter_capacity\text{inverter\_capacity}inverter_capacity?
inverter_capacity←panel_area×0.25×1.15\text{inverter\_capacity} \leftarrow \text{panel\_area} \times 0.25 \times 1.15inverter_capacity←panel_area×0.25×1.15
inverter_capacity←panel_area×0.25\text{inverter\_capacity} \leftarrow \text{panel\_area} \times 0.25inverter_capacity←panel_area×0.25
inverter_capacity←panel_area×1.15\text{inverter\_capacity} \leftarrow \text{panel\_area} \times 1.15inverter_capacity←panel_area×1.15
inverter_capacity←USERINPUT×0.2875\text{inverter\_capacity} \leftarrow \text{USERINPUT} \times 0.2875inverter_capacity←USERINPUT×0.2875