Mi8rianaluzBoxen Mi8rianaluzBoxen
  • 08-02-2017
  • Computers and Technology
contestada

The area of a square is stored in a double variable named area. write an expression whose value is length of the diagonal of the square.

Respuesta :

kaevras
kaevras kaevras
  • 08-02-2017
You should specify what language you're using in these types of questions; here's an example in C++.

#include <iostream>
#include <math>

int main()
{
// example area
double area = 25;

// square root the area to find the length
// then apply basic pythagoras
double diagonal = sqrt(pow(sqrt(area), 2) + pow(sqrt(area), 2));

return 0;
}
Answer Link

Otras preguntas

The Roman Assembly was made up of 300 members from what social class?
Find the values of x and y.
I need the answers immediately hw is due in 5 mins!!!!!!! Which is NOT a solution of the inequality: 5 - 2x ≥ -3 ? * 0 2 4 5
, why did détente end?
A certain metal forms a soluble nitrate salt M(NO3)3. Suppose the left half cell of a galvanic cell apparatus is filled with a 3.0mM solution of M(NO3)3 and the
Which of the following is hydrochloric acid? a HBr b HF c HNO3 d HCl
One cubic centimeter of sand weighs 1.9 grams. Find the amount of sand that the sandcastle bucket can hold.
A circle fits in a square with sides of 12 inches what is the appt area of the shaded region. Between the square and circle using 3.14 and round to nearest whol
what is 2n+3n +1 +8n+4
Which of the following grievances from the Declaration of Independence is addressed in the Bill of Rights? A)Due process B)Quartering of soldiers C)No taxation