what...? how is this a question??
Answer:
Thank you for the free points.
Answer:
Explanation:
The following code is written in Java. It is a method that calculates the square root of a number as requested. The method first checks with an IF statement if the parameter value is a positive number and then calculates the square root and prints it to the screen. Otherwise, it prints Number must not be negative. A test case has been provided in the main method and the output can be seen in the attached image below.
import java.util.Scanner;
class Brainly {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.print("Enter a number of type double to calculate square root:");
double num = in.nextDouble();
rootPositive(num);
}
public static void rootPositive(double num) {
if (num > 0) {
System.out.println(Math.sqrt(num));
} else {
System.out.println("Number must not be negative.");
}
}
}
Answer:
A binary system is a system that functions on zeros and ones (0's and 1's).
A decimal system is an Arabic numeric system that has 10 as its base and uses a dot which is also called a decimal point to show fractions.
Differences
- A decimal uses ten different digits which is 0-9 while a binary system uses just two digits 0 and 1
- Decimal system was historically a Hindu-Arabic system while the binary system is just an Arabic system
Similarities
- They are capable of performing arithmetic operations
- They both can be represented in decimal form
Answer:
Data mining is a process of extracting and discovering patterns in large data sets involving methods at the intersection of machine learning, statistics, and database systems.