473,325 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Inverse Log in VB.Net

I am having trouble in finding the propoer way to find the Inverse Log of a
number in VB.Net Express edition. Can anyone tell me how it is done.

Thanks!

Dec 24 '05 #1
5 6488
Milton,
For a number of derived math functions see:

http://msdn2.microsoft.com/en-us/library/w3t84e33.aspx
System.Math.Log returns "the natural (base e) logarithm of a specified
number".

http://msdn2.microsoft.com/library/system.math.log.aspx

While Math.Exp return "e raise to the specified power".

http://msdn2.microsoft.com/library/system.math.exp.aspx
--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Milton" <Mi****@hotmail.com> wrote in message
news:36irf.9266$NS.1762@dukeread04...
|I am having trouble in finding the propoer way to find the Inverse Log of a
| number in VB.Net Express edition. Can anyone tell me how it is done.
|
| Thanks!
|
|
|
Dec 24 '05 #2
Thanks for the reply.

Unfortunately, in trying to get the Inv Log of 3 (I should get 1000 as
result), i get 20.09

I'll keep trying to figure it out.

Thanks again.

Milton
"Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.net> wrote in
message news:eH**************@TK2MSFTNGP11.phx.gbl...
Milton,
For a number of derived math functions see:

http://msdn2.microsoft.com/en-us/library/w3t84e33.aspx
System.Math.Log returns "the natural (base e) logarithm of a specified
number".

http://msdn2.microsoft.com/library/system.math.log.aspx

While Math.Exp return "e raise to the specified power".

http://msdn2.microsoft.com/library/system.math.exp.aspx
--
Hope this helps
Jay [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Milton" <Mi****@hotmail.com> wrote in message
news:36irf.9266$NS.1762@dukeread04...
|I am having trouble in finding the propoer way to find the Inverse Log of
a
| number in VB.Net Express edition. Can anyone tell me how it is done.
|
| Thanks!
|
|
|

Dec 24 '05 #3
What base (base 10 or something else)
--
Dennis in Houston
"Milton" wrote:
Thanks for the reply.

Unfortunately, in trying to get the Inv Log of 3 (I should get 1000 as
result), i get 20.09

I'll keep trying to figure it out.

Thanks again.

Milton
"Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.net> wrote in
message news:eH**************@TK2MSFTNGP11.phx.gbl...
Milton,
For a number of derived math functions see:

http://msdn2.microsoft.com/en-us/library/w3t84e33.aspx
System.Math.Log returns "the natural (base e) logarithm of a specified
number".

http://msdn2.microsoft.com/library/system.math.log.aspx

While Math.Exp return "e raise to the specified power".

http://msdn2.microsoft.com/library/system.math.exp.aspx
--
Hope this helps
Jay [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Milton" <Mi****@hotmail.com> wrote in message
news:36irf.9266$NS.1762@dukeread04...
|I am having trouble in finding the propoer way to find the Inverse Log of
a
| number in VB.Net Express edition. Can anyone tell me how it is done.
|
| Thanks!
|
|
|


Dec 24 '05 #4
| Unfortunately, in trying to get the Inv Log of 3 (I should get 1000 as
| result), i get 20.09
It sounds like you are expect base 10 logs & are using base e logs.

Remember Math.Log & Math.Exp are base e, not base 10. Its been too long to
remember the conversion, based on the "find the Inverse Log of a number"
thread in this newsgroup, the conversion appears to be:

log(x) / log(base)

and

exp(x * log(base))

In addition to Math.Log & Math.Exp, there are VB.Log & VB.Exp.

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Milton" <Mi****@hotmail.com> wrote in message
news:Erirf.9398$NS.7711@dukeread04...
| Thanks for the reply.
|
| Unfortunately, in trying to get the Inv Log of 3 (I should get 1000 as
| result), i get 20.09
|
| I'll keep trying to figure it out.
|
| Thanks again.
|
| Milton
| "Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.net> wrote in
| message news:eH**************@TK2MSFTNGP11.phx.gbl...
| > Milton,
| > For a number of derived math functions see:
| >
| > http://msdn2.microsoft.com/en-us/library/w3t84e33.aspx
| >
| >
| > System.Math.Log returns "the natural (base e) logarithm of a specified
| > number".
| >
| > http://msdn2.microsoft.com/library/system.math.log.aspx
| >
| > While Math.Exp return "e raise to the specified power".
| >
| > http://msdn2.microsoft.com/library/system.math.exp.aspx
| >
| >
| > --
| > Hope this helps
| > Jay [MVP - Outlook]
| > .NET Application Architect, Enthusiast, & Evangelist
| > T.S. Bradley - http://www.tsbradley.net
| >
| >
| > "Milton" <Mi****@hotmail.com> wrote in message
| > news:36irf.9266$NS.1762@dukeread04...
| > |I am having trouble in finding the propoer way to find the Inverse Log
of
| > a
| > | number in VB.Net Express edition. Can anyone tell me how it is done.
| > |
| > | Thanks!
| > |
| > |
| > |
| >
| >
|
|
Dec 25 '05 #5
Thanks for the help.

I thought Math.Exp was base e by default and that the base could be changed.
I found figured out that it cannot do other than base e. I needed to use
Math.Pow to use another base. VB.Net reminds me of twenty years ago when I
first learning to use PCs. Trashing directories in DOS, using Debug to
prepare a HD controller for an MFM Hard Drive. The more obstacles I
encountered the more I learned.

Thanks for steering me the right way.

Milton
"Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.net> wrote in
message news:Ok**************@tk2msftngp13.phx.gbl...
| Unfortunately, in trying to get the Inv Log of 3 (I should get 1000 as
| result), i get 20.09
It sounds like you are expect base 10 logs & are using base e logs.

Remember Math.Log & Math.Exp are base e, not base 10. Its been too long to
remember the conversion, based on the "find the Inverse Log of a number"
thread in this newsgroup, the conversion appears to be:

log(x) / log(base)

and

exp(x * log(base))

In addition to Math.Log & Math.Exp, there are VB.Log & VB.Exp.

--
Hope this helps
Jay [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Milton" <Mi****@hotmail.com> wrote in message
news:Erirf.9398$NS.7711@dukeread04...
| Thanks for the reply.
|
| Unfortunately, in trying to get the Inv Log of 3 (I should get 1000 as
| result), i get 20.09
|
| I'll keep trying to figure it out.
|
| Thanks again.
|
| Milton
| "Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.net> wrote in
| message news:eH**************@TK2MSFTNGP11.phx.gbl...
| > Milton,
| > For a number of derived math functions see:
| >
| > http://msdn2.microsoft.com/en-us/library/w3t84e33.aspx
| >
| >
| > System.Math.Log returns "the natural (base e) logarithm of a specified
| > number".
| >
| > http://msdn2.microsoft.com/library/system.math.log.aspx
| >
| > While Math.Exp return "e raise to the specified power".
| >
| > http://msdn2.microsoft.com/library/system.math.exp.aspx
| >
| >
| > --
| > Hope this helps
| > Jay [MVP - Outlook]
| > .NET Application Architect, Enthusiast, & Evangelist
| > T.S. Bradley - http://www.tsbradley.net
| >
| >
| > "Milton" <Mi****@hotmail.com> wrote in message
| > news:36irf.9266$NS.1762@dukeread04...
| > |I am having trouble in finding the propoer way to find the Inverse
Log
of
| > a
| > | number in VB.Net Express edition. Can anyone tell me how it is
done.
| > |
| > | Thanks!
| > |
| > |
| > |
| >
| >
|
|

Dec 25 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: David C. Fox | last post by:
Is there a function which takes a list of tuples and returns a list of lists made up of the first element of each tuple, the second element of each tuple, etc.? In other words, the the inverse...
1
by: Andy | last post by:
I have drawn an icon. I used the the inverse color on the color window in order to get transparency. However, now the inverse color has stopped working by some reason. Why is this? I press and...
6
by: vishnu mahendra | last post by:
hello to all, can any one please give me an algorithm to find inverse of a matrix of order n rows and m columns. thank you in advance, vishnu.
9
by: Water Cooler v2 | last post by:
What is the inverse of the sine function? I've been pulling my hair and I have no clue nor memory of how to go about solving this little expression: sine-1 (read sine inverse) of (1-(x/y)) An...
6
by: Randy | last post by:
Hello, Can someone tell me how to derive the Inverse of Math.Log10(value)? Thanks
5
by: Mario | last post by:
How do I get the inverse of a cosine, that is, cos(a) = x, I have x and I need to know a? I don't need the hyperbolic inverse, unless I can use it to get the cosine inverse. Greetings, Mario
3
by: Smokey Grindle | last post by:
How can you "inverse" a color in GDI+? Say the color I have is blue, the inverse of that is yellow... how would you go about doing this? is there a simpler way then taking the RGB values and...
2
by: leelaramtenneti | last post by:
hello I need a program to find a Inverse of a square complex matrix in java... . The program should calculate the inverse of a matrix in which each element has both real and imaginary parts. Or...
4
by: Jonathan Fine | last post by:
Hello As part of the MathTran project I found myself wanting to maintain a bijection between long names and short names. http://www.open.ac.uk/mathtran In other words, I wanted to have two...
0
by: DarrenWeber | last post by:
# Copyright (C) 2007 Darren Lee Weber # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.