{"id":703,"date":"2023-12-18T18:29:04","date_gmt":"2023-12-18T18:29:04","guid":{"rendered":"https:\/\/pressbooks.library.torontomu.ca\/bearguide\/?post_type=chapter&#038;p=703"},"modified":"2023-12-18T20:12:36","modified_gmt":"2023-12-18T20:12:36","slug":"formula-test","status":"publish","type":"chapter","link":"https:\/\/pressbooks.library.torontomu.ca\/bearguide\/chapter\/formula-test\/","title":{"raw":"Formula Test","rendered":"Formula Test"},"content":{"raw":"[latexpage]\r\n\\begin{tikzpicture}\r\n[+preamble]\r\n\\usepackage{tikz}\r\n\\usepackage{pgfplots}\r\n\\pgfplotsset{compat=newest}\r\n[\/preamble]\r\n\\begin{axis}\r\n\\addplot3[surf,domain=0:360,samples=40] {cos(x)*cos(y)};\r\n\\end{axis}\r\n\\end{tikzpicture}\r\n<div><\/div>\r\n<div><\/div>\r\nExample 7.3.5\r\n\r\nA person has four keys and only one key fits to the lock of a door. What is the probability that the locked door can be unlocked in at most three tries?\r\nSolution\r\n\r\nLet U be the event that the door has been unlocked and L be the event that the door has not been unlocked. We illustrate with a tree diagram.\r\n\r\n\\documentclass{article}\r\n\\usepackage{tikz}\r\n\r\n\\begin{document}\r\n\\begin{tikzpicture}[grow=right, sloped]\r\n\\tikzstyle{level 1}=[level distance=2cm, sibling distance=4cm]\r\n\\tikzstyle{level 2}=[level distance=2cm, sibling distance=2cm]\r\n\\node {}\r\nchild {\r\nnode[label=right:\r\n{$L_1$}] {}\r\nedge from parent\r\nnode[below] {$3\/4$}\r\nchild {\r\nnode[label=right:\r\n{$L_2$}] {}\r\nedge from parent\r\nnode[below] {$2\/3$}\r\nchild {\r\nnode[label=right:\r\n{$L_3$}] {}\r\nedge from parent\r\nnode[below] {$1\/2$}\r\n}\r\nchild {\r\nnode[label=right:\r\n{$U_3$}] {}\r\nedge from parent\r\nnode[above] {$1\/2$}\r\n}\r\n}\r\nchild {\r\nnode[label=right:\r\n{$U_2$}] {}\r\nedge from parent\r\nnode[above] {$1\/3$}\r\n}\r\n}\r\nchild {\r\nnode[label=right:\r\n{$U_1$}] {}\r\nedge from parent\r\nnode[above] {$1\/4$}\r\n};\r\n\\end{tikzpicture}\r\n\\end{document}\r\n\r\nFirst Try:\r\n\r\n\\begin{tikzpicture}[grow=right, sloped]\r\n\\tikzstyle{level 1}=[level distance=2cm, sibling distance=3cm]\r\n\\node {}\r\nchild {\r\nnode[label=right:\r\n{$L$}] {}\r\nedge from parent\r\nnode[below] {$3\/4$}\r\n}\r\nchild {\r\nnode[label=right:\r\n{$U=1\/4$}] {}\r\nedge from parent\r\nnode[above] {$1\/4$}\r\n};\r\n\\end{tikzpicture}\r\n\r\nSecond Try:\r\n\r\n$\\begin{tikzpicture}[grow=right, sloped]\r\n\\tikzstyle{level 1}=[level distance=2cm, sibling distance=3cm]\r\n\\node {}\r\nchild {\r\nnode[label=right:\r\n{$L$}] {}\r\nedge from parent\r\nnode[below] {$2\/3$}\r\n}\r\nchild {\r\nnode[label=right:\r\n{$U=(3\/4)(1\/3)$}] {}\r\nedge from parent\r\nnode[above] {$1\/3$}\r\n};\r\n\\end{tikzpicture}$\r\n\r\nThird Try:\r\n\r\n\\begin{tikzpicture}[grow=right, sloped]\r\n\\tikzstyle{level 1}=[level distance=2cm, sibling distance=3cm]\r\n\\node {}\r\nchild {\r\nnode[label=right:\r\n{$L$}] {}\r\nedge from parent\r\nnode[below] {$1\/2$}\r\n}\r\nchild {\r\nnode[label=right:\r\n{$U=(3\/4)(2\/3)(1\/2)$}] {}\r\nedge from parent\r\nnode[above] {$1\/2$}\r\n};\r\n\\end{tikzpicture}\r\n\r\nThe probability of unlocking the door in the first try = 1\/4.\r\nThe probability of unlocking the door in the second try = (3\/4)(1\/3) = 1\/4.\r\nThe probability of unlocking the door in the third try = (3\/4)(2\/3)(1\/2) = 1\/4.\r\nTherefore, the probability of unlocking the door in at most three tries = 1\/4 + 1\/4 + 1\/4 = 3\/4.","rendered":"<p>[latexpage]<br \/>\n\\begin{tikzpicture}<br \/>\n[+preamble]<br \/>\n\\usepackage{tikz}<br \/>\n\\usepackage{pgfplots}<br \/>\n\\pgfplotsset{compat=newest}<br \/>\n[\/preamble]<br \/>\n\\begin{axis}<br \/>\n\\addplot3[surf,domain=0:360,samples=40] {cos(x)*cos(y)};<br \/>\n\\end{axis}<br \/>\n\\end{tikzpicture}<\/p>\n<div><\/div>\n<div><\/div>\n<p>Example 7.3.5<\/p>\n<p>A person has four keys and only one key fits to the lock of a door. What is the probability that the locked door can be unlocked in at most three tries?<br \/>\nSolution<\/p>\n<p>Let U be the event that the door has been unlocked and L be the event that the door has not been unlocked. We illustrate with a tree diagram.<\/p>\n<p>\\documentclass{article}<br \/>\n\\usepackage{tikz}<\/p>\n<p>\\begin{document}<br \/>\n\\begin{tikzpicture}[grow=right, sloped]<br \/>\n\\tikzstyle{level 1}=[level distance=2cm, sibling distance=4cm]<br \/>\n\\tikzstyle{level 2}=[level distance=2cm, sibling distance=2cm]<br \/>\n\\node {}<br \/>\nchild {<br \/>\nnode[label=right:<br \/>\n{$L_1$}] {}<br \/>\nedge from parent<br \/>\nnode[below] {$3\/4$}<br \/>\nchild {<br \/>\nnode[label=right:<br \/>\n{$L_2$}] {}<br \/>\nedge from parent<br \/>\nnode[below] {$2\/3$}<br \/>\nchild {<br \/>\nnode[label=right:<br \/>\n{$L_3$}] {}<br \/>\nedge from parent<br \/>\nnode[below] {$1\/2$}<br \/>\n}<br \/>\nchild {<br \/>\nnode[label=right:<br \/>\n{$U_3$}] {}<br \/>\nedge from parent<br \/>\nnode[above] {$1\/2$}<br \/>\n}<br \/>\n}<br \/>\nchild {<br \/>\nnode[label=right:<br \/>\n{$U_2$}] {}<br \/>\nedge from parent<br \/>\nnode[above] {$1\/3$}<br \/>\n}<br \/>\n}<br \/>\nchild {<br \/>\nnode[label=right:<br \/>\n{$U_1$}] {}<br \/>\nedge from parent<br \/>\nnode[above] {$1\/4$}<br \/>\n};<br \/>\n\\end{tikzpicture}<br \/>\n\\end{document}<\/p>\n<p>First Try:<\/p>\n<p>\\begin{tikzpicture}[grow=right, sloped]<br \/>\n\\tikzstyle{level 1}=[level distance=2cm, sibling distance=3cm]<br \/>\n\\node {}<br \/>\nchild {<br \/>\nnode[label=right:<br \/>\n{$L$}] {}<br \/>\nedge from parent<br \/>\nnode[below] {$3\/4$}<br \/>\n}<br \/>\nchild {<br \/>\nnode[label=right:<br \/>\n{$U=1\/4$}] {}<br \/>\nedge from parent<br \/>\nnode[above] {$1\/4$}<br \/>\n};<br \/>\n\\end{tikzpicture}<\/p>\n<p>Second Try:<\/p>\n<p>$\\begin{tikzpicture}[grow=right, sloped]<br \/>\n\\tikzstyle{level 1}=[level distance=2cm, sibling distance=3cm]<br \/>\n\\node {}<br \/>\nchild {<br \/>\nnode[label=right:<br \/>\n{$L$}] {}<br \/>\nedge from parent<br \/>\nnode[below] {$2\/3$}<br \/>\n}<br \/>\nchild {<br \/>\nnode[label=right:<br \/>\n{$U=(3\/4)(1\/3)$}] {}<br \/>\nedge from parent<br \/>\nnode[above] {$1\/3$}<br \/>\n};<br \/>\n\\end{tikzpicture}$<\/p>\n<p>Third Try:<\/p>\n<p>\\begin{tikzpicture}[grow=right, sloped]<br \/>\n\\tikzstyle{level 1}=[level distance=2cm, sibling distance=3cm]<br \/>\n\\node {}<br \/>\nchild {<br \/>\nnode[label=right:<br \/>\n{$L$}] {}<br \/>\nedge from parent<br \/>\nnode[below] {$1\/2$}<br \/>\n}<br \/>\nchild {<br \/>\nnode[label=right:<br \/>\n{$U=(3\/4)(2\/3)(1\/2)$}] {}<br \/>\nedge from parent<br \/>\nnode[above] {$1\/2$}<br \/>\n};<br \/>\n\\end{tikzpicture}<\/p>\n<p>The probability of unlocking the door in the first try = 1\/4.<br \/>\nThe probability of unlocking the door in the second try = (3\/4)(1\/3) = 1\/4.<br \/>\nThe probability of unlocking the door in the third try = (3\/4)(2\/3)(1\/2) = 1\/4.<br \/>\nTherefore, the probability of unlocking the door in at most three tries = 1\/4 + 1\/4 + 1\/4 = 3\/4.<\/p>\n","protected":false},"author":2,"menu_order":6,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-703","chapter","type-chapter","status-publish","hentry"],"part":115,"_links":{"self":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/bearguide\/wp-json\/pressbooks\/v2\/chapters\/703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/bearguide\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/bearguide\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/bearguide\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":3,"href":"https:\/\/pressbooks.library.torontomu.ca\/bearguide\/wp-json\/pressbooks\/v2\/chapters\/703\/revisions"}],"predecessor-version":[{"id":705,"href":"https:\/\/pressbooks.library.torontomu.ca\/bearguide\/wp-json\/pressbooks\/v2\/chapters\/703\/revisions\/705"}],"part":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/bearguide\/wp-json\/pressbooks\/v2\/parts\/115"}],"metadata":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/bearguide\/wp-json\/pressbooks\/v2\/chapters\/703\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/bearguide\/wp-json\/wp\/v2\/media?parent=703"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/bearguide\/wp-json\/pressbooks\/v2\/chapter-type?post=703"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/bearguide\/wp-json\/wp\/v2\/contributor?post=703"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/bearguide\/wp-json\/wp\/v2\/license?post=703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}