Fluids (part 2)
Pressure and Pascal's Principal.
<?xml version="1.0" encoding="UTF-8"?>
<!--Sat Jan 14 2012 10:33:33 GMT-0500 (EST)-->
<XholonWorkbook>
<Notes>
Khan Academy
------------
Title: Fluids (part 2)
Description: Pressure and Pascal's Principal.
Url: http://www.khanacademy.org/video/fluids--part-2?playlist=Physics
InternalName: fluids--part-2
YoutubeId: lWDtFHDVqqk
Keywords: physics, chemistry, pascal's, pressure, work, fluid, liquid
My Notes
--------
this continues on from part 1
there's now also a piston over the 2nd opening
pushing down on one piston (in) will cause the other piston to move up (out)
law of conservation of energy
Fi * Di = Fo * Do
where Fi means Force in, and Do means Distance out
Pressure (P) is Force (F) in a given Area (A)
P1 * V1 = P2 * V2
where V1 = V2
therefore P1 = P2
Pascal's Principle
any pressure is distributed evenly throughout the fluid
example 5:00
a circular balloon with an opening at the top, filled with water
pressure through the openeing will expand the balloon uniformly
container with 2 openings 7:00
Pressure in = Pressure out
P = F / A
Fi / Ai = Fo / Ao
example 7:35
Pi = 10 Pa (Pascals) = 10 N / m^2
Ai = 2 m^2
Ao = 4 m^2
What is Fi?
10 = Fi / 2
Fi = 20 N
What is Fo?
Po = Pi = 10 Pa = Fo / Ao = Fo / 4 m
Fo = 40 N
</Notes>
<script implName="lang:python:inline:"><![CDATA[
print "height = 12.34 m"
]]></script>
<script implName="lang:javascript:inline:"><![CDATA[
print("height = 56.78 meters\n");
]]></script>
<_-.XholonClass>
<!-- domain objects -->
<PhysicalSystem/>
<Block/>
<!-- quantities -->
<Height superClass="Length"/>
</_-.XholonClass>
<xholonClassDetails>
<Block>
<port name="height" connector="#xpointer(Height)"/>
</Block>
</xholonClassDetails>
<PhysicalSystem>
<Block>
<Height>0.1 m</Height>
</Block>
</PhysicalSystem>
<Blockbehavior implName="lang:python:inline:"><![CDATA[
# This works if pasted in as a last child of Block.
height.incVal(0.02)
print("Python wants something to do. Height:" + str(height))
]]></Blockbehavior>
<Blockbehavior implName="lang:javascript:inline:"><![CDATA[
// This works if pasted in as a last child of Block.
height.incVal(0.02);
print("JavaScript wants something to do. Height:" + height + "\n");
]]></Blockbehavior>
<Blockbehavior implName="lang:bsh:inline:"><![CDATA[
// This works if pasted in as a last child of Block.
height.incVal(0.02);
System.out.print("Java/Beanshell wants something to do. Height:" + height + "\n");
]]></Blockbehavior>
<Blockbehavior implName="lang:jruby:inline:"><![CDATA[
require 'java'
# This works if pasted in as a last child of Block.
$height.incVal(0.02)
puts "Ruby wants something to do. Height: #{$height}"
]]></Blockbehavior>
<Blockbehavior implName="lang:groovy:inline:"><![CDATA[
// This works if pasted in as a last child of Block.
height.incVal(0.02);
System.out.print("Groovy wants something to do. Height:" + height + "\n");
]]></Blockbehavior>
</XholonWorkbook>