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
Tema [17]
3 years ago
15

Complete swap_bits function which swaps bits at odd and even positions of an integer (32 bits). In other words, every even posit

ion bit is swapped with the adjacent bit on the right side, and every odd position bit is swapped with the adjacent on the left side. For instance, bits 0 and 1 are swapped, bits 2 and 3 are swapped, and so on. It is not recommended to use loops or conditional statements for this part. Example: if the given number is 23 (00010111), it should be converted to 43 (00101011). Note this example, we only use the lower 8 bits of a number, but your program will work on 32-bit numbers. You can expect the input to your function in register $t0. The result must be stored inside $t0 as well.
Engineering
1 answer:
Len [333]3 years ago
5 0

Answer:

Explanation:

You might be interested in
The Danish scientist Niels Bohr proposed a model of the atom that is not totally accurate today but still contains components th
blagie [28]

Answer:

Option B

Planetary

Explanation:

In 1913, Niels Bohr proposed a model to explain the stability of orbits around the nucleus. Niels believed that light is emitted by an electron when the electron's energy changes. Bohr Atomic Model is sometimes called planetary model because it resembles a mini-solar system.

7 0
3 years ago
Hot carbon dioxide exhaust gas at 1 atm is being cooled by flat plates. The gas at 220 °C flows in parallel over the upper and l
sergeinik [125]

The local convection heat transfer coefficient at 1 m from the leading edge is  0.44 \frac{W}{m^{2} \times K} ,  the average convection heat transfer coefficient over the entire plate is  0.293 \frac{W}{m^{2} \times K}and the total heat flux transfer to the plate is 61.6 KJ.

Explanation:

It is case of heat and mass transfer in which due to temperature difference between gas  and surface. Further temperature  boundary layer will developed on flat plate in longitudinal direction.  

Hot carbon dioxide exhaust gas

physical properties

r= 1.05 \frac{kg}{m^{3}}

c_p = 1.02 \frac{kJ}{Kg \times K}

m= 231 \times 10^{7}  \frac{N \times s }{m^2}

υ = 21.8 \times 10^{6}  \frac{m^2}{s}

k = 32.5 \times 10^{3} \frac{W}{m \times K}

\alpha = 30.1 \times 10^{6} \frac{m^{2}}{s}

Pr = 0.725

Apart from these other data arr given below,

v= 3 \frac{m}{s}  \\ p= 1 atm \\ L_c = 1.5m \\T_g= 220 C \\ T_s = 80 C

To find the local convection heat transfer coefficient at 1 m from the leading edge, we use correlation used for laminar flow over flat plate,

Nu = \frac{ h \times L }{k}  = 0.332 \times (Re^{\frac{1}{2} }) \times (Pr^{\frac{1}{3} })

where h= Average heat transfer coefficient

           L= Length of a plate

           k= Thermal Conductivity of carbon dioxide

           Re = Reynold's Number

           Pr  = Prandtle Number

(a) Convection heat transfer coefficient at 1 m from the leading edge

    is referred as local convection heat transfer coefficient.

   

   To find convection heat transfer coefficient at 1 m from leading edge,

  Nu = \frac{ h_local \times L }{k}  = 0.332 \times (Re^{\frac{1}{2} }) \times (Pr^{\frac{1}{3} })

  Here, first we have to find Re and Pr,

   Re = \frac{r \times v \times L}{m}

   Re = \frac{1.0594 \times 3 \times 1}{231 \times 10^{7}}

   Re = 20.63 \times  10^{-10}

   Pr number is take from physical property data and Pr is 0.725.

   Putting value of Re and Pr in main equation,

   we get

   Nu = \frac{ h_local \times 1 }{32.5 \times 10^{3}}  = 0.332 \times ( (20.63 \times 10^{-10})^{\frac{1}{2} }) \times (0.725^{\frac{1}{3} })

    h_local   = 32.5 \times 10^{3} \times  0.332 \times ( (20.63 \times 10^{-10})^{\frac{1}{2} }) \times (0.725^{\frac{1}{3} })

    h_local   =  0.44 \frac{W}{m^{2} \times K}

(b)  To find average convection heat transfer coefficient,

      it can be find out as case (a), only difference is that instead of L=1 m,        L=1.5 m would come,  

   Therefore,

    Nu = \frac{ h \times 1.5 }{32.5 \times 10^{3}}  = 0.332 \times ( (20.63 \times 10^{-10})^{\frac{1}{2} }) \times (0.725^{\frac{1}{3} })

    Finally,

      h  = \frac{0.44}{1.5}

      h  = 0.293 \frac{W}{m^{2} \times K}

(C) Total heat flux transfer to the plate is found out by,

     Q = h \times (T_g - T_s)

     Q = 0.293 \times (220-80) \\ Q= 0.293 \times 140  \\ Q= 61.6 KJ

     

     

   

   

     

   

     

   

   

 

   

   

   

   

8 0
3 years ago
A liquid's viscosity increases with increasing temperature. a)-True b)-False
olasank [31]

Answer:

b) False

Explanation:

Viscosity:

   Viscosity is a fluid property and comes in the picture when fluid in the motion.In Simple words viscosity is the frictional force offered by fluid between the fluid layer.Viscosity provides a resistant to flow of fluid.

Generally viscosity are of two types

1.Dynamics viscosity

2.Kinematics viscosity

Generally in liquids when temperature of fluid is increases then molecular force between fluid particle goes to decreases.Due to this viscosity of liquids will decrease.

So our option b is right.

7 0
3 years ago
Ethylene glycol, the ingredient in antifreeze, does not cause health problems because it is a clear liquid.
netineya [11]
B. false

Explanation: because it is
5 0
3 years ago
In part A you are asked to write the pseudocode for the program. In part B you are asked to write the syntax of the code for the
Naya [18.7K]

Answer:

C++.

Explanation:

#include <iostream>

#include <string>

using namespace std;

///////////////////////////////////////////////////////////////

int main() {

   string quote, book;

   int page;

   

   cout<<"What is your favorite quote from a book?"<<endl;

   getline(cin, quote);

   cout<<endl;

   /////////////////////////////////////////////

   cout<<"What book was that quote from?"<<endl;

   getline(cin, book);

   cout<<endl;

   /////////////////////////////////////////////

   cout<<"What page was that quote from?"<<endl;

   cin>>page;

   cout<<endl;

   /////////////////////////////////////////////

   int no_of_upper_characters = 0;

   for (int i=0; i<quote.length(); i++) {

       if (isupper(quote[i]))

          no_of_upper_characters++;

   }

   

   cout<<"No. of upper case characters: "<<no_of_upper_characters<<endl;

   /////////////////////////////////////////////

   int no_of_characters = quote.length();

   cout<<"No. of characters: "<<no_of_characters<<endl;

   /////////////////////////////////////////////

   bool isDog = false;

   for (int i=0; i<quote.length(); i++) {

       if (isDog == true)

           break;

       else if (quote[i] == 'd') {

           for (int j=i+1; j<quote.length(); j++) {

               if (isDog == true)

                   break;

               else if (quote[j] == 'o') {

                   for (int z=j+1; z<quote.length(); z++) {

                       if (quote[z] == 'g') {

                           isDog = true;

                           break;

                       }

                   }

               }

           }

       }

   }

   

   if (isDog == true)

       cout<<"This includes 'd' 'o' 'g' in the quote";

   //////////////////////////////////////////////

   return 0;

}

3 0
3 years ago
Other questions:
  • According to Manor, the example of the subway train in New York City is an example of which type of uniqueness?
    9·1 answer
  • What is the capacity of the machine in batches?
    10·1 answer
  • How much work is performed if a 400 lb weight is lifted 10 ft ?
    8·1 answer
  • The Emergency Stop Button icon on the Inputs toolbar can be used to press or release the Emergency Stop button on the CNC machin
    10·1 answer
  • 2. In the above figure, what type of cylinder arrangement is shown in the figure above?
    9·2 answers
  • If Fred has already measured 14 inches of a table measuring 30 inches. How many inches does he need to measure more?
    15·1 answer
  • Which scientist was famous for his laws on gravity?
    10·2 answers
  • Given two alphabet strings str1 and str2. You can change the characters in str1 to any alphabet characters in order to transform
    8·1 answer
  • How many millimeters are there in a centimeter?
    10·1 answer
  • 4.6. What is the maximum peak output voltage and current if the supply voltages are changed to +15 V and -15 V.​
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!