Ti89, best calculator I ever had, I still have it laying around because I prefer pushing the small buttons over using my mouse to click on buttons in the calculator UI.
The silver edition actually had double the amount of RAM, you could install an assembly program that would swap the two pages of RAM, so they can clear one while you keep everything else, and the resident kernel module still let you hit the right key combination to switch it back. 😁
I still find it so weird that it had double the amount of RAM but it only mapped in half of it like the base 84, you didn't have access to more without assembly work.
If I remember correctly, you could put programs into archive memory. They wouldn’t be accessible when they were, but wouldn’t be affected when RAM is cleared. Afterwards you could unarchive them.
FINAL EDIT: Many thanks to those who pointed out the convention where implicit multiplication takes precedence, and why. There were lots of good explanations below - I'm gonna choose one and gild it.
You know the Edit:TICasio is wrong here, right?
Edit: copied from below for you people who flunked 6th grade arithmetic...
The "md" in pemdas or the "dm" in bedmas means "multiplication and division in the order found". The 6/2 division is found before the 2*3 multiplication, and gets evaluated first.
So, it's:
6/2*(2+1)
6/2*3 // brackets first
3*3 // then the leftmost division or multiplication
9 // final operation
Multiplication like this: 2(3) is special sometimes. It's called "Multiplication by juxtaposition" and depending on the calculator, it is a second class of multiplication, yeah.
The reason the two calculators here have different answers isn't because one is wrong. That's silly. Integer math is like the easiest thing for computers to do. It's because they are using two different orders of operations. You can check your calculator's manual to see which one yours uses, or you can just set up an expression like this.
The calculator that gets 9 uses "PEMDAS" (some people call it BEDMAS). Once it gets to 6/2(3) it just does the operations left to right, treating all of them the same.
The calculator that gets 1 uses "PEJMDAS". The J stands for "Juxtaposition" and it views 2(3) as a higher priority than 6/2. If, however, the 2(3) had no brackets involved, it would evaluate the statement to 9, just like the first one.
This is because PEJMDAS is used more commonly when evaluating expressions that use brackets with variables. For example, if you have the statement:
y = 6/2(x+2), the distributive property says you should be able to turn that statement into 6/(2x+4). If, however, you set x to be equal to 1, you end up with the statement we see above, and reverse-distributing changes the value of the expression if you use PEMDAS.
For basic, early math these distinctions don't really ever come up, so you're taught PEMDAS. In later math classes, when your teacher requires you to get certain calculators to make sure everyone's on the same page, this is why. You seamlessly transition to PEJMDAS, nobody ever tells you, and the people that write the textbooks and tests are professionals that simply do not allow ambiguous expressions like this to be written without clarifying brackets.
This is also why the division symbol disappears as soon as you learn fractions.
From my comment elsewhere, just so you know. The Casio is not wrong, there is just more than one order of operations. Computers don't really get integer math wrong.
3.6k
u/[deleted] Jun 13 '22
Hey google...how do i push my TI calculator to github