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

Which statement is true about the relationship between a monopoly and its competition in a market?
Which continent includes the coordinates of 30 south latitude south latitude 135 east longitude?
Which one of the following sentences contains an error in capitalization? A. Americans were not prepared for the Winter of 2014. B. I think we should plan a tri
What number divided by 5 equals 7
Why did some American Revolutionary leaders believe a central government was necessary? A) They did not want the states to have any rights. B) A central g
what is the fuction eqation for (0,-2)and (5,-1)
What is the equation of the graphed line? Hint: Determine the slope of the line y =  x .
The Enlightenment thinker Baron de Montesquieu came up with the idea of
A constellation is _______ that forms a pattern resembling animals, mythological characters, or objects. A. a group of meteors B. a group of stars C. an entire
What is the greatest common factor of 14 56 63?