
Of course not all integrals can be evaluated… But definite integrals can always be evaluated numerically.
Another very useful application is to take limits and Taylor series expansions of functions
Here, the ‘expr(%) gets rid of the funny O(x
6
) that denotes how many terms were included in the series –
this can be useful if you want to substitute the Taylor expansion into another equation later.
Mupad will also sum series for you – but we won’t need that much in EN40. You can explore it for
yourself if you are curious.
10. Solving differential equations
Mupad can also solve differential equations – both analytically, and numerically (but in this course we
will use MATLAB whenever we want a numerical solution). For example, let’s solve the differential
equation from the MATLAB tutorial:
given that
at time t=0.
Commentaires sur ces manuels