Don't have an account? Register now to chat, post, use our tools, and much more.
Online Users
There are 90 users online: 5 members, 62 guests and 23 bots.
Members: CalebHansberry, zeldaking.
Bots: VoilaBot (2), Spinn3r (1), VoilaBot (1), Googlebot (19).
SAX
 » Goto page Previous  1, 2, 3  Next
Author Message
ACagliano

Super-Expert

Joined: 08 Feb 2010
Posts: 922

 Posted: 13 Jan 2012 10:18:20 am    Post subject: Hmm. I remember reading that, to eliminate one variable, assume a=1, then solve for the others. Once you do that, you can multiply by the gcd to get the coefficients. Is that right? Edit: Another question. What happens if you attempt to HIDE the program that you are currently executing? If you can without issue, how would you do so? Would you need to change its name in the VAT?_________________-ACagliano Current Projects Legend of Zelda. "Ganon's Rage" 51%
KermMartian

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

 Posted: 13 Jan 2012 11:46:40 am    Post subject: I would strongly recommend not doing that; almost every shell, including Doors CS, would probably get very confused. Also, by the Reduced Row-Echelon method, you don't need to eliminate equations if you have too many; conversely, I don't see how your suggested solution would yield anything sane._________________
ACagliano

Super-Expert

Joined: 08 Feb 2010
Posts: 922

Posted: 13 Jan 2012 11:49:10 am    Post subject:

 KermMartian wrote: I would strongly recommend not doing that; almost every shell, including Doors CS, would probably get very confused. Also, by the Reduced Row-Echelon method, you don't need to eliminate equations if you have too many; conversely, I don't see how your suggested solution would yield anything sane.

In my solution, my goal is to add one equation (a=1), not eliminate one. So that the number of equations=the number of variables.
_________________
-ACagliano

Current Projects

Legend of Zelda. "Ganon's Rage"
51%
KermMartian

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

 Posted: 13 Jan 2012 11:50:18 am    Post subject: Yeah, but you can't assume that a=1, and the values of all the other variables change if you assume instead that a=2 or a=3._________________
ACagliano

Super-Expert

Joined: 08 Feb 2010
Posts: 922

 Posted: 13 Jan 2012 12:16:22 pm    Post subject: Yes, I know the values of the other variables change if you assume a to be other than 1, but don't they all change in a manner proportional to the change in a? According to the algorithm I read about, unless I misunderstood it, assuming a=1 allows you to solve the system, but may render non-integers for the other variables. Then, you can find the lowest number that makes all variables integers and multiply all the variables by it. Wouldn't that compensate for assuming a=1? If not, is there another algorithm that can be used for balancing an equation?_________________-ACagliano Current Projects Legend of Zelda. "Ganon's Rage" 51%
KermMartian

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

 Posted: 13 Jan 2012 12:55:07 pm    Post subject: Well, a chemical equation is a special case wherein all variables must be integers, which I had forgotten until you pointed it out. More specifically, I forgot that that was the application you were targetting, in which case you can indeed make that assumption._________________
ACagliano

Super-Expert

Joined: 08 Feb 2010
Posts: 922

 Posted: 15 Jan 2012 12:39:49 pm    Post subject: Would the following, in Op1, correctly represent the variable [A]? Code: ``` MatrixAPtr:     .db MatObj,tVarMat,tMatA,0,0,0,0,0,0 ```_________________-ACagliano Current Projects Legend of Zelda. "Ganon's Rage" 51%
KermMartian

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

 Posted: 15 Jan 2012 12:43:35 pm    Post subject: It would indeed correctly represent matrix variable [A]/._________________
ACagliano

Super-Expert

Joined: 08 Feb 2010
Posts: 922

 Posted: 15 Jan 2012 12:51:48 pm    Post subject: Wonderful. Now, ChkFindSyming that should return a pointer to the data in the matrix, correct? Now, I'm sorry if I'm missing it and its really obvious, but can I have a link to some documentation that describes the format of a matrix in memory? Thanks. Edit: Also, is there a way to write a program (well, subroutine) in TI-Basic, then see what asm tokens it is made out of? For instance, here's what I want to write in TI-Basic, then use the bcall(_ParseInput) on. Code: ``` rref([A]) dim([A]) Matr->List( [A] , Ans(2) , L1 ) lcd( L1 ) -> A A*L1 -> L1 Return ```_________________-ACagliano Current Projects Legend of Zelda. "Ganon's Rage" 51%
ACagliano

Super-Expert

Joined: 08 Feb 2010
Posts: 922

 Posted: 16 Jan 2012 09:54:56 pm    Post subject: bump_________________-ACagliano Current Projects Legend of Zelda. "Ganon's Rage" 51%
KermMartian

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

 Posted: 16 Jan 2012 11:07:29 pm    Post subject: Nope, you need to use FindSym, not ChkFindSym. FindSym is only for programs, groups, and appvars._________________
ACagliano

Super-Expert

Joined: 08 Feb 2010
Posts: 922

Posted: 16 Jan 2012 11:10:39 pm    Post subject:

 KermMartian wrote: Nope, you need to use FindSym, not ChkFindSym. FindSym is only for programs, groups, and appvars.

You mean ChkFindSym is only for them?

What about the TI-Basic question? Is there a TI-Basic tokens list somewhere?
_________________
-ACagliano

Current Projects

Legend of Zelda. "Ganon's Rage"
51%
souvik1997

Guru-in-Training

Joined: 19 Apr 2010
Posts: 2870

 Posted: 16 Jan 2012 11:15:56 pm    Post subject: Why not create that program on your calculator, and look at its data in Calcsys? I think ti83plus.inc has a list of tokens, but I'm not sure. There's also a list on TI|BD._________________CALCnet Tournament-38% deviantArt
ACagliano

Super-Expert

Joined: 08 Feb 2010
Posts: 922

 Posted: 16 Jan 2012 11:19:30 pm    Post subject: Hmm. Didn't think of that *smacks self with shovel_________________-ACagliano Current Projects Legend of Zelda. "Ganon's Rage" 51%
KermMartian

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

Posted: 16 Jan 2012 11:19:39 pm    Post subject:

ACagliano wrote:
 KermMartian wrote: Nope, you need to use FindSym, not ChkFindSym. FindSym is only for programs, groups, and appvars.

You mean ChkFindSym is only for them?
Sorry, I'm in bed with the flu(ish); I derped. That is indeed what I meant.
_________________

ACagliano

Super-Expert

Joined: 08 Feb 2010
Posts: 922

 Posted: 17 Jan 2012 12:00:30 pm    Post subject: Oh, thats not fun. Coincidentally, I'm under the weather myself. Edit: Now I need to figure out how to do an input routine, specially designed for inputting a chemical equation. Do you recommend Direct Input, getCSC, or getKey for this?_________________-ACagliano Current Projects Legend of Zelda. "Ganon's Rage" 51%
KermMartian

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

 Posted: 17 Jan 2012 02:41:59 pm    Post subject: Of course, I'd always recommend a single-line text input box from Doors CS, with the only caveat that you'd have to wait for the user to submit the field before rejecting it for being malformed. Then again, it would be relatively challenging to detect a malformed equation on-the-fly anyway._________________
ACagliano

Super-Expert

Joined: 08 Feb 2010
Posts: 922

 Posted: 17 Jan 2012 06:12:16 pm    Post subject: I think I like the DCS features for this, allowing me a dynamic editor, rather than a single line editor. In this way, I can have a GUI window that: prompts for symbol prompts for subscript button for 'add element' button for finish *then I could have a routine check the input field against the Elements Lookup Table if you press one of the buttons, and render the word "Invalid" next to the input field if there is no match. That sound like a plan?_________________-ACagliano Current Projects Legend of Zelda. "Ganon's Rage" 51%
KermMartian

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

 Posted: 17 Jan 2012 07:05:08 pm    Post subject: Sounds like a good plan to me! Let me know if I can do anything to help this along as far as Doors CS tutoring. _________________
ACagliano

Super-Expert

Joined: 08 Feb 2010
Posts: 922

 Posted: 17 Jan 2012 07:49:25 pm    Post subject: Does the bcall PutS wrap text? Do any of them?_________________-ACagliano Current Projects Legend of Zelda. "Ganon's Rage" 51%
 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 Previous  1, 2, 3  Next Page 2 of 3 » 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.058814 seconds.