Active Topics

 



Notices


Reply
Thread Tools
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#1
"Limit" is an easy to use free and open-source application to calculate mathematical limits with many features (depending on the version) :
* symbolical and numerical calculation with arbitrary number of digits;
* 5 simplification methods for non-numerical results;
* option to show the calculation time;
* option to show the not calculated limit before the result;
* result with zoom levels and different colors;
* 7 output types : simple, bidimensional, typesetting, LaTeX, MathML, C and Fortran;
* copy&paste available in all entry fields and also in the result, allowing copying the result to anywhere;
* history and line completion editing in the expression.

See the "Limit" web site : http://www.robertocolistete.net/limit/.

"Limit" runs on :
- Sailfish OS with Python 3.4, SymPy 0.7.5 and Qt5/PyOtherSide (released in 16/05/2014 at OpenRepos.net);
- MeeGo Harmattan with Python 2.6, SymPy 2.7.3 and Qt4/PySide, a public release is almost ready, with many advanced features (pinch to zoom, landscape/portrait mode, examples for input fields, etc).
- Maemo 5 (Nokia N900) and Maemo 4 (Nokia N800/N810, etc) or any smartphone/tablet/computer where Python 2.x, SymPy and PyQt4 are available;

SymPy is a computer algebra system (CAS) written in pure Python, it is free and open source project, see http://sympy.org/. SymPy version 0.7.3 (14/07/2013) is available for Maemo 4 (Diablo) and Maemo 5 (Fremantle), and SymPy 0.7.5 for Python 2.7 and Python 3.x is available on Sailfish, see the SymPy thread in Talk Maemo.org.


Screenshots of Limit

On Sailfish :


On Maemo 5 :


On Maemo 4 :


On Maemo 5 :


Installing Limit on Sailfish

Limit for Sailfish OS uses Python 3 and PyOtherSide, so you need Sailfish v1.0.3.8 (31/01/2014) or newer (so they are in the official Jolla repositories).

Install Warehouse (OpenRepos.net client) for Sailfish OS, see the Jolla Tides guide with screenshots.
Then open Warehouse, search for "Limit", enable the repository, then install it.

Limit takes only 0.4 MB after installation, but its dependency (which is automatically installed) "python3-sympy" (SymPy), if not installed, takes approx. 30 MB. Python 3 and PyOtherSide will also be installed if not already installed.

Installing Limit on Maemo 4 & 5

(23/10/2011)
Limit v1.0.0 is available for Maemo 4 (Diablo) is in extras repository as well as Maemo.org Downloads, for Maemo 5 (Fremantle) in the extras repository and Maemo.org Downloads :
* 1st public release for Maemo 4 Diablo and Maemo 5 Fremantle on extras-devel/extras-testing/extras repository;
* using SymPy 0.7.1 (07/2011);
* time to load is approx. 15 seconds on Nokia N810 and 6 seconds on Nokia N900 @ 600 MHz.

Python, PyQt and SymPy will also be installed if not installed before.

"Limit" is small (42 KB) but it installs "SymPy" (about 18.5 MB after install, with .pyc compiled Python files). "Limit" and "SymPy" are optified on Maemo 5.

On Maemo 4 (Diablo) "Limit" and its dependencies take about 40 MB after install :
* SymPy (about 18.5 MB);
* python2.5-dev for SymPy, about 15 MB after install;
* "ttf-dejavu" (7,7MB after install) font because the Monospace font on Maemo 4 lacks many mathematical symbols for bidimensional output, so DejaVu Sans Mono is used.

For Maemo 5 users, please help promote "Limit" (v1.0.0 promoted in 23/11/2011) to extras repository by voting in :
Limit 1.0.0-1fremantle1

See also "Integral" and "Derivative" for Maemo 4 & 5 & Sailfish, which calculate mathematical integrals and derivatives.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.

Last edited by rcolistete; 2014-05-23 at 02:29. Reason: Limit for Sailfish released
 

The Following 14 Users Say Thank You to rcolistete For This Useful Post:
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#2
This v1.0.0 of "Limit" is simpler than "Integral" and "Derivative", but the next version(s) will have new modes (continuity test and smoothness test) besides limit calculations.

Maemo 5 (Fremantle) users will have in v1.1 nicer bidimensional output due to the use of DejaVu Sans Mono font (which is better for mathematical symbols), but I need to release the DejaVu Sans font as a package for Maemo 5. This font is available on Limit v1.0 for Maemo 4 (Diablo) because the package already exists on Maemo 4.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 

The Following User Says Thank You to rcolistete For This Useful Post:
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#3
Corrected the time to open Limit on Maemo 5 (Nokia N900), about 6 s instead of 22 s. It is faster due to byte compiling of Python files of last SymPy package version.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 

The Following User Says Thank You to rcolistete For This Useful Post:
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#4
"Limit" calculates the bilateral limit but SymPy does just limit from the left or right. So for bilateral limit, limit from both directions are calculated and compared, if equal the bilateral limit exists or else does not exist. So this explain the bilateral limit calculation takes more time (i.e., double) than from the left or right.

SymPy sintax for limit of 1/x when x approaches 0 from the right (default direction) :
>>> limit(1/x,x,0)
>>> limit(1/x,x,0,dir='+')
which is infinity. From the left :
>>> limit(1/x,x,0,dir='-')
yields - infinity.

Using SymPy directly is useful when a sequence of calculations is needed. Because "Limit" is restricted to just calculate limits with many simplify, output, etc, options.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.

Last edited by rcolistete; 2011-11-12 at 11:41. Reason: Comment about SymPy x Limit
 

The Following User Says Thank You to rcolistete For This Useful Post:
Straycat's Avatar
Posts: 218 | Thanked: 59 times | Joined on Feb 2010 @ spain
#5
Many thanks!

Keep excellent work.
__________________
God Bless The Blues!!
 

The Following User Says Thank You to Straycat For This Useful Post:
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#6
Limit is now promoted to extras repository, thanks for the votes.

It is also visible in Maemo.org Downloads.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 

The Following 2 Users Say Thank You to rcolistete For This Useful Post:
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#7
Some teasing to show what 2012 will bring to the Maemo & MeeGo community.

Limit running at Nokia N810, N900 and N9 :


Limit for MeeGo 1.2 Harmattan (Nokia N9/N950) is being cooked, with nice features like :
- fast, fast, fast;
- portrait & landscape modes;
- pinch to zoom for result field;
- history in all entry fields;
- dark theme;
- all of Maemo 4/5 features when possible.

When ready I will announce Limit here. Then the next will be Integral and Derivative (for Harmattan).

Happy New Year !
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.

Last edited by rcolistete; 2011-12-31 at 22:41.
 

The Following User Says Thank You to rcolistete For This Useful Post:
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#8
Originally Posted by rcolistete View Post
Future versions will use PySide and QML.
Just curious: what is the situation of this?
 
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#9
Originally Posted by qgil View Post
Just curious: what is the situation of this?
The UI of Limit is totally rewritten in Qt Quick/QML, see post #7 for details. But I am adding Integral + Derivative + Limit + python-sympy to have Calculus as one single installation in "/opt/Calculus" (satisfying Nokia Store requirements).

I have to create an Harmattan icon (a lot different from Maemo 4 & 5 ones as it is in svg), the .deb and add Integral + Derivative UI features (which shares code with Limit UI).

I expect next week to post here a beta Calculus.deb with most features implemented.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.

Last edited by rcolistete; 2012-06-01 at 02:53. Reason: Typo fixed
 

The Following 2 Users Say Thank You to rcolistete For This Useful Post:
Posts: 34 | Thanked: 7 times | Joined on May 2012
#10
Applications like MathJinni...Qalculette..qbc are also equally good....
mathjinni even plots a graph for you
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:19.