Finding epsilon satisfy a trigonometric function.
Show older comments
I need to find the value of epsilon (e) that satisfy the function cot(e)^2*cot(2*e)^2 == sin(2*e)^2 where pi/4<e<pi/2
Accepted Answer
More Answers (2)
KSSV
on 27 Dec 2016
clc; clear all ;
syms e
eqn = cot(e)^2*cot(2*e)^2 == sin(2*e)^2 ;
[solx, params, conds] = solve(eqn, e, 'ReturnConditions', true) ;
Star Strider
on 27 Dec 2016
Another approach:
trig_e = @(e) cot(e).^2*cot(2*e).^2 - sin(2*e).^2;
v = linspace(-pi/2, pi/2, 4);
for k1 = 1:length(v)
e(k1) = fzero(trig_e, v(k1));
end
e =
-1.3267e+000 -541.3248e-003 541.3248e-003 1.3267e+000
Categories
Find more on Numeric Solvers 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!