How can I solve it ?? Help please
2 次查看(过去 30 天)
显示 更早的评论
How can I solve this Equation Sin(2t)-3t=3t-cos(t) without using ((solve)) Thank you
0 个评论
回答(3 个)
Ameer Hamza
2020-11-5
编辑:Ameer Hamza
2020-11-5
You said without using ((solve)). Try fzero()
f = @(t) sin(2*t)-3*t-3*t+cos(t)
t_sol = fzero(f, 0)
Result
>> t_sol
t_sol =
0.2385
This solution does not require any additional toolbox.
KSSV
2020-11-5
f = @(t) sin(2*t)-6*t+cos(t) ;
t = linspace(0,1,10^6) ;
y = f(t) ;
t0 = t(abs(y)<=10^-6)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!