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
HURRY BRAINLIEST AND 40 POINTS!!!
grandymaker [24]

Answer:

The answer is the first one and the last one.

Step-by-step explanation:

If an account cost $1 and each song is 1.5x. It has to be less than or equal to 25. So it would be $1 for (the account plus) 1.5x for (how many songs he buys) is less than or equal to 25 (the ammount on the gift card).

8 0
2 years ago
Read 2 more answers
Which best describes thepolynomial 7xy - 15y^3
otez555 [7]

Answer:

Step-by-step explanThis polynomial has three terms. The first one is 4x2, the second is 6x, and the third is 5. The exponent of the first term is 2. The exponent of the second term is 1

8 0
2 years ago
Underage drinking, Part II: We learned in Exercise 3.25 that about 69.7% of 18-20 year olds consumed alcoholic beverages in 2008
Murrr4er [49]

Answer:

Step-by-step explanation:

Hello!

The variable of interest is

X: number of 18-20-year-olds that consume alcoholic beverages in a sample of 50.

The proportion of underage people that drinks are known to be p= 0.697

This variable is discrete. This experiment has two possible outcomes success or failure, we will call "success" each time we encounter an underage individual that consumes alcohol and "failure" will be counting an underage that does not consume alcohol. The number of repetitions of the trial is fixed n= 50. All randomly selected underage individuals are independent and the probability of success is constant trough the whole experiment p=0.697.

Then we can say that this variable has a binomial distribution and we will use that distribution to do the calculations.

a. Under a binomial distribution, the expected value is calculated as:

E(X)= n*p= 50*0.697= 34.85.

The variance of a binomial distribution is:

V(X)= n*p*(1-p)= 50*0.697*0.303= 10.55955

And the standard deviation is the square root of the variance:

√V(X)= 3.2495 ≅ 3.25

b. To know how rare the value 45, you have to see how distant it is concerning the expected value. For this you have to subtract the expected value and divide it by the standard deviation:

[X-E(X)]/√V(X)

(45-34.85)/3.25= 3.12

The value X=45 is 3.12 standard deviations above the mean, which means that it would be rare to find 45 people or more than consumed alcohol.

c. P(X≥45) = 1 - P(X<45)= 1 - P(X≤44)= 1 - 0.9994= 0.0006

I hope it helps!

8 0
2 years ago
A remote-controlled plane is flying 16.5 meters above the ground. The plane dives 8 meters
s2008m [1.1K]

Answer:

B

Step-by-step explanation:

3 0
2 years ago
Select the factors of 6ab + 3ay − 2bx − xy.
V125BC [204]
Answer
<span>A. (3a − x)(2b + y)

cause

</span><span> (3a − x)(2b + y) = 6ab + 3ay -2bx -xy (expand by using distributive property)</span>
3 0
2 years ago
Read 2 more answers
Other questions:
  • A bank is offering home loans at an interest rate of 5 1/2%. Write the percent as a fraction in simplest form.
    6·2 answers
  • Mrs Stokes bought 3 packages of fruit juice. Each pkg has 2 rows of 6 boxes in each row. How many boxes of fruit juice did Mrs.
    9·2 answers
  • Which of the following is the radical expression of a to the four ninths power?
    15·2 answers
  • The function d(t)=300,000t represents the distance (in kilometers) that light travels in t seconds.
    15·1 answer
  • LK is tangent to circle J at point K. Circle J is shown. Line segment J K is a radius. Line segment K L is a tangent that inters
    10·2 answers
  • Adam runs for 10 minutes at 30 miles per hour. How far does he run?
    15·2 answers
  • Horatio is solving the equation Negative three-fourths + two-fifths x = StartFraction 7 Over 20 EndFraction x minus one-half. Wh
    11·1 answer
  • An account is opened with $7,595.96 with a rate of increase of 2% per year. After 1 year, the bank account contains $7,746.90. A
    6·1 answer
  • Jessie thinks that the first step in solving the equation shown below could be to use the addition property of his equality. His
    8·2 answers
  • Given the expression below if p=-3/2 which is thr smallest subset containing the value of the expression.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!