{"id":627,"date":"2024-11-18T10:02:44","date_gmt":"2024-11-18T10:02:44","guid":{"rendered":"http:\/\/monkey.ploogie.co.uk\/?page_id=627"},"modified":"2024-11-18T10:07:20","modified_gmt":"2024-11-18T10:07:20","slug":"mwnci-hypot-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-hypot-function\/","title":{"rendered":"Mwnci hypot() Function"},"content":{"rendered":"<h2>Syntax<\/h2>\n<p>hypot<strong>(<em>number<\/em>,<em>number<\/em>)<\/strong><\/p>\n<h2>Description<\/h2>\n<p>The <i>hypot()<\/i> function returns the Euclidean norm. The Euclidian norm is the distance from the origin to the coordinates given. I.e The longest line of a right-angled triangle.<\/p>\n<h2>Example<\/h2>\n<pre>include(\"math\")\r\nprintln(hypot(10, 5))\r\n\r\n\r\n11.18034\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax hypot(number,number) Description The hypot() function returns the Euclidean norm. The Euclidian norm is the distance from the origin to the coordinates given. I.e The longest line of a right-angled triangle. Example include(&#8220;math&#8221;) println(hypot(10, 5)) 11.18034<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-627","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=627"}],"version-history":[{"count":3,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/627\/revisions"}],"predecessor-version":[{"id":633,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/627\/revisions\/633"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}