Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168733
Image: ubuntu2004

Using Sage Functions

If you want to try a function, but can't think of what it is called or how to use it, type a few letters and press [tab]

x = 20117 x.fac

You can do the same with functions.

Let the Sage know what your variable is, and write the function:

t = var('t') #so Sage knows 't' is the variable

Now we can let f be a function in with variable t!

f = t^2 + t + 1

Now you can do more!  Try plotting the function.


Hint: f.p[tab]

f
t^2 + t + 1

What does f equal when t = 0?

Add this to the worksheet number twice to go to the next worksheet!