Mathematica如何计算有理数结果(展开式)如题,我在Mathematica中输入了如下内容:x=(3-Sqrt[17])/2y=-x^2+3x+2结果得到2 + 3/2 (3 - Sqrt[17]) - 1/4 (3 - Sqrt[17])^2他就是不给我展开……即(3 - Sqrt[17])^2那部分完

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/08 03:26:09
Mathematica如何计算有理数结果(展开式)如题,我在Mathematica中输入了如下内容:x=(3-Sqrt[17])/2y=-x^2+3x+2结果得到2 + 3/2 (3 - Sqrt[17]) - 1/4 (3 - Sqrt[17])^2他就是不给我展开……即(3 - Sqrt[17])^2那部分完

Mathematica如何计算有理数结果(展开式)如题,我在Mathematica中输入了如下内容:x=(3-Sqrt[17])/2y=-x^2+3x+2结果得到2 + 3/2 (3 - Sqrt[17]) - 1/4 (3 - Sqrt[17])^2他就是不给我展开……即(3 - Sqrt[17])^2那部分完
Mathematica如何计算有理数结果(展开式)
如题,我在Mathematica中输入了如下内容:
x=(3-Sqrt[17])/2
y=-x^2+3x+2
结果得到
2 + 3/2 (3 - Sqrt[17]) - 1/4 (3 - Sqrt[17])^2
他就是不给我展开……即(3 - Sqrt[17])^2那部分完全可以拆开啊?
请问有没有什么命令可以让他全部展开?并化简成最简?
ggggwhw:你试试,得到的是0

Mathematica如何计算有理数结果(展开式)如题,我在Mathematica中输入了如下内容:x=(3-Sqrt[17])/2y=-x^2+3x+2结果得到2 + 3/2 (3 - Sqrt[17]) - 1/4 (3 - Sqrt[17])^2他就是不给我展开……即(3 - Sqrt[17])^2那部分完
x = (4 - Sqrt[18])/2
y = -x^2 + 3 x + 2
Expand[y]
Simplify[y]
Expand为展开,当然能化简时,顺便会化简的.
Simplify为化简.
In[44]:= x =.; Solve[-x^2 + 3 x + 2 == 0,x]
Out[44]= {{x -> 1/2 (3 - Sqrt[17])},{x -> 1/2 (3 + Sqrt[17])}}
换句话说,y本来就等于0你想展开成什么样子呢,要改问题请加分.