what is the problem with my function ?
    5 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
    abdelrahman mohamed
 le 27 Sep 2018
  
    
    
    
    
    Commenté : abdelrahman mohamed
 le 27 Sep 2018
            function [area , cr ]= circle(r) area = pi* (r^2) ; cr = pi * r * 2 ;
0 commentaires
Réponse acceptée
  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
Plus de réponses (0)
Voir également
Catégories
				En savoir plus sur Numerical Integration and Differential Equations dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!