{"id":10147,"date":"2018-09-14T11:33:32","date_gmt":"2018-09-14T15:33:32","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=10147"},"modified":"2020-03-26T12:54:38","modified_gmt":"2020-03-26T16:54:38","slug":"physics-course-live-scripts-using-symbolic-math-toolbox","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2018\/09\/14\/physics-course-live-scripts-using-symbolic-math-toolbox\/","title":{"rendered":"Physics Course Live Scripts using Symbolic Math Toolbox"},"content":{"rendered":"<div class=\"content\"><p><a href=\"http:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/869871\">Jiro<\/a>&#8216;s pick this week is <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68799\">Physics Course Live Scripts using Symbolic Math Toolbox<\/a> by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/21666\">Kurt Braeuer<\/a>.<\/p><p>My day job is helping our academic users become successful in their work\/research\/study by using our tools. While it&#8217;s quite easy to imagine using MATLAB in a research setting, MATLAB is not as ubiquitous in a teaching setting as it is in research. So I&#8217;m always keeping my eye out for course or curriculum examples that use MATLAB.<\/p><p>This series of <a title=\"https:\/\/www.mathworks.com\/help\/matlab\/matlab_prog\/what-is-a-live-script.html (link no longer works)\">live scripts<\/a> by Kurt is quite amazing. It covers several topics in fundamentals of theoretical physics, with extensive exercise problems and solutions. MATLAB aides in teaching by helping complex calculations both analytically and numerically. Graphics and animations also help students better understand concepts. Kurt effectively uses these capabilities in his scripts. He also extensively uses the <a href=\"https:\/\/jp.mathworks.com\/products\/symbolic.html\">Symbolic Math Toolbox<\/a>, which is fitting for this field.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_physicscourse\/physics_example.png\" alt=\"\"> <\/p><p><b>Comments<\/b><\/p><p>Take a look and let us know what you think <a href=\"http:\/\/blogs.mathworks.com\/pick\/?p=10147#respond\">here<\/a> or leave a <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68799#comment\">comment<\/a> for Kurt.<\/p><script language=\"JavaScript\"> <!-- \r\n    function grabCode_f861825fd1c449eb9e227c174fc4954c() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='f861825fd1c449eb9e227c174fc4954c ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' f861825fd1c449eb9e227c174fc4954c';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        copyright = 'Copyright 2018 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add copyright line at the bottom if specified.\r\n        if (copyright.length > 0) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n\r\n        d.title = title + ' (MATLAB code)';\r\n        d.close();\r\n    }   \r\n     --> <\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_f861825fd1c449eb9e227c174fc4954c()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n      the MATLAB code <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; R2018a<br><\/p><p class=\"footer\"><br>\r\n      Published with MATLAB&reg; R2018a<br><\/p><\/div><!--\r\nf861825fd1c449eb9e227c174fc4954c ##### SOURCE BEGIN #####\r\n%%\r\n% <http:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/869871 Jiro>'s\r\n% pick this week is\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68799 Physics\r\n% Course Live Scripts using Symbolic Math Toolbox> by\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/21666 Kurt\r\n% Braeuer>.\r\n%\r\n% My day job is helping our academic users become successful in their\r\n% work\/research\/study by using our tools. While it's quite easy to imagine\r\n% using MATLAB in a research setting, MATLAB is not as ubiquitous in a\r\n% teaching setting as it is in research. So I'm always keeping my eye out\r\n% for course or curriculum examples that use MATLAB.\r\n%\r\n% This series of\r\n% <https:\/\/www.mathworks.com\/help\/matlab\/matlab_prog\/what-is-a-live-script.html\r\n% live scripts> by Kurt is quite amazing. It covers several topics in\r\n% fundamentals of theoretical physics, with extensive exercise problems and\r\n% solutions. MATLAB aides in teaching by helping complex calculations both\r\n% analytically and numerically. Graphics and animations also help students\r\n% better understand concepts. Kurt effectively uses these capabilities in\r\n% his scripts. He also extensively uses the\r\n% <https:\/\/jp.mathworks.com\/products\/symbolic.html Symbolic Math Toolbox>,\r\n% which is fitting for this field.\r\n%\r\n% <<physics_example.png>>\r\n%\r\n% *Comments*\r\n%\r\n% Take a look and let us know what you think\r\n% <http:\/\/blogs.mathworks.com\/pick\/?p=10147#respond here> or leave a\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/68799#comment\r\n% comment> for Kurt.\r\n\r\n##### SOURCE END ##### f861825fd1c449eb9e227c174fc4954c\r\n-->","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_physicscourse\/physics_example.png\" onError=\"this.style.display ='none';\" \/><\/div><p>Jiro&#8216;s pick this week is Physics Course Live Scripts using Symbolic Math Toolbox by Kurt Braeuer.My day job is helping our academic users become successful in their work\/research\/study by using&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2018\/09\/14\/physics-course-live-scripts-using-symbolic-math-toolbox\/\">read more >><\/a><\/p>","protected":false},"author":35,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[37,16],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/10147"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=10147"}],"version-history":[{"count":2,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/10147\/revisions"}],"predecessor-version":[{"id":10151,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/10147\/revisions\/10151"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=10147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=10147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=10147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}