Effacer les filtres
Effacer les filtres

Invalid expression. When calling...

5 vues (au cours des 30 derniers jours)
Liam Sullivan
Liam Sullivan le 9 Jan 2020
Commenté : Liam Sullivan le 15 Jan 2020
I have a code that says
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
when i am trying to type cos^2(x/2). Also, i have defined x as pi/6.

Réponse acceptée

Walter Roberson
Walter Roberson le 9 Jan 2020
cos(x/2)^2
  1 commentaire
Liam Sullivan
Liam Sullivan le 15 Jan 2020
thank you

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by