{"id":10072,"date":"2012-01-27T15:51:00","date_gmt":"2012-01-27T15:51:00","guid":{"rendered":"http:\/\/melotopia.net\/b\/?p=10072"},"modified":"2012-01-27T15:51:00","modified_gmt":"2012-01-27T15:51:00","slug":"%ec%98%a4%ec%9d%bc%eb%9f%ac%ea%b3%84%ed%9a%8d-26%eb%b2%88","status":"publish","type":"post","link":"http:\/\/melotopia.net\/b\/?p=10072","title":{"rendered":"\uc624\uc77c\ub7ec\uacc4\ud68d 26\ubc88"},"content":{"rendered":"<div class=\"desc\">\n        1000\ubcf4\ub2e4 \uc791\uc740 \uc815\uc218 d\uc911\uc5d0\uc11c 1\/d\uc758 \uc21c\ud658\ub9c8\ub514\uc758 \uae38\uc774\uac00 \uac00\uc7a5 \uae34 \ub188\uc744 \ucc3e\uc544\ub77c. \uc21c\ud658\ub9c8\ub514\ub97c \ucc3e\ub294 \uc54c\uace0\ub9ac\uc998\uc774\ub2e4.<br \/>\n        <\/p>\n<div class=\"txc-textbox\" style=\"border-style: solid; border-width: 1px; border-color: rgb(254, 254, 184); background-color: rgb(254, 254, 184); padding: 10px;\">\n         import numpy as np<br \/>\n         <br \/>\n         l, d = 0.,0.<\/p>\n<p>         def length(n):<br \/>\n         <br \/>\n         i,j,k = 0.,0.,0.<br \/>\n         <br \/>\n         if n%2 == 0 or n%5 == 0:<br \/>\n         <br \/>\n         1.<br \/>\n         <br \/>\n         else:<br \/>\n         <br \/>\n         a = 1.0\/n<\/p>\n<p>         while True:<br \/>\n         <br \/>\n         a *= 10.<br \/>\n         <br \/>\n         k=1.<br \/>\n         <br \/>\n         b = 1.0\/n<br \/>\n         <br \/>\n         while k<j:\n         <br \/>\n         if (np.around(a-b,9)%1.)==0.:<br \/>\n         <br \/>\n         return j-k<br \/>\n         <br \/>\n         b *= 10.<\/p>\n<p>         k+=1.<br \/>\n         <br \/>\n         j+=1.<\/p>\n<p>         for i in np.arange(2.,1000.,1.):<br \/>\n         <br \/>\n         newlength = length(i)<br \/>\n         <br \/>\n         if l <= newlength:\n         <br \/>\n         l,d = newlength, i<br \/>\n         <br \/>\n         print(l,d)<br \/>\n         \n<\/div>\n<p>\n        \ub2f5\uc740 \ub098\uc624\ub294 \ucf54\ub4dc\uc778\ub370, \ubb54\uac00 \uc774\uc0c1\ud558\ub2e4. \uc774\ubc88\uc5d0\ub3c4 \ud30c\uc774\uc36c\uc5d0\uc11c \ubc1c\uc0dd\ud55c float\uc758 roundoff error\ub54c\ubb38\uc5d0 around\ud568\uc218\ub97c \ub123\ub294 \uc0bd\uc9c8\uc744 \ud588\ub2e4.<\/p>\n<p>\n\n<\/p>\n<div style=\"width:100%;margin-top:30px;clear:both;height:30px\">\n<div style=\"width:31px;float:left;\">\n<a href=\"\/toolbar\/popup\/abuseReport\/?entryId=2903\" onclick=\"window.open(this.href, 'tistoryThisBlogPopup', 'width=550, height=510, toolbar=no, menubar=no, status=no, scrollbars=no'); return false;\"><br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\uc2e0\uace0\" src=\"https:\/\/i0.wp.com\/t1.daumcdn.net\/tistory_admin\/static\/ico\/ico_spam_report.png\" style=\"border:0\"\/><br \/>\n<\/a>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>1000\ubcf4\ub2e4 \uc791\uc740 \uc815\uc218 d\uc911\uc5d0\uc11c 1\/d\uc758 \uc21c\ud658\ub9c8\ub514\uc758 \uae38\uc774\uac00 \uac00\uc7a5 \uae34 \ub188\uc744 \ucc3e\uc544\ub77c. \uc21c\ud658\ub9c8\ub514\ub97c \ucc3e\ub294 \uc54c\uace0\ub9ac\uc998\uc774\ub2e4. import numpy as np l, d = 0.,0. def length(n): i,j,k = 0.,0.,0. if n%2 == 0 or n%5 == 0: 1. else: a = 1.0\/n while True: a *= 10. k=1. b = 1.0\/n while k<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-10072","post","type-post","status-publish","format-standard","hentry","category-academic"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8o6gA-2Cs","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/10072","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10072"}],"version-history":[{"count":0,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/10072\/revisions"}],"wp:attachment":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10072"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10072"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}