1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
DiKsa [7]
3 years ago
6

Assume a function requires 20 lines of machine code and will be called 10 times in the main program. You can choose to implement

it using a function definition or a macro definition. Compared with the function definition, macro definition will lead the compiler to generate, for the entire program, ______
Engineering
1 answer:
Volgvan3 years ago
7 0

Answer:

"Macro Instruction"

Explanation:

A macro definition is a rule or pattern that specifies how a certain input sequence should be mapped to a replacement output sequence according to a defined procedure. The mapping process that instantiates a macro use into a specific sequence is known as macro expansion.

It is a series of commands and actions that can be stored and run whenever you need to perform the task. You can record or build a macro and then run it to automatically repeat that series of steps or actions.

You might be interested in
The wall of drying oven is constructed by sandwiching insulation material of thermal conductivity k = 0.05 W/m°K between thin me
masha68 [24]

Answer:

86 mm

Explanation:

From the attached thermal circuit diagram, equation for i-nodes will be

\frac {T_ \infty, i-T_{i}}{ R^{"}_{cv, i}} + \frac {T_{o}-T_{i}}{ R^{"}_{cd}} + q_{rad} = 0 Equation 1

Similarly, the equation for outer node “o” will be

\frac {T_{ i}-T_{o}}{ R^{"}_{cd}} + \frac {T_{\infty, o} -T_{o}}{ R^{"}_{cv, o}} = 0 Equation 2

The conventive thermal resistance in i-node will be

R^{"}_{cv, i}= \frac {1}{h_{i}}= \frac {1}{30}= 0.033 m^{2}K/w Equation 3

The conventive hermal resistance per unit area is

R^{"}_{cv, o}= \frac {1}{h_{o}}= \frac {1}{10}= 0.100 m^{2}K/w Equation 4

The conductive thermal resistance per unit area is

R^{"}_{cd}= \frac {L}{K}= \frac {L}{0.05} m^{2}K/w Equation 5

Since q_{rad}  is given as 100, T_{o}  is 40 T_ \infty  is 300 T_{\infty, o}  is 25  

Substituting the values in equations 3,4 and 5 into equations 1 and 2 we obtain

\frac {300-T_{i}}{0.033} +\frac {40-T_{i}}{L/0.05} +100=0  Equation 6

\frac {T_{ i}-40}{L/0.05}+ \frac {25-40}{0.100}=0

T_{i}-40= \frac {L}{0.05}*150

T_{i}-40=3000L

T_{i}=3000L+40 Equation 7

From equation 6 we can substitute wherever there’s T_{i} with 3000L+40 as seen in equation 7 hence we obtain

\frac {300- (3000L+40)}{0.033} + \frac {40- (3000L+40)}{L/0.05}+100=0

The above can be simplified to be

\frac {260-3000L}{0.033}+ \frac {(-3000L)}{L/0.05}+100=0

\frac {260-3000L}{0.033}=50

-3000L=1.665-260

L= \frac {-258.33}{-3000}=0.086*10^{-3}m= 86mm

Therefore, insulation thickness is 86mm

8 0
3 years ago
The electrical panel schedules are located on EWR Plan number ___.
Stells [14]
A8 is the answer because yea and because I am a teacher
5 0
3 years ago
Consider a modification of the air-standard Otto cycle in which the isentropic compression and expansion processes are each repl
Ulleksa [173]

Answer:

The answers to the question are

(1) Process 1 to 2

W = 295.16 kJ/kg

Q = -73.79 kJ/kg

(2) Process 2 to 3

W = 0

Q = 1135.376 kJ/kg

(3) Process 3 to 4

W = -1049.835 kJ/kg

Q = 262.459 kJ/kg

(4) Process 4 to 3

W=0

Q = -569.09 kJ/kg

(b) The thermal efficiency = 49.9 %

(c) The mean effective pressure is 9.44 bar

Explanation:

(a) Volume compression ratio \frac{v_1}{v_2}  = 10

Initial pressure p₁ = 1 bar

Initial temperature, T₁ = 310 K

cp = 1.005 kJ/kg⋅K

Temperature T₃ = 2200 K from the isentropic chart of the Otto cycle

For a polytropic process we have

\frac{p_1}{p_2}  = (\frac{v_2}{v_1} )^n Therefore p₂ = p₁ ÷ (\frac{v_2}{v_1} )^n = (1 bar) ÷ (\frac{1}{10} )^{1.3} = 19.953 bar

Similarly for a polytropic process we have

\frac{T_1}{T_2}  = (\frac{v_2}{v_1} )^{n-1} or T₂ = T₁ ÷ (\frac{v_2}{v_1} )^{n-1} = \frac{310}{0.1^{0.3}} = 618.531 K

The molar mass of air is 28.9628 g/mol.

Therefore R = \frac{8.3145}{28.9628} = 0.287 kJ/kg⋅K

cp = 1.005 kJ/kg⋅K Therefore cv = cp - R =  1.005- 0.287 = 0.718 kJ/kg⋅K

1). For process 1 to 2 which is polytropic process we have

W = \frac{R(T_2-T_1)}{n-1} = \frac{0.287(618.531-310)}{1.3 - 1}= 295.16 kJ/kg

Q =(\frac{n-\gamma}{\gamma - 1} )W = (\frac{1.3-1.4}{1.4-1} ) 295.16 kJ/kg = -73.79 kJ/kg

W = 295.16 kJ/kg

Q = -73.79 kJ/kg

2). For process 2 to 3 which is reversible constant volume heating we have

W = 0 and Q = cv×(T₃ - T₂) = 0.718× (2200-618.531) = 1135.376 kJ/kg

W = 0

Q = 1135.376 kJ/kg

3). For process 3 to 4 which is polytropic process we have

W = \frac{R(T_4-T_3)}{n-1} = Where T₄ is given by  \frac{T_4}{T_3}  = (\frac{v_3}{v_4} )^{n-1} or T₄ = T₃ ×0.1^{0.3}

= 2200 ×0.1^{0.3}  T₄ = 1102.611 K

W =  \frac{0.287(1102.611-2200)}{1.3 - 1}= -1049.835 kJ/kg

and Q = 262.459 kJ/kg

W = -1049.835 kJ/kg

Q = 262.459 kJ/kg

4). For process 4 to 1 which is reversible constant volume cooling we have

W = 0 and Q = cv×(T₁ - T₄) = 0.718×(310 - 1102.611) = -569.09 kJ/kg

W=0

Q = -569.09 kJ/kg

(b) The thermal efficiency is given by

\eta = 1-\frac{T_4-T_1}{T_3-T_2} =1-\frac{1102.611-310}{2200-618.531} = 0.499 or 49.9 % Efficient

(c) The mean effective pressure is given by

p_{m}  = \frac{p_1r[(r^{n-1}-1)(r_p-1)]}{ (n-1)(r-1)}  where r = compression ratio and r_p = \frac{p_3}{p_2}

However p₃ = \frac{p_2T_3}{T_2} =\frac{(19.953)(2200)}{618.531} =70.97 atm

r_p = \frac{p_3}{p_2} = \frac{70.97}{19.953}  = 3.56

Therefore p_m =\frac{1*10*[(10^{0.3}-1)(3.56-1)]}{0.3*9} = 9.44 bar

Please find attached generalized diagrams of the Otto cycle

8 0
3 years ago
A room is kept at −5°C by a vapor-compression refrigeration cycle with R-134a as the refrigerant. Heat is rejected to cooling wa
Fed [463]

Answer:

note:

<u>solution is attached in word form due to error in mathematical equation. furthermore i also attach Screenshot of solution in word due to different version of MS Office please find the attachment</u>

Download docx
4 0
3 years ago
Read 2 more answers
What careers could you potential do if you
Margarita [4]

Answer:

Engineering careers. If you want to stay in engineering, your job opportunities are very much linked to your degree type, and you probably know what many of them are already. ...

Consulting. ...

Technical writing. ...

Business. ...

Investment banking. ...

Law. ...

Manufacturing and production. ...

Logistics and supply chain.

Explanation:

3 0
3 years ago
Other questions:
  • Find the linear speed of the bottom of a test tube in a centrifuge if the centripetal acceleration there is 5.4×104 times the ac
    6·1 answer
  • A frustum of cone is filled with ice cream such that the portion above the cone is a hemisphere. Define the variables di=1.25 in
    9·1 answer
  • Classify the terms as related to a thermal system or mechanical system.
    8·1 answer
  • Which utility program reads an assembly language source file and produces an object file?
    6·1 answer
  • A spherical tank for storing gas under pressure is 25 m in diameter and is made of steel 15 mm thick. The yield point of the mat
    5·2 answers
  • 6. Dr. Li boils water using a kettle with a 1.5 kW Nichrome (80% Ni and 20% Cr) heating element (resister heater). The diameter
    6·1 answer
  • Shear modulus is analogous to what material property that is determined in tensile testing? (a)- Percent reduction of area (b) Y
    11·1 answer
  • 1. What's the maximum overall length of the part?<br> 2. What material is used to fabricate the part
    5·1 answer
  • A coil having a resistance of 10 ohms and an inductance of 4 H is switched across a 20W dc source. Calculate (a) time required b
    9·1 answer
  • Why does my man bun not have its own erodynamics
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!