radomes.openskiesproject.org
Mi8rianaluzBoxen Mi8rianaluzBoxen
  • 08-02-2017
  • Computers and Technology
Answered

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.

Verified Answer :

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

Related Questions

A ball is thrown upward from the top of a building The function below shows the height of the ball in relation to sea level ft in feet at different times t in s
The sum of fifteen and six times a number t is eightyone What is the number
which industry most spurred economic growth and innovation in related industries 1 point A railroads B foods C oil D steel
True or falseThe main and only purpose of jihad on the battlefield is to bring unbelievers intoobedience to Islamic lawTrueFalse
Write the prime factorization of 84
what was John Rolfes chief contribution to Virginias economy
Who wrote the book sabriel
What does this equal 3x4
An ice machine uses 3 gallons of water every 9 hours How many gallons of water does it use each hour How many hours does it take to use one gallon
which choice is the equation of a line that has a yintercept of 3 and is perpendicular to the line represented by this equation y23x1