>Programming >PHP


Triangle Area from Coordinates


  1. -1st Coordinate:
    ( , )
  2. -2nd Coordinate:
    (, )
  3. -3rd Coordinate:
    (, )

*You screwed up a coordinate.
these are math operators

OPERATOR/FUNCTIONMEANINGEXAMPLE
* | / multiply & divide
+ | -plus & minus/negate'-5+6-2' = -1
pow()exponents'pow(3,2)' = 3^2 (3 squared)
Sqrt()square route'Sqrt(16)' = 4
sinh() | cosh()| tanh() |acosh() | asinh() | atanh()trigonometric ratios'sinh(40)' = sin(40) = sine of 40deg.
pithe value of pi
abs()absolute value'abs(-5)' = |-5| = 5
( | ) order of operations

Web Hosting