How to solve simultaneous equation?
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!