You will write three functions for green tools: the rain a roof can collect, the NDVI of a patch of land, and the payback time of a solar roof.
The idea. Litres area rainfall in mm the share collected. NDVI . A solar roof makes about a day for each kW, and the payback time is the cost divided by the yearly saving.
Your tasks.
roof_litres, return the litres collected from area square metres, rain_mm of rain and a share c.ndvi, return the NDVI for the reflected shares nir and red.payback, return the payback time in years for a cost in rupees, a size of kw and a price in rupees for each kWh.Run your code once to unlock the worked solution.
Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…