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
You set a sensor to transmit the wind speed on top of a mountain. Which of these languages are you most likely to have used?
kifflom [539]

The programming language that is most likely used to transmit the wind speed is: B. SQL.

<h3>What is SQL?</h3>

SQL is an acronym for structured query language and it can be defined as a domain-specific programming language that is designed and developed for the management of various data that are saved in a relational or structured database.

This ultimately implies that, a structured query language (SQL) can be used to communicate with a database in accordance with the American National Standards Institute (ANSI) standards.

In conclusion, the programming language that is most likely used to transmit the wind speed is SQL.

Read more on SQL here:

brainly.com/question/25266787

#SPJ1

8 0
1 year ago
Clarifying the issues of a problem is the _____ step in the problem solving process.
ratelena [41]
The answer is 2nd Step because the first step is to define the problem and third is to define your goals
7 0
3 years ago
A train consists of a 50 Mg engine and three cars, each having a mass of 30 Mg . If it takes 75 s for the train to increase its
ohaa [14]

Answer:

T = 15 kN

F = 23.33 kN

Explanation:

Given the data in the question,

We apply the impulse momentum principle on the total system,

mv₁ + ∑\int\limits^{t2}_{t1} {Fx} \, dt = mv₂

we substitute

[50 + 3(30)]×10³ × 0 + FΔt = [50 + 3(30)]×10³ ×  ( 45 × 1000 / 3600 )  

F( 75 - 0 ) =  1.75 × 10⁶

The resultant frictional tractive force F is will then be;

F =  1.75 × 10⁶ / 75

F = 23333.33 N

F = 23.33 kN

Applying the impulse momentum principle on the three cars;

mv₁ + ∑\int\limits^{t2}_{t1} {Fx} \, dt = mv₂

[3(30)]×10³ × 0 + FΔt = [3(30)]×10³ ×  ( 45 × 1000 / 3600 )  

F(75-0) = 1.125 × 10⁶

The force T developed is then;

T =  1.125 × 10⁶ / 75

T = 15000 N

T = 15 kN

7 0
2 years ago
The dam cross section is an equilateral triangle, with a side length, L, of 50 m. Its width into the paper, b, is 100 m. The dam
lisabon 2012 [21]

Answer:

Explanation:

In an equilateral trinagle the center of mass is at 1/3 of the height and horizontally centered.

We can consider that the weigth applies a torque of T = W*b/2 on the right corner, being W the weight and b the base of the triangle.

The weigth depends on the size and specific gravity.

W = 1/2 * b * h * L * SG

Then

Teq = 1/2 * b * h * L * SG * b / 2

Teq = 1/4 * b^2 * h * L * SG

The water would apply a torque of elements of pressure integrated over the area and multiplied by the height at which they are apllied:

T1 = \int\limits^h_0 {p(y) * sin(30) * L * (h-y)} \, dy

The term sin(30) is because of the slope of the wall

The pressure of water is:

p(y) = SGw * (h - y)

Then:

T1 = \int\limits^h_0 {SGw * (h-y) * sin(30) * L * (h-y)} \, dy

T1 = \int\limits^h_0 {SGw * sin(30) * L * (h-y)^2} \, dy

T1 = SGw * sin(30) * L * \int\limits^h_0 {(h-y)^2} \, dy

T1 = SGw * sin(30) * L * \int\limits^h_0 {(h-y)^2} \, dy

T1 = SGw * sin(30) * L * \int\limits^h_0 {h^2 - 2*h*y + y^2} \, dy

T1 = SGw * sin(30) * L * (h^2*y - h*y^2 + 1/3*y^3)(evaluated between 0 and h)

T1 = SGw * sin(30) * L * (h^2*h - h*h^2 + 1/3*h^3)

T1 = SGw * sin(30) * L * (h^3 - h^3 + 1/3*h^3)

T1 = 1/3 * SGw * sin(30) * L * h^3

To remain stable the equilibrant torque (Teq) must be of larger magnitude than the water pressure torque (T1)

1/4 * b^2 * h * L * SG > 1/3 * SGw * sin(30) * L * h^3

In an equilateral triangle h = b * cos(30)

1/4 * b^3 * cos(30) * L * SG  > 1/3 * SGw * sin(30) * L * b^3 * (cos(30))^3

SG > SGw * 4/3* sin(30) * (cos(30))^2

SG > 1/2 * SGw

For the dam to hold, it should have a specific gravity of at leas half the specific gravity of water.

This is avergae specific gravity, including holes.

6 0
2 years ago
Question 9.1 from the textbook. Consider the following workload: Process Burst Time Priority Arrival Time P1 50 4 0 P2 20 1 20 P
Marizza181 [45]

Answer:

Explanation:

The schedule using shortest remaining time, non-preemptive priority and round Robin with quantum number 30 is shown in the attached file, please kindly go through it to access the answer.

5 0
3 years ago
Other questions:
  • Name two types of Transformers.
    6·1 answer
  • 13. Write a function which is passed two strings. The function creates a new string from the two original strings by copying one
    13·1 answer
  • I JUST PLAYED A GAME IN 2ND PERSON AND IM CONFEUSED
    15·2 answers
  • Can someone explain the answer for this question please? -metrology
    12·1 answer
  • Drag each item to show if it is an element or not an element.
    8·1 answer
  • Is a compass a analog or a digital sensor?
    14·1 answer
  • Solve the inequality. Then graph your solution.<br> -9v – 10 &lt; 7y +6
    14·1 answer
  • true or false: the types of building materials that’s should be used in a project does not constitute a conditional for projects
    13·2 answers
  • Is an example of an electrical device.
    13·2 answers
  • How to plot 0.45 gradation chart for sieve analysis ?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!