5
votes
Solving $2^a - 2^b = 2^x$ for extremely large $a$ and $b$
Assuming $a>b>0$:
$$
2^a-2^b=2^x\\
x=\frac{\ln(2^a-2^b)}{\ln2}
=\frac{\ln(2^b(2^{a-b}-1))}{\ln2}
=\frac{\ln(2^b)+\ln(2^{a-b}-1)}{\ln2}
=b+\frac{\ln(2^{a-b}-1)}{\ln2}\\
=b+\log_2(2^{a-b}-1)
$$
...
4
votes
2
votes
Why can't NSolve find values that FindInstance can?
NSolve work if we use infinite precision number n,x,eps.
...
2
votes
Accepted
How to replace==in the equation with ->?
A few observations
eq = 2 b == E^x0 - x0;
The Head of eq is ...
1
vote
Finding zeroes of a modified Bessel function of the second kind
The problem is the fast decay of the absolute value as shown by
f[n_,ω_] := BesselK[I ω, 2 π n]
Plot[E^(6 + (ω^1.09)) f[ 2, ω], {ω, 6, 125}]
The exponent of $...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
equation-solving × 6288differential-equations × 1058
plotting × 579
numerics × 427
numerical-integration × 355
calculus-and-analysis × 291
polynomials × 236
symbolic × 233
nonlinear × 214
matrix × 206
linear-algebra × 204
simplifying-expressions × 203
mathematical-optimization × 198
list-manipulation × 191
functions × 188
special-functions × 147
inequalities × 146
complex × 143
parametric-functions × 129
performance-tuning × 122
warning-messages × 121
trigonometry × 113
boundary-conditions × 90
physics × 86
numerical-value × 80