
熟悉mathematica的高手,请问解方程组得不出结果问题。
Wp=200Pi;Ws=300Pi;Rp=1;Rs=16;NSolve[{x-Wp/Power[10^(Rp/10)-1,(2*y)^-1]==0,x-Ws/Power[...
Wp = 200 Pi;
Ws = 300 Pi;
Rp = 1;
Rs = 16;
NSolve[{x - Wp/Power[10^(Rp/10) - 1, (2*y)^-1] == 0,
x - Ws/Power[10^(Rs/10) - 1, (2*y)^-1] == 0}, {x, y}]
我想要计算x和y,可是总得不出来,是不是有什么问题?
错误显示:
NSolve::nsmet: This system cannot be solved with the methods available to NSolve. >>
out:= NSolve[{-200 (-1 + 10^(1/10))^(-(1/(2 y))) \[Pi] + x ==
0, -300 (-1 + 10 10^(3/5))^(-(1/(2 y))) \[Pi] + x == 0}, {x, y}] 展开
Ws = 300 Pi;
Rp = 1;
Rs = 16;
NSolve[{x - Wp/Power[10^(Rp/10) - 1, (2*y)^-1] == 0,
x - Ws/Power[10^(Rs/10) - 1, (2*y)^-1] == 0}, {x, y}]
我想要计算x和y,可是总得不出来,是不是有什么问题?
错误显示:
NSolve::nsmet: This system cannot be solved with the methods available to NSolve. >>
out:= NSolve[{-200 (-1 + 10^(1/10))^(-(1/(2 y))) \[Pi] + x ==
0, -300 (-1 + 10 10^(3/5))^(-(1/(2 y))) \[Pi] + x == 0}, {x, y}] 展开
2个回答
展开全部
Solve和NSolve都是解代数方程的,对超越方程要用FindRoot并给定初值,此时只能求得数值解.改写如下:
Wp = 200 Pi;
Ws = 300 Pi;
Rp = 1;
Rs = 16;
FindRoot[{x - Wp/Power[10^(Rp/10) - 1, (2*y)^-1] == 0,
x - Ws/Power[10^(Rs/10) - 1, (2*y)^-1] == 0}, {{x, 1}, {y, 1}}]
结果为
{x -> 700.9275972, y -> 6.177981243}
Wp = 200 Pi;
Ws = 300 Pi;
Rp = 1;
Rs = 16;
FindRoot[{x - Wp/Power[10^(Rp/10) - 1, (2*y)^-1] == 0,
x - Ws/Power[10^(Rs/10) - 1, (2*y)^-1] == 0}, {{x, 1}, {y, 1}}]
结果为
{x -> 700.9275972, y -> 6.177981243}

2023-08-25 广告
"整定计算的工作步骤,大致如下:1.确定整定方案所适应的系统情况。2.与调度部门共同确定系统的各种运行方式。3.取得必要的参数与资料(保护图纸,设备参数等)。4.结合系统情况,确定整定计算的具体原则。5.进行短路计算。6.进行保护的整定计算...
点击进入详情页
本回答由北京埃德思远电气技术咨询有限公司提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询