Effacer les filtres
Effacer les filtres

Write a MATLAB Function takes x as the argument and calculates "y" by using the relation: y=x/2+x^2/​4+x^3/8+x^​4/16+...

2 vues (au cours des 30 derniers jours)
i am unable to do this question, pls help.
  2 commentaires
James Tursa
James Tursa le 30 Juil 2019
Modifié(e) : James Tursa le 30 Juil 2019
What have you done so far? What specific problems are you having with your code? Do you know how to write a MATLAB function file? See this link:
Taqi Zaidi
Taqi Zaidi le 30 Juil 2019
I am having exam tomorrow, i was going through past papers and saw this question. I was unable to understand it, so i thought to take help from this forum.

Connectez-vous pour commenter.

Réponse acceptée

Alex Burbee
Alex Burbee le 30 Juil 2019
function y = solveEQU(x)
y =
%type your equation you want to solve
end
  4 commentaires
Walter Roberson
Walter Roberson le 30 Juil 2019
Note that there is a closed form formula when abs(x) < 1

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by