Category Archives: Sage

Sage code for trigonometric forcing

Posted in Differential equations, Sage, Uncategorized | Leave a comment

Sage: Eigenstuff

This help sheet is very useful! Suppose we want to find the eigenvalues and eigenvectors of the matrix We can find the eigenvalues using A list of eigenvalues, with corresponding eigenvectors and multiplicities, is obtained from The code produces two … Continue reading

Posted in Sage, Uncategorized | Leave a comment

Sage: Numerically solving differential equations

Euler’s method by hand We can easily make Sage do the computations in Euler’s method. Here I explain how to build code to analyze the initial value problem First we define variable and also the function that determines the right … Continue reading

Posted in Sage, Uncategorized | Leave a comment

Sage: Parametric curves and vector fields

This is one in a series of posts containing short snippets of Sage code for my students to use: see my page on Sage. Vector fields can be plotted using the vector_field command: Sometimes it is convenient to plot the … Continue reading

Posted in Sage, Uncategorized | 1 Comment

Sage: plotting functions

This is one in a series of posts containing short snippets of Sage code for my students to use: see my page on Sage. Plotting a single function Simple plotting of functions can be done with the plot command: A … Continue reading

Posted in Sage, Uncategorized | Leave a comment

Sage: Basics – computation, functions, calculus 1

This is one in a series of posts containing short snippets of Sage code for my students to use: see my page on Sage. Basic computations can be done by simply entering in the expression you want to evaluate. For … Continue reading

Posted in Sage | Leave a comment

First steps with Sagemath

I am spending some time this summer playing around with Sagemath. The hope is that I can learn it well enough to use it in my differential equations course in the near future. In this post I list some resources … Continue reading

Posted in Sage, Uncategorized | Leave a comment