tan^2*(45+x/2)

11 visualizzazioni (ultimi 30 giorni)
bruk tgsetu
bruk tgsetu il 24 Giu 2020
Commentato: Rik il 24 Giu 2020
tan^2*(45+x/2)
  2 Commenti
Rik
Rik il 24 Giu 2020
You forgot to ask a question.
bruk tgsetu
bruk tgsetu il 24 Giu 2020
how can in write on matlab

Accedi per commentare.

Risposte (1)

Rik
Rik il 24 Giu 2020
Modificato: Rik il 24 Giu 2020
You probably mean either of these:
% if x is in radians:
tan(45+x/2).^2
% if x is in degrees:
tand(45+x/2).^2
If you don't, please explain in a comment to your question what you mean mathematically.
  2 Commenti
Steven Lord
Steven Lord il 24 Giu 2020
That 45 in the expression makes me suspect bruk tgsetu is working in degrees, in which case they should use the degree-based tangent function tand instead of the radian-based tan.
Rik
Rik il 24 Giu 2020
Good point. I've edited my answer to include that point.

Accedi per commentare.

Categorie

Scopri di più su Performance and Memory in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by