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
Inessa [10]
1 year ago
12

Write the if/else statement as the conditional expression that performs the same option result = x < y ? x * 5 : a b;

Mathematics
1 answer:
Semenov [28]1 year ago
8 0

The conditional statement is

if x < y:

  result = x * 5

<h3>How to write the if/else statement as the conditional expression that performs the same option?</h3>

The statement is given as:

result = x < y ? x * 5

The above means that,

the variable result is assigned  x * 5 if x < y

So, the conditional statement is

if x < y:

  result = x * 5

Read more about conditional statement at

brainly.com/question/11073037

#SPJ4

You might be interested in
Whitch of the given systems is equivalent to the given system? In math
tensa zangetsu [6.8K]

Answer:

Two systems of equations are equivalent if they have the same solution(s).

3 0
2 years ago
The basketball boosters are selling school t-shirts for 20 dollars and pants for 45 dollars. Last week they sold 100 items and c
lana66690 [7]

He sold 76 shirts and 24 pants.

Step-by-step explanation:

Given,

Cost of one t-shirt = $20

Cost of one pants = $45

Total items sold = 100

Total sales = 2600

Let,

x be the number of t-shirts

y be the number of pants

According to given statement;

x+y=100    Eqn 1

20x+45y=2600   Eqn 2

Multiplying Eqn 1 by 20

20(x+y=100)\\20x+20y=2000\ \ \ Eqn\ 3

Subtracting Eqn 3 from Eqn 2

(20x+45y)-(20x+20y)=2600-2000\\20x+45y-20x-20y=600\\25y=600

Dividing both sides by 25

\frac{25y}{25}=\frac{600}{25}\\y=24

Putting in Eqn 1

x+24=100\\x=100-24\\x=76

He sold 76 shirts and 24 pants.

Keywords: linear equations, subtraction

Learn more about linear equations at:

  • brainly.com/question/289820
  • brainly.com/question/2826639

#LearnwithBrainly

3 0
3 years ago
a square flower garden in Samantha's backyard has an area of 100 square feet how much fencing will she need to enclose the flowe
Arlecino [84]
If Samantha's backyard has an area of 100 square feet, and you need to know how much fencing to enclose the garden, you know you are looking for the parameter of the garden. To fine the parameter you have to know the length of the sides. Area of a square is length times width and length and width are the same value. So what you know the square-root of 100 is the value of each side. So each side of the garden is 10 feet long. To find parameter all you do is add up all four sides. 10+10+10+10 = 40 feet need to enclose the flower garden.<span />
5 0
3 years ago
Sophia has an ear infection. The doctor prescribes a course of antibiotics. Sophia is told to take 500 mg doses of the antibioti
ser-zykov [4K]

Answer:

Step-by-step explanation:

Part 1:

Let 

     Q₁ = Amount of the drug in the body after the first dose.

     Q₂ =  250 mg

As we know that after 12 hours about 4% of the drug is still present in the body.

For Q₂,

we get:

            Q₂ = 4% of Q₁ + 250

                  = (0.04 × 250) + 250

                  = 10 + 250

                  = 260 mg

Therefore, after the second dose, 260 mg of the drug is present in the body.

Now, for Q₃ :

We get;

          Q₃ = 4% of Q2 + 250

               = 0.04 × 260 + 250

               = 10.4 + 250

               = 260.4

For Q₄,

We get;

          Q₄ = 4% of Q₃ + 250 

                = 0.04 × 260.4 + 250

                = 10.416 + 250 

                = 260.416

Part 2:

To find out how large that amount is, we have to find Q₄₀.

Using the similar pattern

for Q₄₀,

We get;

           Q₄₀ = 250 + 250 × (0.04)¹ + 250 × (0.04)² + 250 × (0.04)³⁹

Taking 250 as common;

           Q₄₀ = 250 (1 + 0.04 + 0.042 + ⋯ + 0.0439)

                 = 2501 − 0.04401 − 0.04

           Q₄₀ = 260.4167

Hence, The greatest amount of antibiotics in Susan’s body is 260.4167 mg.

Part 3:

From the previous 2 components of the matter, we all know that the best quantity of the antibiotic in Susan's body is regarding 260.4167 mg and it'll occur right once she has taken the last dose. However, we have a tendency to see that already once the fourth dose she had 260.416 mg of the drug in her system, that is simply insignificantly smaller. thus we will say that beginning on the second day of treatment, double every day there'll be regarding 260.416 mg of the antibiotic in her body. Over the course of the subsequent twelve hours {the quantity|the quantity|the number} of the drug can decrease to 4% of the most amount, that is 10.4166 mg. Then the cycle can repeat.

3 0
3 years ago
Which two of the objects shown below could we slice diagonal to their bases/faces to create ellipse cross-
nalin [4]

Answer: cone and cylinder

Step-by-step explanation: idk but it’s the right answers

5 0
2 years ago
Other questions:
  • A man invested $500 in the stock market. During the first week,he gained $200.During the second week, the market was strong and
    15·1 answer
  • tom paid $1,166.40 for a new refrigerator, including $86.40 tax. What was the price of the refrigerator?
    10·1 answer
  • How to put 18/5 improper fraction as a decimal
    15·2 answers
  • Write an expression for "8 times z."
    6·1 answer
  • PLEASE SOMEONE HELP EASY Y6 QUESTION
    6·2 answers
  • ILL GIVE BRAINLEST, find the value of x
    6·1 answer
  • Kacy is on her freshman volleyball team.she makes 31%of her foul shots,leading her team to 14 wins in 19 games of the season. If
    7·1 answer
  • In the rectangle LOBA, if m∠1 = 36°. Find m∠OBA and m∠2.<br> m∠OBA = <br> m∠2 =
    13·1 answer
  • 1. What are the vertices, angles, diagonals and sides of the polygon?
    5·1 answer
  • Which two equations represent a nonlinear function?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!