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
KengaRu [80]
3 years ago
7

Given a series of numbers as input, add them up until the input is 10 and print the total. Do not add the final 10. For example,

if the following numbers are input: 8 3 11 10 The output should be ____.
Engineering
1 answer:
valentinak56 [21]3 years ago
4 0

Answer:

22

Explanation:

The question talks about a given program to which you input a set of numbers. Once you input number 10, the program stops receiving inputs and adds the numbers you previously inputed, except for the final 10 which only works as a stopping signal. So, imagine you are working on the program and input the numbers 8, 3, 11 and 10 consecutively. Once you input the 10, the program immediately adds the previous numbers: 8+3+11=22.

So the output should be 22.

You might be interested in
The percentage modulation of AM changes from 50% to 70%. Originally at 50% modulation, carrier power was 70 W. Now, determine th
adoni [48]

Answer:

What is percentage modulation in AM?

The percent modulation is defined as the ratio of the actual frequency deviation produced by the modulating signal to the maximum allowable frequency deviation.

3 0
2 years ago
A fatigue test is performed on 69 rotating specimens made of 5160H steel. The measured number of cycles to failure (L in kcycles
tensa zangetsu [6.8K]

Answer:

(a) Mean = 122.9, σ = 30.071

(b) No. of failed specimens at less than 115k cycles are 27.

(c) μ = 39.07

Explanation:

We are given:

L  60  70  80  90  100  110  120  130  140  150  160  170  180  190  200  210

f    2     1    3     5     8     12     6     10     8     5     2      3      2      1       0      1

(a) First we need to calculate the mean and standard deviation. The formula for calculating mean is:

Mean = ∑fx/∑f

And for standard deviation we have:

S.D. = √Var

Var = ∑fx²/∑f - (Mean)²

∑fx = (2*60) + (1*70) + (3*80) + (5*90) + (8*100) + (12*110) + (6*120) + (10*130) + (8*140) + (5*150) + (2*160) + (3*170) + (2*180) + (1*190) + (0*200) + (1*210)

         = 120 + 70 + 240 + 450 + 800 + 1320 + 720 + 1300 + 1120 + 750 + 320 + 510 + 360 + 190 + 0 + 210

∑fx = 8480

Mean = ∑fx/∑f

          = 8480/69

Mean = 122.9  

∑fx² = (2*60²) + (1*70²) + (3*80²) + (5*90²) + (8*100²) + (12*110²) + (6*120²) + (10*130²) + (8*140²) + (5*150²) + (2*160²) + (3*170²) + (2*180²) + (1*190²) + (0*200²) + (1*210²)

   =7200+4900+19200+40500+80000+145200+86400+169000+156800+112500+51200+86700+64800+36100+0+44100

∑fx² = 1104600

Var = ∑fx²/∑f - (Mean)²

     = 1104600/69 - (122.9)²

     = 16008.69565 - 15104.41

Var = 904.2856

S.D = √Var

σ = √904.2856

σ = 30.071

(b) Let X be the number of failed specimen.

We will use the z-score to calculate the probability. The formula for z-score is:

z = (X-μ)/σ

P(X<115) = P(z<(115-122.9)/30.071)

              = P(z<-0.26)

Using the normal distribution probability table, we can compute the value of  P(z<-0.26).

P(X<115) = 0.3974

So, no. of failed specimens at less than 115k cycles are: 0.3974*69 = 27 specimens

(c) σ = 30.071

P(x<115) = 0.99

P(z<(115-μ)/30.071) = 0.99

From the normal distribution table we find that 0.99 lies between the z values 2.52 and 2.33. Hence, we get 2.525 as the z-value at which the probability is 0.99.

z = (x-μ)/σ

2.525 = (115 - μ)/30.071

75.93 = 115 - μ

μ = 115 - 75.93

μ = 39.07

4 0
3 years ago
What should -7/56 BE DIVIDE TO GET -1/8​
aivan3 [116]

Answer:

7/7

Explanation:

7/56 ÷1

7/56÷ 7/7

7/56 ×7/7

1/8

5 0
3 years ago
Read 2 more answers
A car is about to start but it blows up. what is the problem with the car<br> ?
ratelena [41]

Answer:

because there is a bomb

6 0
3 years ago
Read 2 more answers
section 10.1 describes a man in the middle attack on the diffie-hellman key exhange protocal in which the adversary generates tw
nika2105 [10]

Answer:

1. James will attack by generating a random private key XD and a corresponding public key YD.

2. Jane transmit YA to another person called Alex.

3. James intercept YA and transmit YD to jane.

4. Jane receive YD and calculate K1

At this point james and jane thinks they share a secret key but instead james has a secret key k1 to Jane and k2 to alex.

5. Alex transmit another key XA to alex for example.

6. James intercept and calculate k2 and vice versa.

6 0
3 years ago
Other questions:
  • An atomic force that can attract or repel ferrous substances is<br> known as:
    14·1 answer
  • What is a coarse-grained rock composed of intermediate plagioclase feldspar and pyroxene? a. graniteb. gabbro c. andesited. peri
    9·1 answer
  • "It is better to be a human being dissatisfied than a pig satisfied; better to be Socrates dissatisfied than a fool satisfied. A
    7·1 answer
  • A local surf report provides the height of the wave from the trough to the crest of the wave. How does this relate to the wave’s
    11·1 answer
  • Pointttttttttttttssssssssssss
    12·1 answer
  • 1<br>M<br>A BLIND COOK WHO DEFEATED<br>OVER 30,000 HOME COOKS!<br>y of​
    13·1 answer
  • Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    9·1 answer
  • A panel crimper cuts metal True or False
    10·1 answer
  • Technician A says that the low level brake fluid switch on a master cylinder will turn on the brake warning light when the syste
    9·1 answer
  • 11. As __and___ prices continued to rise in the late 1960’s and 70's, 4 and 6 cylinder engines began to make a comeback.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!