Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - ztrumpet

Pages: [1] 2 3 ... 7
1
Other Calculators / The Biggest Resultant Matrix
« on: January 27, 2013, 02:58:55 pm »
Hello all!  It's been a while, hasn't it?

A couple of days ago, one of my professors (I'm in college now) posed the slightly rhetorical question of, "How large of a matrix can your calculators make from the multiplication of two matrices?"  I of course took it literally.  Thus, after talking to her after class and deciding to come up with the best answer I possibly could, I now have what you see below.  So sit back, and enjoy reading about just how big matrices on the TI-83/83+(SE) calcs can get:



  As discussed on Friday, I think I've figured out the biggest matrix that can be made on a TI-83/84+(SE) series of graphing calculators; it's simply limited by the amount of RAM on the calculator.  These calculators have 24389 bytes of RAM when completely empty; however, anything else, even items in archive take up RAM because of the inner workings of their operating systems.  A single matrix takes up RAM according to the following equation:

RAM = 11 + 9 * (Number of elements) bytes

  Thus, a 3x1 matrix would take up 47 bytes.  Consequently, the largest single matrix that can be made is around a 52x52 matrix (24347 bytes).

  This being said, your question was on how large the product of the multiplication of two matrices could be, which is much smaller.  Not only must all three matrices must be able to fit in RAM at the same time, but due to the inner workings of the calculator, the resulting matrix must be able to fit into RAM twice.  Assuming that we are using two vector matrices to maximize the resulting matrix, the matrices to be multiplied will be in the form 1xN and Nx1.  This allows the following equation to give the size of the largest matrix that can be multiplied on the TI-83/84+(SE) series of calculators:

RAM = (11 + 9 * N) + (11 + 9 * M) + 2*(11 + 9 * N * M) bytes

  For the ease of calculations, I'm going to assume the resulting matrix will be square, leading to this formula:

RAM = 2*(11 + 9 * N) + 2*(11 + 9 * N * N) bytes
RAM = 18N^2 + 18N + 44 bytes

  When solved, this gives a maximum matrix size of 36x36 (totaling to 24020 bytes).  However, this was assuming that the two matrices being multiplied were both vectors.  If the two matrices are both square, then the size drops dramatically:

RAM = 4*(11 + 9 * N^2) bytes

  Here, the largest resultant matrix is 25x25 (totaling to 22544 bytes).  It's worth noting that by the equations given it seems possible to multiply two 26x26 matrices.  However, though by my equations they total to 24380 bytes (9 shy of the RAM limit), there are actually a few more things that go into RAM - such as typing the equation to multiply the two matrices on the homescreen of the calculator - that makes the 26x26s slightly too large to be multiplied.

  Thus, on an empty TI-83/83+(SE) calculator it's possible to multiply matrices as large as 25x25, but the result can be as large as 36x36 if the two initial matrices are vectors.

2
TI Z80 / Impromptu Programming Challenge
« on: March 30, 2012, 02:30:15 pm »
Hello!

I am currently on Spring Break, so I have some time to spare, and I decided to dedicate some of the remaining time I have today to programming.  Earlier I mentally designed a box-pushing puzzle game that would take place in a tower-like structure.  I can't really give any details as to what it'll look like and everything as I haven't programmed anything yet, but I am going to have everything take place on the Homescreen because I feel like doing Homescreen graphics today.  It'll be in pure TI Basic, and I am going to start working on it as soon as I post this post.

If all goes well, I'll have something to share with all of you at the end of the day!

3
News / ZTrumpet Retires From Omnimaga Staff
« on: February 12, 2012, 09:55:19 pm »
Hi all,
  As many of you have realized, my recent schedule has become unbelievably hectic and I have no time to program or even check Omnimaga.  Because of this reason, I am retiring from Omnimaga Staff and probably calc programming entirely.  Though I have a few unfinished projects, there's still a chance that they may get done; however, don't count on it.  Detonate and my Homescreen Game Pack, have about a 50/50 chance of being finished, whereas Cube Droid only has around a 10% chance of being finished, and I'm sorry to say that Elmgon will probably never be finished.  If I finish/work on any of these, I have no idea when it will be, so again, don't count on seeing any progress.
  With this post I am renouncing my duties and positions as partial owner and staff member of Omnimaga.  These positions will continue to be carried out by the current owners/staff, and I am 100% sure they will continue to keep this site up and running to the top of their abilities.
  I would like to sincerely thank everyone here, especially DJ, Builderboy, Eeems, Juju, and Netham for their many contributions to this great site.  Thank you all for being a part of my life for over two years and helping my work on my many projects, both finished and unfinished.  Please continue to keep Omnimaga an amazing place for all of the world's coders of tomorrow.

4
News / Midnight Final Release
« on: January 01, 2012, 05:59:04 pm »
Midnight

http://www.omnimaga.org/index.php?action=downloads;sa=view;down=766

Midnight is a RPG/platformer with tons of replay value and is one of the most advanced games ever coded in the TI Basic language.  Featuring a dramatic storyline with numerous cutscenes, Midnight is unlike most other calculator games.  There are bosses to overcome, numerous rooms to explore, and several powerups available as you progress through the game.  I hope you have a wonderful time playing Midnight!  Download today!




5
News / Merry Christmas to All
« on: December 25, 2011, 10:47:58 am »
The Omnimaga Staff would like to wish each and every one of you a Merry Christmas!

Oh, and as a present to you guys, here's a brand new release of Midnight: Download Here



Have a wonderful day!

UPDATE by DJ (Dec 27th): This news was missing eye-candy stuff. :P

6
News / Axe Parser Update
« on: December 10, 2011, 09:36:50 pm »
Earlier tonight Quigibo released an Omega 1.1.0 version of Axe Parser.  This is the first time Axe has been updated since September.  If you use Axe, it's probably time to update.

Download Link

7
Humour and Jokes / MOVED: Guess this calc game reference!
« on: December 02, 2011, 10:04:34 pm »

8
News / zContest 2011 Deadline Reached
« on: December 02, 2011, 05:50:55 pm »
Roughly two days ago zContest ended with a total of 38 programs submitted.  Check out the Official Post containing a link to download all the files submitted.

Some of the more notable releases include the following 5 projects:

Absolute Madness by Deep Thought


Midnight by Ztrumpet


Graviter by Leafiness0


Simul 2 by Deep Thought


Sandpaper by Kerm Martian


Other entries from Omnimaga members include:
Calcul exact par étapes - Sandro
Chasse - noelthebest
Grammer 2 - Zeda
Grammer Run - TBO_yeong
Grammer Tetris - Sorunome
Gravity Guy - squidgetx
Legends - NanoWar
Lost - Wellen
MusicInc - TBO_yeong
Physics Jump - zeldaking
PLET - DrDnar
Pokemon Topaze - Hayleia
Racing for Victory - noelthebest
RoboGun - epic7
Squareball - stefan bauwens
Swords - parser padwan
Worms Land - mdr1

Access all 38 programs here; zContest 2011 produced many quality entries!  Results are still to come.

Direct Link to Download All Entries at Once

9
News / Builderboy's Sonic Physics program gets Revamped
« on: November 30, 2011, 08:13:08 pm »
Earlier tonight, Builderboy posted a revamped version of his old Sonic Physics engine, made with a much earlier version of Axe.  This new version features smoothscrolling and everything people loved about the original.  It is worth noting that this is only a proof of concept demo and no plans have been made to do anything further with this program.  However, it still shows what is possible in Axe and looks really, really cool.



Download Link and Discussion Topic

10
Site Feedback and Questions / Download Section Topic Creation
« on: November 23, 2011, 02:20:13 pm »
I know it would be possible to disable the fact that the Download section automatically creates topics about each download.  Would it be possible to do this, or at least make it optional to post a topic or not.  I have seen several people question the extra topic, and in numerous cases it's unnecessary.

Do any of you guys share this dream?
Netham, this is possible, right?

11
News / Cemetech Contest #8 Announced and zContest drawing to a close
« on: November 21, 2011, 09:22:58 pm »
Cemetech is sponsoring the next contest in the calc community!
"The theme for this contest is Arcade Games. Any game that can be classified under this genre is acceptable; if you have doubts on a particular concept, feel free to post on Cemetech and ask. Entries will be judged in three categories, as listed below. We are aware that it takes widely-varying effort to implement a given game in each possible language, and will be judging within the categories accordingly.

:: TI Programs - BASIC, Hybrid/Extended BASIC (Celtic III, xLIB, BatLib, Axe), and ASM games for the TI-83+ through TI-84+SE graphing calculators. It is likely that TI-Nspire programs will not be accepted, as the judges do not have Nspires. Special accommodations may be made if pre-arranged.

:: Casio Prizm Programs - BASIC and C games for the Casio Prizm color graphing calculator.

:: Computer Programs - Games written for Linux or Windows using languages such as Python, C#, C/C++, and Java. Other languages may be considered if cleared with the judges."

Basically any Arcade games are accepted for the Computer, TI-83/84+(SE) line, or the Casio Prizm.  Prizes have not been announced yet, but are being considered.  For more information and the official rules, check out the respective topic on Cemetech. The deadline is January 22nd, 2012.



Also, zContest is drawing to a close.  Its deadline is in just 9 days.  Good luck to all the participants, and make sure to get your entries in on time.
Official zContest Site: http://tiforge.info/zcontest3/?

12
Miscellaneous / Which Omnimaga Theme Do You Use?
« on: November 20, 2011, 06:19:36 pm »
I was curious as to which theme everyone uses, so I figured I'd ask.  If you don't know which theme you are using or how to change themes, check the left side of Omnimaga's home page.
Thanks for voting!

13
Math and Science / Extracting the Powers of 2
« on: November 13, 2011, 07:32:31 pm »
I am trying to set up a compression system for Midnight that should be really simple to do.  The problem is I'm missing the math somewhere.
Here's what I would like to know how to do:
Say I have the number 834 (512+256+64+2).  How do I check to see if various powers of two are represented by that number?  I.E., I want a mathematical equation that tells me if 2^(any number) is in that number.

I hope that explained it well enough.  To clarify, 16 is not a number in 834, but 256 is.  Likewise, 16 is a number in 1155 (1024+128+2+1), but 2 is.  How can I figure this out with a mathematical equation so I don't have to resort to loops?

Thanks in advance for any help I receive!

14
News / Jacobly releases Floating Point Math Axiom
« on: October 25, 2011, 09:04:53 pm »
Earlier today Omnimaga user jacobly released a floating point library or use with Axe.  This will be of great help to anyone who wants the speed or interface of assembly without the hassle of having to code the floating point routines themselves.  Jacobly has made a wonderful contribution to the community of all Axe coders, especially those who want *real* mathematics included in their programs.

Link to Discussion Topic, Usage, and Download

15
Casio Calculators / MOVED: OS 1.03 and PHYSIUM add-in
« on: October 21, 2011, 03:59:20 pm »
This topic has been moved to News.

http://ourl.ca/13560

Pages: [1] 2 3 ... 7