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
Alika [10]
3 years ago
7

Question 9.1 from the textbook. Consider the following workload: Process Burst Time Priority Arrival Time P1 50 4 0 P2 20 1 20 P

3 100 3 40 P4 40 2 60 Show the schedule using shortest remaining time, non-preemptive priority (a smaller number implies higher priority) and round robin with quantum 30, Make each entry in your answer equal to 10 time units. For example if your algorithm was FCFS then your answer would be: P1 P1 P1 P1 P1 P2 P2 P3 P3 P3 P3 P3 P3 P3 P3 P3 P3 P4 P4 P4 P4

Engineering
1 answer:
Marizza181 [45]3 years ago
5 0

Answer:

Explanation:

The schedule using shortest remaining time, non-preemptive priority and round Robin with quantum number 30 is shown in the attached file, please kindly go through it to access the answer.

You might be interested in
I gave 15 min to finish this java program
lisov135 [29]

Answer:

class TriangleNumbers

{

public static void main (String[] args)

{

 for (int number = 1; number <= 10; ++number) {

  int sum = 1;

  System.out.print("1");

  for (int summed = 2; summed <= number; ++summed) {

   sum += summed;

   System.out.print(" + " + Integer.toString(summed));

  }

  System.out.print(" = " + Integer.toString(sum) + '\n');

 }

}

}

Explanation:

We need to run the code for each of the 10 lines. Each time we sum  numbers from 1 to n. We start with 1, then add numbers from 2 to n (and print the operation). At the end, we always print the equals sign, the sum and a newline character.

4 0
3 years ago
.a. What size vessel holds 2 kg water at 80°C such that 70% is vapor? What are the pressure and internal energy? b. A 1.6 m3 ves
vesna_86 [32]

Answer:

Part a: The volume of vessel is 4.7680m^3 and total internal energy is 3680 kJ.

Part b: The quality of the mixture is 90.3%  or 0.903, temperature is 120 °C and total internal energy is 4660 kJ.

Explanation:

Part a:

As per given data

m=2 kg

T=80 °C =80+273=353 K

Dryness=70% vapour =0.7

<em>From the steam tables at 80 °C</em>

Specific volume of saturated vapours=v_g=3.40527 m^3/kg

Specific volume of saturated liquid=v_f=0.00102 m^3/kg

Now the relation  of total specific volume for a specific dryness value is given as

                                  v=v_f+x(v_g-v_f)

Substituting the values give

v=v_f+x(v_g-v_f)\\v=0.00102+0.7(3.40527-0.00102)\\v_f=2.38399 m^3/kg

Now the volume of vessel is given as

v=\frac{V}{m}\\V=v \times m\\V=2.38399 \times 2\\V=4.7680 m^3

So the volume of vessel is 4.7680m^3.

Similarly for T=80 and dryness ratio of 0.7 from the table of steam

Pressure=P=47.4 kPa

Specific internal energy is given as u=1840 kJ/kg

So the total internal energy is given as

u=\frac{U}{m}\\U=u \times m\\U=1840 \times 2\\U=3680 kJ

The total internal energy is 3680 kJ.

So the volume of vessel is 4.7680m^3 and total internal energy is 3680 kJ.

Part b

Volume of vessel is given as 1.6

mass is given as 2 kg

Pressure is given as 0.2 MPa or 200 kPa

Now the specific volume is given as

v=\frac{V}{m}\\v=\frac{1.6}{2}\\v=0.8 m^3/kg

So from steam tables for Pressure=200 kPa and specific volume as 0.8 gives

Temperature=T=120 °C

Quality=x=0.903 ≈ 90.3%

Specific internal energy =u=2330 kJ/kg

The total internal energy is given as

u=\frac{U}{m}\\U=u \times m\\U=2330 \times 2\\U=4660 kJ

So the quality of the mixture is 90.3%  or 0.903, temperature is 120 °C and total internal energy is 4660 kJ.

5 0
3 years ago
Tech A says that 18 AWG wire is larger than 12 AWG wire. Tech B says that the larger the diameter of the conductor, the more ele
shutvik [7]

Answer:

Both of them are wrong

Explanation:

The two technicians have given the wrong information about the wires.

This is because firstly, a higher rating of AWG means it is smaller in diameter. Thus, the diameter of a 18 AWG wire is smaller than that of a 12 AWG wire and that makes the assertion of the technician wrong.

Also, the higher the resistance, the smaller the cross sectional area meaning the smaller the diameter. A wire with bigger cross sectional area will have a smaller resistance

So this practically makes the second technician wrong too

8 0
3 years ago
Q5
Klio2033 [76]

The C++ code that would draw all the iterations in the selection sort process on the array is given below:

<h3>C++ Code</h3>

#include <stdio.h>

#include <stdlib.h>

int main() {

   int i, temp1, temp2;

   int string2[16] = { 0, 4, 2, 5, 1, 5, 6, 2, 6, 89, 21, 32, 31, 5, 32, 12 };

   _Bool check = 1;

   while (check) {

       temp1 = string2[i];

       temp2 = string2[i + 1];

       if (temp1 < temp2) {

           string2[i + 1] = temp1;

           string2[i] = temp2;

           i = 0;

       } else {

           i++;

           if (i = 15) {

               check = !check;

           }

       }

   }

   

   return 0;

}

Read more about C++ programming here:

brainly.com/question/20339175

#SPJ1

5 0
1 year ago
The viscosity of a fluid is 10 be measured by a viscometer constructed of two 75-cm-long concentric cylinders. The outer diamete
a_sh-v [17]

Answer:

0.023 Pa*s

Explanation:

The surface area of the side of the inner cylinder is:

A = π*d*l

A = π*0.15*0.75 = 0.35 m^2

At 200 rpm the inner cylinder has a tangential speed of:

u = w * r

u = w * d/2

w = 200 rpm * 2π / 60 = 20.9 rad/s

u = 20.9 * 0.15 / 2 = 1.57 m/s

The torque is of 0.8 N*m, this means that the force is:

T = F * r

F = T / r

F = 2*T / d

For Newtoninan fluids with two plates moving respect of each other with a  fluid between the viscous friction force would be:

F = μ*A*u / y

Where

μ: viscocity

y: separation between pates

A: surface area of the plates

Then:

2*T / d = μ*A*u/y

Rearranging:

μ = 2*T*y / (d*A*u)

μ = 2*0.8*0.0012 / (0.15*0.35*1.57) = 0.023 Pa*s

5 0
3 years ago
Other questions:
  • A furnace wall is to be built of 20-cm firebrick and building (structural) brick of same thickness. The thermal conductivities o
    14·1 answer
  • An electric field is expressed in rectangular coordinates by E = 6x2ax + 6y ay +4az V/m.Find:a) VMN if point M and N are specifi
    9·1 answer
  • 5) Calculate the LMC wal thickness of a pipe and tubing with OD as 35 + .05 and ID as 25 + .05 A) 4.95 B) 5.05 C) 10 D) 15.025
    11·2 answers
  • A PMMA plate with a 25 mm (width) x 6.5 mm (thickness) cross-section has a contained crack of length 2c = 0.5 mm in the center o
    10·1 answer
  • In designing a fixed-incline self-acting thrust pad when the width of the pad is much larger than the length, it is of interest
    10·1 answer
  • is sampled at a rate of to produce the sampled vector and then quantized. Assume, as usual, the minimum voltage of the dynamic r
    9·1 answer
  • Do you know who Candice is
    8·2 answers
  • Why do you suppose a value of 5 is used? Do you think other values might work?
    6·1 answer
  • Since you became discouraged not being able to find a job in the San Diego area, you enlarged the area in which you looked for a
    9·1 answer
  • A plant has ten machines and currently operates two 8-hr shift per day, 5 days per week, 50 weeks per year. the ten machines pro
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!