{"id":11625,"date":"2017-11-16T13:26:50","date_gmt":"2017-11-16T12:26:50","guid":{"rendered":"https:\/\/institucional.us.es\/blogimus\/?p=11625"},"modified":"2021-05-10T19:48:51","modified_gmt":"2021-05-10T17:48:51","slug":"solution-pirates","status":"publish","type":"post","link":"https:\/\/institucional.us.es\/blogimus\/en\/2017\/11\/solution-pirates\/","title":{"rendered":"Solution: Pirates"},"content":{"rendered":"\n<p>We now publish our solution to the <a href=\"https:\/\/institucional.us.es\/blogimus\/en\/2017\/11\/pirates\/\">Pirates<\/a> <em>divertimento.<\/em><\/p>\n<h3>The <em>divertimento:<\/em><\/h3>\n<p>Legend has it that a pirate sailing ship arrived at a remote island pursued by Spanish galleons, where the captain hid the loot he was carrying on board, the fruit of his raids.\u00a0He landed with his henchmen on a deserted beach where there was a palm tree and a rock. He stuck his sword into the beach and, from there, walked in a straight line to the palm tree. While there he turned 90\u00ba anticlockwise and walked (always in a straight line) the same distance as before, where he drove in a stake. He returned to the position of the sword and walked, also in a straight line, to the rock and, turning 90\u00ba in the same clockwise direction, repeated the same distance, and in the same way, to a point where he drove another stake. He looked for the middle point between the two stakes and there he ordered the treasure to be buried. He immediately had the sword and the stakes picked up to protect the exact location of the treasure.\u00a0He returned to the ship with his crew and continued his misdeeds&#8230; until ten years had passed. Then he returned to the island and unearthed the treasure.<\/p>\n<p>How did he manage to locate the treasure with the help of only the location of the palm tree and the rock, which were still there?<\/p>\n<h3>The Solution:<\/h3>\n<p>Consider a Cartesian coordinate system, so that the palm tree is at \\((-a,0)\\) and the rock is at \\((a,0)\\).<\/p>\n<figure id=\"attachment_2810\" aria-describedby=\"caption-attachment-2810\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2810\" src=\"http:\/\/institucional.us.es\/blogimus\/wp-content\/uploads\/2017\/11\/piratas1-1024x525.png\" alt=\"\" width=\"600\" height=\"308\" srcset=\"https:\/\/institucional.us.es\/blogimus\/wp-content\/uploads\/2017\/11\/piratas1-1024x525.png 1024w, https:\/\/institucional.us.es\/blogimus\/wp-content\/uploads\/2017\/11\/piratas1-300x154.png 300w, https:\/\/institucional.us.es\/blogimus\/wp-content\/uploads\/2017\/11\/piratas1-768x394.png 768w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption id=\"caption-attachment-2810\" class=\"wp-caption-text\">Estaca = Stake \/ Palmera = Palm tree \/ Espada = Sword \/ Tesoro = Treasure \/ Roca = Rock<\/figcaption><\/figure>\n<p>The sword is at any point \\((p,q)\\). Following the instructions, the first stake is at \\((-a+q,-a-p)\\) and the second at \\((a-q, -a+p)\\). The midpoint of these two, where the treasure is, is \\((0,-a)\\), which is independent of \\((p,q)\\).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2809 size-full\" src=\"http:\/\/institucional.us.es\/blogimus\/wp-content\/uploads\/2017\/11\/piratas2.gif\" alt=\"\" width=\"588\" height=\"498\" \/><\/p>\n<p>It is therefore enough to walk from the palm tree to the rock, reach the midpoint, turn 90\u00ba clockwise and walk the same distance in this direction.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>We now publish our solution to the Pirates divertimento. The divertimento: Legend has it that a pirate sailing ship arrived at a remote island pursued by Spanish galleons, where the captain hid the loot he <a class=\"mh-excerpt-more\" href=\"https:\/\/institucional.us.es\/blogimus\/en\/2017\/11\/solution-pirates\/\" title=\"Solution: Pirates\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":32,"featured_media":5496,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1673],"tags":[1511,1619],"class_list":["post-11625","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fun-games-in-the-working","tag-pirates","tag-solutions"],"_links":{"self":[{"href":"https:\/\/institucional.us.es\/blogimus\/wp-json\/wp\/v2\/posts\/11625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/institucional.us.es\/blogimus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/institucional.us.es\/blogimus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/institucional.us.es\/blogimus\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/institucional.us.es\/blogimus\/wp-json\/wp\/v2\/comments?post=11625"}],"version-history":[{"count":0,"href":"https:\/\/institucional.us.es\/blogimus\/wp-json\/wp\/v2\/posts\/11625\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/institucional.us.es\/blogimus\/wp-json\/wp\/v2\/media\/5496"}],"wp:attachment":[{"href":"https:\/\/institucional.us.es\/blogimus\/wp-json\/wp\/v2\/media?parent=11625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/institucional.us.es\/blogimus\/wp-json\/wp\/v2\/categories?post=11625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/institucional.us.es\/blogimus\/wp-json\/wp\/v2\/tags?post=11625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}