{"id":1087,"date":"2010-03-10T13:30:11","date_gmt":"2010-03-10T04:30:11","guid":{"rendered":"http:\/\/njet.oops.jp\/wordpress\/?p=1087"},"modified":"2010-03-10T13:46:37","modified_gmt":"2010-03-10T04:46:37","slug":"asymptote%e3%81%ae%e7%b7%b4%e7%bf%92-no-0005-%e3%83%86%e3%82%aa%e3%83%89%e3%83%ad%e3%82%b9%e3%81%ae%e8%9e%ba%e7%b7%9a","status":"publish","type":"post","link":"https:\/\/njet.oops.jp\/wordpress\/2010\/03\/10\/asymptote%e3%81%ae%e7%b7%b4%e7%bf%92-no-0005-%e3%83%86%e3%82%aa%e3%83%89%e3%83%ad%e3%82%b9%e3%81%ae%e8%9e%ba%e7%b7%9a\/","title":{"rendered":"Asymptote\u306e\u7df4\u7fd2 No.0005 \u30c6\u30aa\u30c9\u30ed\u30b9\u306e\u87ba\u7dda"},"content":{"rendered":"<div class=\"photo\">\n<a href=\"http:\/\/www.flickr.com\/photos\/sukarabe\/4421813826\/\" title=\"Spiral of Theodorus (\u30c6\u30aa\u30c9\u30ed\u30b9\u306e\u87ba\u7dda) by sukarabe, on Flickr\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm5.static.flickr.com\/4053\/4421813826_d4ab67483e.jpg\" width=\"500\" height=\"399\" alt=\"Spiral of Theodorus (\u30c6\u30aa\u30c9\u30ed\u30b9\u306e\u87ba\u7dda)\" \/><\/a>\n<\/div>\n<p><latex><br \/>\n\u5f15\u304d\u7d9a\u304d\u3001\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3002<a href=\"http:\/\/en.wikipedia.org\/wiki\/Spiral_of_Theodorus\">\u30c6\u30aa\u30c9\u30ed\u30b9\u306e\u87ba\u7dda (Spiral of Theodorus)<\/a> \u3092\u63cf\u3044\u3066\u307f\u308b\u3002<br \/>\n\u4e09\u8fba\u304c$1$, $1$, $\\sqrt2$\u306e\u76f4\u89d2\u4e09\u89d2\u5f62\u304b\u3089\u59cb\u3081\u3066\u3001\u659c\u8fba\u306e\u4e0a\u306b\u9ad8\u30551\u306e\u76f4\u89d2\u4e09\u89d2\u5f62\u3092\u6b21\u304b\u3089\u6b21\u3078\u3068\u4f5c\u3063\u3066\u3044\u304f\u3053\u3068\u3067\u3001\u3053\u306e\u56f3\u5f62\u306f\u4f5c\u3089\u308c\u3066\u3044\u308b\u3002<\/p>\n<p>\u4f1d\u8aac(\uff1f)\u306b\u3088\u308c\u3070\u3001\u30c6\u30aa\u30c9\u30ed\u30b9\u306f\u30eb\u30fc\u30c82\u304b\u3089\u59cb\u3081\u3066\u3001\u81ea\u7136\u6570\u306e\u5e73\u65b9\u6839\u304c\u6574\u6570\u306b\u306a\u308b\u5834\u5408\u3092\u9664\u3044\u3066\u7121\u7406\u6570\u306b\u306a\u308b\u3053\u3068\u306e\u8a3c\u660e\u3092\u30eb\u30fc\u30c817\u307e\u3067\u884c\u3063\u305f\u3068\u3044\u3046\u3002\u3053\u306e\u87ba\u7dda\u306b\u304a\u3051\u308b\u76f4\u89d2\u4e09\u89d2\u5f62\u306e\u659c\u8fba\u304c\u3061\u3087\u3046\u3069$\\sqrt2$, $\\sqrt3$, &#8230; , $\\sqrt{17}$ \u3068\u306a\u3063\u3066\u3044\u3066\u3001\u3053\u308c\u4ee5\u4e0a\u9032\u3081\u308b\u3068\u4e09\u89d2\u5f62\u304c\u91cd\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u3053\u3053\u3067\u6b62\u3081\u305f\u306e\u3060\u308d\u3046\u3068\u3044\u3046\u8a71\u3092\u4f55\u51e6\u304b\u3067\u8aad\u3093\u3060\u3002<\/p>\n<p>\u7e70\u308a\u8fd4\u3057\u4ee5\u5916\u306e\u30dd\u30a4\u30f3\u30c8\u3068\u3057\u3066\u306f\u3001\u7dda\u5206$OP_{i}$\u309290\u5ea6\u56de\u8ee2\u3055\u305b\u3066\u9577\u3055\u30921\u306b\u3057\u305f\u3082\u306e\u3092\u7dda\u5206$P_{i}P_{i+1}$\u3068\u3059\u308b\u3053\u3068\u3067\u3001\u6b21\u306e\u76f4\u89d2\u4e09\u89d2\u5f62\u3092\u4f5c\u308b\u3068\u3053\u308d\u3002Asymptote\u306fMetapost\u3068\u540c\u69d8\u306b\u8907\u7d20\u6570\u3068\u3057\u3066\u306e\u6f14\u7b97\u304c\u51fa\u6765\u308b\u304c\u3001\u305d\u308c\u4ee5\u5916\u306b\u3082\u3001\u30a2\u30d5\u30a3\u30f3\u5909\u63db\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u3002\u4eca\u56de\u306f rotate \u3068\u3044\u3046\u56de\u8ee2\u3092\u884c\u3046\u30aa\u30da\u30ec\u30fc\u30bf\u30fc\u3068\u3001\u5358\u4f4d\u30d9\u30af\u30c8\u30eb\u3092\u4f5c\u308b unit \u3068\u3044\u3046\u95a2\u6570\u3092\u7528\u3044\u305f\u3002<br \/>\n<\/latex><\/p>\n<pre lang=\"asy\">\r\n\/*\r\n  Asymptote\u306e\u7df4\u7fd2 No.0005\r\n  \u7e70\u308a\u8fd4\u3057\u51e6\u7406\r\n  Spiral of Theodorus (\u30c6\u30aa\u30c9\u30ed\u30b9\u306e\u87ba\u7dda)\r\n  t0005.asy\r\n*\/\r\n\r\nsize(6cm,0); \/\/ \u51fa\u6765\u4e0a\u304c\u308a\u306e\u56f3\u7248\u306e\u30b5\u30a4\u30ba\u3092\u5e456\u30bb\u30f3\u30c1\u306b\u8a2d\u5b9a\r\n\r\nint n=17;\r\npair pO=(0,0);\r\npair[] pA;\r\n\r\npA[1]=(1,0);\r\n\r\nfor (int i=1; i<=n-1; i+=1)\r\n  {\r\n    pA[i+1]=pA[i]+unit(rotate(90)*(pA[i]-pO));\r\n  }\r\n\r\nfor (int i=2; i<=n; i+=1)\r\n  {\r\n    draw(pO--pA[i-1]--pA[i]--cycle);\r\n    markrightangle(pO,pA[i-1],pA[i],1.5mm);\r\n    dot(format(\"$\\mathrm{P}_{%i}$\",i), pA[i],dir(pO--pA[i]));\r\n  }\r\n\r\ndot(\"$\\mathrm{P}_{1}$\", pA[1], dir(pO--pA[1]));\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5f15\u304d\u7d9a\u304d\u3001\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3002\u30c6\u30aa\u30c9\u30ed\u30b9\u306e\u87ba\u7dda (Spiral of Theodorus) \u3092\u63cf\u3044\u3066\u307f\u308b\u3002 \u4e09\u8fba\u304c$1$, $1$, $\\sqrt2$\u306e\u76f4\u89d2\u4e09\u89d2\u5f62\u304b\u3089\u59cb\u3081\u3066\u3001\u659c\u8fba\u306e\u4e0a\u306b\u9ad8\u30551\u306e\u76f4\u89d2\u4e09\u89d2\u5f62\u3092\u6b21\u304b\u3089\u6b21\u3078\u3068\u4f5c\u3063\u3066\u3044\u304f [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,5],"tags":[],"class_list":["post-1087","post","type-post","status-publish","format-standard","hentry","category-asymptote","category-5"],"_links":{"self":[{"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/posts\/1087","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/comments?post=1087"}],"version-history":[{"count":9,"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/posts\/1087\/revisions"}],"predecessor-version":[{"id":1096,"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/posts\/1087\/revisions\/1096"}],"wp:attachment":[{"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/media?parent=1087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/categories?post=1087"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/njet.oops.jp\/wordpress\/wp-json\/wp\/v2\/tags?post=1087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}