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
Air is heated from 50 F to 200 F in a rigid container with a heat transfer of 500 Btu. Assume that the air behaves as an ideal g
marissa [1.9K]

Answer:

V=68.86ft^3

Explanation:

T_1 =10°C,T_2 =93.33°C

Q=500 btu=527.58 KJ

P_1= 2atm

If we assume that air is ideal gas   PV=mRT, ΔU=mC_v(T_2-T_1)

Actually this is closed system so work will be zero.

Now fro first law

Q=ΔU=mC_v(T_2-T_1)+W

⇒Q=mC_v(T_2-T_1)

527.58 =m\times 0.71(200-50)

m=4.9kg

 PV=mRT

200V=4.9\times 0.287\times (10+273)

V=1.95m^3                (V=1m^3=35.31ft^3)              

V=68.86ft^3

6 0
4 years ago
A study of online dating found that when including emoticons in their profiles, response rates for female users _______ by _____
Dvinal [7]

Answer:

Increased, 5%

Explanation:

Recent studies conducted on online dating sites established that the response of female users increased by 5% when emotions are in their profiles even as for male users' response also increased by 8%. Another study also revealed that those who have never used online dating sites and/or mobile dating apps believe that people who use dating apps are desperate.

8 0
3 years ago
A polymeric extruder is turned on and immediately begins producing a product at a rate of 10 kg/min. An operator realizes 20 min
hodyreva [135]

Answer:

The plot of the function production rate m(t) (in kg/min) against time t (in min) is attached to this answer.

The production rate function M(t) is:

m(t)=[H(t)\cdot10+H(t-20)\cdot5-H(t-80)\cdot14+H(t-81)\cdot9]kg/min (1)

The Laplace transform of this function is:

\displaystyle m(s)=[\frac{10+5e^{-20s}-14e^{-80s}+9e^{-81s}}{s}]kg/min    (2)

Explanation:

The function of the production rate can be considered as constant functions by parts in the domain of time. To make it a continuous function, we can use the function Heaviside (as seen in equation (1)). To join all the constant functions, we consider at which time the step for each one of them appears and sum each function multiply by the function Heaviside.

For the Laplace transform we use the following rules:

\mathcal{L}[f(x)+g(x)]=\mathcal{L}[f(x)]+\mathcal{L}[g(x)]=F(s)+G(s)    (3)

\mathcal{L}[aH(x-b)]=\displaystyle\frac{ae^{-bs}}{s}    (4)

4 0
4 years ago
An insulated mixing chamber receives 0.5 kg/s of steam at 3 MPa and 300°C through one inlet, and saturated liquid water at 3 MPa
maxonik [38]

Answer:

\dot m_{2} = 0.199\,\frac{kg}{s}

Explanation:

The mixing chamber can be modelled by applying the First Law of Thermodynamics:

\dot W_{in}+\dot m_{1}\cdot h_{1} +\dot m_{2} \cdot h_{2} - \dot m_{3}\cdot h_{3} = 0

Since that mass flow rate of water at inlet 1 is the only known variable, the expression has to be simplified like this:

\frac{\dot W_{in}}{\dot m_{1}} + h_{1}+ y\cdot h_{2} - z\cdot h_{3} = 0

Besides, the following expression derived from the Principle of Mass Conservation is presented below:

1 + y = z

Then, the expression is simplified afterwards:

\frac{\dot W_{in}}{\dot m_{1}} + h_{1}+ y\cdot h_{2} - (1+y)\cdot h_{3} = 0

\frac{\dot W_{in}}{\dot m_{1}} +h_{1} - h_{3} + y\cdot (h_{2}-h_{3}) = 0

Specific enthalpies are obtained from steam tables and described as follows:

State 1 (Superheated vapor)

h = 2994.3\,\frac{kJ}{kg}

State 2 (Saturated liquid)

h = 1008.3\,\frac{kJ}{kg}

State 3 (Liquid-Vapor mixture)

h = 2444.22\,\frac{kJ}{kg}

The ratio of the stream at state 2 to the stream at state 1 is:

y = \frac{\frac{\dot W_{in}}{\dot m_{1}}+h_{1}-h_{3}}{h_{3}-h_{2}}

y = \frac{\frac{10\,kW}{0.5\,\frac{kg}{s} }+2994.3\,\frac{kJ}{kg}-2444.22\,\frac{kJ}{kg} }{2444.22\,\frac{kJ}{kg}-1008.3\,\frac{kJ}{kg} }

y = 0.397

The mass flow rate of the saturated liquid is:

\dot m_{2} = y\cdot \dot m_{1}

\dot m_{2} = 0.397\cdot (0.5\,\frac{kg}{s} )

\dot m_{2} = 0.199\,\frac{kg}{s}

5 0
3 years ago
If a roof is used for a purpose other than weather protection, the vent extensions should extend above the roof by at least ____
Molodets [167]
The answer is 7 feet
8 0
3 years ago
Other questions:
  • A closely wound, circular coil with radius 2.80 cm has 720 turns. Part APart complete What must the current in the coil be if th
    14·1 answer
  • A fruit juice is being heated in an indirect heat exchanger using steam as a heating medium. The product flows through the heat
    12·1 answer
  • A Type I muscle fibers have an average diameter of 98 µm, and can exert a compressive load of 532 µN[1]. If they are modeled as
    11·1 answer
  • Which of the following identifies a criterion needed to become a civil engineer?
    15·1 answer
  • Cavitation in pump assemblies can be avoided by decreasing tank pressure. a)-True b)-False
    10·1 answer
  • Water flows near a flat surface and some measurements of the water velocity, u, parallel to the surface, at different heights y
    8·1 answer
  • Consider a silicon p-n step junction (or abrupt junction) at room temperature. If the doping concentrations are Na = 10^17 cm^-3
    7·1 answer
  • 8. What is the proper name of this starting system used on selected vertical crankshaft engines? Click here to enlarge image Sup
    12·1 answer
  • Madison how do you do this
    10·2 answers
  • The source term will affect all algebraic equations.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!