i want o calculate the sphere radius as a function of V where V=pi ,but i can not get the right result
    2 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Tasos Apostolopoulos
 il 30 Gen 2022
  
    
    
    
    
    Risposto: the cyclist
      
      
 il 30 Gen 2022
            function [rad1, rad2] = my_eval_parameters(E_C,V_S)
 rad1=sqrt(E_C/pi);
 rad2= (3*V_S/4*pi)^(1/3);      %nthroot(3*V_S/4*pi,3);                       
0 Commenti
Risposta accettata
  the cyclist
      
      
 il 30 Gen 2022
        Your formula is dividing by 4, then multiplying by pi. You need
rad2= (3*V_S/(4*pi))^(1/3);
(Note the extra set of parentheses, to enforce the order of operations you want.)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Surfaces, Volumes, and Polygons in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

