SlideShare ist ein Scribd-Unternehmen logo
1 von 7
ME209 Section #10474
Homework #2
Centigrade to Fahrenheit Converter
Temperature can be converted from Celsius to Fahrenheit using
the formula:
Write a Function that takes the temperature in degrees Celsius
as an input argument, calculates
the equivalent temperature in degrees Fahrenheit using the
above equation, and returns the result
as the function value. Initially, name your function C2F.
Are you having any trouble using C2F as the name of your
function? You should be, because of
an idiosyncrasy of Excel. Excel thinks that you meant to type
the address of worksheet cell CF2
(second row, 85th column), and wants to correct it for you.
Worse yet, Excel won't take "No" for
an answer. Frustrating, isn't it? There are many such
idiosyncrasies in Excel. When having
trouble, one of the things to try is changing the name of your
procedure or variable; it may be
conflicting with something reserved by Excel or VBA.
To get your function to work, rename it to something like
Cent2F. Try your function in
worksheet cells A1, A2, and A3 using C = -40°, C = 20°, and C
= 100°, respectively.
Column Buckling
Consider a column with a square cross-section, loaded with a
force as shown in the figure below.
The critical buckling load, F, which will cause the column to
buckle, is given by the formula
shown. The parameter E is the elastic modulus of the material,
I is the area moment of inertia of
the beam, and L is the length of the beam. Parameter K is
known as the dimensionless effective
length factor, which takes into account the type of column
support condition at each end.
A. Create the following tables on the user interface worksheet
to contain the values of the effective
length factors and elastic modulus of the materials steel,
aluminum, and wood. Use the Internet
to find appropriate values for the elastic modulus. Note that
most property tables list these
values in units of GPA (gigapascals, or 10^9 N/m^2).
B. Create two named input cells for the beam length, L (in
meters), and square cross-section
dimension, d (in millimeters), and properly label these input
cells. Use L = 2 m and d=3 mm
as initial inputs for these parameters.
C. Create the following results table on the user interface
worksheet to contain the resulting
critical buckling load (F) for each case of material and effective
length factor.
D. Write a VBA Function to calculate the critical buckling load
for a column, with the four
required inputs (K, E, L, and d) passed from the worksheet as
function arguments. Research
the equation for the area moment of inertia of a square cross-
section beam, and use that
equation in your function to calculate I.
E. Use your function in each of the critical buckling load table
cells. Use relative vs. absolute
cell referencing wisely, so that cell references passed to your
function can be copied (Ctrl-C)
and pasted (Ctrl-V) without having to manually correct them.
F. Add the correct units of the resulting critical buckling load to
the results table header.
End fixtures K value
Pinned 1
Fixed 0.5
Fixed-Pinned 0.699
Fixed-Free 2.0
Material Elastic Modulus (GPa)
Steel (look up this value on the Internet)
Aluminum (look up this value on the Internet)
Wood (look up this value on the Internet)
F
Incandescent Space Heating
When energy is added to a fluid (liquid or gas), the temperature
of the fluid increases. An equation
describing this phenomenon is:
� = ��� △ �
Q is the amount of energy added (joules)
M is the mass of the fluid (kg)
Cp is the heat capacity of the fluid (joules/kg-°C)
ΔT is the change in temperature (°C)
A garage (24 ft x 24 ft x 10 ft) is illuminated by six 60-W
incandescent bulbs. It is estimated that
90% of the energy consumed by an incandescent bulb is
dissipated as heat. Question: If the bulbs
are on for 3 hours, how much would the temperature in the
garage increase because of the light
bulbs? Assume that no energy is lost through the walls, floor,
or ceiling of the garage.
Create a User Interface Worksheet like the one shown below,
using the input/output units shown.
Wisely name the input/output cells so they can be easily
referenced using the Range() method in
VBA.
Create a Sub procedure that does the following:
1. Declares all local variables using appropriate data types.
2. Reads the user inputs entered in the "Specified Information"
input section of the worksheet,
using the cell range names that you defined, and stores the
values in local variables.
3. Performs all necessary calculations.
4. Writes out the results to the "Calculated Information" section
of the worksheet. Mind your
units!
Add user instructions and a printable "Run" button to the
worksheet, for your user to use when
running your Sub procedure.
ME209 Section #10474 Homework #2 Centigrade to Fahre.docx

Weitere ähnliche Inhalte

Ähnlich wie ME209 Section #10474 Homework #2 Centigrade to Fahre.docx

Last Rev. August 2014 Calibration and Temperature Measurement.docx
Last Rev. August 2014 Calibration and Temperature Measurement.docxLast Rev. August 2014 Calibration and Temperature Measurement.docx
Last Rev. August 2014 Calibration and Temperature Measurement.docxsmile790243
 
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...AEIJjournal2
 
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...AEIJjournal2
 
Evaluating mathematical heat transfer effectiveness equations using cfd techn...
Evaluating mathematical heat transfer effectiveness equations using cfd techn...Evaluating mathematical heat transfer effectiveness equations using cfd techn...
Evaluating mathematical heat transfer effectiveness equations using cfd techn...aeijjournal
 
Advanced CFD_Numerical_Analysis
Advanced CFD_Numerical_AnalysisAdvanced CFD_Numerical_Analysis
Advanced CFD_Numerical_AnalysisPeter McGibney
 
Numerical Investigation of Forced Convection cooling of Electrical enclosure ...
Numerical Investigation of Forced Convection cooling of Electrical enclosure ...Numerical Investigation of Forced Convection cooling of Electrical enclosure ...
Numerical Investigation of Forced Convection cooling of Electrical enclosure ...IJERA Editor
 
Jamie Fogarty CFD FINAL DRAFT PRINT
Jamie Fogarty CFD FINAL DRAFT PRINTJamie Fogarty CFD FINAL DRAFT PRINT
Jamie Fogarty CFD FINAL DRAFT PRINTJamie Fogarty
 
Programming for Mechanical Engineers in EES
Programming for Mechanical Engineers in EESProgramming for Mechanical Engineers in EES
Programming for Mechanical Engineers in EESNaveed Rehman
 
1 2503ENG Thermody.docx
1 2503ENG Thermody.docx1 2503ENG Thermody.docx
1 2503ENG Thermody.docxmercysuttle
 
Modelling handout
Modelling handoutModelling handout
Modelling handoutguru1561
 
Tagliatela College of EngineeringEASC1112 – Methods of Engineeri.docx
Tagliatela College of EngineeringEASC1112 – Methods of Engineeri.docxTagliatela College of EngineeringEASC1112 – Methods of Engineeri.docx
Tagliatela College of EngineeringEASC1112 – Methods of Engineeri.docxssuserf9c51d
 

Ähnlich wie ME209 Section #10474 Homework #2 Centigrade to Fahre.docx (14)

Last Rev. August 2014 Calibration and Temperature Measurement.docx
Last Rev. August 2014 Calibration and Temperature Measurement.docxLast Rev. August 2014 Calibration and Temperature Measurement.docx
Last Rev. August 2014 Calibration and Temperature Measurement.docx
 
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
 
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
EVALUATING MATHEMATICAL HEAT TRANSFER EFFECTIVENESS EQUATIONS USING CFD TECHN...
 
Evaluating mathematical heat transfer effectiveness equations using cfd techn...
Evaluating mathematical heat transfer effectiveness equations using cfd techn...Evaluating mathematical heat transfer effectiveness equations using cfd techn...
Evaluating mathematical heat transfer effectiveness equations using cfd techn...
 
Advanced CFD_Numerical_Analysis
Advanced CFD_Numerical_AnalysisAdvanced CFD_Numerical_Analysis
Advanced CFD_Numerical_Analysis
 
Architectural Engineering Assignment Help
Architectural Engineering Assignment HelpArchitectural Engineering Assignment Help
Architectural Engineering Assignment Help
 
Numerical Investigation of Forced Convection cooling of Electrical enclosure ...
Numerical Investigation of Forced Convection cooling of Electrical enclosure ...Numerical Investigation of Forced Convection cooling of Electrical enclosure ...
Numerical Investigation of Forced Convection cooling of Electrical enclosure ...
 
Portfolio Po-Chun Kang
Portfolio Po-Chun KangPortfolio Po-Chun Kang
Portfolio Po-Chun Kang
 
Jamie Fogarty CFD FINAL DRAFT PRINT
Jamie Fogarty CFD FINAL DRAFT PRINTJamie Fogarty CFD FINAL DRAFT PRINT
Jamie Fogarty CFD FINAL DRAFT PRINT
 
Programming for Mechanical Engineers in EES
Programming for Mechanical Engineers in EESProgramming for Mechanical Engineers in EES
Programming for Mechanical Engineers in EES
 
Laboratory 7
Laboratory 7Laboratory 7
Laboratory 7
 
1 2503ENG Thermody.docx
1 2503ENG Thermody.docx1 2503ENG Thermody.docx
1 2503ENG Thermody.docx
 
Modelling handout
Modelling handoutModelling handout
Modelling handout
 
Tagliatela College of EngineeringEASC1112 – Methods of Engineeri.docx
Tagliatela College of EngineeringEASC1112 – Methods of Engineeri.docxTagliatela College of EngineeringEASC1112 – Methods of Engineeri.docx
Tagliatela College of EngineeringEASC1112 – Methods of Engineeri.docx
 

Mehr von ARIV4

Please go through the document completely before providing the answe.docx
Please go through the document completely before providing the answe.docxPlease go through the document completely before providing the answe.docx
Please go through the document completely before providing the answe.docxARIV4
 
Please follow the instruction carefully. APA stile. Mínimum three re.docx
Please follow the instruction carefully. APA stile. Mínimum three re.docxPlease follow the instruction carefully. APA stile. Mínimum three re.docx
Please follow the instruction carefully. APA stile. Mínimum three re.docxARIV4
 
Please follow the instructions attached in MS Word. Font Arial,  .docx
Please follow the instructions attached in MS Word. Font Arial,  .docxPlease follow the instructions attached in MS Word. Font Arial,  .docx
Please follow the instructions attached in MS Word. Font Arial,  .docxARIV4
 
Please help me write a report focusing on photocatalysis of TiO2 .docx
Please help me write a report focusing on photocatalysis of TiO2 .docxPlease help me write a report focusing on photocatalysis of TiO2 .docx
Please help me write a report focusing on photocatalysis of TiO2 .docxARIV4
 
Please follow the directions in the assignment content Environme.docx
Please follow the directions in the assignment content Environme.docxPlease follow the directions in the assignment content Environme.docx
Please follow the directions in the assignment content Environme.docxARIV4
 
Please follow the directions below to complete the project1.).docx
Please follow the directions below to complete the project1.).docxPlease follow the directions below to complete the project1.).docx
Please follow the directions below to complete the project1.).docxARIV4
 
Please follow all directions please. the attachment titled assignme.docx
Please follow all directions please. the attachment titled assignme.docxPlease follow all directions please. the attachment titled assignme.docx
Please follow all directions please. the attachment titled assignme.docxARIV4
 
Please draft a personal message that you would like to appear on you.docx
Please draft a personal message that you would like to appear on you.docxPlease draft a personal message that you would like to appear on you.docx
Please draft a personal message that you would like to appear on you.docxARIV4
 
Please explain how you have met various BSN Essentials for each co.docx
Please explain how you have met various BSN Essentials for each co.docxPlease explain how you have met various BSN Essentials for each co.docx
Please explain how you have met various BSN Essentials for each co.docxARIV4
 
Please Follow directions or I will dispute please answer origina.docx
Please Follow directions or I will dispute please answer origina.docxPlease Follow directions or I will dispute please answer origina.docx
Please Follow directions or I will dispute please answer origina.docxARIV4
 
Please find the attached.Task 1 -  In 150 words comment on att.docx
Please find the attached.Task 1  -  In 150 words comment on att.docxPlease find the attached.Task 1  -  In 150 words comment on att.docx
Please find the attached.Task 1 -  In 150 words comment on att.docxARIV4
 
Please draw primarily from this weeks readings (and use additio.docx
Please draw primarily from this weeks readings (and use additio.docxPlease draw primarily from this weeks readings (and use additio.docx
Please draw primarily from this weeks readings (and use additio.docxARIV4
 
Please explain the reoccurring theme (sub-textual idea) of blin.docx
Please explain the reoccurring theme (sub-textual idea) of blin.docxPlease explain the reoccurring theme (sub-textual idea) of blin.docx
Please explain the reoccurring theme (sub-textual idea) of blin.docxARIV4
 
Please fill the attached Self-Assessment Surveys (TWO) and calcula.docx
Please fill the attached Self-Assessment Surveys (TWO) and calcula.docxPlease fill the attached Self-Assessment Surveys (TWO) and calcula.docx
Please fill the attached Self-Assessment Surveys (TWO) and calcula.docxARIV4
 
Please explain the rules of the calling program (Caller Rules).docx
Please explain the rules of the calling program (Caller Rules).docxPlease explain the rules of the calling program (Caller Rules).docx
Please explain the rules of the calling program (Caller Rules).docxARIV4
 
Please follow directions to receive all possible points!!The int.docx
Please follow directions to receive all possible points!!The int.docxPlease follow directions to receive all possible points!!The int.docx
Please follow directions to receive all possible points!!The int.docxARIV4
 
Please follow instructions A blanch interpersonal record attached..docx
Please follow instructions A blanch interpersonal record attached..docxPlease follow instructions A blanch interpersonal record attached..docx
Please follow instructions A blanch interpersonal record attached..docxARIV4
 
Please explain how you have met various BSN Essentials for each cour.docx
Please explain how you have met various BSN Essentials for each cour.docxPlease explain how you have met various BSN Essentials for each cour.docx
Please explain how you have met various BSN Essentials for each cour.docxARIV4
 
Please explain how you have met various Bachelor of Science in Nur.docx
Please explain how you have met various Bachelor of Science in Nur.docxPlease explain how you have met various Bachelor of Science in Nur.docx
Please explain how you have met various Bachelor of Science in Nur.docxARIV4
 
Please DiscussWhat are host-based, client-based, client-serv.docx
Please DiscussWhat are host-based, client-based, client-serv.docxPlease DiscussWhat are host-based, client-based, client-serv.docx
Please DiscussWhat are host-based, client-based, client-serv.docxARIV4
 

Mehr von ARIV4 (20)

Please go through the document completely before providing the answe.docx
Please go through the document completely before providing the answe.docxPlease go through the document completely before providing the answe.docx
Please go through the document completely before providing the answe.docx
 
Please follow the instruction carefully. APA stile. Mínimum three re.docx
Please follow the instruction carefully. APA stile. Mínimum three re.docxPlease follow the instruction carefully. APA stile. Mínimum three re.docx
Please follow the instruction carefully. APA stile. Mínimum three re.docx
 
Please follow the instructions attached in MS Word. Font Arial,  .docx
Please follow the instructions attached in MS Word. Font Arial,  .docxPlease follow the instructions attached in MS Word. Font Arial,  .docx
Please follow the instructions attached in MS Word. Font Arial,  .docx
 
Please help me write a report focusing on photocatalysis of TiO2 .docx
Please help me write a report focusing on photocatalysis of TiO2 .docxPlease help me write a report focusing on photocatalysis of TiO2 .docx
Please help me write a report focusing on photocatalysis of TiO2 .docx
 
Please follow the directions in the assignment content Environme.docx
Please follow the directions in the assignment content Environme.docxPlease follow the directions in the assignment content Environme.docx
Please follow the directions in the assignment content Environme.docx
 
Please follow the directions below to complete the project1.).docx
Please follow the directions below to complete the project1.).docxPlease follow the directions below to complete the project1.).docx
Please follow the directions below to complete the project1.).docx
 
Please follow all directions please. the attachment titled assignme.docx
Please follow all directions please. the attachment titled assignme.docxPlease follow all directions please. the attachment titled assignme.docx
Please follow all directions please. the attachment titled assignme.docx
 
Please draft a personal message that you would like to appear on you.docx
Please draft a personal message that you would like to appear on you.docxPlease draft a personal message that you would like to appear on you.docx
Please draft a personal message that you would like to appear on you.docx
 
Please explain how you have met various BSN Essentials for each co.docx
Please explain how you have met various BSN Essentials for each co.docxPlease explain how you have met various BSN Essentials for each co.docx
Please explain how you have met various BSN Essentials for each co.docx
 
Please Follow directions or I will dispute please answer origina.docx
Please Follow directions or I will dispute please answer origina.docxPlease Follow directions or I will dispute please answer origina.docx
Please Follow directions or I will dispute please answer origina.docx
 
Please find the attached.Task 1 -  In 150 words comment on att.docx
Please find the attached.Task 1  -  In 150 words comment on att.docxPlease find the attached.Task 1  -  In 150 words comment on att.docx
Please find the attached.Task 1 -  In 150 words comment on att.docx
 
Please draw primarily from this weeks readings (and use additio.docx
Please draw primarily from this weeks readings (and use additio.docxPlease draw primarily from this weeks readings (and use additio.docx
Please draw primarily from this weeks readings (and use additio.docx
 
Please explain the reoccurring theme (sub-textual idea) of blin.docx
Please explain the reoccurring theme (sub-textual idea) of blin.docxPlease explain the reoccurring theme (sub-textual idea) of blin.docx
Please explain the reoccurring theme (sub-textual idea) of blin.docx
 
Please fill the attached Self-Assessment Surveys (TWO) and calcula.docx
Please fill the attached Self-Assessment Surveys (TWO) and calcula.docxPlease fill the attached Self-Assessment Surveys (TWO) and calcula.docx
Please fill the attached Self-Assessment Surveys (TWO) and calcula.docx
 
Please explain the rules of the calling program (Caller Rules).docx
Please explain the rules of the calling program (Caller Rules).docxPlease explain the rules of the calling program (Caller Rules).docx
Please explain the rules of the calling program (Caller Rules).docx
 
Please follow directions to receive all possible points!!The int.docx
Please follow directions to receive all possible points!!The int.docxPlease follow directions to receive all possible points!!The int.docx
Please follow directions to receive all possible points!!The int.docx
 
Please follow instructions A blanch interpersonal record attached..docx
Please follow instructions A blanch interpersonal record attached..docxPlease follow instructions A blanch interpersonal record attached..docx
Please follow instructions A blanch interpersonal record attached..docx
 
Please explain how you have met various BSN Essentials for each cour.docx
Please explain how you have met various BSN Essentials for each cour.docxPlease explain how you have met various BSN Essentials for each cour.docx
Please explain how you have met various BSN Essentials for each cour.docx
 
Please explain how you have met various Bachelor of Science in Nur.docx
Please explain how you have met various Bachelor of Science in Nur.docxPlease explain how you have met various Bachelor of Science in Nur.docx
Please explain how you have met various Bachelor of Science in Nur.docx
 
Please DiscussWhat are host-based, client-based, client-serv.docx
Please DiscussWhat are host-based, client-based, client-serv.docxPlease DiscussWhat are host-based, client-based, client-serv.docx
Please DiscussWhat are host-based, client-based, client-serv.docx
 

Kürzlich hochgeladen

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 

Kürzlich hochgeladen (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 

ME209 Section #10474 Homework #2 Centigrade to Fahre.docx

  • 1. ME209 Section #10474 Homework #2 Centigrade to Fahrenheit Converter Temperature can be converted from Celsius to Fahrenheit using the formula: Write a Function that takes the temperature in degrees Celsius as an input argument, calculates the equivalent temperature in degrees Fahrenheit using the above equation, and returns the result as the function value. Initially, name your function C2F. Are you having any trouble using C2F as the name of your function? You should be, because of an idiosyncrasy of Excel. Excel thinks that you meant to type the address of worksheet cell CF2 (second row, 85th column), and wants to correct it for you. Worse yet, Excel won't take "No" for an answer. Frustrating, isn't it? There are many such idiosyncrasies in Excel. When having
  • 2. trouble, one of the things to try is changing the name of your procedure or variable; it may be conflicting with something reserved by Excel or VBA. To get your function to work, rename it to something like Cent2F. Try your function in worksheet cells A1, A2, and A3 using C = -40°, C = 20°, and C = 100°, respectively. Column Buckling Consider a column with a square cross-section, loaded with a force as shown in the figure below. The critical buckling load, F, which will cause the column to buckle, is given by the formula shown. The parameter E is the elastic modulus of the material, I is the area moment of inertia of the beam, and L is the length of the beam. Parameter K is known as the dimensionless effective length factor, which takes into account the type of column support condition at each end. A. Create the following tables on the user interface worksheet to contain the values of the effective
  • 3. length factors and elastic modulus of the materials steel, aluminum, and wood. Use the Internet to find appropriate values for the elastic modulus. Note that most property tables list these values in units of GPA (gigapascals, or 10^9 N/m^2). B. Create two named input cells for the beam length, L (in meters), and square cross-section dimension, d (in millimeters), and properly label these input cells. Use L = 2 m and d=3 mm as initial inputs for these parameters. C. Create the following results table on the user interface worksheet to contain the resulting critical buckling load (F) for each case of material and effective length factor. D. Write a VBA Function to calculate the critical buckling load
  • 4. for a column, with the four required inputs (K, E, L, and d) passed from the worksheet as function arguments. Research the equation for the area moment of inertia of a square cross- section beam, and use that equation in your function to calculate I. E. Use your function in each of the critical buckling load table cells. Use relative vs. absolute cell referencing wisely, so that cell references passed to your function can be copied (Ctrl-C) and pasted (Ctrl-V) without having to manually correct them. F. Add the correct units of the resulting critical buckling load to the results table header. End fixtures K value Pinned 1 Fixed 0.5 Fixed-Pinned 0.699 Fixed-Free 2.0 Material Elastic Modulus (GPa) Steel (look up this value on the Internet)
  • 5. Aluminum (look up this value on the Internet) Wood (look up this value on the Internet) F Incandescent Space Heating When energy is added to a fluid (liquid or gas), the temperature of the fluid increases. An equation describing this phenomenon is: � = ��� △ � Q is the amount of energy added (joules) M is the mass of the fluid (kg) Cp is the heat capacity of the fluid (joules/kg-°C) ΔT is the change in temperature (°C) A garage (24 ft x 24 ft x 10 ft) is illuminated by six 60-W incandescent bulbs. It is estimated that 90% of the energy consumed by an incandescent bulb is dissipated as heat. Question: If the bulbs are on for 3 hours, how much would the temperature in the
  • 6. garage increase because of the light bulbs? Assume that no energy is lost through the walls, floor, or ceiling of the garage. Create a User Interface Worksheet like the one shown below, using the input/output units shown. Wisely name the input/output cells so they can be easily referenced using the Range() method in VBA. Create a Sub procedure that does the following: 1. Declares all local variables using appropriate data types. 2. Reads the user inputs entered in the "Specified Information" input section of the worksheet, using the cell range names that you defined, and stores the values in local variables. 3. Performs all necessary calculations. 4. Writes out the results to the "Calculated Information" section of the worksheet. Mind your units! Add user instructions and a printable "Run" button to the worksheet, for your user to use when running your Sub procedure.