Problem 43326. Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Gergely Patay
on 13 Oct 2016
In the test suite, the correct answer should be (1+sin(x))./cos(x)+cos(x) ./ (1+sin(x)) % note the dot-slash in the second term
Well, at least if we assume that it was meant to be consistent with the problem statement :)
John D'Errico
on 13 Oct 2016
Note that this problem uses the word solve when it needs to say EVALUATE.
David Verrelli
on 4 Jul 2018
I support John D'Errico's comment: equations can be solved, but expressions cannot.
David Verrelli
on 4 Jul 2018
Also, it is pointless having the solution method exposed in the Test Suite. See further discussion at Problem 44617 &c.
Solution Comments
Show commentsProblem Recent Solvers95
Suggested Problems
-
1629 Solvers
-
489 Solvers
-
893 Solvers
-
110 Solvers
-
Calculate solution of given polynomial
88 Solvers
More from this Author37
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!