Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react'
- const OneWaySlab = (props) => {
- const Long_Span=props.length;
- const Short_Span=props.breadth;
- const Live_Load=10;
- const Dead_Load=10;
- const Floor_Finish=1;
- const D=Short_Span/28;
- const Effective_depth=Math.round(D*1000);
- const Total_depth = Effective_depth + 20;
- const width = 10; // Given
- const shorter_effectivespan1 = (Short_Span*1000) + width;
- const longer_effectivespan1 = (Long_Span*1000) + width;
- const shorter_effectivespan2 = Effective_depth + (Short_Span*1000);
- const longer_effectivespan2 = Effective_depth + (Long_Span*1000);
- const Self_weight = 25*(1)*(Total_depth/1000) ;
- const Total_Load = Live_Load + Dead_Load + Self_weight + Floor_Finish;
- const Factored_Load = 1.5*Total_Load ;
- const Factored_Moment = (Factored_Load*(shorter_effectivespan/1000)**2)/8;
- const Factored_shearforce = (Factored_Load*(shorter_effectivespan/1000))/2;
- const Concrete_grade = 20;
- const Steel_Strength = 415;
- const d = Math.sqrt((Factored_Moment*1000000)/(0.1379*1000*Concrete_grade));
- if (Effective_depth>d)
- {
- const a = (((Steel_Strength)**2)*0.87)/(Concrete_grade*1000)
- const b = -(Steel_Strength[0][8]*0.87*Effective_depth)
- const c = Factored_Moment*1000000;
- }
- return (
- <div>
- </div>
- )
- }
- export default OneWaySlab
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement