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
alukav5142 [94]
3 years ago
9

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: 34938.56214843421 1.2995143401732918e+279 5.0 262.42993783925596 Hint: Coral has built-in math functions (discussed elsewhere) that may be used.
Computers and Technology
1 answer:
Angelina_Jolie [31]3 years ago
3 0

Answer:

float x

float y

float z

x = Get next input

y = Get next input

z = Get next input

Put RaiseToPower(x, y) to output

Put "\n" to output

Put RaiseToPower(x, RaiseToPower(y, z)) to output

Put "\n" to output

Put AbsoluteValue(x) to output

Put "\n" to output

Put SquareRoot(RaiseToPower(x*y, z)) to output

Explanation:

The first three lines of code is simply declaring the data type of the x, y and z variables which was declared as float type meaning number with decimal points.

The next three lines after the first three lines is getting the input from the user

In coral, we use Put <expression> to output to display <expression> to the console

For the first Put statement, I am telling the interpreter to display the value of x raised to the power of y to the console by using Coral's RaiseToPower built-in math function

The Put "\n" to output statement scattered in the snippet is just for formatting reasons so that each result will be displayed in a newline

The next computation RaiseToPower(x, RaiseToPower(y, z)) is a bit nested but  it is actually doing this: x^{y^{z} }

The next computation is AbsoluteValue(x) is doing this |x|

And the final computation SquareRoot(RaiseToPower(x*y, z)) is doing this:

\sqrt{(xy)^{z} }

You might be interested in
The ________ of the operating system enables users to communicate with the computer system. Select one: A. user interface B. mod
Mumz [18]
The user interface of the operating system
8 0
3 years ago
Common separators or delimiters used when converting a table to text include _______________________ , paragraph marks, or comma
Anon25 [30]

Answer:

tabs.

Explanation:

Microsoft Word refers to a word processing software application or program developed by Microsoft Inc. to enable its users to type, format and save text-based documents.

In Microsoft Word 2019, the users are availed with the ability to edit the word document in the following view type;

I. View Mode.

II. Print Mode.

III. Drift Layout.

To easily and quickly convert text to tables in Microsoft Word, you should insert common separators between the text columns. The common separators or delimiters used when converting a table to text include tabs, paragraph marks, or commas.

Tabs or commas are used to indicate where the texts are divided into table columns while paragraph marks indicate where a new table row begins.

6 0
3 years ago
____ are types of changes that occur when text has been omitted from a document and must be inserted later.
VMariaS [17]
You already wrote the answer. It is Additions
7 0
3 years ago
unittttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
alukav5142 [94]
What the hell is the point of this, just to waist people's time?
5 0
3 years ago
If you weigh 100 pounds, and your 150 pound big sister is sitting 15 feet from the fulcrum of a seesaw, how far from the fulcrum
Dahasolnce [82]

Answer:

22.5

Explanation:

My weight = 100 pounds

Sister's weight = 150

Distance from fulcrum = 15 ft

Distance has an inverse proportion with weight

Distance = k/w

Where k is a constant

K = distance x weight

K = 100 x distance

150 x 15 = 100 distance

2250 = 100 distance

Divide through by 100 to get distance

2250/100 = distance

Distance = 22.5

5 0
3 years ago
Other questions:
  • Data mining must usestatistics to analyze data.<br> True<br> False
    12·1 answer
  • Which of the following savings vehicles usually requires a high minimum balance? ASimple savings account BCertificate of Deposit
    7·1 answer
  • How can you keep your files organized on your computer?
    13·2 answers
  • Which of the following is productivity strategy for collaboration?
    6·1 answer
  • In Access, it is possible to have _______________ fields, that is, fields that can contain more than one value.
    9·1 answer
  • How an operating system allocates system resources in a computer​
    15·1 answer
  • Question :
    6·1 answer
  • Tuesday
    10·1 answer
  • Assume the user responds with a 3 for the first number and a 4 for the second number.
    13·1 answer
  • Write a program that produces an expense report for a trip to Lagos, Nigeria. Use the Internet to research the cost to travel to
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!