Omnimaga

Calculator Community => Other Calculators => Topic started by: Levak on June 18, 2010, 01:39:21 pm

Title: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: Levak on June 18, 2010, 01:39:21 pm
Hi all here !
Critor just released his Autocalc on TI-Nspire. Yes, on TI-Nspire. You're looking at me and saying "why ? TI-Nspire can make fractions and all stuff  with pretty print view !" Not totally true. The TI-nSpire CAS could. But The TI-nSpire nonCAS couldn't. When you enter "1/4" it answer "0.25"... like a TI-84+

Thus, Critor made this to broaden the popularity of the TI-nSpire nonCAS, cause poor students sale their useless calc and buy a Casio calc..

Well, this pretty useful stuff is called "mCAS" like "mini CAS". In its description, you can learn that the TI-nSpire nonCAS have only one CAS engine ( / 4 on CAS) : the pretty print entry view. So then, when Critor told me "Hey, look at the functions, you can still have Pretty Print on it !" I designed a stupid but ingenious function that update the function box, and then you can view the result in Pretty Print on the TI-nSpire non CAS !
Well...
You still do not understand what it means ?
Check this (French) :
(http://img689.imageshack.us/img689/4070/mcas.gif)
(wait a while, the beginning is here to show where mCAS can go)
You can download mCAS in French here, it includes an English readme :
http://tiplanet.org/forum/archives_voir.php?id=1884&play=

Thanks,
Levak

edit :
and I've forgotten to say that mCAS is fully compatible with OS 1.7 (and OS 1.4 but there is a refresh bug with my pretty print function, but mCAS works)
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: bwang on June 18, 2010, 03:58:29 pm
Nice! How comprehensive is it? Can it handle arbitrary symbolics, or only special expressions involving pi, e, and square roots?
I wrote something like this (http://www.ticalc.org/archives/files/fileinfo/426/42667.html) a year back (it expanded symbolic expressions and did rational integration and such), but it was deadly slow and I dropped it after Ndless came out.
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: Galandros on June 18, 2010, 04:53:51 pm
Looks good.
It does not rationalize some expressions with radicals from what I saw on the screen shoots.
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: critor on June 18, 2010, 05:17:32 pm
For the moment, it can only handle special expressions, more precisely 20 kinds of special expressions.

But that's far enough for the students here.

It's quite fast.
It just takes some seconds in the worst cases.


The next step would be to add arbitrary symbolics.

I'm thinking about it...


Bwang -> How fast/slow was your program ?
How much time did it take to return the results ?


Here are some pictures:

(http://i63.servimg.com/u/f63/13/23/13/53/mcas-p10.jpg)

(http://i63.servimg.com/u/f63/13/23/13/53/mcas-s10.gif)


And a full 10-minutes tutorial, but subtitled in french:

(http://img689.imageshack.us/img689/4070/mcas.gif)


   
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=1884
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: DJ Omnimaga on June 18, 2010, 05:21:00 pm
WOW! Awesome! Now it is possible to do CAS stuff without having to buy the CAS calculator! ;D

Technically it could be possible to just load the CAS OS on a regular Nspire with a specific program, but it's apparently illegal. Plus since the TI-Nspire is very fast for maths, even in BASIC, it should probably have pretty good speed indeed.

Nice job again!
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: bwang on June 18, 2010, 07:28:10 pm
@critor: My program varied greatly in speed, depending on what you feed it. For things like simple polynomial expansion, it was quite fast (maybe a couple seconds). For more complex things (rational expansion, algebraic expansion) it was unhappily slow. The algorithmically complicated stuff was slow, despite my attempts to optimize it. For example, factoring an 8th-degree polynomial, integrating a reasonably complex rational expression, and computing a symbolic sum all took around 1-2 minutes. The differentiator was dead slow, but I tacked it on as an afterthought and didn't really take much time to optimize it.
The focus of that project was to implement some nice algorithms in a possibly useful way, so speed was not really of utmost importance during the coding. The most useful parts are the expander, the integrator, the factorizer, and the symbolic sum engine, which can solve problems a human would have trouble solving.
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: critor on October 10, 2010, 11:55:54 am
Remember mCAS ?
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=1884

The next mCAS library release is going to add a limit function to the non-CAS Nspire, and severall sample-tns using it to study the function and gathering the results in a tablea (matrix).

Feel free to post your comments, needs and wishes.
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: DJ Omnimaga on October 10, 2010, 02:03:13 pm
Nice! Good job on this :D

Does this requires OS 2.0.1 btw?
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: critor on October 10, 2010, 02:08:31 pm
Nice! Good job on this :D

Does this requires OS 2.0.1 btw?

No. OS 1.4 or later.
I'm using my licensed TI-Nspire (non-CAS) Teacher Edition 1.4 software to generate the final tns files.

If I had a TI-Nspire (non-CAS) Student Edition license number, I could generate the files for OSes 1.3 and later, because I still have the 1.3 version of the software.

Does anybody have an unused licence number ? . . .
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: DJ Omnimaga on October 10, 2010, 02:57:26 pm
Ah cool, it works on a wide range of OSes then :D

Sadly I am not sure if I got that software. I'll check into my calc material to see if I might not have a CD or something...
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: qazz42 on October 10, 2010, 05:14:15 pm
ohh, pretty
/me downloads
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: Deep Toaster on October 10, 2010, 05:31:47 pm
Wow, it looks great! mCAS is pure Nspire BASIC, right?
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: apcalc on October 10, 2010, 05:34:09 pm
mCAS is pure Nspire BASIC, right?

Yes, it is.

This is one of my favorite documents for the TI-Nspire.  Thank you for your hard work, critor! :D
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: alberthrocks on October 10, 2010, 05:41:04 pm
Hm... doesn't a CAS solve equations like "2x+5=10" (and more advanced ones)?
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: Deep Toaster on October 10, 2010, 05:47:39 pm
This sounds more like a symbolic solver ... but isn't the Nspire CAS basically like that too?
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: apcalc on October 10, 2010, 05:50:00 pm
Hm... doesn't a CAS solve equations like "2x+5=10" (and more advanced ones)?

Solving equations is a part of a CAS, but if a CAS is missing one, it dosen't really not make it a CAS, hence the name "mini CAS" for this tool.  Bwang's symbolic library has a beta of an equation solver, I believe.  I don't think mCAS has a complete equation solver.
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: Deep Toaster on October 10, 2010, 06:23:28 pm
Has anyone made a CAS for the 8Xs yet?
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: qazz42 on October 10, 2010, 07:33:08 pm
nope, and I dont think there ever will be :(
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: AngelFish on October 10, 2010, 08:17:47 pm
I think Symbolic is as close as anyone's going to get. If you wanted to write one, though, it's entirely possible.
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: apcalc on October 10, 2010, 08:21:19 pm
Well, if you combine some apps/programs such as symbolic/graph3/an integrator/etc... you can come very close.  I think the only way a fully combined CAS (meaning all the same program) would be with a new OS.
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: Deep Toaster on October 10, 2010, 09:06:32 pm
I think someone mentioned that the Z80 should be able to handle it...
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: Silver Shadow on October 11, 2010, 12:34:34 am
There already is a CAS for z80: Autocalc.

http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=981

I also compiled it into an app for more convenience, and added some basic Symbolic and PrettyPrint support. However, since it was packed up with BasicBuilder, this version is a bit slower than the original one:

http://www.ticalc.org/archives/files/fileinfo/429/42961.html
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: critor on October 11, 2010, 06:16:05 am
Wow, it looks great! mCAS is pure Nspire BASIC, right?

Yes.

Sadly I am not sure if I got that software. I'll check into my calc material to see if I might not have a CD or something...

Maybe we can have some kind of trade:
I've got an unused "TI-Nspire CAS Teacher Edition" license number (I've got two licenses and am only using one).
I'd like an unused "TI-Nspire non-CAS Student Edition" software number (note I'm not interested by the CAS version).
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: DJ Omnimaga on October 11, 2010, 08:55:56 am
I'll check later today I think, if I won't end up loaded with stuff. If I happen to have this software, it will most likely be non-CAS. However, I am not sure if you want a version in particular. My TI-Nspire came with OS 1.6, if I remember, so if you wanted a software version that came before that, it is not guaranteed I might be able to help.
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: apcalc on October 11, 2010, 12:50:43 pm
Before the touchpads came out, buying an Nspire did not provide you a licence number to use the software.  It had to be purchased separately.  Once the touchpads came out, the computer software came with a Nspire purchase.  For the original clickpad users, buying one of the $10 light blue touchpads from TI comes with a licence number (I believe this has to be used with OS 2.0 or greater software, though, but I am not sure).
Title: Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
Post by: DJ Omnimaga on October 11, 2010, 05:02:10 pm
Really? Weird, I wonder what would be the software that comes with my calc, then...

I am a bit confused about these softwares x.x