Trigonometry.arctanEquation()

Compute a classic arctan equation of type amplitude * arctan( period + shiftX ) + shiftY

Parameters

NameTypeDescription
1amplitudenumber
2periodnumber
3shiftXnumber
4shiftYnumber

Return value

number

the result of the equation

Usage

import {Trigonometry} from '@lcluber/type6js';

let arctan = Trigonometry.arctanEquation(4,2,1,1);