Checkpoint 2.5.1. Illustration of Chain Rule.
Suppose for every shovel full of coal a steam engine produces 1000 psi, and for every 2000 psi the train travels one mile.
- What is the rate of psi to coal?
- What is the rate of miles to psi?
- What is the rate of coal to miles?
- Write a function that outputs psi given number of shovels of coal.
- Calculate the derivative of this function.
- Write a function that outputs miles given psi.
- Calculate the derivative of this function.
- Write a function that outputs miles given number of shovels of coal using the previous two functions.
- Calculate the derivative of this function.
Solution.
- What is the rate of psi to coal?
- What is the rate of miles to psi?
- What is the rate of coal to miles?
- Write a function that outputs psi given number of shovels of coal.
- Calculate the derivative of this function.
- Write a function that outputs miles given psi.
- Calculate the derivative of this function.
- Write a function that outputs miles given number of shovels of coal using the previous two functions.
- Calculate the derivative of this function.