summaryrefslogtreecommitdiff
path: root/1898/CH7/EX7.6/Ex7_6.sce
blob: db891753f256cedad29b6df778756fc4f3e83a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
clear all; clc;

disp("Scilab Code Ex 7.6 : ")

//Given:
F = 40; //N
s = 9; //cm
h = 5; //cm
t = 0.5; //cm
w = 3; //cm
w_3 = w/3; //cm

//Calculations:

I = (w*h^3)/12 - (2*w_3*(h - 2*t)^3)/12;

//Case 1:

Q1 = ((h-t)/2)*(w*t);
V1 =((F/s)*I)/Q1 ;  //q = VQ/I

//Case2:

Q2 = ((h-t)/2)*(w_3*t);
V2 =((F/s)*I)/Q2 ;  //q = VQ/I

//Display:


printf("\n\nThe largest vertical shear that can be supported in Case 1    = %1.1f N',V1);
printf("\nThe largest vertical shear that can be supported in Case 2    = %1.1f N',V2);

//-------------------------------------------------------------------------END---------------------------------------------------------------------------------------