We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi ... I can not understand how to write a complex mathematical function.
I would like to be able to calculate the density of the air as a function of: pressure, temperature and humidity.
This is the formula.
air density=1/temperature*( pressure- humidity*610.78*10^(7.5* temperature-2048.625/temperature-35.85)/287.05+humidity*610.78*10^(7.5* temperature-2048.625/temperature-35.85)/461.495)
How could I do?
This is what I thought, but it does not work.
// text(nf(1/(273.15+Temp)*((PAtm+249.08)-Umid*610.78*pow(10,7.5*(273.15+Temp)-2048.625/((273.15+Temp)-35.85))/287.05)
// +(Umid*610.78*pow(10,7.5*(273.15+Temp)-2048.625/((273.15+Temp)-35.85))/461.495),0,2), width-342,height-539);
Answers
the problem that I can not solve is the elevation to power with the fractions
there is a new forum
please post there too...
https://discourse.processing.org