Excel-Formula in to arduino coding

Dear all,

I am working in humidity measurement module from measured temperature.
I am using the below-mentioned formula in Ex-cel sheet.
ed=(6.112EXP((17.502Temp1)/(240.97+Temp1)))
ew=(6.112EXP((17.502Temp2)/(240.97+Temp)))

Result:

=((ed)-((0.6687452)(1+0.00115temp2)(temp1-temp2)))/ew100

Please help me to sort out

Thanks in advance.

something like this maybe (untested):

float ed, ew, Temp1, Temp2, Result;

void setup() {
  Serial.begin(115200);
  delay(1000);
}

void loop() {
  /*
  Get Temp1 and Temp2
  */
  
  ed = (6.112*exp(17.502*Temp1))/(240.97+Temp1)*1000;
  ew = (((6.112*exp(17.502*Temp2))/(240.97+Temp2))*100)*1000;
  
  Result = (ed-(668.7452*((1000+(1.15*Temp2))*(1000*(Temp1-Temp2)))))/ew;
  
  Serial.print("Result: ");
  Serial.println(Result);
  
  delay(1000);

}

Hope that helps...

But do note that kind of math is pretty hard for a normal Arduino (Uno, Nano, Pro mini).