{"id":74,"date":"2017-07-17T15:14:46","date_gmt":"2017-07-17T15:14:46","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/suny-oerguide\/chapter\/use-equations-formulas\/"},"modified":"2018-09-20T19:45:38","modified_gmt":"2018-09-20T19:45:38","slug":"use-equations-formulas","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/suny-oerguide\/chapter\/use-equations-formulas\/","title":{"raw":"Use Equations &amp; Formulas","rendered":"Use Equations &amp; Formulas"},"content":{"raw":"The Lumen platform currently includes a utility that converts equations and formulas coded in LaTeX both inline (like $$x=\\frac{1+y}{1+2z^2}$$) and separately displayed (like below) as dynamically generated images. The original LaTeX code is included in the image in its \"alt\" attribute, which you can see by hovering your cursor over the images.\r\n\r\n[latex]\\int_0^\\infty e^{-x^2} dx=\\frac{\\sqrt{\\pi}}{2}[\/latex]\r\n\r\nThere are two LaTeX renderers\u00a0available, one generates cleaner looking images, and the other has the ability to handle more robust mathematical expressions including matrices. Please <a href=\"https:\/\/oer.suny.edu\/contact\">contact SUNY OER Services<\/a> for more information on which to use in your course.\r\n\r\nThe LaTeX code for the equation above is as follows, but note that you must surround the\u00a0equation or formula with the necessary double dollar sign ($$\\$\\$\\text{equation}\\$\\$ $$) or latex shortcode ([[latex]equation[\/latex]]) for it to be dynamically converted:\r\n<pre>[[latex]\\int_0^\\infty e^{-x^2} dx=\\frac{\\sqrt{\\pi}}{2}[\/latex]]<\/pre>\r\nRead the <a title=\"read the FAQ online\" href=\"https:\/\/wordpress.org\/plugins\/wp-latex\/faq\/\">official FAQ<\/a> of the WP LaTeX plugin.\r\n<h2>Common Mathematical Expressions<\/h2>\r\nHere is LaTeX examples\u00a0for some common expressions you may use.\r\n\r\nAdding $$\\$\\$ $$ to the beginning and end of this statement:\r\n<pre>$$\\$\\$ $$ C(g) = \\begin{cases} 25 ,\\ 0 &lt; g &lt; 2 \\\\ 25 + 10(g-2) , g \\ge 2\\\\ \\end{cases}$$\\$\\$ $$<\/pre>\r\nwill give: $$C(g) = \\begin{cases} 25 ,\\ 0 &lt; g &lt; 2 \\\\ 25 + 10(g-2) , g \\ge 2\\\\ \\end{cases}$$\r\n<pre>[[latex]\\displaystyle{s}=\\sqrt{{\\frac{{\\sum{({x}-\\overline{{x}})}^{{2}}}}{{{n}-{1}}}}}{\\quad\\text{or}\\quad}{s}=\\sqrt{{\\frac{{\\sum{f{{({x}-\\overline{{x}})}}}^{{2}}}}{{{n}-{1}}}}}[\/latex]]<\/pre>\r\nwill give:[latex]\\displaystyle{s}=\\sqrt{{\\frac{{\\sum{({x}-\\overline{{x}})}^{{2}}}}{{{n}-{1}}}}}{\\quad\\text{or}\\quad}{s}=\\sqrt{{\\frac{{\\sum{f{{({x}-\\overline{{x}})}}}^{{2}}}}{{{n}-{1}}}}}[\/latex]\r\n<pre>[[latex]\\displaystyle{B} = \\left[\\matrix{{1}&amp;{2}&amp;{7}\\\\{0}&amp;{5}&amp;{6}\\\\{7}&amp;{8}&amp;{2}}\\right][\/latex]]<\/pre>\r\nwill give: [latex]\\displaystyle{B} = \\left[\\matrix{{1}&amp;{2}&amp;{7}\\\\{0}&amp;{5}&amp;{6}\\\\{7}&amp;{8}&amp;{2}}\\right][\/latex]\r\n<h2>Additional Equation Examples<\/h2>\r\n<pre>[[latex]\\text{volume of lead cube}=2.00 cm\\times 2.00 cm\\times 2.00 cm={\\text{8.00 cm}}^{3}[\/latex]]<\/pre>\r\n[latex]\\text{volume of lead cube}=2.00 cm\\times 2.00 cm\\times 2.00 cm={\\text{8.00 cm}}^{3}[\/latex]\r\n<pre>[[latex]\\text{density}=\\frac{\\text{mass}}{\\text{volume}}=\\frac{\\text{90.7 g}}{{\\text{8.00 cm}}^{3}}=\\frac{\\text{11.3 g}}{{\\text{1.00 cm}}^{3}}={\\text{11.3 g\/cm}}^{3}[\/latex]]<\/pre>\r\n[latex]\\text{density}=\\frac{\\text{mass}}{\\text{volume}}=\\frac{\\text{90.7 g}}{{\\text{8.00 cm}}^{3}}=\\frac{\\text{11.3 g}}{{\\text{1.00 cm}}^{3}}={\\text{11.3 g\/cm}}^{3}[\/latex]\r\n<pre>[[latex]4.7\\cancel{\\text{g}}\\text{K}\\left(\\frac{\\text{mol K}}{39.10\\cancel{\\text{g}}}\\right)=0.12\\text{mol K}[\/latex]]<\/pre>\r\n[latex]4.7\\cancel{\\text{g}}\\text{K}\\left(\\frac{\\text{mol K}}{39.10\\cancel{\\text{g}}}\\right)=0.12\\text{mol K}[\/latex]\r\n<p class=\"wysiwyg-text-align-center\" style=\"text-align: center\"><\/p>","rendered":"<p>The Lumen platform currently includes a utility that converts equations and formulas coded in LaTeX both inline (like $$x=\\frac{1+y}{1+2z^2}$$) and separately displayed (like below) as dynamically generated images. The original LaTeX code is included in the image in its &#8220;alt&#8221; attribute, which you can see by hovering your cursor over the images.<\/p>\n<p>[latex]\\int_0^\\infty e^{-x^2} dx=\\frac{\\sqrt{\\pi}}{2}[\/latex]<\/p>\n<p>There are two LaTeX renderers\u00a0available, one generates cleaner looking images, and the other has the ability to handle more robust mathematical expressions including matrices. Please <a href=\"https:\/\/oer.suny.edu\/contact\">contact SUNY OER Services<\/a> for more information on which to use in your course.<\/p>\n<p>The LaTeX code for the equation above is as follows, but note that you must surround the\u00a0equation or formula with the necessary double dollar sign ($$\\$\\$\\text{equation}\\$\\$ $$) or latex shortcode ([latex]equation[\/latex]) for it to be dynamically converted:<\/p>\n<pre>[latex]\\int_0^\\infty e^{-x^2} dx=\\frac{\\sqrt{\\pi}}{2}[\/latex]<\/pre>\n<p>Read the <a title=\"read the FAQ online\" href=\"https:\/\/wordpress.org\/plugins\/wp-latex\/faq\/\">official FAQ<\/a> of the WP LaTeX plugin.<\/p>\n<h2>Common Mathematical Expressions<\/h2>\n<p>Here is LaTeX examples\u00a0for some common expressions you may use.<\/p>\n<p>Adding $$\\$\\$ $$ to the beginning and end of this statement:<\/p>\n<pre>$$\\$\\$ $$ C(g) = \\begin{cases} 25 ,\\ 0 &lt; g &lt; 2 \\\\ 25 + 10(g-2) , g \\ge 2\\\\ \\end{cases}$$\\$\\$ $$<\/pre>\n<p>will give: $$C(g) = \\begin{cases} 25 ,\\ 0 &lt; g &lt; 2 \\\\ 25 + 10(g-2) , g \\ge 2\\\\ \\end{cases}$$<\/p>\n<pre>[latex]\\displaystyle{s}=\\sqrt{{\\frac{{\\sum{({x}-\\overline{{x}})}^{{2}}}}{{{n}-{1}}}}}{\\quad\\text{or}\\quad}{s}=\\sqrt{{\\frac{{\\sum{f{{({x}-\\overline{{x}})}}}^{{2}}}}{{{n}-{1}}}}}[\/latex]<\/pre>\n<p>will give:[latex]\\displaystyle{s}=\\sqrt{{\\frac{{\\sum{({x}-\\overline{{x}})}^{{2}}}}{{{n}-{1}}}}}{\\quad\\text{or}\\quad}{s}=\\sqrt{{\\frac{{\\sum{f{{({x}-\\overline{{x}})}}}^{{2}}}}{{{n}-{1}}}}}[\/latex]<\/p>\n<pre>[latex]\\displaystyle{B} = \\left[\\matrix{{1}&amp;{2}&amp;{7}\\\\{0}&amp;{5}&amp;{6}\\\\{7}&amp;{8}&amp;{2}}\\right][\/latex]<\/pre>\n<p>will give: [latex]\\displaystyle{B} = \\left[\\matrix{{1}&{2}&{7}\\\\{0}&{5}&{6}\\\\{7}&{8}&{2}}\\right][\/latex]<\/p>\n<h2>Additional Equation Examples<\/h2>\n<pre>[latex]\\text{volume of lead cube}=2.00 cm\\times 2.00 cm\\times 2.00 cm={\\text{8.00 cm}}^{3}[\/latex]<\/pre>\n<p>[latex]\\text{volume of lead cube}=2.00 cm\\times 2.00 cm\\times 2.00 cm={\\text{8.00 cm}}^{3}[\/latex]<\/p>\n<pre>[latex]\\text{density}=\\frac{\\text{mass}}{\\text{volume}}=\\frac{\\text{90.7 g}}{{\\text{8.00 cm}}^{3}}=\\frac{\\text{11.3 g}}{{\\text{1.00 cm}}^{3}}={\\text{11.3 g\/cm}}^{3}[\/latex]<\/pre>\n<p>[latex]\\text{density}=\\frac{\\text{mass}}{\\text{volume}}=\\frac{\\text{90.7 g}}{{\\text{8.00 cm}}^{3}}=\\frac{\\text{11.3 g}}{{\\text{1.00 cm}}^{3}}={\\text{11.3 g\/cm}}^{3}[\/latex]<\/p>\n<pre>[latex]4.7\\cancel{\\text{g}}\\text{K}\\left(\\frac{\\text{mol K}}{39.10\\cancel{\\text{g}}}\\right)=0.12\\text{mol K}[\/latex]<\/pre>\n<p>[latex]4.7\\cancel{\\text{g}}\\text{K}\\left(\\frac{\\text{mol K}}{39.10\\cancel{\\text{g}}}\\right)=0.12\\text{mol K}[\/latex]<\/p>\n<p class=\"wysiwyg-text-align-center\" style=\"text-align: center\">\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-74\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">Lumen Learning authored content<\/div><ul class=\"citation-list\"><li>Using Equations &amp; Formulas. <strong>Provided by<\/strong>: Lumen Learning. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/lumenlearning.com\">http:\/\/lumenlearning.com<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":19,"menu_order":16,"template":"","meta":{"_candela_citation":"[{\"type\":\"lumen\",\"description\":\"Using Equations & Formulas\",\"author\":\"\",\"organization\":\"Lumen Learning\",\"url\":\"http:\/\/lumenlearning.com\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-74","chapter","type-chapter","status-publish","hentry"],"part":23,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/suny-oerguide\/wp-json\/pressbooks\/v2\/chapters\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/suny-oerguide\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/suny-oerguide\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-oerguide\/wp-json\/wp\/v2\/users\/19"}],"version-history":[{"count":3,"href":"https:\/\/courses.lumenlearning.com\/suny-oerguide\/wp-json\/pressbooks\/v2\/chapters\/74\/revisions"}],"predecessor-version":[{"id":462,"href":"https:\/\/courses.lumenlearning.com\/suny-oerguide\/wp-json\/pressbooks\/v2\/chapters\/74\/revisions\/462"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/suny-oerguide\/wp-json\/pressbooks\/v2\/parts\/23"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/suny-oerguide\/wp-json\/pressbooks\/v2\/chapters\/74\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/suny-oerguide\/wp-json\/wp\/v2\/media?parent=74"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-oerguide\/wp-json\/pressbooks\/v2\/chapter-type?post=74"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-oerguide\/wp-json\/wp\/v2\/contributor?post=74"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-oerguide\/wp-json\/wp\/v2\/license?post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}