Need a C# code equivalent of excel slope

  • Thread starter Thread starter prakash.chennai
  • Start date Start date
P

prakash.chennai

Guest
Tried lot of resource i am not getting proper answer so please help me with the query below are the value of column H & I

-0.00600000
-0.00287
-0.00127264
0.020307
-0.00042408
0.010017
0.00191875
-0.00312
-0.00044960
-0.00586
0.00068024
-0.00184
0.00020715
-0.00332

Excel slope formula : =SLOPE(H2:H8,I2:I8) out put : - 0.01442

Please provide me the code which produce same result.

Thanks

Prakash

Continue reading...
 
Back
Top