summaryrefslogtreecommitdiff
path: root/1898/CH12/EX12.15/Ex12_15.sce
blob: e6042cc7e6815985bbd19ee15314eb58c8c6a26a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
clear all; clc;

disp("Scilab Code Ex 12.15 : ")

//Given:
w = 4; //kN/m
l = 10; //m
l_bc =3; //m

//Calculations:
EI_theta_B = (w*l^3)/(24); //ThetaB1 = (wL^3)/(24EI)
EI_nu_B = (w*l^4)/(30); //nuB = (wL^4)/(30EI)

nu_C = EI_nu_B + (EI_theta_B*l_bc);

//Display:

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

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