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 degree of the polynomial x4 – 2x3 – 5x2 + 6x is 2 3 4 5
3.8n-13=1.4n+5 with work
The degree of the polynomial x4 – 2x3 – 5x2 + 6x is 2 3 4 5
The firing on Fort Sumter on April 12, 1861, was the first armed conflict of the... A. Revolutionary War B. Civil War C. Seven Years' War D. Mexican War
Who founded the American textile industry in Pawtucket, Rhode Island, by building a spinning jenny based on English technology? A. Eli Whitney B. Samuel Slat
find the surface area of the rectangular prism 9mm 13mm 3mm?
Solve- Four twenty is how many dozen??
Doing a presentation on your favorite device is a good practice for evaluating technology for the workplace. True or False?
Which sentence best describes radiometric dating? A. a technique to measure the absolute age of rocks based on the radioactive decay of isotopes within the rock
How do you find the sum of radical 48 + 147 - 27