Crates.io | vtrig |
lib.rs | vtrig |
version | 1.0.1 |
source | src |
created_at | 2021-09-28 14:59:23.2746 |
updated_at | 2021-09-28 21:36:30.720615 |
description | Hidden trigonometry functions with their derivates and integrals |
homepage | |
repository | https://github.com/BitFields/vtrig |
max_upload_size | |
id | 457573 |
size | 496,683 |
The versine or versed sine is a trigonometric function found in some of the earliest (Vedic Aryabhatia I) trigonometric tables.
The versine of an angle is 1 minus its cosine.
There are several related functions, most notably the coversine and haversine.
The latter, half a versine, is of particular importance in
the haversine formula of navigation
(source: Wikipedia)
derivates
---------
d(vsin x) / dx = sin x
d(cvsin x) / dx = -cos x
integrals
---------
∫ vsin(x) dx = x - sin x + C
∫ cvsin(x) dx = x + cos x + C