Work: Difference between revisions

From Physics Book
Jump to navigation Jump to search
Line 46: Line 46:
The work done on the system by the surrounding is dependent on the system that on decides to choose. For example, if one decides to include earth as a part of the system while calculating the different forms of energies, the work done is 0. However, if one decides to count earth as the surrounding, there is work done by earth but the potential energy from the previous case is eliminated.  
The work done on the system by the surrounding is dependent on the system that on decides to choose. For example, if one decides to include earth as a part of the system while calculating the different forms of energies, the work done is 0. However, if one decides to count earth as the surrounding, there is work done by earth but the potential energy from the previous case is eliminated.  


Because it is more difficult to use the momentum principle to update position of an object in motion, we typically did not use the earth as a surrounding. Rather, we used earth as part of the system and calculated gravitational force as net force. The example of the glow script is below;  
Because it is more difficult to use the momentum principle to update position of an object in motion, we typically did not use the earth as a surrounding. Rather, we used earth as part of the system and calculated gravitational force as net force. The example of the code is below;  


from __future__ import division                ## treat integers as real numbers in division
[[File:code1.png]]
from visual import *
[[File:code2.png]]
from visual.graph import *
scene.width=600
scene.height = 760
 
 
## Setup graphing windows
gdisplay(width=500, height=250, x=600, y=1)
gdisplay(width=500, height=250, x=600, y=300)
 
## constants and data
g = 9.8
mball = 0.261 ## change this to the Mass you used in the lab for the oscillation experiments
L0 = 0.3    ## use the relaxed length from your previous lab
ks =  12      ## change this to the spring constant you measured (in N/m)
deltat = 0.001  ## change this to be about 1/1000 of your measured period when you used Mass 2
 
t = 0      ## start counting time at zero
 
## objects
ceiling = box(pos=(0,0,0), size = (0.2, 0.01, 0.2))        ## origin is at ceiling
ball = sphere(pos=(-0.1992,-0.0582,-0.0903), radius=0.025, color=color.orange) ## note: spring initially compressed
spring = helix(pos=ceiling.pos, color=color.cyan, thickness=.003, coils=40, radius=0.015) ## change the color to be your spring color
spring.axis = ball.pos - ceiling.pos
 
gdisplay(width=500, height=250, x=600,  y=1)
ygraph = gcurve(color=color.yellow)
gdisplay(width=500, height=250, x=600, y=300)
pgraph = gcurve(color=color.yellow)
fscale = .03
pscale = 0.3
 
trail = curve(color=ball.color)
 
## initial values
ball.p = mball*vector(0.108,0.124,0.279)
 
## improve the display
scene.autoscale = 0            ## don't let camera zoom in and out as ball moves
scene.center = vector(0,-L0,0)  ## move camera down to improve display visibility
 
#add in arrows
pArrow = arrow(color = color.blue)
fnetArrow = arrow(color = color.white)
 
## calculation loop
 
while t < 7.8:           ## make this short to read period off graph
    rate(1000)
    L = ball.pos - ceiling.pos
    S = mag(L) - L0
## calculate force on ball by spring (note: requires calculation of L_vector)
    Fspring = -(ks*S) * norm(L)
 
## calculate net force on ball (note: has two contributions)
    Fgrav = vector (0, -9.8*mball, 0)
    Fnet = Fgrav + Fspring
   
## apply momentum principle
    ball.p = ball.p + Fnet*deltat
   
## update position
    ball.pos = ball.pos + (ball.p/mball) * deltat
   
## update axis of spring
    spring.axis = ball.pos - ceiling.pos
    pArrow.pos = ball.pos
    pArrow.axis = ball.p * pscale
    fnetArrow.pos = ball.pos
    fnetArrow.axis = Fnet * fscale
   
## update time 
    t = t + deltat
 
#update graph
    ygraph.plot (pos=(t,ball.pos.y))
    pgraph.plot (pos=(t,ball.p.y))
 
    trail.append(pos=ball.pos)
 
 
print "final position =", ball.pos
print "final velocity =", (ball.p/mball


==Examples==
==Examples==

Revision as of 22:57, 5 December 2015

The Main Idea

Work perhaps is a term that most of the people are commonly exposed to. People often use the term "work" to describe their jobs, the amount of energy they had to input to get something done, or even when they describe their gym and their routine exercise. To physicists however, work has a rather specific definition. In physics, work refers to the "efficiency" of the force. A force is doing "work" when acting upon a matter or a particle if it causes the matter to move or change in displacement.

For some people, the new rather absurd concept of work may be a bit confusing. It is important to take consider of the three so called "ingredients" when determining work. Those ingredients are the force, displacement and a cause. The force must "cause" the change in displacement in order to be doing work.

While work may seem like a simple concept, it is nonetheless extremely essential in physics calculations as it is a core aspect of a fundamental principle, the conservation of energy. This will be further discussed in the "connections" part where the individual source of energy work takes part to take role in the transfer of energy from the surrounding to a system or from the system to the surrounding to contribute to the conservation of energy.

A Mathematical Model

There are a few mathematical formulas to determine or calculate the amount of work done by the force. These formulas could be a bit different from situations to situations.

First of all, the formula for work is different according to the consistency of the force.

1) When the work is done by a constant force:

[math]\displaystyle{ W=\overrightarrow{F}\bullet\overrightarrow{dr}\cos\theta. }[/math]

It is important to note that when the direction of the force is equal to the direction of the displacement, the "theta" aspect of this equation is equal to 0, meaning that cos(0) will just be 1 and the formula can further be simplified to W = Fd.

2) When the work is done by a non-constant force:

[math]\displaystyle{ W=\int\limits_{i}^{f}\overrightarrow{F}\bullet\overrightarrow{dr} = \sum\overrightarrow{F}\bullet\Delta\overrightarrow{r} }[/math]

This might be a little easier to understand for those who have exposure to calculus. In more of simpler words, the work done by a non-constant force is the product of the summation of the forces that acts upon a system and the change in position of the system. This could be denoted by the usage of a calculus term integral; work is equal to the integral of the force in respect to change in displacement.

3) When work is done by gravity:

[math]\displaystyle{ W = F_g (y_2 - y_1) = F_g\Delta y = - mg\Delta y }[/math]

Notice that this is exact same formula as explained in number one, when the work is done by a constant force, except it is more specified. Theta was neglected because the direction of the gravitational pull was the same as change in height. Notice that this is also similar to the formula for change in potential energy, which is:

[math]\displaystyle{ \Delta PE = mg\Delta y }[/math].

From this we can conclude that:

[math]\displaystyle{ W = -\Delta PE. }[/math]

A Computational Model

The work done on the system by the surrounding is dependent on the system that on decides to choose. For example, if one decides to include earth as a part of the system while calculating the different forms of energies, the work done is 0. However, if one decides to count earth as the surrounding, there is work done by earth but the potential energy from the previous case is eliminated.

Because it is more difficult to use the momentum principle to update position of an object in motion, we typically did not use the earth as a surrounding. Rather, we used earth as part of the system and calculated gravitational force as net force. The example of the code is below;

Examples

Be sure to show all steps in your solution and include diagrams whenever possible

Simple

Middling

Difficult

Connectedness

  1. How is this topic connected to something that you are interested in?
  2. How is it connected to your major?
  3. Is there an interesting industrial application?

History

Put this idea in historical context. Give the reader the Who, What, When, Where, and Why.

See also

Are there related topics or categories in this wiki resource for the curious reader to explore? How does this topic fit into that context?

Further reading

Books, Articles or other print media on this topic

External links

Internet resources on this topic

References

This section contains the the references you used while writing this page