|
-
Nov 18th, 2003, 09:46 AM
#1
Thread Starter
New Member
Logarithm problem
How do you solve equations like:
ln (x) = ax
where a is any positive whole number
-
Nov 18th, 2003, 12:24 PM
#2
Lively Member
You can't do it algebraically so you'd have to use the Newton-Rhapson method which goes something like this:
f(x) = ln(x) - ax
f'(x) = 1/x - a
xr+1 = xr - (ln(xr) - axr)/(1/xr - a)
Depending on the value of a, the equation f(x)=0 will have zero, one or two solutions. There's no foolproof way to find them other than sticking random numbers for xr into that equation to find the better approximation xr+1 until xr+1 converges to a specific value.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|