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

a sentence with postindustrial
Find a function that models the area A of an equilateral triangle in terms of the length x of one of its sides.A(x)= ?
Why did the early people need to find new food sources
America: The Story of Us Heartland~ Episode 6
Which of the following elements will most easily lose its electrons to fluorine to form a salt? A Na B Al C S D Ar
What is the multiplicative inverse of 2/3.
how do you say "the golden one" in spanish
Express 31/30 as a mixed number. What is the answer?
What was a political machine? How does it work?
Which of the following best describes the graph of the system of equations shown below? 6x − 14y = −28 3y − 7x = −14 A The lines are parallel. B The lines are t
good job