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
mojhsa [17]
3 years ago
10

Write a simple algorithm to add two numbers

Mathematics
2 answers:
mr_godi [17]3 years ago
6 0

Answer:

Write an algorithm to add two numbers entered by user. Step 2: Declare variables num1, num2 and sum. Step 3: Read values num1 and num2. Step 4: Add num1 and num2 and assign the result to sum.

lisabon 2012 [21]3 years ago
3 0
Hope it helped . Here is the answer.

You might be interested in
Type the correct answer in the box. Rewrite the quadratic equation in the form y = a(x − h)2 + k. y=5x^2-30x+95
S_A_V [24]

Answer:

y = 5(x - 3)^2 + 50

Step-by-step explanation:

The problem wants you to rewrite the quadratic equation in the vertex form y = a(x - h)^2 + k

You are given a quadratic equation in standard form (ax^2 + bx = c).

To convert from standard form to vertex form, there are two ways but I will show you the easier(?) way.

Use the formula x = -b/2a to find the x-value (h) of the vertex. Note that the vertex in "vertex form" is (h, k) which is virtually the same as (x, y).

In y = 5x^2 - 30x + 95, a = 5, b = -30, and c = 95. Substitute a and b into the formula -b/2a.

  • -(-30) / 2(5)

Two negative make a positive, so -(-30) becomes 30 and 2 times 5 is 10. Now we have:

  • 30/10 which simplifies down to 3.

The x (h) value of the vertex is 3. To find the y-value, substitute 3 into the original standard form equation.

  • y = 5(3)^2 - 30(3) + 95
  • = 5(9) - (90) + 95
  • 45 - 90 + 95
  • 50

The y (k) value of the vertex is 50. Now we have: (h, k) ⇒ (3, 50).

Substitute the values for h and k into the vertex form.

  • y = a(x - 3)^2 + 50

We still need the a-value, and this is easy to find. You take the a value from the original standard for equation (remember: <u>a</u>x^2 + bx + c)

So our a-value is 5. Now we can substitute this value into the vertex form and complete the question.

y = 5(x - 3)^2 + 50

6 0
3 years ago
In a group of Explore students, 38 enjoy video games, 12 enjoy going to the movies and 24 enjoy solving mathematical problems. O
Elodia [21]

Answer:

The number of students that like only two of the activities are 34

Step-by-step explanation:

Number of students that enjoy video games, A = 38

Number of students that enjoy going to the movies, B = 12

Number of students that enjoy solving mathematical problems, C = 24

A∩B∩C = 8

Here we have;

n(A∪B∪C) = n(A) + n(B) + n(C) - n(A∩B) - n(B∩C) -n(A∩C) + n(A∩B∩C)

= 38 + 12 + 24 - n(A∩B) - n(B∩C) -n(A∩C) + 8

Also the number of student that like only one activity is found from the following equation;

n(A) - n(A∩B) - n(A∩C) + n(A∩B∩C) + n(B) - n(A∩B) - n(B∩C) + n(A∩B∩C) + n(C) - n(C∩B) - n(A∩C) + n(A∩B∩C) = 30

n(A) + n(B) + n(C) - 2·n(A∩B) - 2·n(A∩C) - 2·n(B∩C) + 3·n(A∩B∩C) = 30

38 + 12 + 24 - 2·n(A∩B) - 2·n(A∩C) - 2·n(B∩C) + 24 = 30

- 2·n(A∩B) - 2·n(A∩C) - 2·n(B∩C) = -68

n(A∩B) + n(B∩C) + n(A∩C) = 34

Therefore, the number of students that like only two of the activities = 34.

8 0
4 years ago
the base of a triangle prism has an area of 35m. this triangular prism has a height of 7m. what us the volume of this triangular
Trava [24]

Answer:

ion even know

5 0
3 years ago
The isosceles triangle has two sides with the same length. The base is one-half the length of a side. The expression which repre
gavmur [86]

Answer:

20 units

Step-by-step explanation:

s = 8

Perimeter = s + s + \frac{1}{2}*s

                = 8 + 8 + \frac{1}{2}*8

                = 8 + 8 + 4

               = 20 units

8 0
3 years ago
Read 2 more answers
3.9 in fration form in fration
morpeh [17]

Answer:

39 / 10

Step-by-step explanation:

3.9

= 3.9 x 10 / 10

= 39 / 10

6 0
3 years ago
Read 2 more answers
Other questions:
  • Three medium pizzas cost $10.50. How much does it cost to buy 10 medium pizzas?
    8·1 answer
  • One number is -35 the distance between the two numbers on the number line is 20
    10·1 answer
  • One gallon of paint will cover 400 square feet. How many gallons of paint are needed to cover a wall that is 8 feet high and 100
    15·2 answers
  • Which expression can be used to determine the slope of the linear function graphed below?
    6·2 answers
  • In a 30° - 60° - 90° right triangle, the hypotenuse has a length of 8. what is the length of the longer leg?
    9·1 answer
  • Please help! 15 points
    5·1 answer
  • The area of a rectangle is 27 square feet. The length is 6 feet longer than the width.
    12·2 answers
  • -8/9 divided by -8/9 in fraction form
    14·2 answers
  • What are the solutions to the equation 2x^{2}=4x-7 ?
    8·1 answer
  • Can someone please help me figure out what’s 18 3/4 as a decimal
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!