Description Usage Arguments Examples
View source: R/fuel_requirement.R
Fuel required to launch a given module is based on its mass. Specifically, to find the fuel required for a module, take its mass, divide by three, round down, and subtract 2.
1 | fuel_requirement(mass)
|
mass |
A numeric vector |
1 | sum(sapply(day_1, fuel_requirement))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.