Don't have an account? Register now to chat, post, use our tools, and much more.
Online Users
There are 97 users online: 7 members, 68 guests and 22 bots.
Members: adriweb, critor, geekboy1011, roblabla, ssquirtle7777, tifreak8x, zeldaking.
Bots: Spinn3r (1), Magpie Crawler (3), Googlebot (18).
SAX
 » Goto page 1, 2, 3, 4, 5, 6  Next

Which display do you think looks better?
The big letters (like on the HomeScreen)  44%  [ 8 ]
The small letters (like on the GraphScreen)  55%  [ 10 ]

Author Message
TI_Coder

Joined: 30 Jun 2010
Posts: 175
Location: Elverta, CA USA

 Posted: 17 Apr 2011 12:08:31 am    Post subject: TI-BASIC Programs Update: 3.16.12 Programs MATH ANGLPOLY: gives the measure of the interior and exterior angles of any regular polygon from 3 to 24 sides FOIL: performs the First Inner Outer Last technique in solving inequalities LINEINFO: gives the information about a line PYTHTHRM: performs the pythagorean theorum technique to solve for right triangles QUADFACT: performs the quadratic formula technique to solve inequalities. Also provides the perfect factor of the inequality SUMSQNCE: performs the formula to solve for the sum of a sequence (exponential/quadratic) SCIENCE BMI: calculates your Body Mass Index GAMES BETTING: calculator chooses a random number from 0 to 5. Bet credits on your guess BOUNCE: pixel bounces off lines on the screen LINE: a line is drawn, which can be moved by the user. Program relays live line length information PAZAAK: mock of the Pazaak card game from Star Wars: Knights of the Old Republic STIKFITE: stick fighting game APPS BINCLOCK: displays the time (realtime/refreshing) in binary digit form DATETIME: displays the time (analog and digital), date, day EXACTAGE: calculates your exact age; down to the second FINALGRD: calculates the score you must receive on a final to get a desired grade in the class PICEDIT: allows you to turn pixels on and off UPCCDGEN: generates a UPC barcode, tests it to see if valid, then prints the barcode onto the screen UPCGEN: generates the barcode for the UPC code entered Sub Programs INPUT: prompts the user for input (letters/numbers) MENU: prompts the user for input (choice selection) STRTPRGM: runs at start of each program Download Link: http://www.cemetech.net/programs/index.php?mode=file&path=/83plus/basic/programs/TI_BASIC_Programs.zip_________________ *My programs are NEVER finishedLast edited by TI_Coder on 16 Mar 2012 12:27:47 pm; edited 14 times in total
souvik1997

Guru-in-Training

Joined: 19 Apr 2010
Posts: 2870

 Posted: 17 Apr 2011 12:10:24 am    Post subject: Nice! Why does ANGLOPOLY work only for polygons up to 24 sides, though?_________________CALCnet Tournament-38% deviantArt
TI_Coder

Joined: 30 Jun 2010
Posts: 175
Location: Elverta, CA USA

 Posted: 17 Apr 2011 12:12:56 am    Post subject: Well, after icosagon (20 sides), the polygons really don't have any real names. It goes 21-gon, 22-gon, 23-gon, etc. I just decided to stop at 24. I really don't know why..._________________ *My programs are NEVER finished
KermMartian

Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

 Posted: 17 Apr 2011 01:07:29 am    Post subject: I noticed that the zip file you uploaded to the archives is new rather than an update of your previous upload. Was that intentional? Also, I noticed that your description was just a link to this thread; I'd prefer a bit more substantial of a description, although leaving the link in addition is fine._________________
TI_Coder

Joined: 30 Jun 2010
Posts: 175
Location: Elverta, CA USA

 Posted: 17 Apr 2011 01:09:09 am    Post subject: It was intentional. I would like if you could completely remove the previous files, and I'll just keep updating this one. As for the description, I'll try to add something_________________ *My programs are NEVER finished
KermMartian

Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 17 Apr 2011 01:11:09 am    Post subject:

 TI_Coder wrote: It was intentional. I would like if you could completely remove the previous files, and I'll just keep updating this one. As for the description, I'll try to add something
If you were to re-upload this over the old zip, that would let you keep your downloads and would make everything run slightly more smoothly, but I understand if it's too much trouble.
_________________

TI_Coder

Joined: 30 Jun 2010
Posts: 175
Location: Elverta, CA USA

 Posted: 17 Apr 2011 01:12:28 am    Post subject: I don't mind about the downloads. It was only about 50 or so. But I'd just like a fresh start, if you don't mind_________________ *My programs are NEVER finished
KermMartian

Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 18 Apr 2011 10:30:03 am    Post subject:

 TI_Coder wrote: I don't mind about the downloads. It was only about 50 or so. But I'd just like a fresh start, if you don't mind
I understand, not a problem. I just don't have an automatic way to delete items from the archive.
_________________

TI_Coder

Joined: 30 Jun 2010
Posts: 175
Location: Elverta, CA USA

 Posted: 18 Apr 2011 10:43:30 am    Post subject: Are you saying that you're not able to remove items from the archive?_________________ *My programs are NEVER finished
KermMartian

Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 18 Apr 2011 10:44:51 am    Post subject:

 TI_Coder wrote: Are you saying that you're not able to remove items from the archive?
No, I'll do it momentarily, it's just not easy, because I need to go into the MySQL database and remove the file item, then track down the actual zip via SFTP and delete it. I wrote automated tools to do lots of other archives functions, but sadly deleting programs isn't one of them, because I hardly ever have to do so.
_________________

TI_Coder

Joined: 30 Jun 2010
Posts: 175
Location: Elverta, CA USA

 Posted: 18 Apr 2011 10:45:53 am    Post subject: Oh, I know what that's like >.<_________________ *My programs are NEVER finished
TI_Coder

Joined: 30 Jun 2010
Posts: 175
Location: Elverta, CA USA

 Posted: 21 Apr 2011 11:38:58 pm    Post subject: Ok, well, I'm starting another re-write, prgmFOIL. This prgm executes the First Outer Inner Last sequence. I want the user to be able to type in the entire equation, "(3x+2)(x+4)", and have the prgm return 3, 2, 1, and 4 as values. How could I go about doing this?_________________ *My programs are NEVER finished
_player1537

Guru-in-Training

Joined: 25 Nov 2009
Posts: 2957

 Posted: 21 Apr 2011 11:44:06 pm    Post subject: First you would get the values inside the parenthesis (and it sounds like you have, from IRC) then you would get the numbers before the X using sub() and inString(). For the numbers after the +, you would do the same but inString(,"+") instead. Some code:Code: ```Input "(",Str1 Sub(Str1,1,inString(Str1,"X")-1->Str2 inString(Str1,"+")+1 Sub(Str1,Ans,Length(Str1)-Ans->Str3 Expr(Str2->A Expr(Str3->B```Str2 holds the string version of the number before the X. Str3 holds the string version for the number after the +. A holds the actual number of Str2, and B holds the actual number for Str3. It expects you to input a string like:3X+2. No ending parenthesis._________________http://tanner.myserverathome.com
TI_Coder

Joined: 30 Jun 2010
Posts: 175
Location: Elverta, CA USA

 Posted: 21 Apr 2011 11:52:55 pm    Post subject: The above code didn't seem to work. "BASIC Ex Err:DOM". When I go to prgm, it stops at "sub(Str1,Ans,length(Str1)-Ans)->Str3"_________________ *My programs are NEVER finished
_player1537

Guru-in-Training

Joined: 25 Nov 2009
Posts: 2957

 Posted: 21 Apr 2011 11:57:49 pm    Post subject: Do you happen to know what Ans was/is when it crashes? Also, what input string?_________________http://tanner.myserverathome.com
TI_Coder

Joined: 30 Jun 2010
Posts: 175
Location: Elverta, CA USA

 Posted: 22 Apr 2011 12:01:44 am    Post subject: Well, I replaced Ans with "3" (sub(Str1,Ans,length(Str1)-Ans)->Str3 to sub(Str1,Ans,length(Str1)-3)->Str3) and it seemed to work_________________ *My programs are NEVER finished
_player1537

Guru-in-Training

Joined: 25 Nov 2009
Posts: 2957

 Posted: 22 Apr 2011 12:06:45 am    Post subject: This should work instead, I was off-by-1 Code: ```Input "(",Str1 Sub(Str1,1,inString(Str1,"X")-1->Str2 inString(Str1,"+") Sub(Str1,Ans+1,Length(Str1)-Ans->Str3 Expr(Str2->A Expr(Str3->B```_________________http://tanner.myserverathome.com
TI_Coder

Joined: 30 Jun 2010
Posts: 175
Location: Elverta, CA USA

 Posted: 22 Apr 2011 12:10:12 am    Post subject: Ok, that works. But, I'm asking for the input of two equations at a time. "(3x+2)(x+4)" will be a single string. Possible?_________________ *My programs are NEVER finished
_player1537

Guru-in-Training

Joined: 25 Nov 2009
Posts: 2957

 Posted: 22 Apr 2011 12:13:29 am    Post subject: Of course, just sub() and inString() out what you need. For instance, to get the second number before the X, you would do:Code: ```1+inString(Str1,"(",2 sub(Str1,Ans,inString(Str1,"X",Ans)-Ans```(Should work, if it is off by 1, start adding or subtracting 1 from certain parts. Most likely, if it is wrong, the sub() line is at fault.)_________________http://tanner.myserverathome.com
TI_Coder

Joined: 30 Jun 2010
Posts: 175
Location: Elverta, CA USA

 Posted: 22 Apr 2011 12:28:14 am    Post subject: I typed in "(3X+2)" as the string, but it gave me a syntax error. Is there any way to remove the parenthesis from a string?_________________ *My programs are NEVER finished
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

»
 » Goto page 1, 2, 3, 4, 5, 6  Next Page 1 of 6 » All times are GMT - 5 Hours

 Jump to: Select a forum Announcements----------------Cemetech AnnouncementsCemetech LabsContests General Discussion----------------Technology & Calculator Open Topic-- Electronics/Hardware Development-- Calculator HardwareYour ProjectsGeneral Open Topic-- Politics & Rants-- Reviews-- Humour/Jokes Cemetech's Projects----------------Doors CSSourceCoderMember Features-- TI-Freak8x-- Merthsoft-- GrammerOther & Upcoming Projects-- The BASIC Elite-- mobileTunes-- CALCnet 2.2-- SuggestionsProgramming the TI-83 Plus/TI-84 PlusUsing the TI-83 Plus/TI-84 PlusWebsite Programming & Design----------------General Programmingz80 AssemblyTI-BASICCasio Prizm/FX Development & ProgrammingWebsite Markup & ScriptingGraphics1337 Programming Tips Building with Blocks----------------FreeBuild, LEGO, and Minecraft-- FreeBuild General-- Suggestions & Troubleshooting-- Content & Gallery-- Servers & Activities
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.046484 seconds.