
If you have a function of a single variable defined, say f and you wish to take the derivative of of f all you need to type is f ‘ and press shift+enter. Part is the same as expression]įor example, if a, b, and x are specific real numbers, then the expression Not and False otherwise. The command, Part, can be used to extract any sub-expression from a function. Is used to refer to the output of the two previous commands Is used to refer to the output of the previous command line The following commands and syntax are very helpful to solving algebraic and differential equations using Mathematica.
Return to the main page for the course APMA0340īefore using variables in Mathematica, it's always a good idea to quit the Kernel or to use the Clear command to make sure your variables don't have any old meanings attached to them: Return to the main page for the course APMA0330 Return to Mathematica tutorial for the second course APMA0340 Return to Mathematica tutorial for the first course APMA0330 Return to computing page for the second course APMA0340 Return to computing page for the first course APMA0330
Laplace transform of discontinuous functions. Picard iterations for the second order ODEs. Series solutions for the second order equations. Part IV: Second and Higher Order Differential Equations. Numerical solution using DSolve and NDSolve. Part III: Numerical Methods and Applications. Equations reducible to the separable equations. The Primary Course by Vladimir Dobrushkin, CRC Press, 2015 This tutorial is accredited appropriately. The right to distribute this tutorial and refer to this tutorial as long as You, as the user, are free to use the scripts for your needs to learn the Mathematica program, and have While Mathematica output is in normal font.įinally, you can copy and paste all commands into your Mathematica notebook, change the parameters, and run them because the tutorial is under the terms of the GNU General Public License The Mathematica commands in this tutorial are all written in bold black font, It is primarily for students who have very little experience or have never used Mathematica and programming before and would like to learn more of the basics for this computer algebra system.Īs a friendly reminder, don't forget to clear variables in use and/or the kernel. This tutorial was made solely for the purpose of education and it was designed for students taking Applied Math 0330.