Skip to content

banitsriram/young-modulus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Young's Modulus Calculator

A comprehensive Python program to measure and calculate Young's modulus for different rod materials using bending experiments.

Features

  • Material Database: Pre-loaded data for 13 common materials including metals, woods, and plastics
  • Flexible Dimensions: Accepts length, breadth, and width in centimeters
  • Two Bending Types:
    • Uniform bending (distributed load)
    • Non-uniform bending (point load at center)
  • Multiple Readings: Take as many measurements as needed for accuracy
  • Automatic Calculations: Computes moment of inertia and Young's modulus
  • Detailed Results: Displays systematic tables with all inputs and calculations
  • Material Comparison: Compares calculated values with expected database values
  • Data Export: Option to save results to a text file

Measurement Setup

Equipment Needed

  1. Rod/sheet material to test
  2. Support structure (two fixed supports at the ends)
  3. Weights in known increments (grams)
  4. Measuring device (ruler, vernier caliper, or digital displacement sensor)
  5. Reference scale to measure position

How the Automatic Depression Calculation Works

The program eliminates manual depression calculation by:

  1. Initial Position Measurement: You first measure where the center of the rod is with NO load applied
  2. Position After Loading: For each weight added, you measure the new position
  3. Automatic Calculation: The program calculates: Depression = Final Position - Initial Position

Example:

  • Initial position (no load): 10.00 cm on your ruler
  • After adding 100g: Rod position measures 10.35 cm
  • Program calculates: Depression = 10.35 - 10.00 = 0.35 cm downward

This method is more accurate because:

  • You're measuring absolute positions, not trying to estimate depression directly
  • Reduces human error in visual estimation
  • Provides consistent reference point throughout experiment
  • Easy to verify measurements

Materials Included

  1. Metals: Iron, Steel, Stainless Steel, Aluminum, Copper, Brass
  2. Woods: Oak Wood, Pine Wood, Teak Wood, Bamboo, Plywood
  3. Plastics: PVC, Acrylic

How to Use

Running the Program

python youngs_modulus_calculator.py

Step-by-Step Process

  1. Select Material: Choose from the list of available materials
  2. Enter Dimensions:
    • Length (cm)
    • Breadth (cm)
    • Width/Thickness (cm)
  3. Choose Bending Type:
    • Option 1: Uniform bending
    • Option 2: Non-uniform bending (point load)
  4. Measure Initial Position:
    • Measure the center position of the rod with NO weight applied
    • This serves as your reference (zero) position
  5. Set Up Readings:
    • Number of readings to take
    • Weight increment at each reading (grams)
  6. Take Measurements:
    • For each reading, add the specified weight
    • Measure the new position of the rod's center
    • The program automatically calculates the depression/elevation
    • Depression = Final Position - Initial Position
    • Positive = downward bend, Negative = upward bend
  7. View Results: The program displays:
    • Material information
    • Rod dimensions
    • All readings in a table (initial position, final position, calculated depression)
    • Individual Young's modulus for each reading
    • Final average Young's modulus
    • Comparison with expected values

Theoretical Background

Young's Modulus (Y)

Young's modulus is a measure of the stiffness of a material, defined as:

Y = Stress / Strain

Formulas Used

For Uniform Bending (Distributed Load):

Y = (5 Γ— w Γ— L⁴) / (384 Γ— I Γ— Ξ΄)

For Non-Uniform Bending (Point Load at Center):

Y = (W Γ— LΒ³) / (48 Γ— I Γ— Ξ΄)

Where:

  • Y = Young's modulus (Pa or GPa)
  • w = Load per unit length (N/m)
  • W = Total weight/force (N)
  • L = Length of rod (m)
  • I = Moment of inertia (m⁴)
  • Ξ΄ = Depression/deflection (m)

Moment of Inertia

For a rectangular cross-section:

I = (b Γ— hΒ³) / 12

Where:

  • b = breadth
  • h = width/thickness

Example Usage

Example 1: Steel Rod with Point Load

Material: Steel (Mild)
Dimensions: Length=50cm, Breadth=2cm, Width=0.3cm
Bending Type: Non-Uniform (Point Load)
Readings: 5
Weight Increment: 50g per reading

Initial Position (no load): 15.00 cm

Measurements:
  Reading 1: Add 50g  β†’ New position: 15.15 cm β†’ Depression: 0.15 cm
  Reading 2: Add 100g β†’ New position: 15.30 cm β†’ Depression: 0.30 cm
  Reading 3: Add 150g β†’ New position: 15.45 cm β†’ Depression: 0.45 cm
  Reading 4: Add 200g β†’ New position: 15.60 cm β†’ Depression: 0.60 cm
  Reading 5: Add 250g β†’ New position: 15.75 cm β†’ Depression: 0.75 cm

Expected Result: ~200 GPa

Example 2: Pine Wood with Uniform Bending

Material: Pine Wood
Dimensions: Length=40cm, Breadth=3cm, Width=0.5cm
Bending Type: Uniform Bending
Readings: 4
Weight Increment: 100g per reading

Initial Position (no load): 20.00 cm

Measurements:
  Reading 1: Add 100g β†’ New position: 20.80 cm β†’ Depression: 0.80 cm
  Reading 2: Add 200g β†’ New position: 21.60 cm β†’ Depression: 1.60 cm
  Reading 3: Add 300g β†’ New position: 22.40 cm β†’ Depression: 2.40 cm
  Reading 4: Add 400g β†’ New position: 23.20 cm β†’ Depression: 3.20 cm

Expected Result: ~9 GPa

Output Format

The program provides:

  1. Material Information

    • Selected material name
    • Expected Young's modulus from database
    • Material density
  2. Rod Dimensions

    • All three dimensions clearly listed
  3. Measurement Table

    • Reading number
    • Applied weight (grams)
    • Measured depression (cm)
    • Individual Young's modulus calculation (GPa)
  4. Final Results

    • Average calculated Young's modulus
    • Expected value from database
    • Percentage difference
    • Analysis of results

Tips for Accurate Measurements

  1. Ensure Rod is Uniform: Use materials with consistent cross-section
  2. Proper Support: Secure the rod properly at support points
  3. Accurate Weight: Use calibrated weights
  4. Precise Depression Measurement: Use a vernier caliper or similar precision instrument
  5. Multiple Readings: Take at least 5 readings for better accuracy
  6. Linear Response: Ensure weights don't cause permanent deformation
  7. Temperature: Conduct experiments at constant temperature

Troubleshooting

Results Don't Match Expected Values

Possible reasons:

  • Measurement errors: Check your depression measurements
  • Material quality: Material may not be pure or may have defects
  • Permanent deformation: Using too much weight
  • Temperature effects: Young's modulus varies with temperature
  • Humidity: Wood properties change with moisture content
  • Support conditions: Improper support can affect results

Program Errors

  • Division by zero: Occurs when depression is zero (no deflection measured)
  • Negative values: Check if depression values are entered correctly
  • Large percentage difference: May indicate experimental setup issues

Limitations

  1. Assumes elastic deformation (no permanent bending)
  2. Assumes homogeneous material
  3. Neglects shear deformation effects
  4. Temperature effects not accounted for
  5. Material database values are approximate

Future Enhancements

Potential additions:

  • Graphical plotting of load vs. depression
  • Temperature correction factors
  • Support for different boundary conditions
  • Database expansion with more materials
  • CSV export functionality
  • Uncertainty analysis

References

  • Mechanics of Materials by Beer, Johnston, DeWolf, Mazurek
  • Engineering Mechanics by R.C. Hibbeler
  • Materials Science and Engineering by Callister

License

This program is provided for educational purposes.

Contact

For questions or improvements, please provide feedback!

About

# Young's Modulus Calculator for Rod Materials An interactive Python program designed for physics experiments to calculate Young's modulus of different materials through beam bending tests. **Key Features:** - 🎯 Automatic depression calculation from position measurements - πŸ“Š Pre-loaded database of 13 materials (metals, woods, plastics) - πŸ”¬ Su

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages