Effacer les filtres
Effacer les filtres

Quad function: Evaluate integral Problem

2 vues (au cours des 30 derniers jours)
JoshT_student
JoshT_student le 28 Juil 2018
Commenté : Star Strider le 28 Juil 2018
Hello, I am trying to evaluate this integral I attached. I made the function and I put the code in the editor to run it. But for some reason I keep getting an error with the function I made. The error is at my expression that I made for some reason. Please help.
Thank you

Réponse acceptée

Star Strider
Star Strider le 28 Juil 2018
You need to do element-wise exponentiation (as well as division, that you already included) in the evaluation of ‘myfunb’:
y = sin(x)./sqrt(1-4*sin(x).^2);
  2 commentaires
JoshT_student
JoshT_student le 28 Juil 2018
Thank you for your time.
Star Strider
Star Strider le 28 Juil 2018
As always, my pleasure.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by