function [T] = thermo_temp(c, V)
% Function to calculate the temperature corresponding to a voltage
T = 0;
for i = 1 : length(c)
    T = T + c(i)*V^(i-1);
end
end