{"id":147,"date":"2020-11-19T03:11:02","date_gmt":"2020-11-19T03:11:02","guid":{"rendered":"https:\/\/www.perfectly-logical.com\/?p=147"},"modified":"2020-11-19T03:11:02","modified_gmt":"2020-11-19T03:11:02","slug":"math-web-apps","status":"publish","type":"post","link":"https:\/\/www.perfectly-logical.com\/index.php\/2020\/11\/19\/math-web-apps\/","title":{"rendered":"Math Web Apps"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Prime Factor-er<\/h2>\n\n\n\n<p>\n<input id=\"primefactorer\" type=\"text\"><button onclick=\"primefactorer();\">Factor<\/button>\n<\/p>\n\n\n\n<div id=\"primefactorerans\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Prime or not?<\/h2>\n\n\n\n<p>\n<input id=\"primeornot\" type=\"text\"><button onclick=\"primeornot();\">Is this number prime?<\/button>\n<\/p>\n\n\n\n<div id=\"primeornotans\"><\/div>\n\n\n\n<p><em>Note: Larger numbers will take longer to process.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prime Finder<\/h2>\n\n\n\n<p>Find primes between <input type=\"text\" id=\"primefinderlower\" size=\"40\"> and <input type=\"text\" id=\"primefinderupper\" size=\"40\"><\/p><div><button onclick=\"primefinder();\">Find<\/button><button onclick=\"primefinderclear();\">Clear<\/button><\/div>\n<ul id=\"primefinderprimes\"><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Show Primes<\/h2>\n\n\n\n<p>Find primes over <input type=\"text\" id=\"findprime_input\" size=\"40\"> <button id=\"findprimesbutton\">Find<\/button><button id=\"findprimesstopbutton\">Stop<\/button><button id=\"findprimesclearbutton\">Clear<\/button><\/p>\n<div id=\"findprime_primes\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Probability that a success will happen by the nth trial (Geometric Distribution)<\/h2>\n\n\n\n<p>Assumptions to use this calculator:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Trials are independent.<\/li><li>There are only two possible outcomes for each trial.<\/li><li>The probability of success is the same for every trial.<\/li><\/ul>\n\n\n\n<table>\n                        <tr><td>Probability of a success (decimal):<\/td><td><input type=\"number\" step=\"any\" id=\"geodist_prob_success\"><\/td><\/tr>\n                        <tr><td>Trial Number (integer):<\/td><td><input type=\"number\" id=\"geodist_trial_num\"><\/td><\/tr>\n                        <tr><td>Probability of a success for the given Trial:<\/td><td id=\"geodist_pos\"><\/td><\/tr>\n                        <tr><td colspan=2><button id=\"geodist_calc_btn\">calculate<\/button><button id=\"geodist_clear_btn\">clear<\/button><\/td><\/tr>\n                <\/table>\n","protected":false},"excerpt":{"rendered":"<p>Prime Factor-er Factor Prime or not? Is this number prime? Note: Larger numbers will take longer to process. Prime Finder Find primes between and FindClear Show Primes Find primes over FindStopClear Probability that a success will happen by the nth trial (Geometric Distribution) Assumptions to use this calculator: Trials are independent. There are only two [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[36,8],"class_list":["post-147","post","type-post","status-publish","format-standard","hentry","category-math","tag-apps","tag-math"],"_links":{"self":[{"href":"https:\/\/www.perfectly-logical.com\/index.php\/wp-json\/wp\/v2\/posts\/147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.perfectly-logical.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.perfectly-logical.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.perfectly-logical.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.perfectly-logical.com\/index.php\/wp-json\/wp\/v2\/comments?post=147"}],"version-history":[{"count":17,"href":"https:\/\/www.perfectly-logical.com\/index.php\/wp-json\/wp\/v2\/posts\/147\/revisions"}],"predecessor-version":[{"id":165,"href":"https:\/\/www.perfectly-logical.com\/index.php\/wp-json\/wp\/v2\/posts\/147\/revisions\/165"}],"wp:attachment":[{"href":"https:\/\/www.perfectly-logical.com\/index.php\/wp-json\/wp\/v2\/media?parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.perfectly-logical.com\/index.php\/wp-json\/wp\/v2\/categories?post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.perfectly-logical.com\/index.php\/wp-json\/wp\/v2\/tags?post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}