<div dir="ltr"><div>"A sequence of "taps" is applied to each plunger. These taps
progressively reduce the volume of the containers. The taps on both
sides have the same average magnitude, but the distribution of their
magnitudes has different positive skews."</div><div><br></div><div>Note the code is actually holding total volume fixed and reducing density (which is a perfectly valid interpretation of the word tap). It is also assuming that the two sides go into thermal equilibrium in addition to pressure equilibrium. </div><div><br></div><div>You're also making assumptions about Nick's prompt that aren't really there. The taps will only reduce the volume of either side in an asymptotic sense if you're either mechanically imposing that the plunger motion is monotonically inward in some way, or if there's heat flow out of the system while the system is in a temporarily compressed state. If the compressions are adiabatic, the plunger is allowed to move freely other than the forcing from the taps, and there's no heat flow, the plungers and divider will eventually return to the same relative positions since the two cavities are on the same isentrope. Actually calculating out what will happen due to complications depends on Nick telling us what about the process is non-adiabatic, which he has not done. </div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Jun 16, 2025 at 2:35 AM Pieter Steenekamp <<a href="mailto:pieters@randcontrols.co.za">pieters@randcontrols.co.za</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I asked George (Gemini) to simulate it and I ran the code in Colab at: <br><a href="https://colab.research.google.com/drive/18cqOB5x-a-IpLtx0LZBg9VrFi893EcbH?usp=sharing" target="_blank">https://colab.research.google.com/drive/18cqOB5x-a-IpLtx0LZBg9VrFi893EcbH?usp=sharing</a><br><br>The prompt I used was:<br>You are given a system with two air-filled containers connected by a tube. Inside the tube is a movable slider with a membrane that allows pressure to equalize between the containers. Each container has a plunger that can change its volume.<br>A sequence of "taps" is applied to each plunger. These taps progressively reduce the volume of the containers. The taps on both sides have the same average magnitude, but the distribution of their magnitudes has different positive skews.<br>Write a Python program that:<br>Simulates the system by applying a series of random taps to each plunger.<br>Generates tap magnitudes using random distributions with:<br>Equal average values.<br>Different degrees of positive skewness.<br>Calculates the resulting position of the slider (equilibrium point) as the taps are applied.<br>Repeats the simulation n times (default n=10).<br>Outputs the results:<br>Numerically (e.g., final slider positions).<br>Graphically (e.g., distribution of slider positions or time evolution over taps).<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 16 Jun 2025 at 05:54, Marcus Daniels <<a href="mailto:marcus@snoutfarm.com" target="_blank">marcus@snoutfarm.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="auto">
<div dir="ltr"> I guess I don't see why it is such a big ask to tack on "Can you simulate this?" to the prompt.</div>
<div dir="ltr"><br>
<blockquote type="cite">On Jun 15, 2025, at 2:09 PM, steve smith <<a href="mailto:sasmyth@swcp.com" target="_blank">sasmyth@swcp.com</a>> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr"> <br>
<blockquote type="cite">
<div>
<p class="MsoNormal"><span style="font-size:11pt">George can do it.</span></p>
</div>
</blockquote>
George can do anything, you just have to know how to ask him correctly... a bit like a Djinn.<br>
<blockquote type="cite">
<div>
<p class="MsoNormal"><span style="font-size:11pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span><span style="font-size:12pt;color:black"><u></u><u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11pt">Marcus, <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt">Thanks for checking in. I think I can safely say that that is a thing I will probably never do, but you have reminded me that I ought to see if somebody has already done it in NetLogo.<u></u><u></u></span></p>
</div>
<div style="margin-left:30pt">
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
</div>
</div>
</div>
</blockquote>
<div><OpenPGP_0xD5BAF94F88AFFA63.asc></div>
<span>.- .-.. .-.. / ..-. --- --- - . .-. ... / .- .-. . / .-- .-. --- -. --. / ... --- -- . / .- .-. . / ..- ... . ..-. ..- .-..</span><br>
<span>FRIAM Applied Complexity Group listserv</span><br>
<span>Fridays 9a-12p Friday St. Johns Cafe / Thursdays 9a-12p Zoom <a href="https://bit.ly/virtualfriam" target="_blank">https://bit.ly/virtualfriam</a></span><br>
<span>to (un)subscribe <a href="http://redfish.com/mailman/listinfo/friam_redfish.com" target="_blank">http://redfish.com/mailman/listinfo/friam_redfish.com</a></span><br>
<span>FRIAM-COMIC <a href="http://friam-comic.blogspot.com/" target="_blank">http://friam-comic.blogspot.com/</a></span><br>
<span>archives: 5/2017 thru present <a href="https://redfish.com/pipermail/friam_redfish.com/" target="_blank">https://redfish.com/pipermail/friam_redfish.com/</a></span><br>
<span> 1/2003 thru 6/2021 <a href="http://friam.383.s1.nabble.com/" target="_blank">http://friam.383.s1.nabble.com/</a></span><br>
</div>
</blockquote>
</div>
.- .-.. .-.. / ..-. --- --- - . .-. ... / .- .-. . / .-- .-. --- -. --. / ... --- -- . / .- .-. . / ..- ... . ..-. ..- .-..<br>
FRIAM Applied Complexity Group listserv<br>
Fridays 9a-12p Friday St. Johns Cafe / Thursdays 9a-12p Zoom <a href="https://bit.ly/virtualfriam" rel="noreferrer" target="_blank">https://bit.ly/virtualfriam</a><br>
to (un)subscribe <a href="http://redfish.com/mailman/listinfo/friam_redfish.com" rel="noreferrer" target="_blank">http://redfish.com/mailman/listinfo/friam_redfish.com</a><br>
FRIAM-COMIC <a href="http://friam-comic.blogspot.com/" rel="noreferrer" target="_blank">http://friam-comic.blogspot.com/</a><br>
archives: 5/2017 thru present <a href="https://redfish.com/pipermail/friam_redfish.com/" rel="noreferrer" target="_blank">https://redfish.com/pipermail/friam_redfish.com/</a><br>
1/2003 thru 6/2021 <a href="http://friam.383.s1.nabble.com/" rel="noreferrer" target="_blank">http://friam.383.s1.nabble.com/</a><br>
</blockquote></div>
.- .-.. .-.. / ..-. --- --- - . .-. ... / .- .-. . / .-- .-. --- -. --. / ... --- -- . / .- .-. . / ..- ... . ..-. ..- .-..<br>
FRIAM Applied Complexity Group listserv<br>
Fridays 9a-12p Friday St. Johns Cafe / Thursdays 9a-12p Zoom <a href="https://bit.ly/virtualfriam" rel="noreferrer" target="_blank">https://bit.ly/virtualfriam</a><br>
to (un)subscribe <a href="http://redfish.com/mailman/listinfo/friam_redfish.com" rel="noreferrer" target="_blank">http://redfish.com/mailman/listinfo/friam_redfish.com</a><br>
FRIAM-COMIC <a href="http://friam-comic.blogspot.com/" rel="noreferrer" target="_blank">http://friam-comic.blogspot.com/</a><br>
archives: 5/2017 thru present <a href="https://redfish.com/pipermail/friam_redfish.com/" rel="noreferrer" target="_blank">https://redfish.com/pipermail/friam_redfish.com/</a><br>
1/2003 thru 6/2021 <a href="http://friam.383.s1.nabble.com/" rel="noreferrer" target="_blank">http://friam.383.s1.nabble.com/</a><br>
</blockquote></div>