summaryrefslogtreecommitdiff
path: root/3137/CH8/EX8.1/Ex8_1.sce
blob: c0262f0b92565c3ee1c4823e5f548ffbed8bf408 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Initilization of variables
R_A=100 //N
R_B=200 //N
//Calculations
//Shear force at 2m
V=100 //N
//Moment at 2m
M=R_A*2 //N.m
//Result
clc
printf('The shear force at 2m is %fN and the moment at 2m is %fN-m',V,M)