Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task 1 ( of 1 ) Consider a beam with weight, W , and subjected to two applied forces, F 1 & F 2 ,

Task 1(of 1)
Consider a beam with weight, W , and subjected to two applied forces, F1&F2, as shown below:
The resultant force magnitude, FR and angle AR along with the distance, xR, from point A at which
the resultant force would act can be found using the following set of equations:
FRx=F1cos(A1)-F2cos(A2)
FRy=F1sin(A1)-F2sin(A2)-W
FR=FRx2+FRy22
AR=tan-1(FRyFRx)
xR=F2y*L-W*(L2)FRy
Download the starter Excel file from Cavnas: HW_W10D2_Task1.xlsm
Open the file and create a VBA macro called Resultant that does the following:
Accesses the values from the worksheet for the various attributes of the system ,
A2,W, and L )
Calculates the magnitude and angle of the resultant force (FR,AR) as well as the distance
from point A at which the resultant force would act (xR)
Displays the calculated values for the resultant Force in the appropriate cell
Test Case:
Inputs: F1=100N,A1=60,F2=50N,A2=45,W=500N,L=10m
Outputs: FR=448.99N,AR=-88.13,xR=6.36m
Notes:
All trig functions in Excel expect units of radians for the angle
The value for Pi in VBA is accessed by using the Excel Pi function:
WorksheetFunction.Pi()
The inverse tangent can be calculated using the atn() function in VBA
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions