标签归档:Mathematica解方程

Mathematica解方程

求2的多少次方等于 909656889

方法如下:

In[11]:= Solve[2^x == 909656889, x]

Out[11]= {{x -> 
   ConditionalExpression[(2 I \[Pi] C[1])/Log[2] + Log[909656889]/
     Log[2], C[1] \[Element] Integers]}}

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

In[14]:= N[Solve[2^x == 909656889, x], 6]

Out[14]= {{x -> 
   ConditionalExpression[29.7607 + 9.06472 I C[1], 
    C[1] \[Element] Integers]}}

 

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