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
kicyunya [14]
3 years ago
13

Write a loop that reads positive integers from standard input and that terminates when it reads an integer that is not positive.

After the loop terminates
Physics
1 answer:
NARA [144]3 years ago
7 0

Answer:

while(x>=0)

{

     <em>loop execution that manipulates x</em>

}

Explanation:

A while loop keep iterating as long as the condition inside is true. The necessary element to remember is to make your the condition variable is altered from within the loop. Otherwise, the loop will become an infinite loop.

The condition state that as long as the variable x is greater than or equal to 0, the loop will continue. If x becomes negative, the loop will terminate.

You might be interested in
How much power does it take to lift 70.0 N to 5.0 m high in 5.00 s?
lesantik [10]

Answer:

Power = 70 W

Explanation:

Given that,

Force, F = 70 N

Height, h = 5 m

Time, t = 5 s

We need to find the power of the object. We know that,

Power = work done/time

Put all the values,

P=\dfrac{Fd}{t}\\\\P=\dfrac{70\times 5}{5}\\\\P=70\ W

So, the required power is 70 W.

3 0
3 years ago
Define Dissociation and Ionization?
STatiana [176]

Answer:

Dissociation- disconnection and lack of continuity between thoughts, memories, surroundings, actions, and identity.

Ionization- the process by which an atom or a molecule acquires a negative or positive charge by gaining or losing electrons, often in conjunction with other chemical changes.

Explanation:

7 0
3 years ago
Violet light (410 nm) and red light
Leokris [45]

Answer:10.03

Explanation:acellus

7 0
3 years ago
h(t) = - 16t2 + 64t + 112 where t is the time in seconds. After how many seconds does the arrow reach it maximum height? Round t
laila [671]

Answer:

2 seconds

Explanation:

The function of height is given in form of time. For maximum height, we need to use the concept of maxima and minima of differentiation.

h(t)=-16t^{2}+64t+112

Differentiate with respect to t on both the sides, we get

\frac{dh}{dt}=-32t+64

For maxima and minima, put the value of dh / dt is equal to zero. we get

- 32 t + 64 = 0

t = 2 second

Thus, the arrow reaches at maximum height after 2 seconds.

8 0
3 years ago
A piston-cylinder device initially contains 1.4 kg saturated liquid water at 200oC. Now heat is transferred to the water until t
postnew [5]

Answer:

Explanation:

Given

mass of saturated liquid water m=1.4\ kg

at 200^{\circ} specific volume is \nu =0.001157\ m^3\kg(From Table A-4,Saturated water Temperature table)

V_1=m\nu _1

V_1=1.4\times 0.001157

V_1=1.6198\times 10^{-3}\ m^3

Final Volume V_2=4V_1

V_2=4\times (1.6198\times 10^{-3})

V_2=6.4792\times 10^{-3}\ m^3

Specific volume at this stage

\nu _2=\frac{V_2}{m}

\nu _2=\frac{6.4792\times 10^{-3}}{1.4}

\nu _2=0.004628\ m^3/kg

Now we see the value and find the temperature it corresponds to specific volume at vapor stage in the table.

T_2=T_1^{*}+\frac{T_2^{*}-T_1^{*}}{\alpha _2^{*}-\alpha _1^{*}}\times (\alpha _2-\alpha _1^{*})

T_2=370^{\circ}+\frac{373.95-370}{0.003106-0.004953}\times (0.004628-0.004953)

T_2=370.7^{\circ} C

4 0
3 years ago
Other questions:
  • How proton ,neutron and electrons are alike
    5·1 answer
  • 4. A crane has a weight of 85000 N and it rests on two caterpillar tracks which have a total
    8·1 answer
  • What is reflection? Reflection is light that has struck a surface and has _______.
    5·1 answer
  • Any energy transformation involves the loss of some energy as
    5·2 answers
  • How many pounds must a sandbag weigh to test if a safety net can absorb the proper amount of force
    10·2 answers
  • From a young age, we observe and learn and we incorporate into our own lifestyle the behaviors of people around us.
    8·2 answers
  • A) Give 3 examples of forces that are pulls and 3 examples that are pushes. b) For each example you give, state an approximate v
    7·1 answer
  • When you rub two sticks together, it causes friction. What does the friction produce? A. sound energy B. heat energy C. electric
    10·1 answer
  • Determine the weight of a 1350 kg rock as it falls off a cliff.
    14·1 answer
  • <img src="https://tex.z-dn.net/?f=%20%5Chuge%7B%20%5Cmathrm%7Bquestion%20%5Chookleftarrow%7D%7D" id="TexFormula1" title=" \huge{
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!