Difference between revisions of "Activities/Calculate"

From Sugar Labs
Jump to navigation Jump to search
(index, plot)
Line 10: Line 10:
  
 
  plot(sin(x), x=0..2*pi)
 
  plot(sin(x), x=0..2*pi)
 +
 +
==Resources==
 +
 +
* Trac Tickets: [http://trac.sugarlabs.org/query?status=accepted&status=assigned&status=closed&status=new&status=reopened&groupdesc=1&group=milestone&component=Calculate&order=priority&col=id&col=summary&col=status&col=owner&col=type&col=priority&col=version&col=severity&col=resolution&col=status_field&col=reporter&col=time&col=changetime Sugar Labs] [http://dev.laptop.org/query?status=assigned&status=closed&status=new&status=reopened&groupdesc=1&group=milestone&max=150&component=calculator-activity&order=id&col=id&col=summary&col=status&col=owner&col=type&col=next_action&col=changetime OLPC]

Revision as of 13:26, 13 September 2009

The Calculate Activity is an infix-notation graphing calculator. Type an expression or select components from the toolbars, and press Return to evaluate it.

help(index)

gives a list of topics, mostly mathematical function names, but also including plot.

help(plot)

explains the syntax of the plot command for graphing an expression in a given range. For example,

plot(sin(x), x=0..2*pi)

Resources