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
It has a piece of 1045 steel with the following dimensions, length of 80 cm, width of 30 cm, and a height of 15 cm. In this piec
Serggg [28]

Answer:

material remove in 3 min is 16790.4 mm³/s

Explanation:

given data

length L = 80 cm = 800 mm

width W = 30 cm

height H = 15 cm

make grove length = 80 cm

width = 8 cm

depth = 10 cm

mill toll diameter = 4 mm

axial cutting depth = 20 mm

to find out

How much material removed in 3 minutes

solution

first we find time taken for length of advance that is

time = \frac{length}{advance}

here advance is given as 0.001166 mts / sec

so  time = \frac{800}}{0.001166*1000}

time = 686.106 seconds

now we find material remove rate that is

remove rate = mill toll rate × axial cutting depth × advance

remove rate = 4 × 20×0.001166 ×1000

remove rate = 93.28 mm³/s

so

material remove in 3 minute = 3 × 60 = 180 sec

so material remove in 3 min = 180 × 93.28

material remove in 3 min is 16790.4 mm³/s

7 0
3 years ago
Select the characteristics of an ideal operational amplifier.
SpyIntel [72]

Answer:

Numbers 4, 6, & 7 are correct

Explanation:

4- this allows the op amp to have zero voltage so that maximum voltage is transferred to output load.

6- this ensures that op amp doesn't cause loading in the original circuit, high input impedance would not deter the circuit from pulling current from it.

7- high difference between upper and lower frequencies.

3 0
4 years ago
Witch truck company is better.<br><br> Ram <br> Ford <br> Toyoda<br> GMC
arlik [135]
Ram is the better truck company
7 0
3 years ago
Read 2 more answers
Three identical fatigue specimens (denoted A, B, and C) are fabricated from a nonferrous alloy. Each is subjected to one of the
Law Incorporation [45]

Answer:

B A and C

Explanation:

Given:

Specimen         σ_{max}                      σ_{min}

A                       +450                      -150

B                       +300                      -300

C                       +500                      -200

Solution:

Compute the mean stress

σ_{m} =  (σ_{max}  +  σ_{min})/2

σ_{mA} =  (450 + (-150)) / 2

       =  (450 - 150) / 2  

       = 300/2

σ_{mA} = 150 MPa

σ_{mB}  = (300 + (-300))/2

        = (300 - 300) / 2

        = 0/2  

σ_{mB}  = 0 MPa

 

σ_{mC}  = (500 + (-200))/2

        = (500 - 200) / 2

        = 300/2

σ_{mC}  = 150 MPa  

Compute stress amplitude:

σ_{a} =  (σ_{max}  -  σ_{min})/2    

σ_{aA} =  (450 - (-150)) / 2

       =  (450 + 150) / 2

       = 600/2

σ_{aA} = 300 MPa

σ_{aB} =  (300- (-300)) / 2

       =  (300 + 300) / 2

       = 600/2

σ_{aB}  = 300 MPa

σ_{aC}  = (500 - (-200))/2

        = (500 + 200) / 2

        = 700 / 2

σ_{aC}   = 350 MPa

From the above results it is concluded that the longest  fatigue lifetime is of specimen B because it has the minimum mean stress.

Next, the specimen A has the fatigue lifetime which is shorter than B but longer than specimen C.

In the last comes specimen C which has the shortest fatigue lifetime because it has the higher mean stress and highest stress amplitude.

7 0
3 years ago
134a refrigerant enters an adiabatic compressor at 140kPa and -10C, the refrigerant is compressed at 0.5kW up to 700kPa and 60C.
vichka [17]

Answer:

(a) 65.04%

(b) 16.91%

Solution:

As per the question:

At inlet:

Pressure of the compressor, P = 140 kPa

Temperature, T = - 10^{\circ}C = 263 K

Isentropic work, W = 700 kPa

At outlet:

Pressure, P' = 700 kPa

Temperature, T' = 60^{\circ}C = 333 K

Now, from the steam table;

At the inlet , at a P = 700 kPa, T =60^{\circ}C:

h = 243.40 kJ/kg, s = 0.9606 kJ/kg.K

At outlet, at  P = 140 kPa, T =- 10^{\circ}C:

h' = 296.69 kJ/kg, s' = 1.0182 kJ/kg.K

Also in isentropic process, s = s'_{s} and h'_{s} = 278.06 kJ/kg.K at 700kPa

(a) Isentropic efficiency of the compressor, \eta_{s} = \frac{Work\ done\ in\ isentropic\ process}{Actual\ work\ done}

\eta_{s} = \frac{h'_{s} - h}{h' - h} = frac{278.06 - 243.40}{296.69 - 243.40} = 0.6504 = 65.04%

(b) The temperature of the environment, T_{e} = 27^{\circ}C = 273 + 27 = 300 K

Availability at state 1, \Psi = h - T_{e}s = 243.40 - 300\times 0.9606 = - 44.78 kJ/kg

Similarly for state 2, \Psi' = h' - T_{e}s' = 296.69 - 300\times 1.0182 = - 8.77 kJ/kg

Now, the efficiency of the compressor as per the second law;

\eta' = \frac{\Psi' - \Psi}{h' - h} = \frac{- 8.77 - (- 44.78)}{296.69 - 243.40} = 0.6757 = 67.57%

4 0
4 years ago
Other questions:
  • A pipe of 10 cm inner diameter is used to send crude oil over distance of 400 meters. The entire pipe was laid horizontal. The v
    5·1 answer
  • The yield of a chemical process is being studied.The two most important variables are thought to be the pressure and the tempera
    9·1 answer
  • The Canadair CL-215T amphibious aircraft is specially designed to fight fires. It is the only production aircraft that can scoop
    7·1 answer
  • In using the drag coefficient care needs to be taken to use the correct area when determining the drag force. What is a typical
    7·1 answer
  • A motor cycle is moving up an incline of 1 in 30 at a speed of 80 km/h,and then suddenly the engine shuts down.The tractive resi
    11·1 answer
  • Give me uses of a grinding machine in agriculture.
    15·1 answer
  • In the planning process of the product development life cycle what is it important to inventory
    7·1 answer
  • Proper handling of blueprints includes which of the following
    5·1 answer
  • If something is 50fficient, how many joules of wasted energy will there be if 750j of energy is put in?’
    12·1 answer
  • An o ring intended for use in a hydraulic system using MIL-H-5606 (mineral base) fluid will be marked with
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!