Hi guys,
Im new at
Java,. I have an assignment due that needs me to find the square root of a number. I need to find the library that this function is in and how to use it. and also i need to know if there is an algorithm i could use instead of the library..
this is the method that i have which need s this code
static void area (point point1, point point2, point point3){
double area, semi;
double a, b, c;
a= length (point1, point2);
b= length (point2, point3);
c= length (point1, point3);
semi = (a + b + c)/2;
area = sqrt( semi * (semi - a)*(semi-b)*(semi-c));
}
thanks