{"id":790,"date":"2022-08-30T15:07:13","date_gmt":"2022-08-30T15:07:13","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/slope-intercept-equation-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:07:13","modified_gmt":"2022-08-30T15:07:13","slug":"slope-intercept-equation-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/slope-intercept-equation-collection-of-common-programming-errors\/","title":{"rendered":"Slope-intercept equation?-Collection of common programming errors"},"content":{"rendered":"<p>hey, im little confused about writing an equation in slope-intercept that has a slope that is undefined. i have to write an equation using these points (5,6) &amp; (5,8) can someone explain this to me step by step?<\/p>\n<p>Thanks!<\/p>\n<ol>\n<li>\n<p>The form is a bit diffeent. The equation is simply x=5<\/p>\n<\/li>\n<li>slope is term used to describe the incline of a straight line when plotted on an x-y axis. as you know, 2 points define a line so using (x,y) you have these two points.\n<p>slope-intercept formula is y=mx+b where m is slope and b is the intercept<\/p>\n<\/li>\n<li>A line passing through (5,6) and (5,8) is a vertical line. (no slope) There is no y-intercept. The equation of the line is simply x = 5.\n<p>That is x = 5 for all y.<\/p>\n<\/li>\n<li>\n<p>in your case you have two points lying on a line. Each point has the same x coordinate so this is line parallel to Y-axis. It&#8217;s equation is x=5.<br \/>\nIt intersects x axis as point (5,0)<\/p>\n<\/li>\n<li>y^2-y^1 &#8212;&#8212;&#8212;&#8211;\n<p>x^2-x^1<\/p>\n<\/li>\n<li>\n<p>Becasue you X value is always 5, as defined by the two points, your equation is simply x=5<\/p>\n<\/li>\n<li>Slope intercept form is y = mx + c where m is the slope and c is where the line crosses the y axis. Given the points you have you find the slope by taking the difference in y and dividing it by the difference in x. So 8 &#8211; 6 \/ 5 &#8211; 5 so your slope is 2\/1 or just simply 2. Ok now you use the standard formula for an equation y &#8211; y1=M(x-x1) imputting your coordinates such. y &#8211; 5 = 2(x &#8211; 5) expand the bracket y &#8211; 5 = 2x &#8211; 10 add 5 to both sides y = 2x -5\n<p>and thats your answer.<\/p>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2013-11-09 22:45:36. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>hey, im little confused about writing an equation in slope-intercept that has a slope that is undefined. i have to write an equation using these points (5,6) &amp; (5,8) can someone explain this to me step by step? Thanks! The form is a bit diffeent. The equation is simply x=5 slope is term used to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-790","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=790"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/790\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}