I know how to simulate a variable resistor in LTSpice. For example for a heating resistance the equation can be made by considering heating equation and can be expressed like R=(Ri-Ao*EXP(-time/To)) and further simulated,
But how to write a more complex mathematical expression like below-