How do I write this function

4 views (last 30 days)
Bilyur Dogan
Bilyur Dogan on 9 Nov 2020
Edited: madhan ravi on 9 Nov 2020
I have to write this function in Matlab but I don't know what I did wrong:
My solution:
y=(cos(35)-sec^2(35))/tan(70)
What did I do wrong?

Accepted Answer

madhan ravi
madhan ravi on 9 Nov 2020
Edited: madhan ravi on 9 Nov 2020
y=(cosd(35)-secd(35)^2)/tand(70)

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by