Skip to content

Instantly share code, notes, and snippets.

@kenwebb
Created February 13, 2012 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenwebb/1819244 to your computer and use it in GitHub Desktop.
Save kenwebb/1819244 to your computer and use it in GitHub Desktop.
Newton's Third Law of Motion
<?xml version="1.0" encoding="UTF-8"?>
<!--Xholon Workbook http://www.primordion.com/Xholon/wb/ (C) Ken Webb Mon Feb 13 2012 14:17:48 GMT-0500 (EST)-->
<XholonWorkbook>
<Notes><![CDATA[
Khan Academy
------------
Title: Newton's Third Law of Motion
Description: Every action has an equal and opposite reaction
Url: http://www.khanacademy.org/video/newton-s-third-law-of-motion?playlist=Physics
InternalName: newton-s-third-law-of-motion
YoutubeId: By-ggTfeuJU
Keywords: force, motion, physics
My Notes
--------
"To every action there is always an equal and opposite reaction: or the forces of two bodies on each other are always equal and are directed in opposite directions."
examples:
- Block; hand exerts a force on the block
- block may be sitting on ice
- the block exerts an equal and opposite force on the hand; the hand becomes compressed
- another example: pressing hand against my Desk
- walking on a beach
- shoe exerts a force on the sand, creating a footprint
- the sand exerts an equal and opposite force on me
- the sand prevents me from falling toward the center of the Earth
- how rockets work
- mass is expelled out the back of the rocket
- the equal and opposite force propels the rocket forward
- astronaut drifting in space
- how can astronaut get back to the space shuttle?
- could remove something from space suit and throw/push it to exert a force on that mass
- the astronaut will move in the opposite direction
]]></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>
<SvgClient><Attribute_String roleName="svgUri"><![CDATA[data:image/svg xml,
]]></Attribute_String><Attribute_String roleName="setup">${MODELNAME_DEFAULT},${SVGURI_DEFAULT}</Attribute_String></SvgClient>
</XholonWorkbook>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment