Learn R Programming

uniformly (version 0.5.0)

surface_triangle: Triangle surface

Description

Surface of a triangle.

Usage

surface_triangle(v1, v2, v3)

Value

The surface of the triangle with vertices v1, v2, v3.

Arguments

v1, v2, v3

vertices of the triangle

Examples

Run this code
surface_triangle(c(0,0), c(0,1), c(1,0))

Run the code above in your browser using DataLab