%% -----------------------------------------------------------------
%.... Name:
%.... Date:
%.... Project:
%.... Recitation Section:
%-----------------------------------------------------------------
% Computing project 2 studies the placement of a load at various
% points along a beam and how this affects the support reactions
clear; clc;
%% .Print Banner to command window
fprintf('%s\
...[Show More]
%% -----------------------------------------------------------------
%.... Name:
%.... Date:
%.... Project:
%.... Recitation Section:
%-----------------------------------------------------------------
% Computing project 2 studies the placement of a load at various
% points along a beam and how this affects the support reactions
clear; clc;
%% .Print Banner to command window
fprintf('%s\n','*-----------------------------------------*')
fprintf('%s\n','| CEE210 Computing Project 2 |')
fprintf('%s\n','| Amie Baisley |')
fprintf('%s\n','| Original Version: 09.10.2013 |')
fprintf('%s\n','| Modified by: Chris Lawrence 9.17.2017 |')
fprintf('%s\n','*-----------------------------------------*')
% Units used: N, m
%% .Input physical problem data
P = 10; % magnitude of point load applied to the beam
L = 6; % length of the beam
TAB = 0; % initialize variable name for tension in cable AB
TCD = 0; % initialize variable name for tension in cable CD
Ro = [0,0,0]; % initialize variable name for reaction at O
mass = 0;
g = 9.81;
;
rAB = [-6,-2,3]; % position vector from A to B
rCD = [-3;4;0]; % position vector from C to D
n = [-0.85;-0.826;0.428]; % unit vector describing the direction of T1
m = [-0.6;0.8;0]; % unit vector describing the direction of T2
e1 =[1; 0; 0]; % base vector e1
e2 = [0; 1; 0]; % base vector e2
e3 = [0; 0; 1]; % base vector e3
[Show Less]