answer.
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
forsale [732]
2 years ago
9

Associate the average of the numbers from 1 to n (where n is a positive integer value) with the variable avg.

Mathematics
1 answer:
Kaylis [27]2 years ago
5 0
This is a simple programming question. To calculate the average of any two numbers, where one number is 1 and the other is n, simply add the two numbers and divide by 2. Therefore, the answer is:
<span>avg = (1 + n) / 2</span> 
You might be interested in
According to a Los Angeles Times study of more than 1 million medical dispatches from 2007 to 2012, the 911 response time for me
Reil [10]

Answer:

a) \bar X=10.65

Median =\frac{10.7+10.7}{2}=10.7

Mode= 10.7

b) Range = 11.8-8.3=3.5

s= 0.948

c)IQR = Q_3 -Q_1 = 11.05-10.55=0.5

And we can find the usual limits with:

Lower = Q_1 -1.5 IQR = 10.55 -1.5*0.5=9.8

Upperer = Q_3 +1.5 IQR = 10.55 +1.5*0.5=11.3

And since 8.3 <9.8 we can consider this value too low or as an outlier for this case.

d) The mean for this case was 10.65 and the usual values are between 9.8 and 11.3, so as we can see all are above the specified value of 6 minutes, and we can conclude that the times are not satisfying the quality standards for this case.

And they should be considered apply some strategies to reduce the response time, adding more stations around points selected at the city could be useful in order to reduce the response time.

Step-by-step explanation:

We have the following data:

11.8 10.3 10.7 10.6 11.5 8.3 10.5 10.9 10.7 11.2

Part a

We can calculate the sample mean with the following formula:

\bar X = \frac{\sum_{i=1}^n X_i}{n}

And if we replace we got: \bar X=10.65

For the median we need to sort the values on increasing order and we have:

8.3 10.3 10.5 10.6 10.7 10.7 10.9 11.2 11.5 11.8

Since n =10 we can calculate the median as the average between the 5th and 6th position of the dataset ordered and we got:

Median =\frac{10.7+10.7}{2}=10.7

The mode would be the most repeated value on this case:

Mode= 10.7

Part b

The range is defined as Range =Max-Min and if we replace we got:

Range = 11.8-8.3=3.5

We can calculate the standard deviation with the following formula:

s= sqrt{\frac{\sum_{i=1}^n (X_i -\bar X)^2}{n-1}}

And if we replace we got:

s= 0.948

Part c

For this case we can use the IQR method in order to determine if 8.3 is an outlier or not.

We can calculate the first quartile with these values: 8.3 10.3 10.5 10.6 10.7 10.7 and Q_1= \frac{10.6+10.7}{2}=10.55

And for the Q3 we can use: 10.7 10.7 10.9 11.2 11.5 11.8 and we got Q_3 = \frac{10.9+11.2}{2}=11.05

Then we can find the IQR like this:

IQR = Q_3 -Q_1 = 11.05-10.55=0.5

And we can find the usual limits with:

Lower = Q_1 -1.5 IQR = 10.55 -1.5*0.5=9.8

Upperer = Q_3 +1.5 IQR = 10.55 +1.5*0.5=11.3

And since 8.3 <9.8 we can consider this value too low or as an outlier for this case.

Part d

The mean for this case was 10.65 and the usual values are between 9.8 and 11.3, so as we can see all are above the specified value of 6 minutes, and we can conclude that the times are not satisfying the quality standards for this case.

And they should be considered apply some strategies to reduce the response time, adding more stations around points selected at the city could be useful in order to reduce the response time.

6 0
2 years ago
the local volleyball team hosts a concession stand to raise money. They can spend $120 to purchase popcorn, candy, and drinks. t
Art [367]
To solve this question, I did an equation:
0.75x + 1.20y = 120
0.75(95) + 1.20(35) = 120
Then multiply:
71.25 + 42 = 120
Now to check:
71.25 + 42 = 113.25
Answer: 120 - 113.25 = $6.75 Hope this helps

7 0
2 years ago
Simplify 2(3×8-15÷16)<br>​
KengaRu [80]

Answer:

46.125 or 46 1/8

Step-by-step explanation:

2(3×8-15÷16)

=2(24-15÷16)

= 48 - 30/16

= (768 - 30)/16

= 738/16

= 46.125 or 46 1/8

8 0
2 years ago
The graphs of the quadratic functions f(x) = 6 – 10x2 and g(x) = 8 – (x – 2)2 are provided below. Observe there are TWO lines si
natta225 [31]

Answer:

a) y = 7.74*x + 7.5

b)  y = 1.148*x + 6.036

Step-by-step explanation:

Given:

                                  f(x) = 6 - 10*x^2

                                  g(x) = 8 - (x-2)^2

Find:

(a) The line simultaneously tangent to both graphs having the LARGEST slope has equation

(b) The other line simultaneously tangent to both graphs has equation,

Solution:

- Find the derivatives of the two functions given:

                                f'(x) = -20*x

                                g'(x) = -2*(x-2)

- Since, the derivative of both function depends on the x coordinate. We will choose a point x_o which is common for both the functions f(x) and g(x). Point: ( x_o , g(x_o)) Hence,

                                g'(x_o) = -2*(x_o -2)

- Now compute the gradient of a line tangent to both graphs at point (x_o , g(x_o) ) on g(x) graph and point ( x , f(x) ) on function f(x):

                                m = (g(x_o) - f(x)) / (x_o - x)

                                m = (8 - (x_o-2)^2 - 6 + 10*x^2) / (x_o - x)

                                m = (8 - (x_o^2 - 4*x_o + 4) - 6 + 10*x^2)/(x_o - x)

                                m = ( 8 - x_o^2 + 4*x_o -4 -6 +10*x^2) /(x_o - x)

                                m = ( -2 - x_o^2 + 4*x_o + 10*x^2) /(x_o - x)

- Now the gradient of the line computed from a point on each graph m must be equal to the derivatives computed earlier for each function:

                                m = f'(x) = g'(x_o)

- We will develop the first expression:

                                m = f'(x)

                                ( -2 - x_o^2 + 4*x_o + 10*x^2) /(x_o - x) = -20*x

Eq 1.                          (-2 - x_o^2 + 4*x_o + 10*x^2) = -20*x*x_o + 20*x^2

And,

                              m = g'(x_o)

                              ( -2 - x_o^2 + 4*x_o + 10*x^2) /(x_o - x) = -20*x

                              -2 - x_o^2 + 4*x_o + 10*x^2 = -2(x_o - 2)(x_o - x)

Eq 2                       -2 - x_o^2 + 4*x_o+ 10*x^2 = -2(x_o^2 - x_o*(x + 2) + 2*x)

- Now subtract the two equations (Eq 1 - Eq 2):

                              -20*x*x_o + 20*x^2 + 2*x_o^2 - 2*x_o*(x + 2) + 4*x = 0

                              -22*x*x_o + 20*x^2 + 2*x_o^2 - 4*x_o + 4*x = 0

- Form factors:       20*x^2 - 20*x*x_o - 2*x*x_o + 2*x_o^2 - 4*x_o + 4*x = 0

                              20*x*(x - x_o) - 2*x_o*(x - x_o) + 4*(x - x_o) = 0

                               (x - x_o)(20*x - 2*x_o + 4) = 0  

                               x = x_o   ,     x_o = 10x + 2    

- For x_o = 10x + 2  ,

                               (g(10*x + 2) - f(x))/(10*x + 2 - x) = -20*x

                                (8 - 100*x^2 - 6 + 10*x^2)/(9*x + 2) = -20*x

                                (-90*x^2 + 2) = -180*x^2 - 40*x

                                90*x^2 + 40*x + 2 = 0  

- Solve the quadratic equation above:

                                 x = -0.0574, -0.387      

- Largest slope is at x = -0.387 where equation of line is:

                                  y - 4.502 = -20*(-0.387)*(x + 0.387)

                                  y = 7.74*x + 7.5          

- Other tangent line:

                                  y - 5.97 = 1.148*(x + 0.0574)

                                  y = 1.148*x + 6.036

6 0
1 year ago
Simplify this expression: One-half k squared + g minus 3 + one-half k squared minus 3 + 2 g k2 + 3g – 6 One-fourthk2 + 3g 3g + 9
Alborosie

Answer:

The answer is A, k2 + 3g – 6

Step-by-step explanation:

did the assignment on edge2020

7 0
2 years ago
Read 2 more answers
Other questions:
  • The heat in the house is set to keep the minimum and maximum temperatures (in degrees Fahrenheit) according to the equation |x –
    13·2 answers
  • How would you describe the U.S. dollar if the foreign exchange rate between the U.S. dollar and British pound changed from 1:1 t
    5·2 answers
  • Jeanne wants to start collecting coins and orders a coin collection starter kit. The kit comes with three coins chosen at random
    14·1 answer
  • What can be concluded about the line represented in the table? Check all that apply. x y –6 –7 2 –3 8 0 The slope is 2. The slop
    5·2 answers
  • Vertex A in quadrilateral ABCD lies at (-3, 2). If you rotate ABCD 180° clockwise about the origin, what will be the coordinates
    5·2 answers
  • Solve the system by substitution<br><br><br> -x - y - z = -8<br> -4x + 4y + 5z = 7<br> 2x + 2z = 4
    9·2 answers
  • Gabriel wants to send a parcel to Italy.
    11·1 answer
  • Anika buys a pair of shin guards for $8.58 and several pairs of soccer socks for $4.29 per pair. If she spends $25.74 before tax
    14·1 answer
  • Nam owns a used car lot. He checked the odometers of the cars and recorded how far they had driven. He
    7·2 answers
  • Complete the table for the given rule.<br> Rule: y is 0.75 greater than x<br> x y<br> 0<br> 3 <br> 9
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!