How do I write this function

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?

 Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by