Advertisement
rotti321

Teorie transformare baze

Nov 16th, 2021
83
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Teorie transformare baze
  2.  
  3. f(x) = transf din baza 16 in baza 10
  4.  
  5. f(123)=f(12)*16+3 =(1*16+2)*16 +3
  6. f(12)=f(1)*16+2 =1*16+2
  7. f(1)=1
  8.  
  9. B16 --> B10
  10. 2E5F9 = (((2*16^1 +14)*16^1 + 5*)16^1 + 15)*16^1 + 9
  11. 4 3 2 1 0
  12.  
  13. = 2*
  14. (2E5F9)16=(43210)10
  15.  
  16.  
  17. 5123=((5*16^1 +1)*16^1 + 2)*16^1 + 3
  18.  
  19.  
  20. 4321=4000+300+20+1=((4*10+3)*10+2)*10+1
  21.  
  22. B2 --> B10
  23.  
  24. 11011=1*2^4+1*2^3+0*2^2+1* 2^1+1*2^0
  25. 43210
  26. 0 0
  27. 1 1
  28. 2 2
  29. 3 3
  30. 4 4
  31. 5 5
  32. 6 6
  33. 7 7
  34. 8 8
  35. 9 9
  36. A 10
  37. B 11
  38. C 12
  39. D 13
  40. E 14
  41. F 15
  42. 10
  43.  
  44. (73)10 = (?)16
  45.  
  46. 73:16 9*1 nr=nr+c*p
  47. 4:16 4*10
  48. 0
  49.  
  50. (73)10 = (49)16
  51.  
  52.  
Advertisement
RAW Paste Data Copied
Advertisement