{"id":9773,"date":"2015-04-13T19:36:17","date_gmt":"2015-04-13T19:36:17","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=9773"},"modified":"2018-11-14T17:33:18","modified_gmt":"2018-11-14T17:33:18","slug":"math-a-quadratic-equation-solver","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/math-a-quadratic-equation-solver\/","title":{"rendered":"Math:  a quadratic equation solver"},"content":{"rendered":"<h1>The tutor offers an online quadratic equation solver.<\/h1>\n<p>The solver below assumes the equation to be in the form<\/p>\n<p style=\"text-align:center\"><strong>ax<sup>2<\/sup> + bx + c = 0<\/strong><\/p>\n<p>The user enters the <strong>a<\/strong>, <strong>b<\/strong>, and <strong>c<\/strong> parameters, then clicks the button.  The answers will appear below, or else the message that the equation has no real solution.<\/p>\n<p style=\"text-align:center\"><em>***The decimal separator is the period; eg, 7.43 not 7,43 ***<\/em><\/p>\n<p><script src=\"\/javascripts\/quad1.js\"><\/script><\/p>\n<h2 style=\"color: #337777;\">Inputs<\/h2>\n<p><span style=\"color: #337777;\">a=<\/span><input id=\"field0\" size=\"40\" type=\"text\" \/><\/p>\n<p><span style=\"color: #337777;\">b=<\/span><input id=\"field1\" size=\"40\" type=\"text\" \/><\/p>\n<p><span style=\"color: #337777;\">c=<\/span><input id=\"field2\" size=\"40\" type=\"text\" \/><\/p>\n<p><button id=\"getans\" style=\"background-color: white; color: #337777\" onclick=\"getNumbers()\">Click for answers<\/button><\/p>\n<h2 style=\"color: #337777;\">Answers<\/h2>\n<p><span style=\"color: #337777;\">x=<\/span><input id=\"ans0\" size=\"40\" type=\"text\" \/><\/p>\n<p><span style=\"color: #337777;\">x=<\/span><input id=\"ans1\" size=\"40\" type=\"text\" \/><\/p>\n<p><span style=\"color: #337777;\">NS<\/span><input id=\"noans\" size=\"40\" type=\"text\" \/><\/p>\n<p>If the expression &#8220;NaN&#8221; appears, it means JavaScript has tried to solve with your given values, but has decided it can&#8217;t do so.  Just inspect your a, b, and c values, correct them as necessary, then retry.<\/p>\n<p>Of course, this utility is provided for education and entertainment purposes only:)<\/p>\n<p>Source:<\/p>\n<p><a href=\"http:\/\/www.w3schools.com\/jsref\/jsref_isnan.asp\">w3schools.com<\/a><\/p>\n<p>Jack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The tutor offers an online quadratic equation solver. The solver below assumes the equation to be in the form ax2 + bx + c = 0 The user enters the a, b, and c parameters, then clicks the button. The &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/math-a-quadratic-equation-solver\/\"> <span class=\"screen-reader-text\">Math:  a quadratic equation solver<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[697,696],"class_list":["post-9773","post","type-post","status-publish","format-standard","hentry","category-math","tag-online-quadratic-equation-solver","tag-quadratic-equation-solver"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/9773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=9773"}],"version-history":[{"count":39,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/9773\/revisions"}],"predecessor-version":[{"id":36186,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/9773\/revisions\/36186"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=9773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=9773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=9773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}