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
Without solving determine the number of real solutions for each quadratic equation
seropon [69]

Answer:

b^2-4b+3=0

b²-3x-b+3=0

b(b-3)-1(b-3)=0

(b-3)(b-1)=0

either

b=3 or b=1

.

2n^2 + 7 = -4n + 5

2n²+4n+7-5=0

2n²+4n+2=0

2(n²+2n+1)=0

(n+1)²=0/2

:.n=-1

.

x - 3x^2 = 5+ 2x - x^2

0=5+ 2x - x^2-x +3x^2

0=5+x+2x²

2x²+x+5=0

comparing above equation with ax²+bx +c we get

a=2

b=1

c=5

x={-b±√(b²-4ac)}/2a ={-1±√(1²-4×2×5)}/2×1

={-1±√-39}/2

3 0
2 years ago
Mary made 1/5 of a batch of cookies in 1/10th of an hour, how many batches of cookies can she make in one hour? This is unit rat
barxatty [35]

Answer:

1/5 ÷ 1/10 = 10/5

Step-by-step explanation:

7 0
3 years ago
What is the surface area of the right trapezoidal prism? To receive credit, you must show the work used to arrive at a final ans
julia-pushkina [17]

Answer:

210 cm²

Step-by-step explanation:

The net of the right trapezoidal prism consists of 2 trapezoid base and four rectangles.

Surface area of the trapezoidal prism = 2(area of trapezoid base) + area of the 4 rectangles

✔️Area of the 2 trapezoid bases:

Area = 2(½(a + b)×h)

Where,

a = 7 cm

b = 11 cm

h = 3 cm

Plug in the values

Area = 2(½(7 + 11)×3)

= (18 × 3)

Area of the 2 trapezoid bases = 54 cm²

✔️Area of Rectangle 1:

Length = 6 cm

Width = 3 cm

Area = 6 × 3 = 18 cm²

✔️Area of Rectangle 2:

Length = 7 cm

Width = 6 cm

Area = 7 × 6 = 42 cm²

✔️Area of Rectangle 3:

Length = 6 cm

Width = 5 cm

Area = 6 × 5 = 30 cm²

✔️Area of Rectangle 4:

Length = 11 cm

Width = 6 cm

Area = 11 × 6 = 66 cm²

✅Surface area of the trapezoidal prism = 54 + 18 + 42 + 30 + 66 = 210 cm²

7 0
2 years ago
Given the following formula , solve for t.
hodyreva [135]

I think it’s c. Not sure though. Pure guess
4 0
3 years ago
Find the median of these numbers ? 2,7,5,4,3
kotykmax [81]

Answer:

4

Step-by-step explanation:

MARK AS BRAINLIST!!

5 0
3 years ago
Read 2 more answers
Other questions:
  • which expression is equivalent to 5(2x - 7) A. 2x - 35 B. 7x - 2 C. 7x - 12 D. 10x - 7 or E. 10x - 35
    15·1 answer
  • Solve the system of linear equations and check any solution algebraically
    11·2 answers
  • Let f be an exponential function and g be a logarithmic function.
    6·1 answer
  • 10 cookie someone eats 4 of them he ate what percentage of the cookies
    9·1 answer
  • Please help me with this SHOW WORK ON PAPER
    15·2 answers
  • Can someone help me please
    9·1 answer
  • Simplify the given expression below:<br> (4 + 21) – (1 – 71)
    15·2 answers
  • Of the 100 oil paintings at the museum, 28 were portraits. What percentage of the oil paintings on display were portraits?
    12·1 answer
  • I want to install carpet in my living room, which is 200 inches long and 50 ft wide. The carpet is sold for 5000 naira per yard2
    6·1 answer
  • 1,2/3,1/4,1/2,1/3 least to greatest
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!