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

all funguslike protists are able to do this at some point in their lives
What type of business practice did Andrew Carnegie pioneer with the Carnegie Steel Corporation?
use picture and words to show the attributes of a hexagon
how did the effects of the mongol invasion conquest differ in china, russia and persia
A student records the mass of a piece of iron. The iron is then left outside until it rusts. What type of reaction occurs, and how does the mass of the object a
NEW LONDON CONN IS THE LOCATION OF
What is the capital of mexico?
what chromosomes move to the middle of the spindle during what phase
Which American naturalist convinced President Roosevelt to set aside Yosemite Valley as a national park? A. Samuel McClure B. Leland Stanford C. John
In Van Gogh’s Starry Night, he incorporated symbolic expression, using the visual elements of art, through all of the following actions, except which? a. The