Advertisement
silver2row

I-beam and Bronson

Sep 28th, 2019
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.   double S, L, d, c, I;
  7.  
  8.   L = 700;
  9.   d = 96;
  10.   c = 6;
  11.   I = 214000;
  12.  
  13.   S = ( L * d * c ) / I;
  14.  
  15.   cout << "The stress of this I-beam in pounds divided by inches squared is " << S << "." << endl;
  16.  
  17.   return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement