4 ms·
I had a similar experience in university. I used to take advantage of our mathcad licence. If you specified units for the variables, you could identify mistakes
by jessekv 4y ago
I had a similar experience in university. I used to take advantage of our mathcad licence. If you specified units for the variables, you could identify mistakes in your equations and functions very quickly. For example, if you wanted meters, but you got m^(2/3), it was usually obvious where in the equation something went wrong.
Another bonus was I could focus on the equations and then output the final answer in either metric or franken-imperial, as the homework assignment required (I did my undergrad in the US.)
- sidpatil 4y ago> If you specified units for the variables, you could identify mistakes in your equations and functions very quickly. For example, if you wanted meters, but you got m^(2/3), it was usually obvious where in the equation something went wrong. You can take it even one step further and write tests to check the resulting units for you.
- jessekv 4y agoAh, yes, unit-unit tests. But seriously, I am planning some numerical modelling experiments, and am considering Juila partially because Unitful.jl. Can you recommend it?