TI-84: Base Conversion Program

  Рет қаралды 18,293

Hartz Math

Hartz Math

Күн бұрын

Пікірлер: 45
@BlueMoon-mj5sr
@BlueMoon-mj5sr Жыл бұрын
I would like to inform you that I have just completed this tutorial! You are a thing of a genius yourself and I went through your playlists and replicated all of your codes. Please continue making more since it has given me a nice hobby.
@theears995
@theears995 4 жыл бұрын
As a programmer by trade, THANK YOU.
@FirstnameLastname-mi7xg
@FirstnameLastname-mi7xg 6 жыл бұрын
So useful! Works perfectly! Thank You!
@michaelatellez8470
@michaelatellez8470 4 жыл бұрын
Thank you so much! I really appreciate this video.
@gideonkukoyi8935
@gideonkukoyi8935 Жыл бұрын
This video came in clutch. Thank you!
@lightamplifier6105
@lightamplifier6105 2 жыл бұрын
Thank you Alex. such a time saver. NAMASTE
@picknoname3425
@picknoname3425 2 жыл бұрын
Omg, this is brilliant!
@lcmbogart
@lcmbogart 5 жыл бұрын
Thanks so much! Very easy to follow!
@opeagboola3737
@opeagboola3737 Жыл бұрын
You are amazing for creating this
@kevinbanky
@kevinbanky 5 жыл бұрын
So helpful! Thank you!
@mortenlund1418
@mortenlund1418 Жыл бұрын
Cool - thanks and great. It was very clear and easy to follow. Best wishes.
@fugmopoly
@fugmopoly 6 жыл бұрын
Thanks a lot! Very useful
@Veritas-ug3pi
@Veritas-ug3pi 4 жыл бұрын
This is so useful, thanks Alex
@ahmedhossamdehhaoui9574
@ahmedhossamdehhaoui9574 Жыл бұрын
Thanks man
@stevennguyen1466
@stevennguyen1466 3 жыл бұрын
Here is the code Input "DIGITS:",D Input "NUMBER:",A Input "IN BASE:",B Input "TO BASE:",F 0→T 0→C For(J,0,D-1) int(A/(10^(D-1-J)))→C C*B^(D-1-J)+T→T A-C*10^(D-1-J)→A End 1→P 0→E For(K,0,15) int(T/(F^(15-K)))→E Output(5,P,E) T-(E*F^(15-K))→T P+1→P End Disp "
@manawaster2126
@manawaster2126 2 жыл бұрын
absolute legend
@MrDeadmanmatt
@MrDeadmanmatt 5 жыл бұрын
Great program, but won't correctly change to Hexidecimal (A,B,C,D,E,F). Any solutions?
@curtaincommander
@curtaincommander 5 жыл бұрын
Thanks Matt, In all honesty, I threw this program together somewhat quickly, and since the int function plays a role in the conversion process, this program can't make the switch to hexidecimal, nor successfully convert to bases higher than 10. I'm sure there's a way to write a program that does such a thing, but I haven't approached that problem myself.
@MrDeadmanmatt
@MrDeadmanmatt 5 жыл бұрын
@@curtaincommander it works great and is going to save me a lot of time doing my math calculations. If you have a basic grasp of hex to dec, you can bend this program to work even with hex conversions. So thank you, again!
@Casparsui
@Casparsui 5 жыл бұрын
how do you convert (BADFACED)_16 to binary number? :)
@YamamotoTV2021
@YamamotoTV2021 2 жыл бұрын
When I tried converting 11 from base 10 into base 12, the result was still just 11 and not B (as it should be). Is there a way to fix this? Thank you.
@curtaincommander
@curtaincommander 2 жыл бұрын
I believe I mentioned it in the video, but perhaps not... This program will only work with numbers that have digits 0-9. I'm sure there's a way to program in extra if(... statements to convert 11 into B and so forth, but I haven't looked into it. This was a programming effort to help high school students understand base conversions for math competitions in our area, so it's pretty simplistic. Sorry!
@Ema_Not_Emma
@Ema_Not_Emma 5 жыл бұрын
i have a quick question to ask about converting equations. i don't know if this code allows for accurate equations to be input into it or not, so i'd like to know how to account for the digit input.
@curtaincommander
@curtaincommander 5 жыл бұрын
I hope I am understanding your question well. The purpose of the "digits" input is to determine how many digits are in the original number. This is used to help establish the different number of place values needed for the starting number. For instance, an input of 1583 needs to be separated into a 1 in the thousands place, 5 in the hundreds place, 8 in the tens place, and 3 in the ones place, and that's what the "digit" input is used for. The program doesn't allow "equations" to be entered, as it's only meant to convert a number from one base system to another base system, provided that they are both base 10 or less. I'm sure a more thorough program has been created, this is just something I threw together quickly to illustrate the concept for high schoolers.
@Ema_Not_Emma
@Ema_Not_Emma 5 жыл бұрын
@@curtaincommander Okay, thank you! I'd also like to know about how to represent numbers like 10 into base twelve in the code, because that's mainly what i'm using it for.
@curtaincommander
@curtaincommander 5 жыл бұрын
@@Ema_Not_Emma That's the tricky part, as the calculator performs its calculations in a base ten system, and using the int( function allows the program to reduce the input number into its proper digit places (i.e. convert it to base 10, then change it to a desired base by summing up the proper powers. The problem lies in the fact that you would need to dedicate some if( statements to assign "A" and "B" into handling something that takes 2 digits in base 10 but only requires 1 digit in base 12. I'm sure it can be done, I just haven't looked into it myself.
@Ema_Not_Emma
@Ema_Not_Emma 5 жыл бұрын
@@curtaincommander thanks, you've been a big help!
@PixlStyx
@PixlStyx 5 жыл бұрын
what about converting something like 999 from base 10 to 16
@curtaincommander
@curtaincommander 5 жыл бұрын
Here's a link to the PDF: docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxoYXJ0em1hdGh8Z3g6NTMxZjJkMDA2NTIzOTIz. Unfortunately, this program only works for conversion of numbers to bases that are less than or equal to 10, since the program using rounding in the base 10 system to do its converting. I'm pretty sure it's possible to create a program that would do just that, but I try to keep my programs simple enough to work for the average high school student.
@huntergraham617
@huntergraham617 2 жыл бұрын
i keep getting a syntax error but I've checked multiple times and it keeps sending me to the quotation in front of DIGITS. In there I have :Input "DIGITS:
@curtaincommander
@curtaincommander 2 жыл бұрын
It may be that you're missing the closing quotes... that's a pretty common syntax error that shows up. It should say :Input "DIGITS: " followed by a comma and the variable you're using. I hope this helps!
@shreejipatel1426
@shreejipatel1426 Жыл бұрын
Would appreciate if u leave the code in description
@curtaincommander
@curtaincommander Жыл бұрын
I get this comment on quite a few of my calculator program videos, and I totally understand where you're coming from. I actually don't even keep typed versions of the code at all, so I'm sorry I can't just paste it into a comment. However, if you're just after the code, you can pause the video and slide ahead to copy what's on the screen until the program is written. You could also try looking online for programs you can download to your calculator... I'm sure there are some more fully-featured ones out there. My ultimate intention was that people see *why* the code is used... to explain the process more than just spread code... Personally, I feel that's a better learning experience.
@shreejipatel1426
@shreejipatel1426 Жыл бұрын
@@curtaincommander oh yeah I totally understand your point. This video definitely helps for sure. Is there any other vids where u convert numbers to letters.. Like A=10,B=11....F=15.
@danevaldez5977
@danevaldez5977 Жыл бұрын
i think there's a margin of error. I'm trying to convert binary to decimal, 1100101100111010 and the answer should be 52026 but the program answer is 52024
@curtaincommander
@curtaincommander Жыл бұрын
I hadn't messed around with binary numbers that large, so there may be an issue with rounding. I know the program has its limitations, particularly with bases larger than 10, so it's entirely possible. Thank you for noticing and pointing this out!
@SuperTrey97
@SuperTrey97 4 жыл бұрын
I always gives me 0's.
@curtaincommander
@curtaincommander 4 жыл бұрын
It's difficult to diagnose something like that without seeing the code you've entered. My best advice to you is to double-check all of the variables used. Sometimes it's something as small in the code as using an A instead of a B, or used a negative sign instead of a minus sign that causes outputs like that. If you're trying to convert to a number higher than base-10, the program won't work every time since it's built using base-10 characters as output. I hope this possibly helps!
@firasamazighberkani3216
@firasamazighberkani3216 2 жыл бұрын
It did not work idk why
@curtaincommander
@curtaincommander 2 жыл бұрын
Are you getting some type of error message? Typically with these programs a SYNTAX error occurs, and it's usually something small, like a missing comma, unbalanced parentheses, or a minus sign instead of a negative sign.
@firasamazighberkani3216
@firasamazighberkani3216 2 жыл бұрын
@@curtaincommander ohh I fix it, thank you so much . How can I go from base 10 into base 12. The result is wrong
@curtaincommander
@curtaincommander 2 жыл бұрын
@@firasamazighberkani3216 I believe this was asked in another comment also. Since the calculator outputs digits 0-9, it's really only set to run up to base-10. I suppose you could possibly write an if..else... series of commands that would assign the letters A, B, C, D, E... to 11, 12, 13, 14, 15... if you wanted to go higher, but that would be a pretty involved process. In all honesty, I'm not even sure if it's possible on a TI84... sorry I can't be of more help there!
TI-84: Systems of Equations (2- or 3-variable) Solving Program
21:15
TI-BASIC Temperature Conversion Program
16:15
Calcutron Plus_SE
Рет қаралды 4,9 М.
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 119 МЛН
ОСКАР ИСПОРТИЛ ДЖОНИ ЖИЗНЬ 😢 @lenta_com
01:01
Inside the TI 84 Python Edition Calculator!
41:21
Ben Heck Hacks
Рет қаралды 132 М.
How calculator games took over schools
12:46
Phil Edwards
Рет қаралды 313 М.
Decimal To Hexadecimal Program for TI-84 Plus
21:29
Math Class Calculator
Рет қаралды 2,5 М.
Decimal To Hexadecimal Made Easy
5:45
Michael Schwartz
Рет қаралды 327 М.
Snake Program on the TI 83/84+
15:49
Patrick Feltes
Рет қаралды 262 М.
Quadratic Formula Program TI 84 Walkthrough + Code!
14:11
DomDCodes
Рет қаралды 44 М.
How To Convert Decimal to Hexadecimal
22:20
The Organic Chemistry Tutor
Рет қаралды 1,7 МЛН
Decimal To Binary Converter Program TI-84 Plus CE
19:49
Math Class Calculator
Рет қаралды 4,5 М.
Water Cooling a TI-84 Graphing Calculator!
12:44
Linus Tech Tips
Рет қаралды 3,7 МЛН
Which TI-84 Plus is Best for You? Reviewing Every TI-84 Plus (CE)!
11:40
TheLastMillennial
Рет қаралды 104 М.