Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create and save a macro - enabled workbook. Consider a simply fixed - fixed beam of length L with uniformly distributed load ( UDL )
Create and save a macroenabled workbook. Consider a simply fixedfixed beam of length with uniformly distributed load UDL The beam is of rectangular section of height and modulus Setup a worksheet with highlighted yellow cells for the user to enter values for and and shaded light grey cells for calculated values for each of the following: Add an active drop down combo box populated with and This box sets the units for and Add a class module to your project named PayloadCalc Add public properties to the class for and using appropriate data types. Add methods to your class to calculate def KPaand KPa which must be returned with a result based on the meters unit. Add an ActiveX or form button with caption "Calculate" to your worksheet which executes code work with the PayLoadCalc, object. When clicked the code will create a new instance of the PayLoadCalc, object and assign values to the new object properties for and from the spreadsheet, then using methods, populate cells containing def and Be sure to perform appropriate SI unit conversions, it is best to do this when you are either reading or writing values to the spreadsheet see Assessment guide for mm to m conversion example Your code must use functions to perform each of the calculations. See the assessment guide for some steps that can be useful solving the problem. Lastly your code should perform a check to confirm the deflection is below a maximum which is determined to be L then put OK or "Not OK into an adjacent cell to indicate this. Check your calculations with the following values:
Create and save a macroenabled workbook.
Consider a simply fixedfixed beam of length with uniformly distributed load UDL The beam is of rectangular section of height and modulus
Setup a worksheet with highlighted yellow cells for the user to enter values for and and shaded light grey cells for calculated values for each of the following:
Add an active drop down combo box populated with and This box sets the units for and
Add a class module to your project named PayloadCalc
Add public properties to the class for and using appropriate data types.
Add methods to your class to calculate def KPaand KPa which must be returned with a result based on the meters unit.
Add an ActiveX or form button with caption "Calculate" to your worksheet which executes code work with the PayLoadCalc, object. When clicked the code will create a new instance of the PayLoadCalc, object and assign values to the new object properties for and from the spreadsheet, then using methods, populate cells containing def and
Be sure to perform appropriate SI unit conversions, it is best to do this when you are either reading or writing values to the spreadsheet see Assessment guide for mm to m conversion example
Your code must use functions to perform each of the calculations. See the assessment guide for some steps that can be useful solving the problem.
Lastly your code should perform a check to confirm the deflection is below a maximum which is determined to be L then put OK or "Not OK into an adjacent cell to indicate this.
Check your calculations with the following values:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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