FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Forum index » Science and Technology » Math » Symbolic
An example of Mathematica on a PDA
Post new topic   Reply to topic Page 1 of 1 [9 Posts] View previous topic :: View next topic
Author Message
Dave (from the UK)
science forum addict


Joined: 12 Jan 2006
Posts: 76

PostPosted: Mon May 29, 2006 5:34 pm    Post subject: An example of Mathematica on a PDA Reply with quote

Here's a photograph of my PDA showing the result of a calculation
performed with Mathematica, where Mathematica runs on a remote UNIX
computer (not the PDA).

http://witm.sourceforge.net/screenshots.php

It's basically text based, but it is possible to get graphics with a bit
of effort. You plot the graph and save to a pdf file, then read the pdf
file with the browser. Here's a 3D plot, which was generated from a PDA.

http://witm.sourceforge.net/graph.pdf

There are *severe* security implications of using this

http://witm.sourceforge.net/security.php

so it is only suitable for your own personal computer, and not suitable
for more general use. There are also license issues with it, as your
license does not permit general access like that. So the web server
*must* be password protected.

More information at

http://witm.sourceforge.net/

There's a rather poor demo at

http://witm.sourceforge.net/witm.php

which uses the UNIX calculator 'bc' rather than Mathematica (for the
obvious security and legal reasons). When configured for Mathematica, it
is actually a lot more usable (this is not only since Mathematica is
more powerful, but for another reason too).

You can download the source files which allows this to work from

http://sourceforge.net/projects/witm

I could produce a better demo with Maxima rather than 'bc', but the GNU
lisp seems to be poorly written, so it will not easily compile on a Sun
(not tried a Linux box I must admit).

Despite me setting CC to Sun's compiler, and giving gcl the compiler
flags with CFLAGS, it decides to add in -Wall, as well as other gcc
specific compiler options. After switching my compiler to the slower
gcc, gcl then complains about my 'awk', despite the fact it found the
GNU version 'gawk'. I do wish developers would realise the world does
not end at Linux !!



--
Dave K MCSE.

MCSE = Minefield Consultant and Solitaire Expert.

Please note my email address changes periodically to avoid spam.
It is always of the form: month-year@domain. Hitting reply will work
for a couple of months only. Later set it manually.
Back to top
John ffitch
science forum beginner


Joined: 14 Nov 2005
Posts: 3

PostPosted: Tue May 30, 2006 10:54 am    Post subject: Re: An example of Mathematica on a PDA Reply with quote

.....we have REDUCE running on a router. Your point?
==John ff
Back to top
Dave (from the UK)
science forum addict


Joined: 12 Jan 2006
Posts: 76

PostPosted: Tue May 30, 2006 11:27 am    Post subject: Re: An example of Mathematica on a PDA Reply with quote

John ffitch wrote:
Quote:
....we have REDUCE running on a router. Your point?
==John ff

With so little detail from you, there is no point me commenting.

There have been a large amount of interest in accessing Mathematica from
smart phones and PDAs, so I thought that might be useful to some. If it
does not interest you, then I guess there is no point you downloading it.


--
Dave K MCSE.

MCSE = Minefield Consultant and Solitaire Expert.

Please note my email address changes periodically to avoid spam.
It is always of the form: month-year@domain. Hitting reply will work
for a couple of months only. Later set it manually.

http://witm.sourceforge.net/ (Web based Mathematica frontend)
Back to top
Martin Rubey
science forum beginner


Joined: 21 Mar 2005
Posts: 34

PostPosted: Tue May 30, 2006 11:57 am    Post subject: Re: An example of Mathematica on a PDA Reply with quote

If you have web access from your PDA or whatever, you might like the Axiom-Web
interface MathAction:

http://wiki.axiom-developer.org/FrontPage

It features REDUCE too, by the way.

(Do not hesitate to try it in the SandBox, i.e., in

http://wiki.axiom-developer.org/SandBox

Martin


"Dave (from the UK)" <see-my-signature@southminster-branch-line.org.uk> writes:

Quote:
I do wish developers would realise the world does not end at Linux !!

I believe that it's a problem to develop software for hardware or operating
systems you don't have. Concerning MS-Windows, it seems that developing is even
difficult in case you do have it...

Martin
Back to top
John ffitch
science forum beginner


Joined: 14 Nov 2005
Posts: 3

PostPosted: Tue May 30, 2006 12:01 pm    Post subject: Re: An example of Mathematica on a PDA Reply with quote

The detail is that we have full REDUCE running on an off-the-shelf
router. Tight but possible. I would have thought that a PDA should
be able to do most stuff alone. After all we had algebra systems on
76Kb MS-DOS machines.
==John ff
Back to top
Dave (from the UK)
science forum addict


Joined: 12 Jan 2006
Posts: 76

PostPosted: Tue May 30, 2006 12:36 pm    Post subject: Re: An example of Mathematica on a PDA Reply with quote

Martin Rubey wrote:
Quote:
If you have web access from your PDA or whatever, you might like the Axiom-Web
interface MathAction:

http://wiki.axiom-developer.org/FrontPage

It features REDUCE too, by the way.

(Do not hesitate to try it in the SandBox, i.e., in

http://wiki.axiom-developer.org/SandBox

Martin

I must be thick, but I can't work out how to use this. As an example, if
I wanted to compute sin(0.1), is there some way I can using that?

Quote:
I do wish developers would realise the world does not end at Linux !!


I believe that it's a problem to develop software for hardware or operating
systems you don't have.

But with a bit of effort they can get access to other hardware or
operating systems. But they need it to non GNU setups too.

For example, Sourceforge has a 'compile farm', where any Sourceforge use
can get access to a large range of machines (Suns, Linux, *BSD etc).

HP has its testdrive

http://www.testdrive.hp.com/

where I can get access to *BSD, HP-UX, Linux, OpenVMS and tru64.

Solaris is a free download, which will run on a 32 or 64-bit PC. It's
free even for commercial use. The same with Sun Studio 11 compiler. So
people could check compilation on a PC running Solaris with a Sun
compiler. But they don't bother, with many accepting if it works with
gcc, that is good enough. I've seen developers say they are happy if it
works with Redhat 8.

I submitted 4 bugs yesterday to the GNU Common Lisp bug database:

#16700 `SIOCSPGRP' undeclared in run_process.c
#16699 Sun's awk is not supported.
#16697 Makefile adds gcc specific compiler options when not using gcc.
#16696 Configure script not checking for bfd library

my guess is that the last two of them would show up on any platform that
is not GNU based.

If the makefiles add -Wall, therefore ignoring what CFLAGS is set to on
the Sun compiler, I would think there is a high probability it would add
-Wall on an HP compiler too. Anyone can get access to an HP compiler via
the HP testdrive. And as I said, they get the Sun compiler if they
install Solaris on their PC. (Oh, I forgot, the Sun compiler runs on
Linux too).

I suspect if the configure script will start to compile GCL without the
bfd library being present, there is a reasonable chance that bug would
show up on another platform too.

One of my projects

http://atlc.sourceforge.net/

as been compiled on quite a lot. Atlc has been tested on a Sony
Playstation 2 as well as the Cray YMP-EL supercomputer, which is
available for free public access at Cray-Cyber network. It has also been
tested on Debian Linux, Slackware Linux, Gentoo Linux, Redhat Linux,
Suse Linux, IBM's AIX, Apples's OS X for Mac, HP's HP-UX (both PA-RISC
and Itanium), SGI's IRIX, Sun's Solaris, SCO's UNIXWare, HP's Tru64,
Cray's UNICOS, NetBSD, OpenBSD and FreeBSD.

Admittidly some of those platforms I own, but many I don't, but I can
get access, or bug reports from others.

GCL has been around a long time, so I am a bit surprised so many
portability issues exist.

Quote:
Concerning MS-Windows, it seems that developing is even
difficult in case you do have it...

I can't be bothered with that I must admit.


Quote:
Martin



--
Dave K MCSE.

MCSE = Minefield Consultant and Solitaire Expert.

Please note my email address changes periodically to avoid spam.
It is always of the form: month-year@domain. Hitting reply will work
for a couple of months only. Later set it manually.

http://witm.sourceforge.net/ (Web based Mathematica frontend)
Back to top
Dave (from the UK)
science forum addict


Joined: 12 Jan 2006
Posts: 76

PostPosted: Tue May 30, 2006 12:57 pm    Post subject: Re: An example of Mathematica on a PDA Reply with quote

John ffitch wrote:
Quote:
The detail is that we have full REDUCE running on an off-the-shelf
router. Tight but possible. I would have thought that a PDA should
be able to do most stuff alone. After all we had algebra systems on
76Kb MS-DOS machines.
==John ff

A bit more information! (It would help if you quoted, but this time I do
know what you mean).

If one wants Mathematica, then it is closed source, so you can't
currently run that on a PDA directly. I suspect that PDAs are powerful
enough to run Mathematica, but that would require that Wolfram Research
release a product for a PDA, which so far they have not. (My guess is
they will one day, as running it on a PDA has come up many times)

http://groups.google.co.uk/groups?lnk=hpsg&hl=en&q=mathematica+pda

Someone has done it on a Smartphone, but that project is dormant.

http://www.oreillynet.com/mac/blog/2005/04/mathme_smartphone_and_pda_fron.html

I suspect my program

http://witm.sourceforge.net/

would allow Mathematica to be at least semi-useable with a smartphone,
but I have not tried, as I don't have access to one. I say semi-usable,
as my guess is they are quite restictive.

As for open-source computer Algebra systems, then I suspect running on a
PDA is quite practical. But since I know Mathematica, and not Reduce or
similar, I am a bit reluctant to change. Also, developing for PDAs is
not easy, requiring far more effort than I am willing to devote I must
admit.

To me, a web based access is nice.

--
Dave K MCSE.

MCSE = Minefield Consultant and Solitaire Expert.

Please note my email address changes periodically to avoid spam.
It is always of the form: month-year@domain. Hitting reply will work
for a couple of months only. Later set it manually.

http://witm.sourceforge.net/ (Web based Mathematica frontend)
Back to top
Martin Rubey
science forum beginner


Joined: 21 Mar 2005
Posts: 34

PostPosted: Tue May 30, 2006 12:58 pm    Post subject: Re: An example of Mathematica on a PDA Reply with quote

"Dave (from the UK)" <see-my-signature@southminster-branch-line.org.uk> writes:

Quote:
Martin Rubey wrote:
If you have web access from your PDA or whatever, you might like the
Axiom-Web interface MathAction: http://wiki.axiom-developer.org/FrontPage
It features REDUCE too, by the way.

(Do not hesitate to try it in the SandBox, i.e., in
http://wiki.axiom-developer.org/SandBox Martin

I must be thick, but I can't work out how to use this. As an example, if I
wanted to compute sin(0.1), is there some way I can using that?

With a normal browser:

Go to

http://wiki.axiom-developer.org/SandBox#bottom

Enter

\begin{axiom}
sin(0.1)
\end{axiom}

in the box made for that and hit the "preview" button. You should get something
like:

0.0998334166 4682815230 7 (1) Type: Float


If you want your comments to be permanent, press "save" instead of
"preview". (Remark: "save", "preview" etc. might appear in the language defined
by your browser-settings...)

If you want to use that feature seriously, consider creating a page

SandBoxDave


(it should start with SandBox, because otherwise developers will be notified of
your changes...)


This interface is somewhat customizable. For example, you can edit the page
itself, also with your favorite editor, etc. If you are interested, keep
asking.


For reduce, you have to enter your commands between

\begin{reduce}

\end{reduce}



Martin
Back to top
Dave (from the UK)
science forum addict


Joined: 12 Jan 2006
Posts: 76

PostPosted: Tue May 30, 2006 2:00 pm    Post subject: Re: An example of Mathematica on a PDA Reply with quote

Martin Rubey wrote:

Quote:
I must be thick, but I can't work out how to use this. As an example, if I
wanted to compute sin(0.1), is there some way I can using that?


With a normal browser:

Go to

http://wiki.axiom-developer.org/SandBox#bottom

Enter

\begin{axiom}
sin(0.1)
\end{axiom}

in the box made for that and hit the "preview" button. You should get something
like:

0.0998334166 4682815230 7 (1) Type: Float


Cheers. Easy enough once shown, but not too obvious IMHO.

This one, on the Sage site, which uses SAGE or PARI is a lot easier to use.

http://modular.math.washington.edu/calc/

But it lacks the ability to add the comments etc.



--
Dave K MCSE.

MCSE = Minefield Consultant and Solitaire Expert.

Please note my email address changes periodically to avoid spam.
It is always of the form: month-year@domain. Hitting reply will work
for a couple of months only. Later set it manually.

http://witm.sourceforge.net/ (Web based Mathematica frontend)
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 Posts] View previous topic :: View next topic
The time now is Sat Jun 24, 2017 7:10 am | All times are GMT
Forum index » Science and Technology » Math » Symbolic
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts mathematica: how to feed Solve output into Select? double d Math 12 Mon Jul 17, 2006 10:36 pm
No new posts Eliminating multiple roots in mathematica's "Solve" function double d Symbolic 4 Sat Jul 15, 2006 11:49 am
No new posts A web browser interface to Mathematica Dave (from the UK) Recreational 3 Fri Jul 07, 2006 9:41 am
No new posts mathematica command for linearity robert1129 Math 1 Sat Jul 01, 2006 8:04 pm
No new posts Mathematica code for an exponential sum graph Dave L. Renfro Math 2 Wed Jun 07, 2006 10:10 pm

Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Electronics forum |  Medicine forum |  Unix/Linux blog |  Unix/Linux documentation |  Unix/Linux forums  |  send newsletters
 


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0325s ][ Queries: 16 (0.0050s) ][ GZIP on - Debug on ]