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
Suppose you have a 9.00 V battery, a 2.00 μF capacitor, and a 7.40 μF capacitor. (a) Find the charge and energy stored if the ca
Andru [333]

Answer:

Q=1.575*10^-6*9=1.42*10^-5C\\\\U_{c} =\frac{1}{2}*9^{2} *1.575*10^-6=6.38*10^-5J

Q=9.4*10^-6*9=8.46*10^-5C\\\\U_{c} =\frac{1}{2}*9^{2} *9.4*10^-6=3.81*10^-4J

Explanation:

<u>a)</u>

<u>Identify the unknown:  </u>

The charge and energy stored if the capacitors are connected in series  

<u>List the Knowns: </u>

Capacitance of the first capacitor: C_{1}= 2цF = 2 x 10-6 F

Capacitance of the second capacitor C_{2}= 7.4цF  = 7.4 x 10-6 F

Voltage of battery: V = 9 V  

<u>Set Up the Problem:   </u>

Capacitance of a series combination:  

\frac{1}{C_{s} } =\frac{1}{C_{1} } +\frac{1}{C_{2} } +\frac{1}{C_{3} }+............

\frac{1}{C_{s} } =\frac{1}{2} +\frac{1}{ 7.4} \\C_{s} =\frac{2*7.4}{2+7.4}=1.575 *10^-6 F\\

Capacitance of a series combination is given by:

C_{s}=\frac{Q}{V}

Then the charge stored in the series combination is:  

Q=C_{s} V

Energy stored in the series combination is:  

U_{c}=\frac{1}{2}  V^{2} C_{s}

<u>Solve the Problem:  </u>

Q=1.575*10^-6*9=1.42*10^-5C\\\\U_{c} =\frac{1}{2}*9^{2} *1.575*10^-6=6.38*10^-5J

<u>b)</u>

<u>Identify the unknown:  </u>

The charge and energy stored if the capacitors are connected in parallel  

<u>Set Up the Problem:  </u>

Capacitance of a parallel combination:

C_{p} =C_{1} +C_{2} +C_{3}

C_{p} =2+7.4=9.4*10^-6F

Capacitance of a parallel combination is given by

C_{p} =\frac{Q}{V}

Then the charge stored in the parallel combination is

Q=C_{p} V

Energy stored in the parallel combination is:  

U_{c}=\frac{1}{2} V^2C_{p}

<u>Solve the Problem: </u><em>  </em>

Q=9.4*10^-6*9=8.46*10^-5C\\\\U_{c} =\frac{1}{2}*9^{2} *9.4*10^-6=3.81*10^-4J

5 0
3 years ago
Read 2 more answers
What is the answer of this question please tell me <br><br>dadada please please​
charle [14.2K]

lol i neeeeeeeeeeeeeeeeeeeeeeeed pointssssssssssssssss

6 0
3 years ago
Where is the Volkswagen super factory located? how is this locate relevant to us?​
Blizzard [7]
It’s in Wolfsburg Germany
4 0
3 years ago
A closed system of mass 10 kg undergoes a process during which there is energy transfer by work from the system of 0.147 kJ per
mr_godi [17]

Answer:

-50.005 KJ

Explanation:

Mass flow rate = 0.147 KJ per kg

mass= 10 kg

Δh= 50 m

Δv= 15 m/s

W= 10×0.147= 1.47 KJ

Δu= -5 kJ/kg

ΔKE + ΔPE+ ΔU= Q-W

0.5×m×(30^2- 15^2)+ mgΔh+mΔu= Q-W

Q= W+ 0.5×m×(30^2- 15^2) +mgΔh+mΔu

= 1.47 +0.5×1/100×(30^2- 15^2)-9.7×50/1000-50

= 1.47 +3.375-4.8450-50

Q=-50.005 KJ

7 0
3 years ago
Read 2 more answers
According to the decreasing order of toughness. list the following materials (note: the steels are assumed to have no cold work
fiasKO [112]

Answer:

1090 Steel >1040 Steel > Pure aluminium >Diamond.

Explanation:

Toughness:

  Toughness can be define as the are of load -deflection diagram up to fracture point.

Modulus of toughness can be defines as the area of stress-strain diagram up to fracture point.Modulus of toughness is the property of material.

So the decreasing order of toughness can be given as follows

1090 Steel >1040 Steel > Pure aluminium >Diamond.

8 0
3 years ago
Other questions:
  • What are 3 reasons why small businesses are an important part of the American economy?
    9·2 answers
  • The army has cars and boats etc right
    7·1 answer
  • Hi, I have an assignment in which i needs to write a report on (Rationalization of electrical energy consumption) and i need cha
    6·1 answer
  • The input power for a thermostat is wired to the
    8·1 answer
  • A force of 16,000 will cause a 1 1 bar of magnesium to stretch from 10 to 10.036 . Calculate the modulus of elasticity in . (Ent
    6·1 answer
  • I really need a good grade please help
    13·1 answer
  • Anything you want to do in Hootsuite can be found in the ________, with the main workspace in the _________?
    15·1 answer
  • Is it permissible to install recessed fixture directly against wood ceiling joists? Explain why or why not.
    5·1 answer
  • In a wheatstone bridge three out of four resistors have of 1K ohm each ,and the fourth resistor equals 1010 ohm. If the battery
    5·1 answer
  • Which one of the following best defines hardness: (a) energy absorbed by a material when an object strikes its surface, (b) resi
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!