math problem


2013-6-5 13:54 wilson29

math problem



Convert 10x16^10+3x16^3 into hexadecimal number

點樣用計數機禁出個anx
A0000003000 16

2013-6-5 14:19 UniCorn
呢題駛乜用計數機 - -
----------------------------------------------------------------------
計左 10x16^10+3x16^3個答案之後轉base mode
喺dec base 度打個答案之後轉 hex base

不過個數太大會math error www

[[i] 本帖最後由 UniCorn 於 2013-6-5 14:22 編輯 [/i]]

2013-6-5 15:05 wilson29
咁我點先計到ans 仲有咩方式

2013-6-5 15:33 UniCorn
[quote]原帖由 [i]wilson29[/i] 於 2013-6-5 03:05 PM 發表
咁我點先計到ans 仲有咩方式 [/quote]
你明唔明 n進制 點解 = =

43210(base 10) = 4x10^4+3x10^3+2x10^2+1x10^1+0x10^0 (base 10)
43210(base 16) = 4x16^4+3x16^3+2x16^2+1x16^1+0x16^0 (base 10)

[[i] 本帖最後由 UniCorn 於 2013-6-5 15:35 編輯 [/i]]

2013-6-5 15:37 wilson29
我知-.-
但系我計五到A0000003000 16
計數機又計五到 個數太大

2013-6-5 15:40 UniCorn
[quote]原帖由 [i]wilson29[/i] 於 2013-6-5 03:37 PM 發表
我知-.-
但系我計五到A0000003000 16
計數機又計五到 個數太大 [/quote]
A0000003000咪係答案...仲有乜野要計 = =

2013-6-5 15:42 wilson29
點樣計呢個ans出來...

2013-6-5 15:52 UniCorn
[quote]原帖由 [i]wilson29[/i] 於 2013-6-5 03:42 PM 發表
點樣計呢個ans出來... [/quote]
咁你又話知 n進制 點解... = =

10x16^10+3x16^3

=10x16^10+0x16^9+0x16^8+0x16^7+0x16^6+0x16^5+0x16^4+3x16^3+0x16^2+0x16^1+0x16^0

=A0000003000 (base 16

2013-6-5 15:57 wilson29
系喎..傻左...
五該哂:1285 :1302 :1302 :1302 :1302

2013-6-5 16:46 gundam00shit

回復 #1 wilson29 的帖子



我以為有人唔識三元方程 (要教programme)-_-

點知 \_/ F2?

2013-6-5 19:03 kingking

回復 #10 gundam00shit 的帖子



有小小吹9漲成份
位都比埋都唔知點計個ANS...

頁: [1]
查看完整版本: math problem


Powered by Discuz! Archiver 5.0.0  © 2001-2006 Comsenz Inc.