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
Sophie [7]
2 years ago
6

Write getfirstroot and getsecondroot to return the first and second roots. return a domain_error is there is no first or second

root. constant functions
Computers and Technology
1 answer:
maw [93]2 years ago
5 0

The square root is represented by the symbol "." The symbol is also known as a radical, and the radicand is the number it designates. Say the radicand in the number 3 is.

The "square root" is the common name for the second root. Typically, the third root of a number is referred to as the "cube root." Thereafter, the roots are referred to as the nth root, for instance, the 5th root, the 7th root, etc.

<h3>What is square root?</h3>
  • In mathematics, the square root of a number is a factor that, when multiplied by itself, yields the original value.
  • The Babylonians developed efficient techniques for calculating square roots as early as the second millennium bc.
  • The radical symbol for the number's root is shown here.
  • The square of the positive number is represented by multiplying it by itself.
  • The original number is obtained by taking the square root of the square of a positive number.
  • For instance, 3 squared equals 9, 32 squared equals 9, and 9 squared divided by 9 equals 3.

To learn more about  square root, refer to:

brainly.com/question/620307

#SPJ4

You might be interested in
Some programming languages permit arbitrary flow of control from any place in a program to any other place in the program. Not J
liraira [26]
Besides portability, another of Java's key advantages is its set of security features which protect a PC running a Java program not only from problems caused by erroneous code but also from malicious programs (such as viruses). You can safely run a Java applet downloaded from the Internet, because Java's security features prevent these types of applets from accessing a PC's hard drive or network connections. An applet is typically a small Java program that is embedded within an HTML page.
4 0
3 years ago
Add me on Insta hopethe56
MrRissso [65]
Hsoanabaiis Okay will do
5 0
3 years ago
Read 2 more answers
What benefit does Single Sign-On provide for application users?
lora16 [44]
So there is not a second sign on

5 0
3 years ago
How do you put text in MS publisher?<br><br> When do you use text wrapping?
coldgirl [10]
First question: On the Format tab, in the Arrange group, click Wrap Text. Do one of the following: Click Square to wrap text around the border of your image. Click Tight to wrap text closely around an irregularly shaped picture.


Second question: you use text wrapping when you want to surround a picture or diagram with text.

Hope this helps!
7 0
3 years ago
Write a program that contains the following two methods: /** Convert from feet to meters */ public static double footToMeter (do
mixer [17]
<h3><u>Complete Question:</u></h3>

Write a program that contains the following two methods:

/** Convert from feet to meters */

public static double footToMeter(double foot)

/** Convert from meters to feet */

public static double meterToFoot(double meter)

<em>The formula for the conversion is: meter = 0.305 * foot and foot = 3.279 * meter Write a test program that invokes these methods. PLEASE WRITE IN JAVA.</em>

<em />

<em />

<em />

<h3><u>Answer:</u></h3>

//Declare the class

public class Converter{

   

    //method footToMeter that receives the foot as parameter

    public static double footToMeter(double foot){

        //declare a double variable called meter,

        //to hold the result of the conversion

        double meter;

       

        //using the given formula, conver the foot to meter and

        //store the result in the meter variable

        meter = 0.305 * foot;

       

        //return the result stored in meter

        return meter;

    }

   

   

    //method meterToFoot that receives the meter as parameter

    public static double meterToFoot(double meter){

        //declare a double variable called foot,

        //to hold the result of the conversion

        double foot;

       

        //using the given formula, convert the meter to foot and

        //store the result in the foot variable.

        foot = 3.279 * meter;

       

        //return the result stored in foot.

        return foot;

    }

   

   

    //Test program to invoke those methods

    public static void main(String []args){

           

           //Convert 120 feet to meter

           System.out.println("120 feet to meter is " + footToMeter(120));

           

           //Convert 36 meters to foot

           System.out.println("36 meters to feet is " + meterToFoot(36));

    }

   

   

}  //End of class declaration

<h3><u>Sample Output:</u></h3>

120 feet to meter is 36.6

36 meters to feet is 118.044

<h3><u>Explanation</u>:</h3>

The above code has been written in Java and it contains comments explaining each line of the code. Please go through the comments.

There is also a sample output from the run of the code.

An screenshot containing the program and the output has also been attached to this response.

7 0
4 years ago
Other questions:
  • A phone call costs $0.58 plus $0.15 cents per minute. If the total charge for the call was $4.78, how many minutes was the call?
    15·1 answer
  • Read the following scenario, and then answer the question below.
    15·2 answers
  • Reversing the elements of an array involves swapping the corresponding elements of the array: the first with the last, the secon
    11·1 answer
  • On my iphone there is system services, what are they.
    9·1 answer
  • Choose the web design factor from the drop-down menus that best represents each statement. A. Good web pages stick to the point,
    15·1 answer
  • Why do people still use Intel HD graphics for gaming?
    8·1 answer
  • Generally speaking, what is a “best practice"?
    13·1 answer
  • <img src="https://tex.z-dn.net/?f=%5Cmathcal%7B%5Cfcolorbox%7Bblue%7D%7Byellow%7D%7B%5Cred%7BQUESTIONS%3A%7D%7D%7D" id="TexFormu
    9·2 answers
  • 2. 2 extension A file saved in LOGO will have parts 3. Aprocedure consists ofthe file saved if I saved in logo will have instruc
    14·1 answer
  • A department store maintains data on customers, products, and purchase records in three tables: customer, product, and purchase.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!