The TI-34 is a fairly basic scientific #calculator.
-
I’m showing what TI basic would return.
@futurebird Uh, sorry I'm dumber than usual today. Perhaps I should wait for the rest of the post to load before commenting
-
@futurebird “learning math it’s important because it’s the same everywhere you go!” - my lying ass math teacher in grade school
-
@futurebird Uh, sorry I'm dumber than usual today. Perhaps I should wait for the rest of the post to load before commenting
nah it’s not you this is a little confusing— and I wonder if it should be considering these are educational devices.
I do think part of the problem is “int” is a type in python— but it’s just an operation on the calculator.
-
@futurebird “learning math it’s important because it’s the same everywhere you go!” - my lying ass math teacher in grade school
You see this is why I don’t like this even if I can explain why it happens.
-
@futurebird they are doing what would generally be expected in their domains. a person using the calculator is unlikely to think of a float as an integer and fractional part, while a programmer is quite likely to think like that
-
@futurebird just piling on here: I would have defined it as your Python does (the integer part).
I just asked Common Lisp what it does (my current learn-a-computer-language hobby) and it doesn't pre-define an integer function. The manual says "The ceiling, floor, round and truncate functions convert floating point or rational numbers to integers".
-
@futurebird they are doing what would generally be expected in their domains. a person using the calculator is unlikely to think of a float as an integer and fractional part, while a programmer is quite likely to think like that
@risc Ok but that calculator also runs python which means you can get both results on the same device you hand to children.
-
@futurebird just piling on here: I would have defined it as your Python does (the integer part).
I just asked Common Lisp what it does (my current learn-a-computer-language hobby) and it doesn't pre-define an integer function. The manual says "The ceiling, floor, round and truncate functions convert floating point or rational numbers to integers".
@adardis @futurebird Are you a programmer or a mathematician?
-
@adardis @futurebird Are you a programmer or a mathematician?
-
The TI-34 is a fairly basic scientific #calculator. I’m a big fan because it’s easy to use and not overwhelming.
I was reading the manual and discovered it has two functions:
ipart(x)
fpart(x)These return the integer and fraction parts of x.
ipart(2.34)=2
fpart(2.34)=.34Great! So, uh.. What are these typically used for? Why include them on such a *basic* calculator? #calculators #ticalc #ti34 #matheducation #mathchat
I tend to imagine that every feature included on a calculator like the TI-34 had to fight to be there.
It's a very stripped down calculator and, as an educator I can tell exactly why everything else is there. From little things, like how it won't reduce square roots (this would make teaching the conceptual part of that skill very annoying) to the inclusion of doing stdev for only 35 numbers.
But the ipart() and fpart() have me stumped!
I must go deeper!
-
I tend to imagine that every feature included on a calculator like the TI-34 had to fight to be there.
It's a very stripped down calculator and, as an educator I can tell exactly why everything else is there. From little things, like how it won't reduce square roots (this would make teaching the conceptual part of that skill very annoying) to the inclusion of doing stdev for only 35 numbers.
But the ipart() and fpart() have me stumped!
I must go deeper!
I'm starting to wonder if it's there because of one textbook in some country or region I don't know about... or maybe it's just something that people who design calculators think is useful that baffles everyone else?
-
I'm starting to wonder if it's there because of one textbook in some country or region I don't know about... or maybe it's just something that people who design calculators think is useful that baffles everyone else?
@futurebird when were these functions added? The TI-34 goes back to the 1980s, so it's possible they were added long ago for reasons relevant to that distant era, and kept for backwards compatibility. (Something similar applies to the behavior of int() on the TI-84)
-
I tend to imagine that every feature included on a calculator like the TI-34 had to fight to be there.
It's a very stripped down calculator and, as an educator I can tell exactly why everything else is there. From little things, like how it won't reduce square roots (this would make teaching the conceptual part of that skill very annoying) to the inclusion of doing stdev for only 35 numbers.
But the ipart() and fpart() have me stumped!
I must go deeper!
@futurebird Engineers do ipart() and fpart() all the time when we need to truncate (not round) floating point values.
Doing ipart() and fpart() works on lists and arrays and imaginary numbers too - cool!
-
@futurebird Engineers do ipart() and fpart() all the time when we need to truncate (not round) floating point values.
Doing ipart() and fpart() works on lists and arrays and imaginary numbers too - cool!
Ok maybe doing it on a list would be worth it?
-
@futurebird Engineers do ipart() and fpart() all the time when we need to truncate (not round) floating point values.
Doing ipart() and fpart() works on lists and arrays and imaginary numbers too - cool!
@rhempel @futurebird In sickness and in health, till engineers do ipart()
-
The TI-34 is a fairly basic scientific #calculator. I’m a big fan because it’s easy to use and not overwhelming.
I was reading the manual and discovered it has two functions:
ipart(x)
fpart(x)These return the integer and fraction parts of x.
ipart(2.34)=2
fpart(2.34)=.34Great! So, uh.. What are these typically used for? Why include them on such a *basic* calculator? #calculators #ticalc #ti34 #matheducation #mathchat
@futurebird I'm going to pull a guess straight out of thin air, but I think they might be intended for US Imperial Units use: where there's e.g. feet + inches, or pounds + ounces, etc: you can then perform additional arithmetic on the units "independently" when you can extract integer & fraction
-
@futurebird I'm going to pull a guess straight out of thin air, but I think they might be intended for US Imperial Units use: where there's e.g. feet + inches, or pounds + ounces, etc: you can then perform additional arithmetic on the units "independently" when you can extract integer & fraction
OMG. This kind of makes sense.
-
@futurebird I'm going to pull a guess straight out of thin air, but I think they might be intended for US Imperial Units use: where there's e.g. feet + inches, or pounds + ounces, etc: you can then perform additional arithmetic on the units "independently" when you can extract integer & fraction
@eigen@mattstodon.panar.ooo @futurebird@sauropods.win by the way it's not "US Imperial", Imperial units are a different set of units from US Customary
-
@eigen@mattstodon.panar.ooo @futurebird@sauropods.win by the way it's not "US Imperial", Imperial units are a different set of units from US Customary
-