Plotting with Hatlab
The brain likes seeing things. Let’s give it a good looking reward!
We’ll now make combined use of all of our nice functions. simplify
, derive
, integrate
, eval
, and show
, all together: the most ambitious crossover event in history!
First, we create some function expressions ready to be show
n and eval
uated.
Then, we define a helper function to plot a list of function expressions with Hatlab.
Now try it for yourself! Let’s see the fruits of our labour!
For fun, we can also plot the same functions but using our approximative functions for differentiation and integration
Then plot with
Waddaya know! They look identical! I guess it just goes to show that a good approximation is often good enough.
If we turn down the precision, we start to notice the errors