{"id":106,"date":"2011-10-25T00:26:33","date_gmt":"2011-10-25T00:26:33","guid":{"rendered":"http:\/\/sites.williams.edu\/fws1\/?page_id=106"},"modified":"2011-10-27T17:10:11","modified_gmt":"2011-10-27T17:10:11","slug":"scientific-computing","status":"publish","type":"page","link":"https:\/\/sites.williams.edu\/fws1\/teaching\/scientific-computing\/","title":{"rendered":"Scientific Computing"},"content":{"rendered":"<p><strong>Course Description<\/strong><\/p>\n<p>We will study a number of computational tools and techniques to model and visualize scientific processes. Each sessions we will carry out a series of computational exercises using Mathematica, matlab, Python, C, Fortran, and\/or a computer language of the student&#8217;s choice (no previous programming experience is required). These exercises will be drawn from mathematics, chemistry, biology, and physics. In addition, we will have a quick introduction to the typesetting program LaTeX, allowing for the preparation of professional scientific documents incorporating high-quality images. An effort will be made to allow each student to work on problems appropriate to his or her interests.<\/p>\n<p><strong>Course Documents<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/syllabus_phy13.pdf\">Syllabus<\/a><\/li>\n<li><a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/phys13exercise1.pdf\">Exercise 1<\/a><\/li>\n<li><a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/phys13exercise2.pdf\">Exercise 2<\/a><\/li>\n<li><a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/phys13exercise3.pdf\">Exercise 3<\/a><\/li>\n<li><a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/phys13exercise4.pdf\">Exercise 4<\/a><\/li>\n<li><a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/phys13exercise5.pdf\">Exercise 5<\/a><\/li>\n<li><a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/phys13exercise6.pdf\">Exercise 6<\/a><\/li>\n<li><a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/phys13exercise7.pdf\">Exercise 7<\/a><\/li>\n<li><a href=\"http:\/\/web.williams.edu\/wp-etc\/physics\/fstrauch\/samplecode.zip\">Sample Codes<\/a><\/li>\n<\/ul>\n<div><strong>Sample Student Projects<\/strong><\/div>\n<div><a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/fusco.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-107 alignleft\" src=\"https:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/fusco.jpg\" alt=\"\" width=\"247\" height=\"149\" \/><\/a><\/div>\n<div>Richard Fucso, <a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/fusco.pdf\">A Windy Future?<\/a><\/div>\n<div>The goal of this program is to manipulate data and determine where the most suitable locations for wind farms are in the United States. The program was written in Mathematica and chooses optimal locations based on three parameters: wind speed, population density, and average value of land. The program should provide a starting point for those who want to delve further into the topic of wind farm development.<\/div>\n<div><a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/gamma.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-108\" src=\"https:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/gamma-300x185.png\" alt=\"\" width=\"300\" height=\"185\" srcset=\"https:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/gamma-300x185.png 300w, https:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/gamma-1024x633.png 1024w, https:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/gamma.png 1241w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<div>Matthew Lea, Michael Mara, and Qiao Zhang, <a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/GammaKnife.pdf\">Gamma Knife Treatment Planning<\/a><\/div>\n<div>The problem of where to focus radiation during certain types of radiosurgery can be repre- sented as a sphere-packing problem. We implement a method for simulating cancerous tumors on which solutions can be tested and visualized. We then implement an algorithm to approxi- mate the optimal sphere-packing of an irregular shape and consider its performance using our visualization.<\/div>\n<div><a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/lorenzo.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-109\" src=\"https:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/lorenzo-300x269.jpg\" alt=\"\" width=\"300\" height=\"269\" srcset=\"https:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/lorenzo-300x269.jpg 300w, https:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/lorenzo.jpg 858w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<div>Antonio Lorenzo, <a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/lorenzo.pdf\"> Particle-in-a-Box in Python and C\u00a0<\/a><\/div>\n<div><a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/schine.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-110\" src=\"https:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/schine-276x300.jpg\" alt=\"\" width=\"276\" height=\"300\" srcset=\"https:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/schine-276x300.jpg 276w, https:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/schine.jpg 337w\" sizes=\"auto, (max-width: 276px) 100vw, 276px\" \/><\/a><\/div>\n<div>Nathan Schine, <a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/VisualizingJuliaSets.pdf\"> Visualizing Julia Sets<\/a><\/div>\n<div>Julia sets are one of the most widely known families of fractals. First developed by Gaston Julia in the early 20th century, this family of fractals has many different and beautiful exemplars. Beyond their aesthetic appeal, Julia sets stand apart fromother fractals due to the extraordinarily simple method required to produce them. Furthermore, the Julia sets are intimately related to the highly famous Mandelbrot set. This paper demonstrates a method for producing Julia sets using Mathematica and then quickly overviews their relationship with the Mandelbrot set.<\/div>\n<div>\n<p><a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/byd5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-111\" src=\"https:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/byd5-300x192.png\" alt=\"\" width=\"300\" height=\"192\" srcset=\"https:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/byd5-300x192.png 300w, https:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/byd5.png 734w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>Qiao Zhang, <a href=\"http:\/\/sites.williams.edu\/fws1\/files\/2011\/10\/ArtMachine.pdf\"> Art Machine<\/a><\/p>\n<p>This visualization project is inspired by the Double Pendulum device constructed by Professor R. H. Romer from Amherst College. The Double Pendulum, dubbed &#8220;the Art Machine&#8221;, produces intriguing Lissajous \u00ef\u00ac\u0081gures on paper. We will \u00ef\u00ac\u0081rst replicate the curious patterns produced by Prof. Romer&#8217;s &#8220;the Art Machine&#8221;, and then extend to cases that are constrained by limitations of the experimental apparatus.<\/p>\n<p><span class=\"Apple-style-span\" style=\"font-weight: bold\">Useful Links for Python<\/span><\/p>\n<ul>\n<li><a href=\"http:\/\/www.python.org\"> Python <\/a> Definitive Website and Documentation<\/li>\n<li><a href=\"http:\/\/www.swaroopch.com\/notes\/Python\"> A Byte of Python <\/a> A very nice intro to Python<\/li>\n<li><a href=\"http:\/\/heather.cs.ucdavis.edu\/~matloff\/python.html\"> Quick Python Tutorials <\/a> Another nice intro to Python<\/li>\n<li><a href=\"http:\/\/www.physics.ucf.edu\/~mdj\/MinimalPython.html\"> Minimal Python for Scientific Computing <\/a> A nice short intro<\/li>\n<li><a href=\"http:\/\/en.wikibooks.org\/wiki\/Python_Programming\"> Python Programming <\/a> More detailed documentation<\/li>\n<li><a href=\"http:\/\/www.greenteapress.com\/thinkpython\/thinkpython.html\"> How to Think Like a Computer Scientist<\/a> A full book, using Python<\/li>\n<li><a href=\"http:\/\/www.scipy.org\/\"> SciPy <\/a> Scientific Computing Tools for Python<\/li>\n<li><a href=\"http:\/\/matplotlib.sourceforge.net\/\"> Matplotlib <\/a> Nice Plotting Tools for Python<\/li>\n<li><a href=\"http:\/\/www.enthought.com\/\"> Enthought <\/a> A nice comprehensive distribution of Python, SciPy, Matplotlib, and more<\/li>\n<li><a href=\"http:\/\/www.rexx.com\/~dkuhlman\/scipy_course_01.html\"> SciPy Course Outline <\/a> An online course for SciPy and Matplotlib<\/li>\n<li><a href=\"http:\/\/nanohub.org\/resources\/99\"> Scientific Computing with Python <\/a> Online presentations<\/li>\n<\/ul>\n<div><strong><br \/>\n<\/strong><\/div>\n<p><span class=\"Apple-style-span\" style=\"font-weight: bold\">Other Useful Links<\/span><\/p>\n<ul>\n<li><a href=\"http:\/\/folk.uio.no\/steikr\/doc\/f77\/tutorial\">Fortran Tutorial<\/a><\/li>\n<li><a href=\"http:\/\/www.mesoscale.iastate.edu\/agron505\/fortran.htm\">Fortran Programming Tutorial<\/a><\/li>\n<li><a href=\"http:\/\/gcc.gnu.org\/fortran\/\">GNU Fortran <\/a> A free Fortran compiler<\/li>\n<li><a href=\"http:\/\/www.its.strath.ac.uk\/courses\/c\/\">C Programming<\/a><\/li>\n<li><a href=\"http:\/\/www.wolfram.com\/learningcenter\/tutorialcollection\/\">Mathematica Tutorials<\/a><\/li>\n<li><a href=\"http:\/\/www.wolfram.com\/broadcast\/screencasts\/handsonstart\/\">Hands-on Start to Mathematica <\/a> Video<\/li>\n<li><a href=\"http:\/\/www.wolfram.com\/broadcast\/screencasts\/handsonstartpart2\/\">Hands-on Start Part 2<\/a><\/li>\n<li><a href=\"http:\/\/www.wolfram.com\/broadcast\/\">Mathematica Video Collection<\/a><\/li>\n<li><a href=\"http:\/\/demonstrations.wolfram.com\/index.html\">Wolfram Demonstrations Project<\/a><\/li>\n<li><a href=\"http:\/\/www.mathworks.com\/academia\/student_center\/tutorials\/prerequisites.html\">Basic MATLAB Tutorial<\/a><\/li>\n<li><a href=\"http:\/\/www.mathworks.com\/academia\/student_center\/tutorials\/launchpad.html\">More MATLAB Tutorials<\/a><\/li>\n<li><a href=\"http:\/\/www.mathworks.com\/products\/matlab\/demos.html\">MATLAB Demos<\/a><\/li>\n<li><a href=\"http:\/\/www.williams.edu\/go\/math\/sjmiller\/public_html\/math\/handouts\/latex.htm\">LaTeX Tutorial<\/a><\/li>\n<li><a href=\"http:\/\/www.uoregon.edu\/~koch\/texshop\/obtaining.html\">TeXShop Installation (for Mac)<\/a><\/li>\n<li><a href=\"http:\/\/www.cae.tntech.edu\/help\/office\/latex\/windows_install\">TeX Installation (for PC)<\/a><\/li>\n<li><a href=\"http:\/\/www.vtk.org\/\">Visualization Toolkit<\/a><\/li>\n<li><a href=\"http:\/\/mayavi.sourceforge.net\/\">MayaVI<\/a><\/li>\n<\/ul>\n<hr \/>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Course Description We will study a number of computational tools and techniques to model and visualize scientific processes. Each sessions we will carry out a series of computational exercises using Mathematica, matlab, Python, C, Fortran, and\/or a computer language of &hellip; <a href=\"https:\/\/sites.williams.edu\/fws1\/teaching\/scientific-computing\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":151,"featured_media":0,"parent":11,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-106","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/sites.williams.edu\/fws1\/wp-json\/wp\/v2\/pages\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.williams.edu\/fws1\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.williams.edu\/fws1\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.williams.edu\/fws1\/wp-json\/wp\/v2\/users\/151"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.williams.edu\/fws1\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":6,"href":"https:\/\/sites.williams.edu\/fws1\/wp-json\/wp\/v2\/pages\/106\/revisions"}],"predecessor-version":[{"id":155,"href":"https:\/\/sites.williams.edu\/fws1\/wp-json\/wp\/v2\/pages\/106\/revisions\/155"}],"up":[{"embeddable":true,"href":"https:\/\/sites.williams.edu\/fws1\/wp-json\/wp\/v2\/pages\/11"}],"wp:attachment":[{"href":"https:\/\/sites.williams.edu\/fws1\/wp-json\/wp\/v2\/media?parent=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}