i want to do the calculation for below mentioned equation
#define A1 -13.4088568
#define B1 4547.9615
#define C1 -176965.92
#define D1 3861154
#define R25 10000 //10KOHM
#define R1 1000 // 1KOHM
//To Find Rt
Rt = {(4096/ADC)-1}*R1 //ADC is input value of adc pin
//and To Find Temprature T
TEMP_KELVIN =1/(A1+B1+ln[Rt/R25]+C1ln2[Rt/R25]+D1ln3[Rt/R25]) (natural log is in expression)
TEMP_DEGREE=TEMP_KELVIN+273
please show me how to change this expression in code