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
ch4aika [34]
4 years ago
13

I wish to have a computer whose machine-level instructions are all 32 bits each. If I want to have all instructions of the form

mov R1, R2 where R1 and R2 are registers. What is the maximum number of instructions that my machine can have, if my computer needs to have at least 1000 different registers referenced in the instructions?
Engineering
1 answer:
melisa1 [442]4 years ago
4 0

Answer:

Maximum number that can be represented by 13 bits  is 8192 Instructions

Explanation:

number of instructions = 1000

number of bits = log(1000) x number of register

                          = 6 bits

Since the complete instruction must have 32 bits, then

remaining number of bits = 32 - 6 = 236

number of registers in instruction = 2

number of bits per register = 26/2 = 13

Maximum number that can be represented by 13 bits = 2^{n}

                       = 2¹³ = 8192

You might be interested in
Charging method .Constant current method​
mina [271]

Answer:

There are three common methods of charging a battery; constant voltage, constant current and a combination of constant voltage/constant current with or without a smart charging circuit.

Constant voltage allows the full current of the charger to flow into the battery until the power supply reaches its pre-set voltage.  The current will then taper down to a minimum value once that voltage level is reached.  The battery can be left connected to the charger until ready for use and will remain at that “float voltage”, trickle charging to compensate for normal battery self-discharge.

Constant current is a simple form of charging batteries, with the current level set at approximately 10% of the maximum battery rating.  Charge times are relatively long with the disadvantage that the battery may overheat if it is over-charged, leading to premature battery replacement.  This method is suitable for Ni-MH type of batteries.  The battery must be disconnected, or a timer function used once charged.

Constant voltage / constant current (CVCC) is a combination of the above two methods.  The charger limits the amount of current to a pre-set level until the battery reaches a pre-set voltage level.  The current then reduces as the battery becomes fully charged.  The lead acid battery uses the constant current constant voltage (CC/CV) charge method. A regulated current raises the terminal voltage until the upper charge voltage limit is reached, at which point the current drops due to saturation.

4 0
3 years ago
In a hydraulic system, accumulator is a device that collects liquid and keeps the liquid under pressure.
Bumek [7]
The answer is: true
6 0
3 years ago
Write a iterative function that finds the n-th integer of the Fibonacci sequence. Then build a minimal program (main function) t
Natasha2012 [34]

Answer:

Codes for each of the problems are explained below

Explanation:

PROBLEM 1 IN C++:

#include<iostream>

using namespace std;

//fib function that calculate nth integer of the fibonacci sequence.

void fib(int n){

  // l and r inital fibonacci values for n=1 and n=2;

  int l=1,r=1,c;

 

  //if n==1 or n==2 then print 1.

  if(n==1 || n==2){

      cout << 1;

      return;

  }

  //for loop runs n-2 times and calculates nth integer of fibonacci sequence.

  for(int i=0;i<n-2;i++){

      c=l+r;

      l=r;

      r=c;

      cout << "(" << i << "," << c << ") ";

  }

  //prints nth integer of the fibonacci sequence stored in c.

  cout << "\n" << c;

}

int main(){

  int n; //declared variable n

  cin >> n; //inputs n to find nth integer of the fibonacci sequence.

  fib(n);//calls function fib to calculate and print fibonacci number.

}

PROBLEM 2 IN PYTHON:

def fib(n):

   print("fib({})".format(n), end=' ')

   if n <= 1:

       return n

   else:

       return fib(n - 1) + fib(n - 2)

if __name__ == '__main__':

   n = int(input())

   result = fib(n)

   print()

   print(result)

7 0
3 years ago
Read 2 more answers
Water vapor at 10bar, 360°C enters a turbine operatingat steady state with a volumetric flow rate of 0.8m3/s and expandsadiabati
Artyom0805 [142]

Answer:

A) W' = 178.568 KW

B) ΔS = 2.6367 KW/k

C) η = 0.3

Explanation:

We are given;

Temperature at state 1;T1 = 360 °C

Temperature at state 2;T2 = 160 °C

Pressure at state 1;P1 = 10 bar

Pressure at State 2;P2 = 1 bar

Volumetric flow rate;V' = 0.8 m³/s

A) From table A-6 attached and by interpolation at temperature of 360°C and Pressure of 10 bar, we have;

Specific volume;v1 = 0.287322 m³/kg

Mass flow rate of water vapour at turbine is defined by the formula;

m' = V'/v1

So; m' = 0.8/0.287322

m' = 2.784 kg/s

Now, From table A-6 attached and by interpolation at state 1 with temperature of 360°C and Pressure of 10 bar, we have;

Specific enthalpy;h1 = 3179.46 KJ/kg

Now, From table A-6 attached and by interpolation at state 2 with temperature of 160°C and Pressure of 1 bar, we have;

Specific enthalpy;h2 = 3115.32 KJ/kg

Now, since stray heat transfer is neglected at turbine, we have;

-W' = m'[(h2 - h1) + ((V2)² - (V1)²)/2 + g(z2 - z1)]

Potential and kinetic energy can be neglected and so we have;

-W' = m'(h2 - h1)

Plugging in relevant values, the work of the turbine is;

W' = -2.784(3115.32 - 3179.46)

W' = 178.568 KW

B) Still From table A-6 attached and by interpolation at state 1 with temperature of 360°C and Pressure of 10 bar, we have;

Specific entropy: s1 = 7.3357 KJ/Kg.k

Still from table A-6 attached and by interpolation at state 2 with temperature of 160°C and Pressure of 1 bar, we have;

Specific entropy; s2 = 8.2828 KJ/kg.k

The amount of entropy produced is defined by;

ΔS = m'(s2 - s1)

ΔS = 2.784(8.2828 - 7.3357)

ΔS = 2.6367 KW/k

C) Still from table A-6 attached and by interpolation at state 2 with s2 = s2s = 8.2828 KJ/kg.k and Pressure of 1 bar, we have;

h2s = 2966.14 KJ/Kg

Energy equation for turbine at ideal process is defined as;

Q' - W' = m'[(h2 - h1) + ((V2)² - (V1)²)/2 + g(z2 - z1)]

Again, Potential and kinetic energy can be neglected and so we have;

-W' = m'(h2s - h1)

W' = -2.784(2966.14 - 3179.46)

W' = 593.88 KW

the isentropic turbine efficiency is defined as;

η = W_actual/W_ideal

η = 178.568/593.88 = 0.3

8 0
4 years ago
Sam decides to remove his oversized hooded jacket before he works near the pto driveline is it safe or unsafe
Salsk061 [2.6K]
Its safe because it isn't something with electricity
4 0
3 years ago
Other questions:
  • Write the following decorators and apply them to a single function (applying multiple decorators to a single function): 1. The f
    15·1 answer
  • Explain 3 ways that people in sports use engineering to increase their performance?
    7·1 answer
  • A satellite is launched 600 km from the surface of the earth, with an initial velocity of 8333.3 m./s, acting parallel to the ta
    14·1 answer
  • Set up the following characteristic equations in the form suited to Evanss root-locus method. Give L(s), a(s), and b(s) and the
    8·1 answer
  • A piston-cylinder apparatus has a piston of mass 2kg and diameterof
    12·1 answer
  • The air standard efficiency ofan Otto cycle compared to diesel cycle for thie given compression ratio is: (a) same (b) less (c)
    12·1 answer
  • Which of these is an example of a service job?
    7·1 answer
  • Which statement describes a possible limitation on a experimental design? A. Collecting samples to analyze is expensive B. The e
    6·2 answers
  • The van der Waals equation is a modification of the ideal gas equation. What two factors does this equation account for? A. (1)
    6·1 answer
  • the increase of current when 15 V is applied to 10000ohm rheostat which is adjusted to 1000ohm value​
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!