<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:og="http://ogp.me/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:schema="http://schema.org/" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:sioct="http://rdfs.org/sioc/types#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" version="2.0" xml:base="https://www.linuxjournal.com/tag/teaching">
  <channel>
    <title>Teaching</title>
    <link>https://www.linuxjournal.com/tag/teaching</link>
    <description/>
    <language>en</language>
    
    <item>
  <title>Open-Source Physics on Linux</title>
  <link>https://www.linuxjournal.com/content/open-source-physics-linux</link>
  <description>  &lt;div data-history-node-id="1084504" class="layout layout--onecol"&gt;
    &lt;div class="layout__region layout__region--content"&gt;
      
            &lt;div class="field field--name-field-node-image field--type-image field--label-hidden field--item"&gt;  &lt;img src="https://www.linuxjournal.com/sites/default/files/nodeimage/story/11457ospf1.jpg" width="550" height="322" alt="" typeof="foaf:Image" class="img-responsive" /&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-author field--type-ds field--label-hidden field--item"&gt;by &lt;a title="View user profile." href="https://www.linuxjournal.com/users/joey-bernard" lang="" about="https://www.linuxjournal.com/users/joey-bernard" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;Joey Bernard&lt;/a&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"&gt;&lt;p&gt;
My last several articles have covered lots of software
for
doing research in the sciences. But one important area I haven't
covered in detail is the resources available for teaching the next
generation of computational scientists. To fill this gap, you can use
the code provided through the &lt;a href="http://www.compadre.org/osp"&gt;Open Source Physics project&lt;/a&gt;. This project
is supported by the American Association of Physics Teachers (AAPT) and
the National Science Foundation (NSF), and it offers several different
packages for doing simulations and analysis.
&lt;/p&gt;

&lt;p&gt;
The first thing Open Source Physics provides is an entire suite of
Java applications that do simulations of different physical systems.
Because these
simulations are all written in Java, they can be run on operating
systems other than Linux. The categories covered include astronomy,
electricity and magnetism, classical mechanics, quantum mechanics,
optics and relativity. On the main Web site, you either can do a specific
search or browse by topic to find simulations. The simulation programs
are packaged as .jar files, so you can download them and run them
simply by typing:

&lt;/p&gt;&lt;pre&gt;&lt;code&gt;
java -jar filename.jar
&lt;/code&gt;&lt;/pre&gt;


&lt;p&gt;
This lets you run the simulation on your desktop. But, because these are
Java programs, you can put them a Web site and run them within
a browser. This means you can include them on your science site
and show visitors simulations of the systems you might be trying
to explain.
&lt;/p&gt;

&lt;img src="http://www.linuxjournal.com/files/linuxjournal.com/ufiles/imagecache/large-550px-centered/u1002061/11457ospf1.jpg" alt="" title="" class="imagecache-large-550px-centered" /&gt;&lt;p&gt;
Figure 1. For example, starting up the simulation of sliding down an inclined plane
also pops up some introductory material.
&lt;/p&gt;

&lt;p&gt;
Some of the simulations provided by Open Source Physics have
parameters that you can alter to change the runtime details of
the simulation. These parameters might be items like masses,
velocities or field strengths. If the simulation you are using does
have settable parameters, there will be an option to save the
model details off to a data file. You can do this by clicking File→Save Model. The data file is an XML file, so it should be relatively
clear if you want to edit the file directly with a text editor. You 
then can reload these parameters in the simulation by clicking
File→Load Module. This way, you can share models you've developed with
other people by sharing the XML data file.
&lt;/p&gt;

&lt;img src="http://www.linuxjournal.com/files/linuxjournal.com/ufiles/imagecache/medium-350px-centered/u1002061/11457ospf2.png" alt="" title="" class="imagecache-medium-350px-centered" /&gt;&lt;p&gt;
Figure 2. Saving a Run for Sharing with Other People
&lt;/p&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-link field--type-ds field--label-hidden field--item"&gt;  &lt;a href="https://www.linuxjournal.com/content/open-source-physics-linux" hreflang="und"&gt;Go to Full Article&lt;/a&gt;
&lt;/div&gt;
      
    &lt;/div&gt;
  &lt;/div&gt;

</description>
  <pubDate>Mon, 22 Apr 2013 19:09:27 +0000</pubDate>
    <dc:creator>Joey Bernard</dc:creator>
    <guid isPermaLink="false">1084504 at https://www.linuxjournal.com</guid>
    </item>

  </channel>
</rss>
