Author Topic: [nSpire] AutoFoil  (Read 11510 times)

0 Members and 1 Guest are viewing this topic.

Offline AGVolnutt

  • LV3 Member (Next: 100)
  • ***
  • Posts: 58
  • Rating: +4/-0
    • View Profile
[nSpire] AutoFoil
« 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:



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

Enjoy!~
« Last Edit: April 11, 2012, 01:31:28 am by AGVolnutt »

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: [nSpire] AutoFoil
« Reply #1 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. :)


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline AGVolnutt

  • LV3 Member (Next: 100)
  • ***
  • Posts: 58
  • Rating: +4/-0
    • View Profile
Re: [nSpire] AutoFoil
« Reply #2 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.
« Last Edit: May 27, 2011, 01:22:39 pm by AGVolnutt »

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: [nSpire] AutoFoil
« Reply #3 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
« Last Edit: May 28, 2011, 09:46:21 am by ruler501 »
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline AGVolnutt

  • LV3 Member (Next: 100)
  • ***
  • Posts: 58
  • Rating: +4/-0
    • View Profile
Re: [nSpire] AutoFoil
« Reply #4 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

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: [nSpire] AutoFoil
« Reply #5 on: May 28, 2011, 05:03:00 pm »
I use OSLauncher. I can now choose which I want to use :)
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline AGVolnutt

  • LV3 Member (Next: 100)
  • ***
  • Posts: 58
  • Rating: +4/-0
    • View Profile
Re: [nSpire] AutoFoil
« Reply #6 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?

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: [nSpire] AutoFoil
« Reply #7 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
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline AGVolnutt

  • LV3 Member (Next: 100)
  • ***
  • Posts: 58
  • Rating: +4/-0
    • View Profile
Re: [nSpire] AutoFoil
« Reply #8 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.

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: [nSpire] AutoFoil
« Reply #9 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.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [nSpire] AutoFoil
« Reply #10 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)
« Last Edit: May 29, 2011, 02:27:57 am by DJ_O »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline That Guy

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
    • View Profile
Re: [nSpire] AutoFoil
« Reply #11 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.

Offline blfngl

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 121
  • Rating: +3/-4
  • No worry, I'll surpass Calc84 in greatness...never
    • View Profile
Re: [nSpire] AutoFoil
« Reply #12 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
GAMEGAMEGAMEGAMEGAMEGAMEGAMEGAMEGAMEGAME
My blog:

TiLibs
My Projects:
Minecraft Library

Offline That Guy

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
    • View Profile
Re: [nSpire] AutoFoil
« Reply #13 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.

Offline blfngl

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 121
  • Rating: +3/-4
  • No worry, I'll surpass Calc84 in greatness...never
    • View Profile
Re: [nSpire] AutoFoil
« Reply #14 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 :)
GAMEGAMEGAMEGAMEGAMEGAMEGAMEGAMEGAMEGAME
My blog:

TiLibs
My Projects:
Minecraft Library