关于带薪年假的规定:x^x=a 求x=?
来源:百度文库 编辑:杭州交通信息网 时间:2024/05/04 21:08:56
没有解析解,就是不能通过有限次的加减乘除开方等把解精确的表达出来.
连X^5次方以上的一般的方程都没有解析解,这个更没有.
在X>0的范围内,用数值逼近的方法逐级求解.
俺用matlab算,得到以下结果:
>>x=solve('x^x=a','x')
x = log(a)/lambertw(log(a))
>> help lambertw
LAMBERTW Lambert's W function.
W = LAMBERTW(X) is the solution to w*exp(w) = x.
W = LAMBERTW(K,X) is the K-th branch of this multi-valued function.
Reference: Robert M. Corless, G. H. Gonnet, D. E. G. Hare,
D. J. Jeffrey, and D. E. Knuth, "On the Lambert W Function",
Advances in Computational Mathematics, volume 5, 1996, pp. 329-359.
Also available from:
http://pineapple.apmaths.uwo.ca/~rmc/papers/LambertW/index.html
Overloaded methods
help sym/lambertw.m
这是什么意思啊?
这个方程的根没有办法用一般的解析式表示出来。
a开n+1次方
可以用计算器来解
两边取对数得到xlnx=lna或xlgx=lgx再求值就OK了啊!