Lissafin Kwamfuta

Kalkuleta Hexadecimal

Ana iya amfani da wannan kayan aiki a yanayin ƙididdiga don aiwatar da ayyukan algebra ta amfani da lambobin hex (ƙara cire raba raba hexadecimals).

Kalkuleta na Hexadecimal

Zaɓi zaɓi
Sakamako
?

Abubuwan da ke ciki

Menene lambobin hexadecimal?
Juyawa zuwa kuma daga lambobin hexadecimal
Hexadecimal zuwa decimal
Decimal zuwa hexadecimal
Yadda za a yi ƙarin HEX?
Ragewa
Yadda za a ninka ƙimar HEX?
Ƙungiyar Hex

Menene lambobin hexadecimal?

Lambobin hexadecimal ko hexadecimal lamba ce da aka bayyana a tsarin lamba na wuri hexadecimal. Yana da tushe na 16 kuma yana amfani da alamomi 16. Waɗannan sun haɗa da lambobi 0-9 da haruffa A, B, C, D, E, da F don wakiltar ƙima tsakanin 0 da 15. Hakanan ana iya amfani da ƙananan haruffa A zuwa F. Misali, 10 a cikin decimal shine A a hex, 100 a cikin adadi shine 64 a hex, yayin da 1,000 a cikin adadi shine 3E8 a hex. Lambobin hex na iya sanya hannu kamar lambobi na goma. Misali, -1e yayi daidai da -30 a cikin decimal.
Ana amfani da lambobi na Hex a cikin kwamfuta ta masu shirye-shirye, injiniyoyin software, da masu tsara tsarin kwamfuta a matsayin wakilci mai dacewa na tsarin binary na asali. Wataƙila waɗannan sana'o'in za su buƙaci mai canza sheka ko ƙididdiga na hex.
Za a ci karo da su da wani talakawan mai amfani da ke binciken intanet. Waɗannan haruffan na musamman suna cikin URLs azaman lambar hex, misali %20 don 'sarari' (ba komai). Shafukan yanar gizo da yawa kuma sun ƙunshi haruffa na musamman a cikin HTML bisa ga ƙididdiga na haruffan hexadecimal (&& # x ), misali. Tsarin Unicode alamar zance guda ɗaya shine '. Wannan shine Unicode don alamar zance ɗaya (').
Tsarin lambar hexadecimal (Hexa) yana aiki kusan iri ɗaya ga tsarin binary da tsarin decimal. Yana amfani da tushe maimakon 10 ko 2, bi da bi. HEX yana amfani da lambobi 16, gami da 0-9, da tsarin decimal na benaye 10 da 2. Koyaya, tana kuma amfani da haruffa A, B, C, D, E, da F don wakiltar lambobi 10-15. Kowane lambobi hex shine lambobi 4 na binary da ake kira nibbles. Wannan yana sauƙaƙa don wakiltar manyan lambobin binary.
Ƙimar binary 1010101010101010101010101010101010101010101010101010101010 ana wakilta a HEX azaman 2AA. Wannan yana ba kwamfutoci damar damfara manyan lambobin binary ta hanyar da ke da sauƙin canzawa tsakanin tsarin biyu.
Anan akwai wasu misalan juzu'ai tsakanin binary, hex, da ƙima na goma.
Decimal Hex Binary
0 0 0
1 1 1
2 2 10
3 3 11
5 5 101
10 A 1010
11 B 1011
12 C 1100
13 D 1101
14 E 1110
15 F 1111
50 32 110010
63 3F 111111
100 64 1100100
1000 3E8 1111101000
10000 2710 10011100010000
Mayar da ƙima yana yiwuwa ta fahimtar ƙimar wurin tsarin lambobi daban-daban. Za ku lura cewa jujjuya tsakanin decimal decimal decimal da Hex kusan iri ɗaya ne da jujjuya tsakanin ƙima mai ƙima. Ikon maida ko dai ya kamata ya sauƙaƙa. Kuna iya yin ayyukan hex tare da tushe na 16, kamar yadda muka riga muka ambata. Wannan yana nufin cewa kowane ƙimar wuri na 2AA shine ikon 16 don ƙimar 2AA. Fara daga dama, farawa daga hagu, na farko A yana wakiltar "waɗanda", wanda shine 16 0. 16 shine harafin A na biyu daga dama. 1 16 yana wakilta ta 2 da. 2 . Ka tuna cewa A a hex yayi daidai da 10 a cikin adadi.

Juyawa zuwa kuma daga lambobin hexadecimal

Juyawa baya canza ainihin lamba, amma yana canza fasalinsa. Kuna iya sauya nau'ikan lambobi cikin sauri da sauƙi ta amfani da mai sauya mu. Ba kwa buƙatar yin duka juzu'i ko lissafi lokaci guda

Hexadecimal zuwa decimal

Kowane matsayi a lamba na Hexadecimal yana da ƙarfi 16 kamar yadda kowane matsayi na lamba 10 yake da ƙarfi 10. Lambobin decimal 20 don haka 2 * 101 + 0,0 * 100 = 20. Lambobin decimal 20 shine 2 * 161 + 1 * 160 = 32 a cikin Dec. Lambar 1E ita ma 1 * 16 + 14 1 = 30 a cikin adadi.
Don canza HEX zuwa goma, da farko ɗauki kowane matsayi sannan a canza shi zuwa adadi goma. 9 shine 9, B yana canzawa zuwa 11, sannan kowane matsayi yana ninka ta 16 don samun ikon lambar matsayi. Ana yin haka ta hanyar kirga daga hagu zuwa dama, farawa daga sifili. Ƙididdigar ƙayyadaddun mu na iya zama da amfani idan dole ne ka ƙididdige manyan ƙididdiga kamar 168.

Decimal zuwa hexadecimal

Wannan saboda muna tafiya daga mafi girma zuwa ƙananan tushe. Bari mu ce lambar da muke son musanya daga decimal zuwa hex ita ce X. Fara da gano mafi girman iko 16 = X. Bayan haka, ƙididdige adadin lokutan da aka canza ikon 16 zuwa X. Nuna shi da E. Ya kamata a nuna ragowar ta Y1.
Ci gaba da matakan da ke sama ta amfani da Yn don ƙimar farawa, har sai 16 ya fi sauran ƙimar. Na gaba, sanya matsayi 160 ga saura. A ƙarshe, sanya kowane darajar Y1...n matsayinsa. Yanzu zaku sami darajar ku.

Yadda za a yi ƙarin HEX?

Ƙarin Decimal yana da ƙa'idodi iri ɗaya don ƙari na HEX, ban da ƙarin lambobi A, B, da C. Idan waɗannan lambobin ba a adana su cikin ƙwaƙwalwar ajiya ba, yana iya zama da amfani don samun daidaitattun ƙimar decimal A ta F a hannu. . A ƙasa akwai misalin ƙari.

Ragewa

Hakanan za'a iya yin ragi kamar yadda ake ƙarawa. Ana cim ma wannan ta hanyar yin aikin yayin da ake juyawa tsakanin ƙimar decimal da hex. Lamuni shine mafi mahimmancin bambanci tsakanin ƙima da ragi. The "1" a hex ne 16 decimal, maimakon 10 decimal lokacin aro. Dalili kuwa shi ne, ginshiƙin da ake aro ya fi ginshiƙin aro girma sau 16. Wannan shine dalilin da yasa 1 a cikin decimal ke wakiltar 10. Wannan yana da mahimmanci a lura kuma ya kamata a yi canje-canjen lambobin haruffa AF tare da kulawa. Rage hex ba shi da wahala fiye da ragi na goma.

Yadda za a ninka ƙimar HEX?

Yana iya zama ƙalubale don yin ninkawa saboda wahalar juyawa tsakanin ayyuka na ƙima (hex) da na goma (decimal). Lambobin gabaɗaya sun fi girma don haka yana ɗaukar ƙarin ƙoƙari. Yana iya zama da amfani a sami tebur mai yawan hexadecimal (an bayar da ɗaya a ƙasa). Za a buƙaci jujjuyawar hannu tsakanin ƙima ga kowane mataki.

Ƙungiyar Hex

Dogon rarrabuwa daidai yake da tsayin rabo a cikin adadi. Koyaya, ninkawa, da kuma raguwa, ana yin su cikin hex. Hakanan zaka iya juyar da ƙima don yin tsayin rabe-rabe, sannan komawa da zarar jujjuya ta cika. Teburin hexadecimal don ninkawa (wanda aka bayar a ƙasa), zai zama taimako yayin gudanar da rarraba.

Parmis Kazemi
Mawallafin labarin
Parmis Kazemi
Parmis shine mahaliccin abun ciki wanda ke da sha'awar rubutu da ƙirƙirar sabbin abubuwa. Hakanan tana sha'awar fasaha kuma tana jin daɗin koyon sabbin abubuwa.

Kalkuleta Hexadecimal Harshen
Buga: Tue Dec 21 2021
Sabbin sabuntawa: Fri Aug 12 2022
A cikin rukuni Lissafin kwamfuta
Ƙara Kalkuleta Hexadecimal zuwa gidan yanar gizon ku