Omnimaga

Calculator Community => Casio Calculators => Topic started by: AngelFish on March 30, 2011, 12:34:24 am

Title: E-Math Suite
Post by: AngelFish on March 30, 2011, 12:34:24 am
One of the advantages of the TI Nspire CX over the Prizm is the greater range of math functions. This is a program designed to remedy that and help increase the mathematical capabilities of the Prizm. The secondary goal of the program is to demonstrate that while games may be fun to program and play, calculator programming can have useful applications and the encouragement of such programming is a benefit to educators rather than a detriment. In order to help facilitate these lofty goals, this program will include a wide variety of functions not provided in the Prizm's native OS such as the Gamma Function, extending the trigonometric functions to complex arguments, and numerical solutions to differential equations. The program itself interacts with the user through the console that easily allows the user to enter complicated mathematical functions with a re-defined keypad.

Here is a demonstration of the keypad and a rudimentary parser interface:



PS: Sorry for the blurry quality, but using pixels to record pixels doesn't exactly work very well...

The equations:
Sin(89)
Sin(Cos(89Tan(97)))
89+3
Log(36+Sin(6))
Title: Re: E-Math Suite
Post by: DJ Omnimaga on April 24, 2011, 03:15:14 pm
Nice, I also subscribed to your Youtube account.  :D

Hopefully if more math tools are made for the Prizm this could maybe convince people to choose it over the CX more.
Title: Re: E-Math Suite
Post by: Munchor on April 24, 2011, 03:21:14 pm
This seems cool, to make the PRIZM Math better, so the CX doesn't have yet another advantage :) Nice job, I also 'Liked' the video on Yotube.
Title: Re: E-Math Suite
Post by: z80man on April 26, 2011, 01:55:40 am
Nice math features there. We really ought to keep the Prizm even with the nspire when it comes to math otherwise average students (aka our clients ;)) won't buy a Prizm. So for this we will need to make a CAS and 3D graphing. Unfortunately most of us want to make games right now and not huge math tools. But then again it took TI 300 programmers to give the CX 3D graphs so that would translate to one of us making the same thing but faster in about a week  ::) That logic seems correct.
Title: Re: E-Math Suite
Post by: TIfanx1999 on April 26, 2011, 03:42:45 am
Very nice Qwerty! I'm sure students (who actually use calculators for maths) will find this quite useful. :) A CAS an 3D graphs would be nice additions in the future as well. By the way, what language was this tool programmed with?
Title: Re: E-Math Suite
Post by: AngelFish on April 26, 2011, 04:37:27 am
It will be pure BASIC until we know more about the Prizm's OS data structures, at which point I'll probably re-write in ASM with a few more features that BASIC is too slow to handle, like 3D graphing.
Title: Re: E-Math Suite
Post by: DJ Omnimaga on May 12, 2011, 05:50:24 pm
One thing to be careful about, though, if some CAS functions are included in the future, is to not get the calc banned from USA schools. If such thing was to be included, it would need to include some protection so teachers can disable certain functions during tests.
Title: Re: E-Math Suite
Post by: Eiyeron on August 13, 2011, 07:39:54 pm
Here already a 3D grapher on FX-98xx... That would be easily a portage...
Title: Re: E-Math Suite
Post by: flyingfisch on August 30, 2011, 10:02:20 am
Are the prizm's asm/c similar to fx-9860's?
Title: Re: E-Math Suite
Post by: JosJuice on August 30, 2011, 10:09:18 am
Are the prizm's asm/c similar to fx-9860's?
Yes. It's almost the exact same thing, although you get a bit more power because of the improved processor and screen.
Title: Re: E-Math Suite
Post by: flyingfisch on August 30, 2011, 11:17:29 am
COOL!!!!!!!

Does that mean that if i get the source to a prizm game, I can pretty much port it to fx?
Title: Re: E-Math Suite
Post by: JosJuice on August 30, 2011, 11:20:43 am
Yep, if you can compensate for things like the screen and syscalls.
Title: Re: E-Math Suite
Post by: flyingfisch on August 30, 2011, 11:24:39 am
cool. so luaFX shouldn't be hard to get on prizm. that would be nice.
Title: Re: E-Math Suite
Post by: z80man on August 31, 2011, 02:19:08 am
cool. so luaFX shouldn't be hard to get on prizm. that would be nice.
Qwerty is actually already working on a lua implementation on the Prizm as part of the Khavi byte code interpreter which is currently being built with support for java, brainf***, and lua. Because the Khavi engine handles memory management, multi threading, and code parsing, there is no need to develop other byte code based languages from scratch. It might even be possible for anyone to add a language depending on how open and well documented the engine is. such future possibilities are python, ruby, and CLI which .net based languages such as C# run on.
Title: Re: E-Math Suite
Post by: DJ Omnimaga on August 31, 2011, 03:01:58 pm
Oh wow I forgot Khavi had Lua support. I thought it was Java only.
Title: Re: E-Math Suite
Post by: AngelFish on August 31, 2011, 03:12:27 pm
Qwerty is actually already working on a lua implementation on the Prizm as part of the Khavi byte code interpreter which is currently being built with support for java, brainf***, and lua. Because the Khavi engine handles memory management, multi threading, and code parsing, there is no need to develop other byte code based languages from scratch.

Code parsing isn't particularly enforced. Khavi can handle C/ASM programs alongside the interpreter just fine if they play nicely with RAM.

Anyway, this project isn't dead. I've just been doing a lot of research to figure out all the algorithms.