Author Topic: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity  (Read 70052 times)

0 Members and 1 Guest are viewing this topic.

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
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) :

(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)
« Last Edit: July 17, 2012, 09:36:56 am by Levak »
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
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 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.

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Looks good.
It does not rationalize some expressions with radicals from what I saw on the screen shoots.
Hobbing in calculator projects.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
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:






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




   
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=1884
« Last Edit: June 18, 2010, 05:19:09 pm by critor »
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
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!

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
@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.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
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.
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Nice! Good job on this :D

Does this requires OS 2.0.1 btw?
« Last Edit: October 10, 2010, 02:03:35 pm by DJ Omnimaga »

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
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 ? . . .
« Last Edit: October 10, 2010, 02:09:22 pm by critor »
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
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...

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
« Reply #10 on: October 10, 2010, 05:14:15 pm »
ohh, pretty
* qazz42 downloads

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
« Reply #11 on: October 10, 2010, 05:31:47 pm »
Wow, it looks great! mCAS is pure Nspire BASIC, right?




Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
« Reply #12 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


Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
« Reply #13 on: October 10, 2010, 05:41:04 pm »
Hm... doesn't a CAS solve equations like "2x+5=10" (and more advanced ones)?
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: AutoCalc on TI-Nspire nonCAS. PrettyPrint View with harmony and simplicity
« Reply #14 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?