int sensorpin= A3;
void setup() {
  Serial.begin(9600);

}

void loop() {
  float v= analogRead(sensorpin);
  float c= 1 / (log(1 / (1023. / v - 1)) / 3950 + 1.0 / 298.15) - 273.15;
  Serial.println("The temperature in celcius is:");
  Serial.println(c);
  delay(1000);
  float f= c*1.8+32;//converting to farenheit
  Serial.println("The temperature in fahrenheit is:");
  Serial.println(f);
  delay(1000);


}