Hoping someone can help me here, I'm only a student so I'm sorry if my question is badly worded. I'm doing my maths dissertation on a binary eclipsing star and I'm trying to work out the mass of one of my stars. I know the B-V value and effective temperature, and I believe the equation I need to be using is log(M/Msun)=(((-1.744951 X + 30.31681) X - 196.2387) X + 562.6774) X - 604.076, where X=log(T), but I'm not getting anywhere near the required value. I don't understand this equation or where the constants come from in the first place, but it's one that I've been given. I'll add that I'm observing RT And, and if anyone can help me get to the right values in the next few hours that would be amazing!