Mixedbase division, getting a decimal?

04112015, 09:52 PM
Post: #1




Mixedbase division, getting a decimal?
I'm looking for a calculator that can handle mixedbased and bitwise math well. Playing with the emulator, the Prime does a decent job at everything I need, except in the case where I need to divide a pair of mixedbase numbers by each other and get a result that includes the decimal point and anything beyond it.
For example: 7/3 results in 2.33333333333, but #7o/#11b results in #2o. #7d/#3d results in #2d, as well. This is mostly as expected, but is there a way to see the decimal result of a division when you specify the bases? 

04122015, 10:24 AM
Post: #2




RE: Mixedbase division, getting a decimal?  
04122015, 07:27 PM
(This post was last modified: 04122015 07:27 PM by izzy84075.)
Post: #3




RE: Mixedbase division, getting a decimal?
Figured out a slightly better solution than that...
approx(#7h/#11b) Still requires going back to the original formula, but this is workable. 

04132015, 12:13 PM
(This post was last modified: 04132015 12:26 PM by DrD.)
Post: #4




RE: Mixedbase division, getting a decimal?
Approx() saves typing two characters overall. However, you asked, "but is there a way to "see" the decimal result of a division when you specify the bases?"
The B→R() function pretty clearly displays the taking of an existing radix to base 10, to "show" both the integer and fraction parts resulting from decimal division. Neither method uses any time, as a practical matter, since both report 0_s with TEVAL(), on the emulator. For didactic purposes, B→R() may be more informative than approx(). Students may also need to know about fractional parts in ANY radix, which these two methods do not address. Dale 

« Next Oldest  Next Newest »

User(s) browsing this thread: