Answered step by step
Verified Expert Solution
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 of
Consider a beam with weight, W and subjected to two applied forces, & as shown below:
The resultant force magnitude, and angle along with the distance, from point A at which
the resultant force would act can be found using the following set of equations:
Download the starter Excel file from Cavnas: HWWDTaskxlsm
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
and L
Calculates the magnitude and angle of the resultant force as well as the distance
from point A at which the resultant force would act
Displays the calculated values for the resultant Force in the appropriate cell
Test Case:
Inputs:
Outputs:
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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started