CINXE.COM
STP Book
<!DOCTYPE html> <html> <head> <title>STP Book</title> <script>window.dataLayer = window.dataLayer || []; window.dataLayer.push({ 'page_type':null }); window.dataLayer.push({ 'user_id':null }); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-PJ9N8DM');</script> <meta charset="utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Language" content="en" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="MSSmartTagsPreventParsing" content="TRUE" /> <meta name="Rating" content="General" /> <meta name="Organization" content="ComPADRE Digital Library" /> <script type="text/javascript" src="/stpbook/swingjs/swingjs2.js"></script> <link href="/stpbook/style.css" type="text/css" rel="stylesheet" /> <link href="/stpbook/styleMobile.css" type="text/css" rel="stylesheet" /> <link rel="shortcut icon" href="/services/images/ico/physlets32.ico" /> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> <script type="text/javascript"> var _gaq = _gaq || []; MathJax.Hub.Config({ showProcessingMessages: false, messageStyle: "none", TeX: { equationNumbers: {autoNumber: "all"} }, extensions: ["tex2jax.js"], jax: ["input/TeX", "output/HTML-CSS"], tex2jax: { inlineMath: [ ['$','$'] ], displayMath: [ ['$$','$$'] ], processEscapes: true }, SVG: { linebreaks: { automatic: true } }, "HTML-CSS": { availableFonts: ["TeX"] } }); </script> <style> a.stpBookHeaderLink {float:left;font-size: 24px;width: auto;height: 70px;text-decoration: none;line-height: 70px } a.stpBookHeaderLink img { width:auto;height:70px;margin: 0 9px 0 -1px;float:left } </style> <meta name="Keywords" content="Statistical and Thermal Physics; STP Book; STP Programs" /> <meta name="Description" content="Programs and curricular material to accompany the second edition of Statistical and Thermal Physics by Jan Tobochnik and Harvey Gould" /> <meta name="DC.creator" content="Open Source Physics Project" /> <meta name="DC.publisher" content="ComPADRE Digital Library" /> <meta name="DC.contributor" content="Jan Tobochnik" /> <meta name="DC.contributor" content="Harvey Gould" /> <meta name="DCTERMS.audience" content="Statistical and Thermal Physics Educators and Students" /> <meta name="DC.rights" content= "Jan Tobochnik and Harvey Gould" /> <meta name="DC.type" scheme="DCTERMS.DCMIType" content="Collection" /> <meta name="DC.format" scheme="DCTERMS.IMT" content="text/html" /> <meta name="DC.identifier" scheme="DCTERMS.URI" content="https://www.compadre.org/STPBook/" /> <meta name="DC.language" content="English" /> <style type="text/css"> h1#homeTitle {margin-bottom:0;font-size:170%;} h1#homeTitle sup {font-size:75%;} p {margin-left:1px;} .subtitle {margin-top:4px;} .authors {font-size:120%;font-weight:bold;margin:15px 0;} .disclaimer {font-size:90%;margin-top:20px;} .prefaceArea { display:none; } @media screen and (max-width: 675px) { .prefaceGroup { float:left; width:30%; margin-right:20%; } .prefaceArea { display:block; margin-left:5%; } } .navHeader { font-weight:bold; font-size:120% } </style> </head> <body > <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PJ9N8DM" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <div id="header" style="position:relative"> <a href="/stpbook/" class="stpBookHeaderLink" style="color:white"><img src="/stpbook/css/images/STPBookAnimated.gif" alt="Statistical and Thermal Physics Programs" title="Statistical and Thermal Physics Programs">Statistical and Thermal Physics Programs</a> <a class="aaptLink" href="https://www.aapt.org" id="LidPH-1-AAPT"></a> <div class="headerLinks"> </div> <div id="headerSearch"> </div> <div class="clear"></div> </div> <div id="topNav"> <ul id="subMenuList"> <li> <a href="https://www.compadre.org/STPBook/thermal/" class="first"><span>I.</span> Thermal Physics</a> <ul> <li><a href="/stpbook/thermal/intro1.cfm"><span>1:</span> From Microscopic to Macroscopic Behavior</a></li> </ul> </li> <li> <a href="https://www.compadre.org/STPBook/thermodynamics/"><span>II. </span>Thermodynamics</a> <ul> <li><a href="/stpbook/thermodynamics/intro2.cfm"><span>2:</span> Concepts and Processes</a></li> </ul> </li> <li> <a href="https://www.compadre.org/STPBook/probability/"><span>III. </span>Probability</a> <ul> <li><a href="/stpbook/probability/intro3.cfm"><span>3:</span> Concepts and Tools</a></li> </ul> <li> <a href="https://www.compadre.org/STPBook/statistical-mechanics-1/"><span>IV. </span>Statistical Mechanics I</a> <ul> <li><a href="/stpbook/statistical-mechanics-1/intro4.cfm"><span>4:</span> Methodology</a></li> <li><a href="/stpbook/statistical-mechanics-1/intro5.cfm"><span>5:</span> Magnetic Systems</a></li> <li><a href="/stpbook/statistical-mechanics-1/intro6.cfm"><span>6:</span> Many-Particle Systems</a></li> </ul> </li> <li> <a href="https://www.compadre.org/STPBook/statistical-mechanics-2/"><span>V. </span>Statistical Mechanics II</a> <ul> <li><a href="/stpbook/statistical-mechanics-2/intro7.cfm"><span>7:</span> The Chemical Potential and Phase Equilibria</a></li> <li><a href="/stpbook/statistical-mechanics-2/intro8.cfm"><span>8:</span> Classical Gases and Liquids</a></li> <li><a href="/stpbook/statistical-mechanics-2/intro9.cfm"><span>9:</span> Critical Phenomena</a></li> </ul> </li> <li> <a href="https://www.compadre.org/STPBook/time/"><span>VI. </span>It Is About Time</a> <ul> <li><a href="/stpbook/time/intro10.cfm"><span>10:</span> Time-Dependent Phenomena</a></li> </ul> </li> </ul> </div> <div id="shell"> <div id="navigation"> <div class="navGroup"> <span class="navHeader">STP Programs</span> <ul class="homeNavList"> <li><a href="https://www.compadre.org/STPBook/thermal/">Thermal Physics</a></li> <li><a href="https://www.compadre.org/STPBook/thermodynamics/">Thermodynamics</a></li> <li><a href="https://www.compadre.org/STPBook/probability/">Probability</a></li> <li><a href="https://www.compadre.org/STPBook/statistical-mechanics-1/">Statistical Mechanics I</a></li> <li><a href="https://www.compadre.org/STPBook/statistical-mechanics-2/">Statistical Mechanics II</a></li> <li><a href="https://www.compadre.org/STPBook/time/">It Is About Time</a></li> </ul> </div> <div class="navGroup"> <span class="navHeader">Preface</span> <ul class="homeNavList"> <li><a href="https://www.compadre.org/STPBook/preface.cfm">Preface</a></li> <li><a href="https://www.compadre.org/STPBook/requirements.cfm">System Requirements</a></li> <li><a href="https://www.compadre.org/STPBook/credits.cfm">Credits</a></li> <li><a href="https://www.compadre.org/STPBook/conditions.cfm">Conditions of Use</a></li> </ul> </div> </div> <div id="content"> <img src="css/images/STPCover.jpg" width="300" alt="Statistical and Thermal Physics 2E Cover image" id="homeCover" /> <h1 id="homeTitle">Statistical and Thermal Physics Programs</h1> <p class="subtitle">Interactive Programs for Teaching STP</p> <p class="authors">Jan Tobochnik<br />Harvey Gould</p> <div class="disclaimer"> <p>This collection includes all the programs used in the text <em>Statistical and Thermal Physics: With Computer Applications</em>, 2nd ed., Harvey Gould and Jan Tobochnik, Princeton University Press (2021). The Java programs use the Open Source Physics (OSP) library, created by Wolfgang Christian and supported by many other collaborators.</p> <p>Program Resources and Organization</p> <ul class="homeNavList"> <li>On each program page the user can run the program from their browser. Included are problems from the textbook. The programs were converted from Java to JavaScript by Wolfgang Christian and Robert Hanson using the SwingJS system developed at St. Olaf College.</li> <li>The Java programs and the OSP library can be found on <a href="https://www.github.com/OpenSourcePhysics/">Github</a>. Each program source code appears in the chapter folder where it is first used.</li> <li>The source code for all Java and Python versions of the programs, and the latest version of a jar file containing all Java programs and textbook problems can be found on <a href="https://www.compadre.org/osp/items/detail.cfm?ID=7308">ComPADRE</a>. For novice programmers the Python code may be easier to follow and modify than the Java code, but for some programs, such as those that use molecular dynamics of many particles, the Python programs might聽run slower than the Java or JavaScript versions..</li> </ul> </div> <div class="prefaceArea"> <div class="prefaceGroup"> <span class="navHeader">Preface</span> <ul class="homeNavList"> <li><a href="https://www.compadre.org/STPBook/preface.cfm">Preface</a></li> <li><a href="https://www.compadre.org/STPBook/requirements.cfm">System Requirements</a></li> <li><a href="https://www.compadre.org/STPBook/credits.cfm">Credits</a></li> <li><a href="https://www.compadre.org/STPBook/conditions.cfm">Conditions of Use</a></li> </ul> </div> </div> <div class="clear"></div> </div> <div class="clear"></div> </div> <div id="ospNetwork"> <strong>OSP Projects:</strong> <div> <img src="https://www.compadre.org/osp/images/ospn/osp.png" width="19" height="19" alt="" /> <a href="https://www.compadre.org/osp/">Open Source Physics</a> - <a href="https://www.compadre.org/osp/search/categories.cfm?t=Overview">EJS Modeling</a> - <img src="https://www.compadre.org/osp/images/ospn/tracker.png" width="19" height="19" alt="" /> <a href="https://tracker.physlets.org/">Tracker</a> - <img src="https://www.compadre.org/osp/images/ospn/physlets3.png" width="19" height="19" alt="" /> <a href="https://www.compadre.org/physlets/">Physlet Physics</a> - <img src="https://www.compadre.org/osp/images/ospn/pqp.png" width="19" height="19" alt="" /> <a href="https://www.compadre.org/pqp/">Physlet Quantum Physics</a> - <img src="https://www.compadre.org/osp/images/ospn/stpbook-trans.png" width="19" height="19" alt="" /> <a href="https://www.compadre.org/stpbook/">STP Book</a> </div> </div> <div id="footer"> <p class="leftArea"><strong>Statistical and Thermal Physics 2nd edition</strong><br />Page last updated 17 August 2020<br /><a href="https://www.compadre.org/" class="hosting">Hosted by comPADRE</a></p> <p class="ccl">©2020 J. Tobochnik and H. Gould. <a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/deed.en_US"><img alt="Creative Commons License" src="https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png" /></a> Released under a<br /> <a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/deed.en_US">Creative Commons Attribution-NonCommercial-NoDerivs License</a><br />Report bugs or make suggestions to the <a href="https://www.compadre.org/osp/bulletinboard/ForumDetails.cfm?FID=131">STP Book User Forum</a></p> </div> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount','UA-852193-1'],['_setDomainName','none'],['_setAllowHash',false],['_setSessionCookieTimeout',3600000],['_trackPageview','/www/stpbook/index.cfm/'],['b._setAccount', 'UA-10830481-1'],['b._trackPageview']); (function() { var ga=document.createElement('script'); ga.type='text/javascript'; ga.async=true; ga.src=('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s=document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga,s); })(); </script> </body> </html>