(49g 50g) Shoelace algorithm
|
08-24-2018, 03:27 PM
(This post was last modified: 08-30-2018 10:05 PM by Albert Chan.)
Post: #8
|
|||
|
|||
RE: ( HP49/50) Shoelace algorithm
Is this a valid RPL program ?
\(A=\frac{1}{2}|\sum_{i=1}^{n}(x_{i+1}+x_{i})(y_{i+1}-y_{i})|\) where \(x_{n+1}=x_{1}\) and \(y_{n+1}=y_{1}\). (xs ys -- area) Code: « DUP HEAD + ΔLIST @ do y diff |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 7 Guest(s)