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
Vesnalui [34]
4 years ago
14

Given three floating point numbers x, y, and z, output x to the power of y, x to the power of (y to the power of z), the absolut

e value of x, and the square root of xy to the power of z). Ex: If the input is 5.0 6.5 3.2, the output is: a. 34938.56214843421 b. 1.2995143401732918e+279 c. 5.0 d. 262.42993783925596 Hint: Coral has built-in math functions (discussed elsewhere) that may be used.
Mathematics
1 answer:
arsen [322]4 years ago
4 0

Answer & Explanation

// This program is written in Coral Programming Language

// Comments are used for explanatory purpose

//The next 4 lines declares 4 variables. x,y,z and temp. temp is used as a temporary variable

float x

float y

float z

float temp

x = Get next input

y = Get next input

z = Get next input

temp = x // Assign the value of x to a temporary variable. The temporary variable will be used later

// The next line prints x raise to power y

Put RaiseToPower(x,y) to output

Put "\n" to output

//The next two lines calculate and print x raise to power y raise to power z

x = RaiseToPower (x,y)

Put RaiseToPower (x,z) to output

Put "\n" to output

x = temp

//The next two lines calculate and print the absolute value of x

Put AbsoluteValue(x) to output

The next 3 lines calculate and print the square root of xy raise to power of z

x = x * y

x = SquareRoot(x)

Put RaiseToPower (x,z) to output.

// End of Program

You might be interested in
Is this correct? Yes or no, and explain your answer.
Ilya [14]

Answer:

I think the answer you have is correct

Step-by-step explanation:

8 0
3 years ago
The price for strawberries is currently $ 6.40 per pack. next week,strawberries will be on sale at a 20% discount. what is the t
notka56 [123]

Answer:

answer is $5.12

Step-by-step explanation:

Using the formula two and replacing the given values:

Sale Price = Original Price - Amount Saved. So,

Sale Price = 6.40 - 1.28

Sale Price = $5.12 (answer)

This means, the cost of the item to you is $5.12.

You will pay $5.12 for an item with original price of $6.40 when discounted 20%. In other words, if you buy an item at $6.40 with 20% discounts, you pay $6.40 - 1.28 = $5.12

Suppose Have you received a amazon promo code of 1.28. If the price is $6.40 what was the amount saved in percent:

3) 1.28 is what percent off $6.40?

Using the formula two and replacing the given values:

Amount Saved = Original Price x Discount % /100. So,

1.28 = 6.40 x Discount % / 100

1.28 / 6.40 = Discount % /100

100 x 1.28 / 6.40 = Discount %

128 / 6.40 = Discount %, or

Discount % = 20 (answer)

8 0
4 years ago
15 POINTS!!
Alexxx [7]
X^2 - 10x + 8 =0
x^2 - 10 + (-10/2)^2 - (-10/2)^2 + 8 = 0
(x - 5)^2 - 25 + 8 = 0
(x - 5)^2 - 17 = 0
To be honest , this is the final step for this equation. It seems like there is no any suitable answer for this question..
To me , I think the best answer will be the third option.
x - 5 =0
x = 5

2x-10 = 0
2x = 10
x = 5
I guess this answer seems like legit.. So I will choose the third option.
7 0
4 years ago
Read 2 more answers
In the following diagram lines m are n parallel the measures of AEB, BAE and CED are shown what is the measure of EBF
guapka [62]

Answer:

∠ EBF = 98°

Step-by-step explanation:

(3x - 15) and (2x + 10) are vertically opposite angles and are congruent, then

3x - 15 = 2x + 10 ( subtract 2x from both sides )

x - 15 = 10 ( add 15 to both sides )

x = 25

3x - 15 = 3(25) - 15 = 75 - 15 = 60°

The exterior angle of a triangle is equal to the sum of the 2 opposite interior angles.

∠ EBF is an exterior angle of the triangle , then

∠ EBF = 60° + 38° = 98°

8 0
3 years ago
19. Write an equation to represent the relationship
balandron [24]

Answer:

  y = x +3

Step-by-step explanation:

When you examine the table, you see that each y-value is 3 more than the corresponding x-value. This is represented in the equation ...

  y = x +3

8 0
2 years ago
Other questions:
  • A charity organization had to sell 18 tickets to their fundraiser just to cover necessary production costs. They sold each ticke
    14·2 answers
  • ALGEBRA HELP PLEASE
    10·2 answers
  • Identify the triangle that contains an acute angle for which the sine and cosine ratios are equal. Triangle A B C has angle meas
    14·2 answers
  • A(b-c)=d solve for c
    15·1 answer
  • How do you solve this problem? Can anybody help
    9·1 answer
  • Let d represent the day of the month. Can d be 15? 56? 28? 0?
    8·1 answer
  • Naomi has earned $54 mowing lawns
    5·1 answer
  • Danielle wants to know if a new dresser will fit next to her bed. The dresser she would like to buy is 73 centimeters wide. She
    13·1 answer
  • In 2004 there were 72 million voters registered as Democrats, 55 million American voters registered as Republicans, and 42 milli
    7·1 answer
  • What amount of heat is required to raise the temperature of 5 kg of water through 20° c?<br>​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!