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
1. Springs____________<br> energy when compressed<br> And _________energy when they rebound.
densk [106]

Answer:

Springs store energy when compressed and release energy when they rebound

Explanation:

6 0
3 years ago
The solid cylinders AB and BC are bonded together at B and are attached to fixed supports at A and C. The modulus of rigidity is
romanna [79]

Answer:

a) 0.697*10³ lb.in

b) 6.352 ksi

Explanation:

a)

For cylinder AB:

Let Length of AB = 12 in

c=\frac{1}{2}d=\frac{1}{2} *1.1=0.55in\\ J=\frac{\pi c^4}{2}=\frac{\pi}{2}0.55^4=0.1437\ in^4\\

\phi_B=\frac{T_{AB}L}{GJ}=\frac{T_{AB}*12}{3.3*10^6*0.1437}  =2.53*10^{-5}T_{AB}

For cylinder BC:

Let Length of BC = 18 in

c=\frac{1}{2}d=\frac{1}{2} *2.2=1.1in\\ J=\frac{\pi c^4}{2}=\frac{\pi}{2}1.1^4=2.2998\ in^4\\

\phi_B=\frac{T_{BC}L}{GJ}=\frac{T_{BC}*18}{5.9*10^6*2.2998}  =1.3266*10^{-6}T_{BC}

2.53*10^{-5}T_{AB}=1.3266*10^{-6}T_{BC}\\T_{BC}=19.0717T_{AB}

T_{AB}+T_{BC}-T=0\\T_{AB}+T_{BC}=T\\T_{AB}+T_{BC}=14*10^3\ lb.in\\but\ T_{BC}=19.0717T_{AB}\\T_{AB}+19.0717T_{AB}=14*10^3\\20.0717T_{AB}=14*10^3\\T_{AB}=0.697*10^3\ lb.in\\T_{BC}=13.302*10^3\ lb.in

b) Maximum shear stress in BC

\tau_{BC}=\frac{T_{BC}}{J}c=13.302*10^3*1.1/2.2998=6.352\ ksi

Maximum shear stress in AB

\tau_{AB}=\frac{T_{AB}}{J}c=0.697*10^3*0.55/0.1437=2.667\ ksi

8 0
3 years ago
"Write a statement that outputs variable numItems. End with a newline. Program will be tested with different input values."
kirill [66]

Answer:

The solution code is written in Java.

System.out.println(numItems);

Explanation:

Java <em>println() </em>method can be used to display any string on the console terminal. We can use <em>println()</em> method to output the value held by variable <em>numItems.</em> The <em>numItems </em>is passed as the input parameter to <em>println()</em> and this will output the value of <em>numItems</em> to console terminal and at the same time the output with be ended with a newline automatically.  

6 0
3 years ago
Using leftover paint colors is acceptable in a paint shop and will help cut down on waste.
Luden [163]
Im pretty sure it is true !
3 0
3 years ago
Read 2 more answers
The moisture content in air (humidity) is measured by weight and expressed in pounds or ____________________.
VikaD [51]

Moisture content is measured in terms of pounds of water per pound of air (lb water/lb air) or grains of water per pound of air (gr. of water/lb air).

Hope this helps❤

3 0
2 years ago
Other questions:
  • A simple ideal Rankine cycle with water as the working fluid operates between the pressure limits of 4 MPa in the boiler and 25
    14·2 answers
  • an adiabatic compressor receives 1.5 meter cube per second of air at 30 degrees celsius and 101 kpa. The discharge pressure is 5
    11·1 answer
  • 1. A copper block of volume 1 L is heat treated at 500ºC and now cooled in a 200-L oil bath initially at 20◦C. Assuming no heat
    10·1 answer
  • What are some possible reasons for the sudden development of the cell theory
    14·1 answer
  • Torque is a twisting force. If the required torque applied on a 3 ft wrench is 45 ft·lb, what is the force that must be applied?
    5·1 answer
  • Nitrogen enters a steady-flow heat exchanger at 150 kPa, 10°C, and 100 m/s, and it receives heat as it flows through it. Nitroge
    15·1 answer
  • The traffic lights are not functioning.
    7·1 answer
  • 1. Given: R= 25 , E = 100 V<br> Solve for I
    5·1 answer
  • Reverse Engineering: Structural Analysis
    14·1 answer
  • All of the following affect friction EXCEPT
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!