
x1 =float(input("enter the value for x1"))
x2 =float(input("enter the value for x2"))
x3 =float(input("enter the value for x3"))
y1 =float(input("enter the value for y1"))
y2 =float(input("enter the value for y2"))
y3 =float(input("enter the value for y3"))
s = (.5*(x1*(y2−y3)+x2*(y3−y1)+x3*(y1−y2)))
print(s)







