Statics and Dynamics Problem

I'm having issues with even starting this problem. There's a billboard on a ball and socket joint at the base and cables to keep it in place. The banner hanging from the billboard weighs 300 kg. I am trying to create a program that will allow the user to input vectors of both the force of the wind and the angle of the wind.
In the attached image, you will see a diagram of this situation. The distances L1, L2, L3, L4, D are 10 , 5 , 3 , 2 , 4 m, respectively.
The goal of this program is to find the tension in the cables and find the reactions at the base of the pole and then plot a graph of force of the wind vs the tension in the cables.
Any suggestions/tips?

7 Comments

Just start writing the moment and force balances for the free body diagram and then implement.
O
O on 6 Dec 2013
Edited: O on 6 Dec 2013
So I'm having an issue with this code at the moment.
alpha=55;
g=9.81;
loadW=input('Enter the wind load in a vector form in N: ');
forceW=[loadW.*cosd(alpha) loadW.*sind(alpha) 0];
forceB=[0 0 ((-1)*W*g)];
b=[forceW+forceB]';
When I enter the wind load as a vector, I get error "Error using + Matrix dimensions must agree." Any suggestions on how I could switch this? I see why the dimensions don't agree, but I don't know how to do it otherwise.
Well, not knowing what you used for inputs it's hard to say, precisely.
Given an example and can undoubtedly resolve the problem...
An example would be when I enter 1500. The calculations go through and there is no problem. When I enter any type of vector (no matter the length), the dimensions problem comes up. That is because forceW and forceB are not the same length anymore. Would it be possible to change forceB so it is something like this (although this probably isn't correct at all).
forceB=[0:length(forceW) 0:length(forceW) ((-1)*W*g):length(forceW)];
something like
bsxfun(@plus, forceB(:), ForceW)
?
Is there a specific place that I would enter that? I just put it before the force statements, but it doesn't work either.
It would replace the addition.
b = bsxfun(@plus, forceB(:), ForceW);
but double-check whether it gives you the orientation of matrix that you want.

Sign in to comment.

Answers (0)

Asked:

O
O
on 4 Dec 2013

Commented:

on 7 Dec 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!