Solving non linear equation
1 次查看(过去 30 天)
显示 更早的评论

I want to calculate the value of x1 from that equation..So this is one equation and one unknown in it..As it contains theeta so therefore it is a non linear equation..So i have used fsolve for that and it has also calculated the result but the thing is result is not correct....the value of x1 should be 0.16 or closer than that..But i have got 0.0315 so i dont know which mistake i am making...Can anyone help please?
回答(1 个)
Alan Stevens
2020-10-2
Use cosd instead of cos. cosd assumes the argument is in degrees, cos assumes the argument is in radians.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Mathematics and Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!