Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

All published worksheets from http://sagenb.org

189887 views
ubuntu2004

Section 2.2

Sage Tool 1

This Sage file is configured for use as a simple graphing tool.

Define the function ff to be graphed, the center point cc of the domain, and the width ww of the interval.  You can zoom in or out by changing the value of ww.

var('t') @interact def _(f=4.90*t^2,c=2,w=10): g=str(f).strip('*') html('f(t) is $%s$'%g) html('c is %s'%c) html('w is %s'%w) show(plot(f,c-w/2,c+w/2))