Jump to content
Sign in to follow this  
Cbabel

Math Functions

Recommended Posts

Hello to everybody,

I have bought the Source Boost Compiler to work with the MPLAB from Microchip. For a project I need some Math functions, espezially the expontential funktion and the common logarithm. Now I read the Boost.c description and I only found some arthmetic function like + - / ..... Now I'm searching for Libraries who integrate this Math functions.

 

Are there libraries at all who contains these functions?

 

Thanks

 

Chris

Share this post


Link to post
Share on other sites
Hello to everybody,

I have bought the Source Boost Compiler to work with the MPLAB from Microchip. For a project I need some Math functions, espezially the expontential funktion and the common logarithm. Now I read the Boost.c description and I only found some arthmetic function like + - / ..... Now I'm searching for Libraries who integrate this Math functions.

 

Are there libraries at all who contains these functions?

 

Thanks

 

Chris

 

Can you post what you are trying to do? I did not know the Boost BASIC was for sale yet? But I will see if I can help you.

Share this post


Link to post
Share on other sites
Hello to everybody,

I have bought the Source Boost Compiler to work with the MPLAB from Microchip. For a project I need some Math functions, espezially the expontential funktion and the common logarithm. Now I read the Boost.c description and I only found some arthmetic function like + - / ..... Now I'm searching for Libraries who integrate this Math functions.

 

Are there libraries at all who contains these functions?

 

Thanks

 

Chris

 

Can you post what you are trying to do? I did not know the Boost BASIC was for sale yet? But I will see if I can help you.

 

I must calculate the dewpoint!

These are the formulas for the calculation.

 

description:

r = relative humidity

T = Temperature in °C

TD = Dewpoint Temperature in °C

DD = Vapor Pressure in hPa

SDD = Saturation Vapor Pressure in hPa

 

Parameter:

a = 7.5, b = 237.3 für T >= 0

 

Formula:

SDD = 6.1078 * 10^((a*T)/(b+T))

DD = r/100 * SDD

TD = (234,67*(log10(DD)- 184,2))/(8,233- log10(DD))

 

Can you help me?

Share this post


Link to post
Share on other sites
Hello to everybody,

I have bought the Source Boost Compiler to work with the MPLAB from Microchip. For a project I need some Math functions, espezially the expontential funktion and the common logarithm. Now I read the Boost.c description and I only found some arthmetic function like + - / ..... Now I'm searching for Libraries who integrate this Math functions.

 

Are there libraries at all who contains these functions?

 

Thanks

 

Chris

 

Can you post what you are trying to do? I did not know the Boost BASIC was for sale yet? But I will see if I can help you.

 

I must calculate the dewpoint!

These are the formulas for the calculation.

 

description:

r = relative humidity

T = Temperature in °C

TD = Dewpoint Temperature in °C

DD = Vapor Pressure in hPa

SDD = Saturation Vapor Pressure in hPa

 

Parameter:

a = 7.5, b = 237.3 für T >= 0

 

Formula:

SDD = 6.1078 * 10^((a*T)/(b+T))

DD = r/100 * SDD

TD = (234,67*(log10(DD)- 184,2))/(8,233- log10(DD))

 

Can you help me?

 

I work with the Boost C Compiler not with the Boost Basic, sorry.

Share this post


Link to post
Share on other sites

Cbabel,

 

I must calculate the dewpoint!

These are the formulas for the calculation.

 

description:

r = relative humidity

T = Temperature in °C

TD = Dewpoint Temperature in °C

DD = Vapor Pressure in hPa

SDD = Saturation Vapor Pressure in hPa

 

Parameter:

a = 7.5, b = 237.3 für T >= 0

 

Formula:

SDD = 6.1078 * 10^((a*T)/(b+T))

DD = r/100 * SDD

TD = (234,67*(log10(DD)- 184,2))/(8,233- log10(DD))

 

Can you help me?

Boost basic is weak here, no floating point support at the moment :)

 

Regards

Dave

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...