answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
agasfer [191]
2 years ago
5

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 java
Mathematics
1 answer:
lbvjy [14]2 years ago
3 0

First of all, a bit of theory: since the area of a square is given by

A = s^2

where s is the length of the square. So, if we invert this function we have

s = \sqrt{A}.

Moreover, the diagonal of a square cuts the square in two isosceles right triangles, whose legs are the sides, so the diagonal is the hypothenuse and it can be found by

d = \sqrt{s^2+s^2} = \sqrt{2s^2} = s\sqrt{2}

So, the diagonal is the side length, multiplied by the square root of 2.

With that being said, your function could be something like this:

double diagonalFromArea(double area) {

double side = Math.sqrt(area);

double diagonal = side * Math.sqrt(2);

return diagonal;

}

You might be interested in
Last month the ending balance on Maryanne’s Mastercard was $1,789, the average daily balance was $755, and the monthly periodic
melisa1 [442]

Answer:

False

Step-by-step explanation:

Based on the information given we can calculate the finance charge of Maryanne’s by simply multiplying her average daily balance which is the amount of $755 times her monthly periodic rate which is 0.0185.

Hence, Maryanne's finance charge is calculated by using this formula

Finance charge=Average daily balance*Monthly periodic rate

Let plug in the formula

Finance charge= $755* 0.0185

Finance charge= $13.97

Therefore Maryanne's finance charge will be $13.97

4 0
2 years ago
y - 5 = 0.5x2 + 6x - 3 How many x-intercepts does the graph of this quadratic have? Two x-intercepts One x-intercept No x-interc
inysia [295]
Here, if you have any questions feel free to ask

8 0
2 years ago
Read 2 more answers
The loudness, L, measured in decibels (Db), of a sound intensity, I, measured in watts per square meter, is defined as L = 10 lo
butalik [34]

Answer:

The approximate loudness of a rock concert with a sound intensity of 10^{-1} is 110 Db.

Step-by-step explanation:

The loudness, L, measured in decibels (Db), of a sound intensity, I, measured in watts per square meter, is :L=10 log (\frac{I}{I_0})

I_0=10^{-12}

We are supposed to find  What is the approximate loudness of a rock concert with a sound intensity of 10^{-1}

So, I = 10^{-1}

Substitute the values in the formula :

L=10 log (\frac{10^{-1}}{10^{-12}})

L=10 log (10^{11})

L=110 Db

So, the approximate loudness of a rock concert with a sound intensity of 10^{-1} is 110 Db.

7 0
1 year ago
Read 2 more answers
The price of the box of 10 markers is $7. The price of the box of 24 markers is $14. All prices without tax, and the price of th
Thepotemich [5.8K]

Answer:

34$

Step-by-step explanation:

10markers _7$. 24markers_14$ add 10+ 24

3 0
2 years ago
Saira weights 25 pounds more than umbar . If together they weight 205 pounds. What is the weight of saira
goblinko [34]
To solve this, you can create an equation. Say the weight of Umbar is x, then Saira weighs x+25. Together they weigh 205. So, you get the equation

x+x+25=205

Then solve for x. 

2x+25=205
2x=180
x=90

Then to find Saira's weight, add 25 to Umbar's weight. 

90+25=115.
6 0
2 years ago
Other questions:
  • The transportation department has to put a railing along the outer curve of this road. The road is 20 feet wide. What is the len
    10·2 answers
  • "alan drives an average of 100 miles each week. his car can travel an average of 25 miles per gallon of gasoline. alan would lik
    12·2 answers
  • Two brothers build a pyramid-shaped fort. If the fort is 8 feet wide at its base, what expression could be used to calculate the
    15·2 answers
  • In this problem, a, b, c and d are nonzero integers. If a/b is added to x, the sum is c/d. Which statement can be used to prove
    6·2 answers
  • If JK || LM, Which of the following statements are true ? (Check all that apply)
    5·2 answers
  • The Graduate Management Admission Test (GMAT) is taken by individuals interested in pursuing graduate management education. GMAT
    13·1 answer
  • A contractor has at most $42 to spend on nails for a project. Finishing nails cost $0.45 per pound and common nails cost $0.60 p
    11·1 answer
  • Drag the tiles to the correct boxes to complete the pairs. Not all tiles will be used. Match each equation with the operation yo
    5·2 answers
  • Twenty percent of what number is equal to five percent of 680
    10·1 answer
  • A customer hands you $3,850 in cash and would like to purchase 14 prepaid
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!