Why ThermistorPin in parenthesis follows after analogRead? What does this combination analogRead(ThermistorPin) mean?
On the next line why is float in parenthesis? Vo above is declared as an object, so (float) means the value of Vo can change, and by what it will change to, the result of Vo is/will be then, deduct 1.0? Why is float in parenthesis ?
In other words, I understand what T = (1.0 / (c1 + c2logR2 + c3logR2logR2logR2)); does, but I am confused by the logR2 = log(R2); because R2 is in parenthesis.
may be you need to read an introduction to C++ so the you get what function calls look like ?
analogRead() is a function call.
The function requires a parameter which is the PIN number to read.
see the doc for analogRead() to see what it returns (which will be stored into the variable Vo).
It's the same type of command as delay(500). here you call the function delay and you pass the parameter 500.
(float) means convert the variable that is after into a floating point value to conduct the math (it's called type casting). In C++ if you do math with variables and numbers that are all integral numbers then the result you get is also a integral number, that it 3 / 2 is not 1.5, it's truncated to 1. but if you had 3.0 / 2 then the first number is a float and the math is done using floating point calculation and you get the expected 1.5.
(here (float) was not necessary as 1023.0 is already a float, so the math was already conducted using floating point maths.)