Question: CHALLENGE ACTIVITY 4 . 3 . 1 : Compute the area of this triangle. Given the corner points of a triangle ( x 1 ,

CHALLENGE
ACTIVITY
4.3.1: Compute the area of this triangle.
Given the corner points of a triangle (x1,y1),(x2,y2),(x3,y3) compute the are
Hint: The area of the triangle with corner points (0,0),(x1,y1), and (x2,y2) is
|x1*y2-x2*y1|2
import java.util.Scanner;
public class Geometry
{
??****
Computes the area of a triangle
@param x1 the x-coordinate of the first corner
Qparam y1 the y-coordinate of the first corner
Qparam x2 the x-coordinate of the second corner
@param y2 the y-coordinate of the second corner
Qparam x3 the x-coordinate of the third corner
Qparam y3 the y-coordinate of the third corner
@return the area of the triangle
Your code goes here */
}
 CHALLENGE ACTIVITY 4.3.1: Compute the area of this triangle. Given the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!