标签归档:Mathematica解方程

Mathematica解方程

求2的多少次方等于 909656889

方法如下:

1In[11]:= Solve[2^x == 909656889, x]
2 
3Out[11]= {{x ->
4   ConditionalExpression[(2 I \[Pi] C[1])/Log[2] + Log[909656889]/
5     Log[2], C[1] \[Element] Integers]}}

以数字形式(29.7607即为结果):

1In[14]:= N[Solve[2^x == 909656889, x], 6]
2 
3Out[14]= {{x ->
4   ConditionalExpression[<strong>29.7607</strong> + 9.06472 I C[1],
5    C[1] \[Element] Integers]}}

 

参考资料:
http://wenku.baidu.com/link?url=iMM_BINdXNH84JhlTIrGV3p9v-n4BbNR7nnigSUm5o4xYR7yHCev9uYXKQpOjBQCZwO3QC8E32NeteblaTFJUZ-vGQaQQoGOBNuquWP5dGe