Please use more code lines.
This code
analogRead(pin) * .004882814
That is a number, and you can't tell what it is. If by mistake that number changes from .004882814 into .00482814, you would never see the problem.
Let the compiler (or Arduino) do that for you, that doesn't require more memory.
Use it like this:
(float) analogRead(pin) * 5.0 / 1023.0
What about a function that returns the temperature ?
As you can see, I use more variables to calculcate temporary values. That is what I like. The source code should be readable, and let the compiler and Arduino do the work. In the end the code is probably not larger, since the compiler can optimize these things.
float getTemperature(int pin){
// the raw ADC value is 0 to 2023 for a range of 5 Volt.
float voltage = (float) analogRead(pin) * 5.0 / 1023.0;
// Convert to temperature.
float celsius = (voltage - 0.5 ) * 100.0;
float fahrenheit = (celsius * 1.8 ) + 32.0;
return (fahrenheit);
}