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
kap26 [50]
3 years ago
5

Four int variables, x1, x2, y1, and y2, have been declared and been given values. write an expression whose value is the differe

nce between the larger of x1 and x2 and the smaller of y1 and y2.
Mathematics
1 answer:
Katen [24]3 years ago
7 0
Even though we are using variables, we still know that "difference" means subtraction. So, if the larger is x1 and x2, those variables go first. The smaller, y1 and y2 will go second. So our problem will look like this:

(x1 <  x2 ? x2 : x1) - (y1 < y2 ? y1 : y2)
You might be interested in
LA
jeka94

Answer:

6

Step-by-step explanation:

6 0
3 years ago
In the number 4,118, how does the value represented by the 1 in the hundreds place compare with the value represented by the 1 i
hichkok12 [17]

Answer:

its 10 times

Step-by-step explanation:

its because the value of 1 in the ten place and multiply by 10 to get the 1 in the hundred place or the 1 in the hundred place divide by 10 to get 1 in the tens place

7 0
3 years ago
Is there statistically significant evidence that the districts with smaller classes have higher average test​ scores? The t​-sta
Musya8 [376]

Complete Question

The complete question is shown on the first uploaded image

Answer:

The  95% confidence interval is [670.03  , 673.97 ]

The  test statistics is t = 7.7

The  p-value  is    p-value  =  0

The <u>p-value</u>  suggests that the null hypothesis is<u> rejected </u>with a high degree of confidence. Hence  <u>there is</u> statistically significant evidence that the districts with smaller classes have higher average test score  

Step-by-step explanation:

From the question we are told that

   The sample size is  n =  408

    The sample mean is  \= y  =  672.0

   The standard deviation is  s = 20.3

Given that the confidence level  is 95% then the level of significance is  

   \alpha = (100 -95 )\% = 0.05

From the normal distribution table  the critical value of \frac{\alpha }{2} = \frac{0.05 }{2} is  

    Z_{\frac{\alpha }{2} } =  1.96

Generally  the margin of error is mathematically represented as  

     E  =  Z_{\frac{\alpha }{2} } *  \frac{s}{\sqrt{n} }

=>   E  =  1.96 *  \frac{20.3}{\sqrt{408} }

=>     E  =  1.970

Generally the 95% confidence interval is mathematically represented as

       \= y -E  < \mu <  \= y + E

=>     672.0 -1.970  < \mu < 672.0 +1.970

=>     670.03  < \mu < 673.97

=>     [670.03  , 673.97 ]

From the question we are told that

   Class size                                  small                                      large

  Avg.score(\= y)         \= y_1 = 683.7   \= y_2 =  676.0

   S_y                          S_{y_1} =20.2    S_{y_2} = 18.6

   sample size                             n_1 = 229        n_2 =  184

The  null hypothesis is  H_o :  \mu_1 - \mu_2 = 0

The alternative hypothesis is  H_a :  \mu_1 - \mu_2 > 0

Generally the standard error for the difference in mean is mathematically represented as

       SE =  \sqrt{\frac{S_{y_1}^2 }{n_1} +\frac{S_{y_2}^2 }{n_2}   }

=>     SE =  \sqrt{20.2^2 }{229} +\frac{18.6^2 }{184_2}   }

=>     SE =  1.913

Generally the test statistics is mathematically represented as

      t = \frac{\= y _1 - \= y_2 }{SE}

=>    t = \frac{683.7 - 676.0 }{1.913}

=>   t = 7.7

Generally the p-value is mathematically represented as

    p-value  =  P(t >  7.7 )

From the  z-table

        P(t >  7.7 ) =  0

So

   p-value  =  0

From the values we obtained and calculated we can see that p-value  <  \alpha

This mean that

The p-value  suggests that the null hypothesis is rejected with a high degree of confidence. Hence  there is statistically significant evidence that the districts with smaller classes have higher average test score  

4 0
3 years ago
Kelvin makes a map of his apartment using a coordinate system with yards as the units. The point (-9,8) represents the main entr
bulgar [2K]

Answer:

4.5

Step-by-step explanation:

3 0
2 years ago
A sequence is defined by the recursive function f(n 1) = f(n) – 2.if f(1) = 10, what is f(3)?16830
iogann1982 [59]
Hello,

f(n+1)=f(n)-2
f(1)=10
f(2)=8
f(3)=6
...
5 0
3 years ago
Read 2 more answers
Other questions:
  • Question
    11·1 answer
  • I have a math question
    7·2 answers
  • At a recent winter Olympics USA short track speed to skater Apolo Ohno won a gold medal by skating about 12 m/s rounded to the n
    11·1 answer
  • By construction copy the angles given leave all construction arcs in your final figure
    9·2 answers
  • One car rental company charges $30 per day plus $0.25 per mile driven. A second company charges $40 per day plus $0.10 per mile
    10·1 answer
  • Which of the following equations demonstrate the set of polynomials is not closed under the certain operations?
    12·1 answer
  • 12% of what number is 20?
    15·1 answer
  • What is the value of n in the equation below? a^n/ a^3 = a^9 <br>a. 3 <br>b. 6 <br>c. 12 <br>d. 27​
    12·1 answer
  • Please help me ASAP if tell me how you get the answer I will mark brainliest!
    14·2 answers
  • The equation representa Function A and the graph represents Function B
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!