Weight: Difference between revisions

From Physics Book
Jump to navigation Jump to search
Line 18: Line 18:
A simple segment of code that calculates the both scalar and vector weight (gravitational force) exerted upon a ball.  
A simple segment of code that calculates the both scalar and vector weight (gravitational force) exerted upon a ball.  


<code>
[[File:Weightcode.JPG|400px|thumb|right]]
      '''#Calculate the weight of an object'''</code>
[[File:Weightcode.JPG|300px|thumb|right]]


<code>
<code>
ball=sphere(pos=vec(0,0,0), radius=0.02, color=color.yellow, make_trail=true)
    '''# Initializing sphere object'''
   
    ball=sphere(pos=vec(0,0,0), radius=0.02, color=color.yellow, make_trail=true)


'''## Defining constants'''
    '''# Defining constants'''
g = vec(0,-9.8,0) #gravitational acceleration
    g = vec(0,-9.8,0) ''#gravitational acceleration''
ball.m=0.1 #mass of the ball in kg
    ball.m=0.1       ''#mass of the ball in kg''
W = ball.m*g #weight of the ball on Earth
    W = ball.m*g     ''#weight of the ball on Earth''


print("Scalar weight of the ball:", mag(W), "kg m/s^2 or N")
    '''# Printing values
print("Force of gravity exerted on the ball:", W, "kg m/s^2 or N")
    print("Scalar weight of the ball:", mag(W), "kg m/s^2 or N")
    print("Force of gravity exerted on the ball:", W, "kg m/s^2 or N")


</code>
</code>

Revision as of 22:23, 30 November 2015

Claimed by mxu86 (Michael Xu)

A page about weight as a property of matter.

The Main Idea

In physics, weight describes the Gravitational Force upon a mass, usually relative to Earth or a planet. Depending on the source, weight may be defined as a scalar - the magnitude of the gravitational force on an object - or a vector equal to gravitational force. An object's weight is commonly confused with mass, but instead it is a force that depends on another body of matter, while mass is an intrinsic property of matter.

A Mathematical Model

A mass m's weight near the surface of the Earth is represented by [math]\displaystyle{ {\vec{W} = \vec{F}_{g} = {mg}} }[/math] where g is the gravitation acceleration of Earth, -9.8 meters per second squared.

[math]\displaystyle{ {\frac{d\vec{p}}{dt}}_{system} = \vec{F}_{net} }[/math] where p is the momentum of the system and F is the net force from the surroundings.

A Computational Model

A simple segment of code that calculates the both scalar and vector weight (gravitational force) exerted upon a ball.

    # Initializing sphere object
    
    ball=sphere(pos=vec(0,0,0), radius=0.02, color=color.yellow, make_trail=true)
    # Defining constants
    g = vec(0,-9.8,0) #gravitational acceleration
    ball.m=0.1        #mass of the ball in kg
    W = ball.m*g      #weight of the ball on Earth
    # Printing values
    print("Scalar weight of the ball:", mag(W), "kg m/s^2 or N")
    print("Force of gravity exerted on the ball:", W, "kg m/s^2 or N")

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