Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 656007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:40:02+00:00 2026-05-13T22:40:02+00:00

Whilst looking for a B-V color index to temperature conversion formula I found this

  • 0

Whilst looking for a “B-V color index to temperature conversion formula”

I found this javascript:

   var C1 = 3.979145;
   var C2 = -0.654499;
   var C3 = 1.74069;
   var C4 = -4.608815;
   var C5 = 6.7926;
   var C6 = -5.39691;
   var C7 = 2.19297;
   var C8 = -.359496;
   bmv = parseFloat(BV);
   with (Math) {
           logt=
              C1
             +C2*bmv
             +C3*pow(bmv,2)
             +C4*pow(bmv,3)
             +C5*pow(bmv,4)
             +C6*pow(bmv,5)
             +C7*pow(bmv,6)
             +C8*pow(bmv,7);

          t=pow(10,logt);
   }

Which is supposed to convert B-V color index to temperature.
Does anyone understand how this is working and if the output value is an approximation for temperature in celcius or kelvin?

Is it something to do with products of logarithms?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:40:02+00:00Added an answer on May 13, 2026 at 10:40 pm

    I think temperatures are in Kelvin because its very common for astronomers to use Kelvin rather than Celcius.

    Look here.

    And,

    if logbaseX = Y then X = baseY

     log10(t)= C1 +C2*bmv +C3*pow(bmv,2) +C4*pow(bmv,3)
              +C5*pow(bmv,4) +C6*pow(bmv,5) +C7*pow(bmv,6) 
              +C8*pow(bmv,7); 
    
     t = pow(10,log10(t));
    

    Also, this formula is very much related to Taylor Series.

    // Horners algorithm for polynomials 
    function Horner(a,n,x)
    {
        var result = a[n];
        var i = n - 1;
        while( i >= 0)
        { 
           result = result*x + a[i];
           i-=1; 
        }
        return result;
    }
    

    In your case,

    Array Cs = {C1,C2,C3,C4,C5,C6,C7,C8};
    var temperature = Horner(Cs,8,bmv);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Whilst looking for a C++ implementation of Excel's NORMDIST (cumulative) function I found this
I was looking up newer functions of JavaScript and found ECMAScript/ECMA 5. Because I
I was messing around with std::ostringstream whilst looking at this question: sprintf in c++?
Whilst refactoring some legacy C++ code I found that I could potentially remove some
I was looking at this article and am struggling to follow the VB.NET example
Hey guys, I've spent hours looking at this, and am hoping a fresh pair,
Looking over code examples in my lecture slides, I notice this: c = head();
I have been doing some testing whilst using Jquery UI datepicker and have found
This isn't a matter of me being stuck, but rather I'm looking for a
Whilst on the surface this question looks like it should be on serverfault.com I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.