{"id":27577,"date":"2017-02-06T03:01:22","date_gmt":"2017-02-05T17:01:22","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=27577"},"modified":"2020-04-16T14:42:40","modified_gmt":"2020-04-16T04:42:40","slug":"mathematics-equation-google-chart-line-chart-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/mathematics-equation-google-chart-line-chart-primer-tutorial\/","title":{"rendered":"Mathematics Equation Google Chart Line Chart Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/ParabolaLineGraph\/parabola_lgraph.php\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Mathematics Equation Google Chart Line Chart Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/ParabolaLineGraph\/graph.JPG\" title=\"Mathematics Equation Google Chart Line Chart Primer Tutorial\"   \/><\/a><p class=\"wp-caption-text\">Mathematics Equation Google Chart Line Chart Primer Tutorial<\/p><\/div>\n<p>In the recent <a target=_blank title='Mathematics Equation Backtracking Game Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/mathematics-equation-backtracking-game-primer-tutorial\/'>Mathematics Equation Backtracking Game Primer Tutorial<\/a> we found that there was not much to do to consider the drawing and display of a straight line by saying the <i>a<\/i> in &#8230;<\/p>\n<p><code>Y = aX<sup>2<\/sup> + bX + c<\/code><\/p>\n<p> &#8230; is zero &#8230; and this turned the <i>parabola<\/i> data our Google Chart Parabola Line Graph code was initially designed for, into code that could display a <i>straight line<\/i>.  But what about other equations?  Well, we think the same code should suffice for that too, though we have to rearrange a fair bit more for that idea in the code, and ask a lot of the user.  They use the ^ for &#8220;power of&#8221; for instance, and we&#8217;re sure we&#8217;ll think of more issues with requirements on this as time goes on, but the initial extension to functionality thoughts here swirled around equations  where the most complex it gets for a <i>parabola<\/i> is &#8220;to the power of&#8221; 2.  What about  equations of curves of other powers bigger than 2 and less than 1, including negative powers.  Given some suitable entries by the user, this is now possible using this same one codebase utilising the Google Chart Line Chart web application interface with this <a href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/ParabolaLineGraph\/parabola_lgraph.php\" title=\"Code difference for parabola_lgraph.php\" target=\"_blank\">live run<\/a> that you could call <a href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/ParabolaLineGraph\/parabola_lgraph.php---GETME\" title=\"Code difference for parabola_lgraph.php\" target=\"_blank\">parabola_lgraph.php<\/a> and which changed in <a href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/ParabolaLineGraph\/parabola_lgraph.php---GETME\" title=\"Code difference for parabola_lgraph.php\" target=\"_blank\">this way<\/a>.  So you can look at today&#8217;s tutorial picture, and below we&#8217;d like to show you a Cubic Polynomial, as we found discussed at this <a target=_blank title='Useful link' href='http:\/\/mathworld.wolfram.com\/CubicPolynomial.html'>useful link<\/a>, thanks.<\/p>\n<p><iframe width=100% height=700 title=CubicPolynomial src='http:\/\/www.rjmprogramming.com.au\/PHP\/ParabolaLineGraph\/parabola_lgraph.php?minval=-100&#038;onclick=y&#038;maxval=100&#038;e2=4%20*%20(x*x*x)%2B%203%20*(x*x)%2B%202%20*%20x%20%20%2B%201&#038;e1=0&#038;e0=0'><\/iframe><\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d27577' onclick='var dv=document.getElementById(\"d27577\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/google-charts\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d27577' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In the recent Mathematics Equation Backtracking Game Primer Tutorial we found that there was not much to do to consider the drawing and display of a straight line by saying the a in &#8230; Y = aX2 + bX + &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/mathematics-equation-google-chart-line-chart-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[199,2123,392,454,513,518,538,699,752,898,932,997,1319],"class_list":["post-27577","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-chart","tag-curve","tag-equation","tag-formula","tag-google","tag-google-chart","tag-graph","tag-line-chart","tag-mathematics","tag-parabola","tag-php","tag-programming","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/27577"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=27577"}],"version-history":[{"count":7,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/27577\/revisions"}],"predecessor-version":[{"id":48644,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/27577\/revisions\/48644"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=27577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=27577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=27577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}