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
Anvisha [2.4K]
3 years ago
5

You recall an algorithm from elementary school for factoring a number N: Divide out all factors of 2, then of 3, then of 4, then

of 5, then of 6, then of 7, etc. Finally, divide out all factors of N (of which there can be at most one). (a) Write pseudo-code for this algorithm (and print the prime factors)
Engineering
1 answer:
Contact [7]3 years ago
4 0

Answer:

let number = 0

while number < 1

  begin

     print "Enter a positive integer: "

     read number

  end

end_while

find and print number's factors:

let prime = TRUE

let currentFactor = 2

let lastFactor = the square root of number truncated

  to an integer value

while currentFactor <= lastFactor

  begin

     if number is evenly divisible by currentFactor

        begin

           print currentFactor

           let number = number / currentFactor

        end

     else

        let currentFactor = currentFactor + 1

     end_if

  end

end_while

print a message if number is prime:

if prime == TRUE

  print "Your number is prime"

end_if

Explanation:

You might be interested in
Brainly and points if you want
Tju [1.3M]

Answer:

thank you

Explanation:

have a nice day

8 0
3 years ago
Read 2 more answers
Choose the best compression ratio for an Otto cycle reciprocating engine: a. 5 b. 10 c. 15 d. 20
MArishka [77]

Answer:

b)10

Explanation:

We know that in Otto cycle there are four process .In first process mass of air fuel mixture enters in the cylinder.In second process that intake mass is compresses up to a specified limit.In general compression ratio in Otto cycle is about 9 or 10.In third process burning of fuel takes place where certain amount of work is obtained.Last process is exhaust process in which burning gas escape out from the cylinder.

Best compression ratio in Otto cycle is about 10.Beyond this value of compression ratio the cycle will not proved best work out put. So our option b is right.

6 0
3 years ago
Which is an obsolete technology
Lemur [1.5K]

Answer:

Steam Engine

Explanation:

It stopped being produced due to other types of engines being much more efficient.

3 0
3 years ago
Read 2 more answers
I need unseen passage
monitta

Answer:

this unseen passage__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

8 0
3 years ago
Read 2 more answers
A steam power plant operates on a simple ideal Rankine cycle between the pressure limits of 3000 kPa and 25 kPa. The temperature
mafiozo [28]

Answer:

a)31%

b)34MW

Explanation:

A rankine cycle is a generation cycle using water as a working fluid, when heat enters the boiler the water undergoes a series of changes in state and energy until generating power through the turbine.

This cycle is composed of four main components, the boiler, the pump, the turbine and the condenser as shown in the attached image

To solve any problem regarding the rankine cycle, enthalpies in all states must be calculated using the thermodynamic tables and taking into account the following.

• The pressure of state 1 and 4 are equal

• The pressure of state 2 and 3 are equal

• State 1 is superheated steam

• State 2 is in saturation state

• State 3 is saturated liquid at the lowest pressure

• State 4 is equal to state 3 because the work of the pump is negligible.

Once all enthalpies are found, the following equations are used using the first law of thermodynamics

Wout = m (h1-h2)

Qin = m (h1-h4)

Win = m (h4-h3)

Qout = m (h2-h1)

The efficiency is calculated as the power obtained on the heat that enters

Efficiency = Wout / Qin

Efficiency = (h1-h2) / (h1-h4)

For this problem, we will first find the enthalpies in all states

h1=3231kJ/Kg

h2=2310kJ/Kg

h3=h4=272kJ/Kg

A) using the eficiency ecuation

Efficiency = (h1-h2) / (h1-h4)

Efficiency =(3231-2310)/(3231-272)=0.31=<u>31%</u>

b)using ecuation for Wout

Wout = m (h1-h2)

Wout=37(3231-2310)=34077KW=<u>34.077MW</u>

6 0
4 years ago
Other questions:
  • Please help!!
    7·2 answers
  • The Molybdenum with an atomic radius 0.1363 nm and atomic weight 95.95 has a BCC unit cell structure. Calculate its theoretical
    15·1 answer
  • Sketch T-s and p-v diagrams for the Diesel cycle.
    8·1 answer
  • The revolving part of a rotating electrical machine. The rotor may be either the field or the armature, depending on the design
    15·1 answer
  • Chemical resistant aprons for use while working around pesticides should.? A. Be made of solvent resistant leather B. Cover the
    6·1 answer
  • 15 POINTS! Help.
    9·2 answers
  • What is the general relationship between drill press speed and drill bit size?
    9·1 answer
  • I will Brainliest
    7·2 answers
  • Which statement is WRONG?
    13·1 answer
  • 4. An electrician's pen knife often
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!