summaryrefslogtreecommitdiff
path: root/3020/CH1/EX1.12/ex1_12.sce
blob: c1e0a752956e7e5bcde1fc580839ddc3d5168f6f (plain)
1
2
3
4
5
6
7
8
9
10
clc;
clear all;
r = 1.2e-2; // Radius of cantilever in meters
l = 1.5; // Length of cantilever in meters
Y = 19.5e10; // Youngs modulus in newton per square meters
m = 2; // Load applied in Kg
g=9.8;
w=m*g;
y = (4*w*l^3)/(3*Y*%pi*r^4);//The depression produced in the wire
disp('m',y,'The depression produced in the wire is')