Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this questionI am working with Humidity calculator where I have to do one equation that is:
e = 6.1078 * 10 ** ((TD * A)/(TD + B));
but its not working. Any ideas why?
Maybe by the "**" operator you mean the exponential operator. In that case you might want to use the function exp() with the proper corrections (exp() uses the natural number as its base).
Why there is 2 *s in that equation?
e = 6.1078 * 10 * ((TD * A)/(TD + B));
This should work. Also , considering TD and B, (TD + B) should not be zero.
精彩评论