[1] 1000
[1] 1035
[1] 2035
[1] 35
[1] 742775
The following code estimates the total net primary productivity (NPP) per day for two sites. It does this by multiplying the grams of carbon produced in a single square meter per day by the total area of the site. It then prints the daily NPP for each site.
Copy this code into your assignment and then add additional lines of code to do the following steps and print them out after the daily NPP values (the ones currently printed by the code):
[1] 1000
[1] 1035
[1] 2035
[1] 35
[1] 742775