How the slope is calculated in zerodha pi function SLOPE

In pi script zerodha has a function called SLOPE. I wanted to know how it is calculated because it is giving me contradictory results. I.e can anybody please calculate and tell the slope and angle for below details.
Slope of EMA 14 of 5 bars
I.e SLOPE(EMA(CLOSE,14),5)
Company:Lupin
Time frame: 5 min
Date: 29-11-2018
Time:13.40 to 14.00 (5 Bars)