How to solve simultaneous equation?
显示 更早的评论
First, I input this code. y == C*( (sin(w*t) )^2 / (A + sqrt(R*y + B^2)))
syms A R B C y w t;
eqn = y == C*( (sin(w*t) )^2 / (A + sqrt(R*y + B^2)));
[n,d] = numden(rhs(eqn));
ysol = solve(eqn * d, y, 'maxdegree', 3)
Second, y == C*( (sin(w*t) )^2 / (A*log(y) + B*y + R))
syms A R B C y w t;
eqn = y == C*( (sin(w*t) )^2 / (A*log(y) + B*y + R));
[n,d] = numden(rhs(eqn));
ysol = solve(eqn == 1, y);
Warning: Unable to find explicit solution. For options, see help.
> In solve (line 317)
Why don't solve the second equation? Couldn't the equation originally solve?
---------------------------------------------------------------------------------------------------------------
And If you can afford it, I hope you solve an additional problem.
The first solution is very complicated. I hope to get simpler solution or approximation.
I want to remove meaningless or really small terms.
I expect the solution is about a*sin(wt) + b*(sin(wt)^2) .
For example, A = 2.213, R = 0.736, B^2 = 0.182, C = 10, w = 2000
Isn't there a way to simply change the solution I got?

Any help will be greatly appreciated. Thanks in advance.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Mathematics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!