Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: AGVolnutt on May 27, 2011, 01:03:47 pm

Title: [nSpire] AutoFoil
Post by: AGVolnutt on May 27, 2011, 01:03:47 pm
One of my pet peeves about my nSpire CAS, is that: although it is marketed as a CAS, it sometimes doesn't work the way I expect from a $150 device. One of these things that fail is "FOIL"-ing, also known as First Outer Inner Last. When working with many math equations such as factoring or quadratic stuff, many (2x-4)(4x+2)-like (in format) strings come up and become very tedious to solve or simplify. That's why I figured out AutoFoil! It saves time with the whole FOIL thing and saves paper space! (And it helps me be lazy. :D )

This program is also very easy to work with. In fact, with the recent 3.0 update, a wizard for AutoFoil has been implemented. But to keep nice with 2.0 users, I have also included a "legacy" version inside the program file. :) The program is very straight-forward. Give the required inputs and you're done. For the legacy version however, you must include in this format: (f1,f2,f3,f4).

Commands: (Must be accessed from the library function, be sure to refresh libraries)
*autofoil: Launches the autofoil wizard
*autofoillegacy: (f1,f2,f3,f4) Takes the inputs and simplifies it using the FOIL method.
*about: credits and such.

How to install:
1. Open up nSpire Mac/PC software.
2. Load Autofoil.tnc to your calculator
3. Disconnect calculator
4. Refresh libraries. (Doc>Refresh Libraries)

DOWNLOAD HERE: (Removed. See the TICalc.org page.)

I should mention that symbolic things only work on CAS. To [attempt] to use on the regular nSpire, rename the tns extension to tnc.


SCREENSHOTS:
(http://img98.imageshack.us/img98/3007/05272011image001.jpg)
(http://img692.imageshack.us/img692/9774/05272011image002.jpg)

TICalc.org Link:
http://www.ticalc.org/archives/files/fileinfo/438/43839.html (http://www.ticalc.org/archives/files/fileinfo/438/43839.html)

Enjoy!~
Title: Re: [nSpire] AutoFoil
Post by: Stefan Bauwens on May 27, 2011, 01:14:22 pm
My brother has a nspire(non cas) which I don't even go on, but I hope this will help other people who do have a CAS and have these dificulties. Good to see you already released a program. Good luck with further programming. :)
Title: Re: [nSpire] AutoFoil
Post by: AGVolnutt on May 27, 2011, 01:22:21 pm
My brother has a nspire(non cas) which I don't even go on, but I hope this will help other people who do have a CAS and have these dificulties. Good to see you already released a program. Good luck with further programming. :)

Thanks. :3

To the community: Would you much perfer if I had a "output" var recorded after the program is complete or would rather use the arrow keys to select the output? The "done" line is very inconvenient for normal use.
Title: Re: [nSpire] AutoFoil
Post by: ruler501 on May 28, 2011, 09:46:06 am
I like output variables personally. This looks nice. I have a nonCAs that doubles as a CAs currently so I can use it symbollically and regularly :)

Welcome to omni. Have you posted an introduction topic yet so you can get your peanuts? I wish you great luckin programming further on the nSpire
Title: Re: [nSpire] AutoFoil
Post by: AGVolnutt on May 28, 2011, 04:30:51 pm
I like output variables personally. This looks nice. I have a nonCAs that doubles as a CAs currently so I can use it symbollically and regularly :)

Welcome to omni. Have you posted an introduction topic yet so you can get your peanuts? I wish you great luckin programming further on the nSpire

Alright, I'll add that.

You dual-booted your device? Or did you hack CAS software into it?

Yea, I got my peanuts. And thanks for the warm welcome. :3
Title: Re: [nSpire] AutoFoil
Post by: ruler501 on May 28, 2011, 05:03:00 pm
I use OSLauncher. I can now choose which I want to use :)
Title: Re: [nSpire] AutoFoil
Post by: AGVolnutt on May 28, 2011, 05:30:00 pm
Oooh. I'll look into that.

I have to submit a form to get my app listed in the directory, right? A forum post won't do?
Title: Re: [nSpire] AutoFoil
Post by: ruler501 on May 28, 2011, 05:33:06 pm
If you want it included here you submit it then an admin will aprove it. Make sure you upload to the right directory.I don't know how TICalc works
Title: Re: [nSpire] AutoFoil
Post by: AGVolnutt on May 28, 2011, 05:56:11 pm
Hm. There doesn't seem to be a "[nSpire Apps] Math/Science" app section.
 I'll try to get in touch with an admin.
Title: Re: [nSpire] AutoFoil
Post by: JosJuice on May 29, 2011, 01:46:53 am
Hm. There doesn't seem to be a "[nSpire Apps] Math/Science" app section.
 I'll try to get in touch with an admin.
Are you talking about Omnimaga or ticalc.org? Omnimaga is mainly focused on games, so math programs are usually not accepted.
Title: Re: [nSpire] AutoFoil
Post by: DJ Omnimaga on May 29, 2011, 02:24:53 am
Oooh. I'll look into that.

I have to submit a form to get my app listed in the directory, right? A forum post won't do?
Either a forum post or a ticalc.org submission would do.

This looks like a nice and useful math tool, by the way. Unfortunately however, you would not be able to upload it in the file archives section, because Omnimaga only accept files related to game development or games themselves, since calc gaming and game programming is our primary focus and we unfortunately did not plan to change that in the future (although people are still welcome to announce non-game programs on the forums). :(  (After all, we almost changed our site slogan to "Omnimaga: Because Calculators Aren't Just For Maths" until I discovered Deep Thought already used it on his site :P)
Title: Re: [nSpire] AutoFoil
Post by: That Guy on September 09, 2012, 04:00:49 pm
Okay, question. I'm a bit confused on exactly what I am supposed to do. I've downloaded the zip file, and saved it to my Ti-nspire CAS. When I refresh my libraries I see the document autofoil.tns so does that mean I am done? If so how to I load the program what buttons do I need to hit to bring up the autofoil interface. If not what have I missed, Thanks.
Title: Re: [nSpire] AutoFoil
Post by: blfngl on September 09, 2012, 04:05:40 pm
Just open the file then, and enter the commands for it :) I don't autofoil is a lib doc. But if it is, to access it anywhere, type:
<name of document>\<command>()
autofoil\autofoil()
^Is an example
Title: Re: [nSpire] AutoFoil
Post by: That Guy on September 09, 2012, 05:56:35 pm
Oh, so it belongs in MyLib? Also, as for the commands on the calculator I don't understand how I am suppose to use "<"">" keys when they aren't found on the CAS.
Title: Re: [nSpire] AutoFoil
Post by: blfngl on September 09, 2012, 05:58:04 pm
Oh, don't type those keys. I was saying that that's where the commands and the document name go.
So if the doc was named auto and the command was foil, it would be:

auto\foil()

Make sure it's in MyLib :)
Title: Re: [nSpire] AutoFoil
Post by: That Guy on September 09, 2012, 08:58:04 pm
Jeeze ... I suck as this apparently than. So I've done part of it right, I think. I downloaded the file, saved it, and move it to MyLib. I saved the file as autofoil. However when I enter autofoil\foil my calc says "library document not found". Also I was asking earlier is their a way to find library documents without entering autofoil/foil all of the time. Having to type it in than search for the "\" key is kinda annoying. I was hoping their was an easier way to find the program in the calculator.

Title: Re: [nSpire] AutoFoil
Post by: willrandship on September 10, 2012, 01:17:06 am
There really isn't an easier way AFAIK.

Hmmm....That would make a cool ndless program. A PATH variable.
Title: Re: [nSpire] AutoFoil
Post by: That Guy on September 11, 2012, 06:39:29 pm
Er yeah ... so anyway I still have the same problem as I have posted above. I've downloaded the file to mylib and when I attempt to use it the computer says "library document not found". Ive updated the library and done everything I thought I needed to do, any suggestions?