You are not logged in.
What is li(x)?I know it is logarithmic integral function,but how do i find li(x),for instance,what will be li(5)?
Offline
Hi Mint;
Welcome to the forum.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
You can use the series given at http://en.wikipedia.org/wiki/Logarithmi … esentation
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
That series is a little complex,isn't there a easier way?
Depends on the arguments or how much accuracy you need. There are several ways for each.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Could you show me some
Yes, but first I need that information from you.
1) Li(x), how big is x?
2)How many digits do you require because the answer is going to be in floating point.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
I just want to know how to find li(x),but you could show an example of your own.
Series are of different types. For small values of x we use Taylor series. For large values we use Asymptotic expansions and Series that are expanded around infinity.
1) You could try to evaluate the integral using Romberg or Gaussian integration.
2) You truncate the various series expansions producing smaller approximations.
3) You look up the values in tables.
I have used the second one to come up with an example:
When x>=500.
Read this:
http://numbers.computation.free.fr/Cons … rimes.html
now you will understand why there are only approximate answers.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline