Effacer les filtres
Effacer les filtres

what is the problem with my function ?

1 vue (au cours des 30 derniers jours)
abdelrahman mohamed
abdelrahman mohamed le 27 Sep 2018
function [area , cr ]= circle(r) area = pi* (r^2) ; cr = pi * r * 2 ;

Réponse acceptée

Bish Erbas
Bish Erbas le 27 Sep 2018
Modifié(e) : Bish Erbas le 27 Sep 2018
Formatting.
function [area, cr] = circle(r)
area = pi*(r^2);
cr = pi*r*2;
end
  1 commentaire
abdelrahman mohamed
abdelrahman mohamed le 27 Sep 2018
there is a problem with the area that i can't determine

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox 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