<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:foaf="https://xmlns.com/foaf/0.1/" xmlns:og="https://ogp.me/ns#" xmlns:rdfs="https://www.w3.org/2000/01/rdf-schema#" xmlns:schema="https://schema.org/" xmlns:sioc="https://rdfs.org/sioc/ns#" xmlns:sioct="https://rdfs.org/sioc/types#" xmlns:skos="https://www.w3.org/2004/02/skos/core#" xmlns:xsd="https://www.w3.org/2001/XMLSchema#" version="2.0" xml:base="https://www.linuxjournal.com/tag/physics">
  <channel>
    <title>Physics</title>
    <link>https://www.linuxjournal.com/tag/physics</link>
    <description/>
    <language>en</language>
    
    <item>
  <title>Drawing Feynman Diagrams for Fun and Profit with JaxoDraw</title>
  <link>https://www.linuxjournal.com/content/drawing-feynman-diagrams-fun-and-profit-jaxodraw</link>
  <description>  &lt;div data-history-node-id="1339877" 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/bigstock--158388092.jpg" width="800" height="572" 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;
&lt;em&gt;I've been covering chemistry software in my last few articles, so this time, I
decided to move to physics and introduce a package called JaxoDraw.
In physics, there's a powerful technique
for visualizing particle interactions at the quantum level.&lt;/em&gt; This
technique uses something called Feynman diagrams, invented by physicist
Richard Feynman. These diagrams help visualize what happens when one or
more particles have some kind of interaction. I say one or more because a
single particle could spontaneously kick out other particle/anti-particle
pairs and then swallow them back up again. Needless to say, quantum
physics is weird.
&lt;/p&gt;

&lt;p&gt;
When first developed, theoretical physics
was mostly done either with pen and paper or on a chalkboard.
Not much thought was given as to how you could render these drawings within
a document being written on a computer. JaxoDraw is meant to help fill
in that gap in document layout and provide the ability to render these
drawings correctly and give output you can use in your own documents.
&lt;/p&gt;

&lt;p&gt;
JaxoDraw is written in Java, so it should run under almost any operating
system. Unfortunately, it isn't likely to be in the package repository
for most distributions, so you'll need to download it from
the project's &lt;a href="https://jaxodraw.sourceforge.net"&gt;website&lt;/a&gt;. But, because it's packaged as a jar file,
it's relatively easy to run.
&lt;/p&gt;

&lt;p&gt;
Download the binary package,
unpack it on your machine, and then you'll want to open a terminal
and change directory to the location where you unpacked JaxoDraw. You
can start it simply by typing the following:

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


&lt;p&gt;
This opens a blank workspace where you can start your
diagram. On the left-hand side of the window, you'll
see a palette of all of the available drawing elements that you can use
to generate your diagram.
&lt;/p&gt;

&lt;img src="https://www.linuxjournal.com/sites/default/files/styles/max_1300x1300/public/u%5Buid%5D/12419f1.png" width="1300" height="693" alt="""" class="image-max_1300x1300" /&gt;&lt;p&gt;&lt;em&gt;
Figure 1. When you first open JaxoDraw, you see a blank workspace where you can start
diagramming your quantum particle interaction.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;
To see what's involved, let's draw an electron
interacting with a photon. This happens when energy is absorbed or
emitted by an electron. Since you're looking at an interaction, you'll
want to start by selecting the vertex button from the palette and
then draw one in the window. Coming into this vertex will be a fermion line
for the electron and a photon line for the incoming electromagnetic
energy. The interaction happens at the vertex, with a second fermion
line coming out the other end. You can continue adding more elements,
including loops or bezier lines, and you also have the choice
of other particle types, such as scalar particles, ghost particles or
gluons.
&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/drawing-feynman-diagrams-fun-and-profit-jaxodraw" hreflang="en"&gt;Go to Full Article&lt;/a&gt;
&lt;/div&gt;
      
    &lt;/div&gt;
  &lt;/div&gt;

</description>
  <pubDate>Fri, 22 Jun 2018 11:45:00 +0000</pubDate>
    <dc:creator>Joey Bernard</dc:creator>
    <guid isPermaLink="false">1339877 at https://www.linuxjournal.com</guid>
    </item>
<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="https://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="https://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="https://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>
