{"id":6004,"date":"2022-06-13T20:08:00","date_gmt":"2022-06-13T11:08:00","guid":{"rendered":"https:\/\/auto-worker.com\/blog\/?p=6004"},"modified":"2022-06-13T21:11:25","modified_gmt":"2022-06-13T12:11:25","slug":"post-6004","status":"publish","type":"post","link":"https:\/\/auto-worker.com\/blog\/?p=6004","title":{"rendered":"GAS\u3067\u4e09\u89d2\u95a2\u6570(sin,cos,tan)\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\uff01\u9006\u4e09\u89d2\u95a2\u6570\u3082\u5229\u7528\u53ef\u80fd"},"content":{"rendered":"\n<p>Google Apps Script(GAS)\u3067\u306f\u3001\u9ad8\u6821\u6570\u5b66\u3067\u7fd2\u3046\u4e09\u89d2\u95a2\u6570\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>sin,cos,tan(\u30b5\u30a4\u30f3\u3001\u30b3\u30b5\u30a4\u30f3\u3001\u30bf\u30f3\u30b8\u30a7\u30f3\u30c8)\u306a\u3069\u3092GAS\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u9ad8\u6821\u6570\u5b66\u3067\u7fd2\u3046\u4e09\u89d2\u95a2\u6570\u306f\u6e2c\u91cf\u306a\u3069\u3067\u5229\u7528<\/h2>\n\n\n\n<p>\u4e09\u89d2\u95a2\u6570\u3068\u3044\u3048\u3070\u3001\u300c\u30b5\u30a4\u30f3\u3001\u30b3\u30b5\u30a4\u30f3\u3001\u30bf\u30f3\u30b8\u30a7\u30f3\u30c8\u300d\u3068\u3057\u3066\u9ad8\u6821\u6570\u5b66\u3067\u5fc5\u305a\u7fd2\u3046\u5206\u91ce\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u9ad8\u6821\u751f\u3067\u7fd2\u3063\u305f\u6642\u306b\u306f\u4e09\u89d2\u95a2\u6570\u304c\u65e5\u5e38\u751f\u6d3b\u3067\u3069\u306e\u3088\u3046\u306b\u6d3b\u7528\u3055\u308c\u3066\u3044\u308b\u304b\u7406\u89e3\u305b\u305a\u306b\u5b66\u3076\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001\u300c\u4e09\u89d2\u95a2\u6570\u306f\u4f55\u306b\u4f7f\u3046\u306e\u304b\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u300d\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u8272\u3005\u306a\u5206\u91ce\u3067\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7279\u306b\u4e09\u89d2\u95a2\u6570\u306e\u5229\u7528\u3067\u6700\u3082\u6b74\u53f2\u304c\u53e4\u304f\u3001\u5206\u304b\u308a\u3084\u3059\u3044\u306e\u304c\u571f\u5730\u306e\u6e2c\u5b9a\u3092\u884c\u3046\u6e2c\u91cf\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5143\u3005\u3001\u4e09\u89d2\u95a2\u6570\u306f\u6e2c\u91cf\u306e\u305f\u3081\u306b\u8a95\u751f\u3057\u305f\u5074\u9762\u3082\u3042\u308a\u3001\u4e09\u89d2\u95a2\u6570\u304c\u3067\u304d\u305f\u3053\u3068\u3067\u3001\u5e83\u5927\u306a\u571f\u5730\u3092\u5168\u3066\u8abf\u67fb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u4ed6\u3001\u97f3\u58f0\u51e6\u7406\u3084\u753b\u50cf\u51e6\u7406\u3068\u3044\u3063\u305f\u5206\u91ce\u3067\u3082\u4e09\u89d2\u95a2\u6570\u306f\u7528\u3044\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GAS\u3067\u4e09\u89d2\u95a2\u6570\u304c\u5229\u7528\u30b7\u30fc\u30f3\u306f\u5c11\u306a\u3044<\/h2>\n\n\n\n<p>\u305f\u3060\u3001Google Apps Script(GAS)\u3067\u4e09\u89d2\u95a2\u6570\u3092\u4f7f\u3046\u6a5f\u4f1a\u306f\u3042\u307e\u308a\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u4e09\u89d2\u95a2\u6570\u304c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u3088\u304f\u4f7f\u308f\u308c\u308b\u306e\u306f\u3001\u30b2\u30fc\u30e0\u306a\u3069\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001GAS\u3067\u306f\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u5229\u7528\u3057\u305f\u4fbf\u5229\u30c4\u30fc\u30eb\u306a\u3069\u304c\u591a\u3044\u305f\u3081\u3001\u4e09\u89d2\u95a2\u6570\u304c\u5fc5\u8981\u306b\u306a\u308b\u3053\u3068\u304c\u5c11\u306a\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u4e0a\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u3082\u4e09\u89d2\u95a2\u6570\u3092\u8a08\u7b97\u3067\u304d\u308b\u95a2\u6570\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u305d\u3061\u3089\u3067\u4ee3\u7528\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GAS\u306e\u4e09\u89d2\u95a2\u6570\u306fMath\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u5229\u7528\u53ef\u80fd<\/h2>\n\n\n\n<p>Google Apps Script(GAS)\u3067\u4e09\u89d2\u95a2\u6570\u306fMath\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><em><strong>Math.sin(num)<\/strong><\/em><\/li><li><em><strong>Math.cos(num)<\/strong><\/em><\/li><li><em><strong>Math.tan(num)<\/strong><\/em><\/li><\/ol>\n\n\n\n<p>sin,cos,tan(\u30b5\u30a4\u30f3\u3001\u30b3\u30b5\u30a4\u30f3\u3001\u30bf\u30f3\u30b8\u30a7\u30f3\u30c8)\u3044\u305a\u308c\u3082\u5229\u7528\u65b9\u6cd5\u306f\u540c\u3058\u3067\u3001\u5f15\u6570\u306b\u30e9\u30b8\u30a2\u30eb\u5358\u4f4d\u306e\u89d2\u5ea6\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"353\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_001.jpg\" alt=\"\u4e09\u89d2\u95a2\u6570\u306esin,cos,tan\u306e\u6570\u5024\u3092\u56f3\u793a\u3057\u305f\u3082\u306e\" class=\"wp-image-6014\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_001.jpg 600w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_001-300x177.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_001-530x312.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_001-565x332.jpg 565w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>\u4e2d\u5b66\u6570\u5b66\u307e\u3067\u306e\u300c90\u5ea6\u300d\u3084\u300c120\u5ea6\u300d\u3068\u3044\u3063\u305f\u6307\u5b9a\u3067\u306f\u306a\u304f\u3001\u300c\u03c0\u300d\u3084\u300c\u00bc\u03c0\u300d\u306a\u3069\u306e\u30e9\u30b8\u30a2\u30eb\u5358\u4f4d\u306e\u89d2\u5ea6\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001Math.sin\u3084Math.cos\u3001Math.tan\u3068\u3044\u3063\u305f\u4e09\u89d2\u95a2\u6570\u3092\u4f7f\u3046\u5834\u5408\u306f\u3001Math.PI\u3092\u5229\u7528\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580 wp-block-embed-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"k7G7Lii6nt\"><a href=\"https:\/\/auto-worker.com\/blog\/?p=5954\">GAS\u3067\u4f7f\u3048\u308b\u5186\u5468\u7387\u3084\u30cd\u30a4\u30d4\u30a2\u6570(e)\u306a\u3069Math\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6570\u5b66\u5b9a\u6570\u307e\u3068\u3081<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;GAS\u3067\u4f7f\u3048\u308b\u5186\u5468\u7387\u3084\u30cd\u30a4\u30d4\u30a2\u6570(e)\u306a\u3069Math\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6570\u5b66\u5b9a\u6570\u307e\u3068\u3081&#8221; &#8212; AutoWorker\u301cGoogle Apps Script(GAS)\u3068Sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\" src=\"https:\/\/auto-worker.com\/blog\/?p=5954&#038;embed=true#?secret=Cx9irFq14D#?secret=k7G7Lii6nt\" data-secret=\"k7G7Lii6nt\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">GAS\u3067\u4e09\u89d2\u95a2\u6570\u3092\u5229\u7528\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h2>\n\n\n\n<p>\u5b9f\u969b\u306b\u4e09\u89d2\u95a2\u6570\u3092\u5229\u7528\u3059\u308bGoogle Apps Script(GAS)\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b5\u30a4\u30f3(\u6b63\u5f26\u95a2\u6570\u3001\u30b3\u30b5\u30a4\u30f3(\u4f59\u5f26\u95a2\u6570)\u3001\u30bf\u30f3\u30b8\u30a7\u30f3\u30c8(\u6b63\u63a5\u95a2\u6570)\u306e3\u3064\u306e\u4e09\u89d2\u95a2\u6570\u306b\u3064\u3044\u3066\u3001\u4ee5\u4e0b\u306e4\u30d1\u30bf\u30fc\u30f3\u306e\u30e9\u30b8\u30a2\u30eb\u3092\u5f15\u6570\u306b\u6307\u5b9a\u3057\u305f\u7d50\u679c\u3092\u30ed\u30b0\u51fa\u529b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>0<\/li><li>\u03c0\/4<\/li><li>\u03c0\/2<\/li><li>\u03c0<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-javascript\"><code class=\"language-javascript\">function testSinCosTan() {\n  \/\/\u4e09\u89d2\u95a2\u6570sin\u30924\u30d1\u30bf\u30fc\u30f3\u30ed\u30b0\u51fa\u529b\n  console.log(Math.sin(0));\n  console.log(Math.sin(Math.PI\/4));\n  console.log(Math.sin(Math.PI\/2));\n  console.log(Math.sin(Math.PI));\n  \/\/\u4e09\u89d2\u95a2\u6570cos\u30924\u30d1\u30bf\u30fc\u30f3\u30ed\u30b0\u51fa\u529b\n  console.log(Math.cos(0));\n  console.log(Math.cos(Math.PI\/4));\n  console.log(Math.cos(Math.PI\/2));\n  console.log(Math.cos(Math.PI));\n  \/\/\u4e09\u89d2\u95a2\u6570tan\u30924\u30d1\u30bf\u30fc\u30f3\u30ed\u30b0\u51fa\u529b\n  console.log(Math.tan(0));\n  console.log(Math.tan(Math.PI\/4));\n  console.log(Math.tan(Math.PI\/2));\n  console.log(Math.tan(Math.PI));\n}\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"616\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_002.jpg\" alt=\"Google Apps Script(GAS)\u3067Math\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3063\u305f\u4e09\u89d2\u95a2\u6570(sin,cos.tan)\u3092\u4f55\u30d1\u30bf\u30fc\u30f3\u304b\u30ed\u30b0\u51fa\u529b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\" class=\"wp-image-6015\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_002.jpg 1200w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_002-300x154.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_002-1024x526.jpg 1024w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_002-768x394.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_002-530x272.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_002-565x290.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_002-710x364.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_002-725x372.jpg 725w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p>\u5b9f\u884c\u3059\u308b\u3068\u3001\u30ed\u30b0\u51fa\u529b\u306b\u4e09\u89d2\u95a2\u6570\u306e\u7d50\u679c\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"604\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_003.jpg\" alt=\"Google Apps Script(GAS)\u3067Math\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3063\u305f\u4e09\u89d2\u95a2\u6570(sin,cos.tan)\u3092\u4f55\u30d1\u30bf\u30fc\u30f3\u304b\u30ed\u30b0\u51fa\u529b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u4e09\u89d2\u95a2\u6570\u306e\u7d50\u679c\u304c\u51fa\u529b\u3055\u308c\u308b\u304c\u3001\u4e00\u90e8\u6307\u6570\u3092\u542b\u3093\u3060\u8868\u793a\u306b\" class=\"wp-image-6016\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_003.jpg 1200w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_003-300x151.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_003-1024x515.jpg 1024w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_003-768x387.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_003-530x267.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_003-565x284.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_003-710x357.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_003-725x365.jpg 725w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p>\u305d\u306e\u4e2d\u306b\u4e00\u90e8\u3001\u6307\u6570\u8868\u793a\u306e\u6570\u5024\u304c3\u3064\u307b\u3069\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306f\u3001\u5186\u5468\u7387\u306e\u03c0\u306f\u7121\u7406\u6570\u3067\u3001\u6709\u9650\u306a\u6570\u5024\u3067\u8868\u3059\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u305f\u3081\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u306e\u5186\u5468\u7387\u306f\u3042\u304f\u307e\u3067\u64ec\u4f3c\u7684\u306b\u8868\u73fe\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u672c\u6765\u306e\u03c0\u3067\u3042\u308c\u30703\u3064\u306f0\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3069\u3046\u3044\u3063\u305f\u6570\u5024\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u305f\u3081\u3001\u6307\u6570\u8868\u793a\u3068\u306a\u3063\u305f\u4e09\u89d2\u95a2\u6570\u306e\u6570\u5024\u3092toFixed\u30e1\u30bd\u30c3\u30c9\u3067\u5c0f\u6570\u70b9\u309220\u6841\u307e\u3067\u306b\u9650\u5b9a\u3057\u3066\u8868\u793a\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"399\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_004.jpg\" alt=\"Google Apps Script(GAS)\u3067Math\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3063\u305f\u4e09\u89d2\u95a2\u6570(sin,cos.tan)\u3092\u4f55\u30d1\u30bf\u30fc\u30f3\u304b\u30ed\u30b0\u51fa\u529b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067toFixed\u30e1\u30bd\u30c3\u30c9\u3067\u8868\u793a\u6841\u6570\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u6307\u6570\u8868\u793a\u3055\u308c\u3066\u3044\u305f\u4e09\u89d2\u95a2\u6570\u306e\u7d50\u679c\u304c\u3044\u304f\u3064\u304b\u898b\u3084\u3059\u304f\u6574\u5f62\" class=\"wp-image-6017\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_004.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_004-300x150.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_004-768x383.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_004-530x264.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_004-565x282.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_004-710x354.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2022\/06\/20220614_auto_004-725x362.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u3059\u308b\u3068\u30010.0000000000000012246\u3068\u307b\u3068\u3093\u3069\u30bc\u30ed\u306b\u8fd1\u3044\u3082\u306e\u306e\u3001\u7121\u7406\u6570\u03c0\u306e\u8aa4\u5dee\u306b\u3088\u3063\u3066\u3001\u5b8c\u5168\u306a0\u306b\u306f\u306a\u3089\u305a\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3082\u3057\u3001\u4e09\u89d2\u95a2\u6570\u3092\u5229\u7528\u3059\u308b\u969b\u306b\u3001\u30b5\u30a4\u30f3\u3001\u30b3\u30b5\u30a4\u30f3\u3001\u30bf\u30f3\u30b8\u30a7\u30f3\u30c8\u304c0\u306b\u306a\u308b\u30e9\u30b8\u30a2\u30eb\u3060\u3063\u305f\u5834\u5408\u306f\u3001\u5225\u90140\u3068\u3057\u3066\u6271\u3046\u3088\u3046\u306b\u51e6\u7406\u3059\u308b\u3053\u3068\u3067\u8aa4\u5dee\u304c\u51fa\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u9006\u4e09\u89d2\u95a2\u6570\u306e\u30e1\u30bd\u30c3\u30c9\u3082\u7528\u610f<\/h2>\n\n\n\n<p>\u3053\u3053\u307e\u3067sin,cos,tan\u3068\u3044\u3063\u305f\u4e09\u89d2\u95a2\u6570\u306b\u3064\u3044\u3066Google Apps Script(GAS)\u3067\u5229\u7528\u3067\u304d\u308b\u3053\u3068\u3092\u7d39\u4ecb\u3057\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u4ee5\u5916\u306b\u3082\u3001\u30a2\u30fc\u30af\u30b5\u30a4\u30f3\u3084\u30a2\u30fc\u30af\u30b3\u30b5\u30a4\u30f3\u3068\u547c\u3070\u308c\u308b\u9006\u4e09\u89d2\u95a2\u6570\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3046\u3057\u305f\u9006\u4e09\u89d2\u95a2\u6570\u306b\u3064\u3044\u3066\u3082\u3001GAS\u3067\u306f\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><em><strong>Math.asin(num)<\/strong><\/em><\/li><li><em><strong>Math.acos(num)<\/strong><\/em><\/li><li><em><strong>Math.atan(num)<\/strong><\/em><\/li><\/ol>\n\n\n\n<p>\u901a\u5e38\u306e\u4e09\u89d2\u95a2\u6570\u306e\u5404\u30e1\u30bd\u30c3\u30c9\u306e\u524d\u306barc\u3092\u7701\u7565\u3057\u305f\u300ca\u300d\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u9006\u4e09\u89d2\u95a2\u6570\u306e\u6570\u5024\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3089\u306b\u3001\u53cc\u66f2\u7dda\u95a2\u6570\u306b\u7528\u3044\u3089\u308c\u308b\u30cf\u30a4\u30d1\u30dc\u30ea\u30c3\u30af\u30b5\u30a4\u30f3\u3084\u30cf\u30a4\u30d1\u30dc\u30ea\u30c3\u30af\u30b3\u30b5\u30a4\u30f3\u3082Math\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081\u30fb\u7d42\u308f\u308a\u306b<\/h2>\n\n\n\n<p>\u4eca\u56de\u3001Google Apps Script(GAS)\u3067sin,cos,tan\u306e\u4e09\u89d2\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>GAS\u3067\u306e\u5229\u7528\u6a5f\u4f1a\u306f\u3042\u307e\u308a\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u4e09\u89d2\u95a2\u6570\u3092\u51fa\u529b\u3059\u308b\u95a2\u6570\u304cMath\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><em><strong>Math.sin(num)<\/strong><\/em>\u3084<em><strong>Math.cos(num)<\/strong><\/em>\u3068\u3044\u3046\u8a18\u8ff0\u3067\u3001\u5f15\u6570\u306b\u6307\u5b9a\u3057\u305f\u89d2\u5ea6\u306b\u5bfe\u3059\u308b\u6b63\u5f26\u95a2\u6570\u3084\u4f59\u5f26\u95a2\u6570\u306e\u5024\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5f15\u6570\u306b\u6307\u5b9a\u3059\u308b\u89d2\u5ea6\u306f\u30e9\u30b8\u30a2\u30eb\u5358\u4f4d\u3067\u306e\u89d2\u5ea6(0~2\u03c0)\u306e\u6307\u5b9a\u3057\u300190\u5ea6\u306a\u3069\u306e\u5ea6\u6570\u306f\u6307\u5b9a\u3059\u308b\u3068\u3001\u60f3\u5b9a\u3057\u306a\u3044\u6570\u5024\u304c\u8fd4\u3063\u3066\u304f\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u9006\u95a2\u6570\u3067\u3042\u308b\u9006\u4e09\u89d2\u95a2\u6570\u3082\u3001asin,acos,atan\u3068\u3044\u3063\u305f\u5f62\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>GAS\u3067\u4e09\u89d2\u95a2\u6570\u3092\u5229\u7528\u3059\u308b\u30b1\u30fc\u30b9\u306f\u5c11\u306a\u3044\u3067\u3059\u304c\u3001\u5fc5\u8981\u306b\u306a\u3063\u305f\u5834\u5408\u306f\u3001\u7d39\u4ecb\u3057\u305f\u65b9\u6cd5\u3067\u5229\u7528\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Apps Script(GAS)\u3067\u306f\u3001\u9ad8\u6821\u6570\u5b66\u3067\u7fd2\u3046\u4e09\u89d2\u95a2\u6570\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 sin,cos,tan(\u30b5\u30a4\u30f3\u3001\u30b3\u30b5\u30a4\u30f3\u3001\u30bf\u30f3\u30b8\u30a7\u30f3\u30c8)\u306a\u3069\u3092GAS\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 \u9ad8\u6821\u6570\u5b66\u3067\u7fd2\u3046\u4e09\u89d2\u95a2 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6015,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[977,14,976,978,975],"class_list":["post-6004","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gas","tag-cos","tag-gas","tag-sin","tag-tan","tag-975"],"_links":{"self":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6004"}],"version-history":[{"count":7,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6004\/revisions"}],"predecessor-version":[{"id":6021,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6004\/revisions\/6021"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/6015"}],"wp:attachment":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}