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
svp [43]
3 years ago
6

A pitfall cited in Section 1.10 is expecting to improve the overall performance of a computer by improving only one aspect of th

e computer. Consider a computer running a program that requires 250 s, with 70 s spent executing FP instructions, 85 s executed L/S instructions and 40 s spent executing branch instructions
(5 min, sec 1.10)By how much is the total time reduced if the time for FP operations is reduced by 20%?


(5 min, sec 1.10) By how much is the time for INT operations reduced if the total time is reduced by 20%?
(5 min, sec 1.10) Can the total time be reduced by 20% by reducing only the time for branch instructions?
Engineering
1 answer:
Oxana [17]3 years ago
8 0

Answer:

a) For this case the new time to run the FP operation would be reduced 20% so that means 100-20% =80% from the original time

(1-0.2)*70 s =56s

The reduction on this case is 70-56 s=14s

And since the new total time would be given by 250-14=236 s

b) For this case the total time is reduced 20%  so that means that the new total time would be (1-0.2)=0.8 times the original total time (1-0.2) *250s =200 s

The original time for INT operations is calculated as:

250 = 70+85+40 +t_{INT}

t_{INT}=55s

For this part the only time that was changed is assumed the INT operations so then:

200 = 70+85+40 \Delta t_{INT}

And then: \Delta t_{INT}= 200-70-85-40=5 s

c) A reduction of the total time implies that the total time would be 205 s from the results above. And the time for FP is 70, for L/S is 85 and for INT operations is 55 s, so then if we add 70+85+55=210s, we see that 210>205 so then we cannot reduce the total time 20% just reducing the branch intructions.

Explanation:

From the info given we know that a computer running a program that requires 250 s, with 70 s spent executing FP instructions, 85 s executed L/S instructions and 40 s spent executing branch instructions.

Part 1

For this case the new time to run the FP operation would be reduced 20% so that means 100-20% =80% from the original time

(1-0.2)*70 s =56s

The reduction on this case is 70-56 s=14s

And since the new total time would be given by 250-14=236 s

Part 2

For this case the total time is reduced 20%  so that means that the new total time would be (1-0.2)=0.8 times the original total time (1-0.2) *250s =200 s

The original time for INT operations is calculated as:

250 = 70+85+40 +t_{INT}

t_{INT}=55s

For this part the only time that was changed is assumed the INT operations so then:

200 = 70+85+40 \Delta t_{INT}

And then: \Delta t_{INT}= 200-70-85-40=5 s

And we can quantify the decrease using the relative change:

\% Change = \frac{5s}{55 s} *100 = 9.09\% of reduction

Part 3

A reduction of the total time implies that the total time would be 205 s from the results above. And the time for FP is 70, for L/S is 85 and for INT operations is 55 s, so then if we add 70+85+55=210s, we see that 210>205 so then we cannot reduce the total time 20% just reducing the branch intructions.

You might be interested in
-Electronic control modules can easily evaluate the voltage and current levels of circuits to which they are connected and deter
erma4kov [3.2K]

Answer:

multiplexing

Explanation:

3 0
2 years ago
A program contains the following function definition: int cube(int number) { return number * number * number; } Write a stateme
Nonamiya [84]

Answer:

The statement can be written as

int result = cube(4);

Explanation:

A function is a block of reusable codes to perform some tasks. For example, the function in the question is to calculate the cube of a number.

A function can also operate on one or more input value (argument) and return a result. The <em>cube </em>function in the question accept one input value through its parameter <em>number </em>and the <em>number</em> will be multiplied by itself twice and return the result.  

To call a function, just simply write the function name followed with parenthesis (e.g. <em>cube()</em>). Within the parenthesis, we can include zero or one or more than one values as argument(s) (e.g. <em>cube(4)</em>).

We can then use the "=" operator to assign the return output of the function to a variable (e.g. <em>int result = cube(4)</em>)

8 0
3 years ago
For a steel alloy it has been determined that a carburizing heat treatment of 11.3 h duration will raise the carbon concentratio
diamong [38]

This question is incomplete, the complete question is;

For a steel alloy it has been determined that a carburizing heat treatment of 11.3 h duration at Temperature T1 will raise the carbon concentration to 0.44 wt% at a point 1.8 mm from the surface. A separate experiment is performed at T2 that doubles the diffusion coefficient for carbon in steel.

Estimate the time necessary to achieve the same concentration at a 4.9 mm position for an identical steel and at the same carburizing temperature T2.

Answer:

the required time to achieve the same concentration at a 4.9 is 83.733 hrs

Explanation:

Given the data in the question;

treatment time t₁ = 11.3 hours

Carbon concentration = 0.444 wt%

thickness at surface x₁ = 1.8 mm = 0.0018 m

thickness at identical steel x₂ = 4.9 mm = 0.0049 m

Now, Using Fick's second law inform of diffusion

x^2 / Dt = constant

where D is constant

then

x^2 / t = constant

x^2_1 / t₁ = x^2_2 / t₂

x^2_1 t₂ = t₁x^2_2

t₂ = t₁x^2_2 / x^2_1

t₂ = (x^2_2 / x^2_1)t₁

t₂ = ( x_2 / x_1 )^2 × t₁

so we substitute

t₂ = ( 0.0049  / 0.0018  )^2 × 11.3 hrs

t₂ = 7.41 × 11.3 hrs

t₂ = 83.733 hrs

Therefore, the required time to achieve the same concentration at a 4.9 is 83.733 hrs

8 0
2 years ago
Which statement about tensile stress is true? A. Forces that act perpendicular to the surface and pull an object apart exert a t
svp [43]

Answer:

A. Forces that act perpendicular to the surface and pull an object apart exert a tensile stress on the object.

Explanation:

Tensile stress is referred as a deforming force, in which force acts perpendicular to the surface and pull an object apart, attempting to elongate it.

The tensile stress is a type of normal stress, in which a perpendicular force creates the stress to an object’s surface.

Hence, the correct option is "A."

3 0
3 years ago
At a point on the free surface of a stressed body, the normal stresses are 20 ksi (T) on a vertical plane and 30 ksi (C) on a ho
victus00 [196]

Answer:

The principal stresses are σp1 = 27 ksi, σp2 = -37 ksi and the shear stress is zero

Explanation:

The expression for the maximum shear stress is given:

\tau _{M} =\sqrt{(\frac{\sigma _{x}^{2}-\sigma _{y}^{2}  }{2})^{2}+\tau _{xy}^{2}    }

Where

σx = stress in vertical plane = 20 ksi

σy = stress in horizontal plane = -30 ksi

τM = 32 ksi

Replacing:

32=\sqrt{(\frac{20-(-30)}{2} )^{2} +\tau _{xy}^{2}  }

Solving for τxy:

τxy = ±19.98 ksi

The principal stress is:

\sigma _{x}+\sigma _{y} =\sigma _{p1}+\sigma _{p2}

Where

σp1 = 20 ksi

σp2 = -30 ksi

\sigma _{p1}  +\sigma _{p2}=-10 ksi (equation 1)

\tau _{M} =\frac{\sigma _{p1}-\sigma _{p2}}{2} \\\sigma _{p1}-\sigma _{p2}=2\tau _{M}\\\sigma _{p1}-\sigma _{p2}=32*2=64ksi equation 2

Solving both equations:

σp1 = 27 ksi

σp2 = -37 ksi

The shear stress on the vertical plane is zero

4 0
3 years ago
Other questions:
  • Students are expected to respond to one of the two questions described below. Students should provide examples to clarify their
    12·1 answer
  • What is a two stroke engine and what is a four stroke engine, please keep the definitions as simple as can be and please explain
    8·2 answers
  • When choosing a respirator for your job, you must conduct a _____ test.
    15·1 answer
  • Blank Complete the following paragraph pertaining to the popular audio file formats.
    7·2 answers
  • when a metal, such as lead, is oxidied (loses electrons) to form a positive ion (cation), how does he solubility change?
    14·1 answer
  • Why do many sources of water need treatment
    10·1 answer
  • Select the correct answer
    8·1 answer
  • An inventor claims to have developed a heat engine that produces work at 10 kW, while absorbing heat at 10 kW. Evaluate such a c
    12·1 answer
  • Four eight-ohm speakers are connected in parallel to an audio power amplifier. The amplifier can supply a maximum driver output
    12·1 answer
  • using the two transistor analogy to explain what happens when an SCR is supplied with some gate current.​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!