1answer.
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
mamaluj [8]
3 years ago
11

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.
Computers and Technology
1 answer:
cestrela7 [59]3 years ago
5 0

Answer:

The correct answer to the following question will be "Math.sqrt(area*2)".

Explanation:

  • The Math.sqrt( ) method in JavaScript is used to find the squares root of the given figure provided to the feature as a variable.
  • Syntax Math.sqrt(value) Variables: this function takes a single variable value that represents the amount whose square root is to be determined.
  • The area of the figure is the number of squares needed to cover it entirely, like the tiles on the ground.

Area of the square = side times of the side.

Because each side of the square will be the same, the width of the square will only be one side.

Therefore, it would be the right answer.

You might be interested in
Input 3 positive integers from the terminal, determine if tlrey are valid sides of a triangle. If the sides do form a valid tria
butalik [34]

Answer:

In Python:

side1 = float(input("Side 1: "))

side2 = float(input("Side 2: "))

side3 = float(input("Side 3: "))

if side1>0 and side2>0 and side3>0:

   if side1+side2>=side3 and side2+side3>=side1 and side3+side1>=side2:

       if side1 == side2 == side3:

           print("Equilateral Triangle")

       elif side1 == side2 or side1 == side3 or side2 == side3:

           print("Isosceles Triangle")

       else:

           print("Scalene Triangle")

   else:

       print("Invalid Triangle")

else:

   print("Invalid Triangle")

Explanation:

The next three lines get the input of the sides of the triangle

<em>side1 = float(input("Side 1: ")) </em>

<em>side2 = float(input("Side 2: ")) </em>

<em>side3 = float(input("Side 3: ")) </em>

If all sides are positive

if side1>0 and side2>0 and side3>0:

Check if the sides are valid using the following condition

   if side1+side2>=side3 and side2+side3>=side1 and side3+side1>=side2:

Check if the triangle is equilateral

<em>        if side1 == side2 == side3: </em>

<em>            print("Equilateral Triangle") </em>

Check if the triangle is isosceles

<em>        elif side1 == side2 or side1 == side3 or side2 == side3: </em>

<em>            print("Isosceles Triangle") </em>

Otherwise, it is scalene

<em>        else: </em>

<em>            print("Scalene Triangle") </em>

Print invalid, if the sides do not make a valid triangle

<em>    else: </em>

<em>        print("Invalid Triangle") </em>

Print invalid, if the any of the sides are negative

<em>else: </em>

<em>    print("Invalid Triangle")</em>

4 0
3 years ago
Which type of visual aid should students use to track small changes over time?
xenn [34]
Line graphs are used to graph change in time
7 0
3 years ago
Read 2 more answers
If multiple people require the use of proprietary software at the same time, what type of license is needed?
docker41 [41]

Answer:

The anwer is C: Concurrent

Explanation:

Concurrent licensing is best known as per concurrent user. As the name suggests, this type of license occurs when a specific group of users in a network accesses a program simultaneously. Assume we have five users who have a per concurrent user license. The five users can access the program at the same time. If another user from the network tries to access this network, he or she will not be logged.

4 0
3 years ago
What does a computer use to determine if an ip address of another computer is on the same network or a different network?
Radda [10]
It uses it's routing table. If the destination is on the same network, it transmits directly via the MAC address. If the destination is on another network, it transmits to whatever the table says for that network. For desktops it's usually a default address of the router on the computer's network.
6 0
3 years ago
Many malware attacks are ____ attacks, which involve more than one type of malware and/or more than one type of transmission met
Sedbober [7]

C. Malicious software (aka malware).

Hope this helps.

7 0
3 years ago
Other questions:
  • What command should you use to rearrange parts of files on the drive so they are contiguous?
    5·1 answer
  • Use a recursion tree to determine a good asymptotic upper bound on the recurrence T(n) = 4T(n/2 + 2) + n. Use the substitution m
    5·1 answer
  • When nat hides the source ip of an originating device, this is known as ________?
    15·2 answers
  • Write multiple if statements: If carYear is before 1967, print "Probably has few safety features." (without quotes). If after 19
    11·1 answer
  • You can use colors, patterns, and borders to enhance the overall appearance of a worksheet and to make it easier to read. One of
    11·1 answer
  • Differences of a desktop computer and a laptop
    13·1 answer
  • Mobile cameras are now of a higher quality than when they first arrived on the market. Describe the difference in
    5·1 answer
  • What is a non-example for job application???
    11·1 answer
  • Can u guys report me as much as u can I’m trying to delete this account
    7·1 answer
  • Write a static method middleValue that takes three int parameters, and returns a int . It should return the middle value of the
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!