Advertisement
lodha1503

Untitled

Jul 7th, 2023
741
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from 'react'
  2.  
  3. const OneWaySlab = (props) => {
  4.     const Long_Span=props.length;
  5.     const Short_Span=props.breadth;
  6.     const Live_Load=10;
  7.     const Dead_Load=10;
  8.    
  9.     const Floor_Finish=1;
  10.  
  11.    
  12.  
  13.     const D=Short_Span/28;
  14.     const Effective_depth=Math.round(D*1000);
  15.  
  16.     const Total_depth = Effective_depth + 20;
  17.  
  18.     const width = 10; // Given
  19.  
  20.     const shorter_effectivespan1 = (Short_Span*1000) + width;
  21.     const longer_effectivespan1 = (Long_Span*1000) + width;
  22.     const shorter_effectivespan2 = Effective_depth + (Short_Span*1000);
  23.     const longer_effectivespan2 = Effective_depth + (Long_Span*1000);
  24.  
  25.     const Self_weight = 25*(1)*(Total_depth/1000)  ;
  26.  
  27.     const Total_Load = Live_Load + Dead_Load + Self_weight + Floor_Finish;
  28.  
  29.     const Factored_Load = 1.5*Total_Load ;
  30.     const Factored_Moment = (Factored_Load*(shorter_effectivespan/1000)**2)/8;
  31.     const Factored_shearforce = (Factored_Load*(shorter_effectivespan/1000))/2;
  32.  
  33.     const Concrete_grade = 20;
  34.     const Steel_Strength = 415;
  35.  
  36.     const d = Math.sqrt((Factored_Moment*1000000)/(0.1379*1000*Concrete_grade));
  37.  
  38.     if (Effective_depth>d)
  39.     {
  40.         const a = (((Steel_Strength)**2)*0.87)/(Concrete_grade*1000)
  41.         const b = -(Steel_Strength[0][8]*0.87*Effective_depth)
  42.         const c = Factored_Moment*1000000;
  43.     }
  44.  
  45.  
  46.  
  47.  
  48.    
  49.    
  50.   return (
  51.     <div>
  52.      
  53.     </div>
  54.   )
  55. }
  56.  
  57. export default OneWaySlab
  58.  
  59.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement