summaryrefslogtreecommitdiff
path: root/1898/CH12/EX12.14/Ex12_14.sce
blob: 8d64f0df5b95b86a6003b3aea16694d5ff23a856 (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
clear all; clc;

disp("Scilab Code Ex 12.14 : ")

//Given:
w = 5; //kN/m
l_ab = 4; //m
l_bc = 2; //m
P = 10; //kN
M = w*l_ab; //kNm

//Calculations:
EI_theta_B1 = (w*l_ab^3)/(24); //ThetaB1 = (wL^3)/(24EI)
EI_nu_C1 = l_bc*EI_theta_B1;

EI_theta_B2 = (M*l_ab)/(3); //
EI_nu_C2 = l_bc*EI_theta_B2;

EI_nu_C3 = (P*l_bc^3)/(3); //nuC3 = (PL^3)/(24EI)

nu_C = -EI_nu_C1 + EI_nu_C2 + EI_nu_C3;

//Display:

printf('\n\nThe displacement at end C of the overhanging beam, in terms of EI   = %1.1f/EI kNm^3',nu_C);

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