使用Python计算pi到12的基础? [英] Compute pi to base 12 using Python?

查看:55
本文介绍了使用Python计算pi到12的基础?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要弄清楚如何计算pi到12的基数,以及

可能的数字。我找到了这个参考,

< http://mathworld.wolfram.com/Base.html>,但我真的不明白

它就足够了。有人可以告诉我如何做我需要的吗?


谢谢,


Dick Moores
rd *@rcblue.com

I need to figure out how to compute pi to base 12, to as many digits as
possible. I found this reference,
<http://mathworld.wolfram.com/Base.html>, but I really don''t understand
it well enough. Could someone show me how to do what I need?

Thanks,

Dick Moores
rd*@rcblue.com

推荐答案

2005年4月13日星期三02 :06:11 -0700,Dick Moores< rd *@rcblue.com>写道:
On Wed, 13 Apr 2005 02:06:11 -0700, Dick Moores <rd*@rcblue.com> wrote:
我需要弄清楚如何计算pi到12的基数,以及尽可能多的数字。我找到了这个参考,
< http://mathworld.wolfram.com/Base.html>,但我真的不明白它已经足够了。有人可以告诉我如何做我需要的吗?

谢谢,

rick Moores
rd * @ rcblue.com
I need to figure out how to compute pi to base 12, to as many digits as
possible. I found this reference,
<http://mathworld.wolfram.com/Base.html>, but I really don''t understand
it well enough. Could someone show me how to do what I need?

Thanks,

Dick Moores
rd*@rcblue.com



看看这是否足以完成家庭作业? ;-)


(数字A和B分别为10和11十进制)


3184809493B918664573A6211BB151551A05729290A7809A49 2742140A60A55256A0661A03753A3AA54805646880181A

3683083272BBBA0A370B12265529A828903B4B256B8403759A 71626B8A54687621849B849A8225616B442796A31737B2

29B2391489853943B8763725616447236B027A421AA17A38B5 2A18A838B01514A51144A23315A3009A8906B61B8B48A6

2253A88A50A43BA0944572315933664476B3AABB7758397512 0683526B75B462060BB03B432551913772729A21475535

31793848A0402B999B5058535374465A68806716644039539A 8431935198527B9399B112990ABB0383B107645424577A

51601B3624A88B7A676A3992912121A213887B92873946A613 32242217AA7354115357744939112602BA4B888818A326

9222B528487747839994AB223B65B8762695422822669BA00A 586097842A51750362073B5A768363B21BB1A97A4A1944

47749399804922175A068A46739461990A2065BB0A30BBAB70 24A585B1A84428195489784A07A331A7B0A1574565B373

B05B03A5A80A13AB878577346 79985558A5373178A7B282719 92A3894A5776085083B9B238B2220542462888641A2BAB

8B3083AB49659172A312B78518654494A068662586A181835A 64440B2970A12281397589881536720890580103288144

9223841428763329617531239B9A657405584014534390B587 625606BB80923795944B43757A431B039556282978A6A4

9590553490BA1844947175637A908247B50127722464441380 A852B0847B5813019BB70A67663B426565434069884476

132193344BA55A2128A03838974606B851B2979321A4080672 25A5AA4B3464A1A17473595333909AB9127079655B3164

B68B9B28A9B818A220A025AB0934203995B7A62A7AA7393553 40539BA3182905B193905603A43B660B9426A922946971

44A896A5B2339358BB2B7294BB89635B071A6351211360B820 B1882AB8433B54757B87A373284B1BA182A10326476B36

9A4A6365B58B8018994BB152556765475A704BB94B6B2A3945 8971A8B90512786B5029404818644323552916170B3ABB

7363496427B088B68725A68570040617949289077B278069A0 9B559324B8A66828B40549B0296065B2300330592569A7

B76B92BA1293585B6A9B604567A09013628 56373B4B5689794 6256B4172B1B50474351364749A33996A81BA8847347A8

411B850B79A03018291672AA0945656A159AA6AA0A845531A5 92005B8A34366B882257107B190969A846474836A98007

50778920BA797297A2791101B0685A86BB704B9BAA17B05529 3679843B35215B0A8B1182B611953B080AA5431B219907

A8448A81B1A9493245676B88013B4703352408595941586210 14216619553246570601967448B470174B924489244481

7453865A4003B5AA7176451AAB90681A949786154AA0404773 82BA69371041710B8728458A23979252B254236753A44A

1900AA283536A227648812525743868B410A567794663359A6 726A5286783328135114789B7645505B047848020A730A

9557B206776AA56A19682744107901306B29008808619866B4 911A05264B872A46B5376383932699531B449195640B62

A63622830886247A47B3957169861239358041AA281333622A A15912B0A636047A489BB0726282A78B96671B27305A96

52496B9B999011A7BA36898891665B1A6009058978850A21B0 1A158A1473B84A192B8672542A2A7056581995207A436A

5B3BA2824637A3112ABB57176468206A071200A327B32 16425 148100786502AA21236ABB35499277670A126973058340

3B1922A483856007301983989159BB688A58B602339806B630 02A339A50B0BA533B84827793913081070A32595A10180

3A9A20234691B1A0B623274B69B0B44688195169461059543A 252BB05208720BA13118266A872B26B9B584959B451795

19534B221A335A2BB6971B3276B3A63A5B791723109B176529 BB90651584279B7825712521B8269800738B07A62B1454

7884414451224092937165625696557A78799A82126613535A 36B410309B759976119777B895801074B9779B9B513753

8B2799951012273399BB818B721967957713B90947B2A11A6A 665848B22B531726616515939323229080B8AB574AA749

4773AB411A57150203067A112944833235A86153803A98689A 0762B79835413A46B347888A4AAB259665694B93129B62

1391751430A98B002620718437A7B85B891179479651AA3410 663715415B55BA47AA59465AB81567B7655780A8038135

85230122578485B071A529692B19A6537B28616A6355681694 5380634A90470354AAB303884B7B09B2037B95405BA145

704B19B14AA8028810881AB6072441194A875477836B37704B 519 9062319A336375437403562A663B835B891957883AB


提示:Lambert Meertens。调整你找到的算法;-)


问候,

Bengt Richter


See if this is enough digits for homework? ;-)

(Digits A and B are 10 and 11 in decimal respectively)

3184809493B918664573A6211BB151551A05729290A7809A49 2742140A60A55256A0661A03753A3AA54805646880181A
3683083272BBBA0A370B12265529A828903B4B256B8403759A 71626B8A54687621849B849A8225616B442796A31737B2
29B2391489853943B8763725616447236B027A421AA17A38B5 2A18A838B01514A51144A23315A3009A8906B61B8B48A6
2253A88A50A43BA0944572315933664476B3AABB7758397512 0683526B75B462060BB03B432551913772729A21475535
31793848A0402B999B5058535374465A68806716644039539A 8431935198527B9399B112990ABB0383B107645424577A
51601B3624A88B7A676A3992912121A213887B92873946A613 32242217AA7354115357744939112602BA4B888818A326
9222B528487747839994AB223B65B8762695422822669BA00A 586097842A51750362073B5A768363B21BB1A97A4A1944
47749399804922175A068A46739461990A2065BB0A30BBAB70 24A585B1A84428195489784A07A331A7B0A1574565B373
B05B03A5A80A13AB87857734679985558A5373178A7B282719 92A3894A5776085083B9B238B2220542462888641A2BAB
8B3083AB49659172A312B78518654494A068662586A181835A 64440B2970A12281397589881536720890580103288144
9223841428763329617531239B9A657405584014534390B587 625606BB80923795944B43757A431B039556282978A6A4
9590553490BA1844947175637A908247B50127722464441380 A852B0847B5813019BB70A67663B426565434069884476
132193344BA55A2128A03838974606B851B2979321A4080672 25A5AA4B3464A1A17473595333909AB9127079655B3164
B68B9B28A9B818A220A025AB0934203995B7A62A7AA7393553 40539BA3182905B193905603A43B660B9426A922946971
44A896A5B2339358BB2B7294BB89635B071A6351211360B820 B1882AB8433B54757B87A373284B1BA182A10326476B36
9A4A6365B58B8018994BB152556765475A704BB94B6B2A3945 8971A8B90512786B5029404818644323552916170B3ABB
7363496427B088B68725A68570040617949289077B278069A0 9B559324B8A66828B40549B0296065B2300330592569A7
B76B92BA1293585B6A9B604567A0901362856373B4B5689794 6256B4172B1B50474351364749A33996A81BA8847347A8
411B850B79A03018291672AA0945656A159AA6AA0A845531A5 92005B8A34366B882257107B190969A846474836A98007
50778920BA797297A2791101B0685A86BB704B9BAA17B05529 3679843B35215B0A8B1182B611953B080AA5431B219907
A8448A81B1A9493245676B88013B4703352408595941586210 14216619553246570601967448B470174B924489244481
7453865A4003B5AA7176451AAB90681A949786154AA0404773 82BA69371041710B8728458A23979252B254236753A44A
1900AA283536A227648812525743868B410A567794663359A6 726A5286783328135114789B7645505B047848020A730A
9557B206776AA56A19682744107901306B29008808619866B4 911A05264B872A46B5376383932699531B449195640B62
A63622830886247A47B3957169861239358041AA281333622A A15912B0A636047A489BB0726282A78B96671B27305A96
52496B9B999011A7BA36898891665B1A6009058978850A21B0 1A158A1473B84A192B8672542A2A7056581995207A436A
5B3BA2824637A3112ABB57176468206A071200A327B3216425 148100786502AA21236ABB35499277670A126973058340
3B1922A483856007301983989159BB688A58B602339806B630 02A339A50B0BA533B84827793913081070A32595A10180
3A9A20234691B1A0B623274B69B0B44688195169461059543A 252BB05208720BA13118266A872B26B9B584959B451795
19534B221A335A2BB6971B3276B3A63A5B791723109B176529 BB90651584279B7825712521B8269800738B07A62B1454
7884414451224092937165625696557A78799A82126613535A 36B410309B759976119777B895801074B9779B9B513753
8B2799951012273399BB818B721967957713B90947B2A11A6A 665848B22B531726616515939323229080B8AB574AA749
4773AB411A57150203067A112944833235A86153803A98689A 0762B79835413A46B347888A4AAB259665694B93129B62
1391751430A98B002620718437A7B85B891179479651AA3410 663715415B55BA47AA59465AB81567B7655780A8038135
85230122578485B071A529692B19A6537B28616A6355681694 5380634A90470354AAB303884B7B09B2037B95405BA145
704B19B14AA8028810881AB6072441194A875477836B37704B 5199062319A336375437403562A663B835B891957883AB

Hint: Lambert Meertens. Tweak the algorithm you find ;-)

Regards,
Bengt Richter


Bengt Richter写道2005年4月13日03:19:
Bengt Richter wrote at 03:19 4/13/2005:
2005年4月13日星期三02:06:11 -0700,Dick Moores< rd *@rcblue.com>写道:
On Wed, 13 Apr 2005 02:06:11 -0700, Dick Moores <rd*@rcblue.com> wrote:
我需要弄清楚如何计算pi到12的基数,以及尽可能多的数字。我找到了这个参考,
< http://mathworld.wolfram.com/Base.html>,但我真的不明白它已经足够了。有人可以告诉我如何做我需要的吗?

谢谢,

Dick Moores
rd *@rcblue.com
看看这是否足够作业的数字? ; - )
I need to figure out how to compute pi to base 12, to as many digits as
possible. I found this reference,
<http://mathworld.wolfram.com/Base.html>, but I really don''t understand
it well enough. Could someone show me how to do what I need?

Thanks,

Dick Moores
rd*@rcblue.com
See if this is enough digits for homework? ;-)




这不是家庭作业,我也不是学生,虽然我正在努力学习。
Python。我只是想帮助一位需要的艺术家熟人(我只需要学习b
)到底座12的第一个3003位数。

提示:Lambert Meertens。调整你找到的算法; - )



This is not homework, nor am I a student, though I am trying to learn
Python. I''m just trying to help an artist acquaintance who needs (I just
learned) the first 3003 digits of pi to the base 12.
Hint: Lambert Meertens. Tweak the algorithm you find ;-)




对不起。你的提示超出了我的范围。


Dick Moores
rd *@rcblue.com


rd *@rcblue.com / 2005-04-13 03:27: 06 -0700:
# rd*@rcblue.com / 2005-04-13 03:27:06 -0700:
Bengt Richter于2005年4月13日03:19写道:
这不是作业,也不是学生,虽然我正在努力学习
蟒蛇。我只是想帮助一位需要(我只是学会了)pi的第一个3003位数的艺术家熟人。
Bengt Richter wrote at 03:19 4/13/2005:
This is not homework, nor am I a student, though I am trying to learn
Python. I''m just trying to help an artist acquaintance who needs (I just
learned) the first 3003 digits of pi to the base 12.
提示:Lambert Meertens。调整你找到的算法; - )
Hint: Lambert Meertens. Tweak the algorithm you find ;-)



抱歉。你的提示超出了我的范围。



Sorry. Your hint is beyond me.




它说使用谷歌。


-

多少个越南兽医需要拧一个灯泡?

你不知道,伙计。你不知道。

因为你不是在那里。 http://bash.org/?255991


这篇关于使用Python计算pi到12的基础?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆