lab15soln-post - / / / / / / / / Programmer: Section:...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
// Programmer: Doug Hogan // Section: N/A // Program: Lab - Strength of Materials meets CMPSC 201 // Date: February 27, 2009 // Description: This program determines the relationship between A/A_0 (large // and small cross-sectional areas of a bolt within a sleeve) vs. // b/L (the width of the small section of the bolt over the length // of the bolt) #include <iostream> // for cin, cout, endl #include <string> // for C++ string class #include <iomanip> // for formatting #include <fstream> // for file output using namespace std; // so std:: isn't needed const double TEMP_CHANGE = 200; // how many degrees Fahrenheit temperature // is increased const double LENGTH = 1; // length of bolt in in double AreaRatio(double elasticModBolt, double elasticModTube, double alphaBolt, double alphaTube, double sigmaYBolt, double smallWidthLength) // PRE: elasticModBolt and elasticModTube contain the elastic modulus for the bolt // and the tube, respectively; each is measured in psi. // alphaBolt and alphaTube contain the coefficients of linear expansion for the // bolt at the tube, respectively; each is measured in inverse degrees
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

lab15soln-post - / / / / / / / / Programmer: Section:...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online