0.86/Calculate

From Sugar Labs
Jump to navigation Jump to search

Calculate

Introduction

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

More Info: Activities/Calculate

What is new for users

There is a new toolbar design. The plot, degree/radians, scientific notation, and precision buttons are always visible (as well as the Stop Button). The activity toolbar is used to name the session, save a version, and share. Calc-activity.png

The edit toolbar is used for copy and paste
The function toolbar is used for common functions such as square and square root
The constants toolbar is used for contants such as pi and e
The trig toolbar is used for trigonometry functions: sin. cos, etc.
The boolean toolbar is used for operators: and, or, and not

31

  • Improve toolbar design (Gary C. Martin)
  • Add some constants (Gary C. Martin)
  • Parser improvements

30

  • Add support for matplotlib as plotting backend
  • Add support for complex plot ranges, e.g. -2*pi..2*pi
  • Fix superscript display bug

29

  • Fix plotting of functions
  • Fix parsing of (in)equalities
  • Fix toolbar button issues

What is new for developers

What might be interesting to know for a developer contributing to the component. Add 'No News' if there is nothing of interest.

Internationalization (i18n) and Localization (l10n)

Will be generated by the translation team

Compatibility

Note here if compatibility to an older version of the activity or an older Sucrose version (e.g. 0.84) broke

Detailed changes

  • New toolbar design
  • Add support for matplotlib as plotting backend
  • Add support for complex plot ranges, e.g. -2*pi..2*pi
  • Fix superscript display bug
  • Fix plotting of functions
  • Fix parsing of (in)equalities
  • Fix toolbar button issues

Open tickets

  • #346 Calculate does not function properly at non-XO screen resolutions
  • #383 Review Calculate Tickets still in OLPC Trac
  • #515 Factorial and boolean equality not working
  • #845 Issues in calculator
  • #1111 trig functions in Calculate ignoring deg setting
  • #1332 Provide alternate number base display support in Calculate

Credits

Gary C. Martin, Reinier W. Heeres