[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] cube root of a negative number



Manuel,
 Try the following: x = y**(1./3.)
Regards,
 David
 

On 6/3/2013 08:03, Manuel da Conceição Nunes wrote:

Hi,

 

Does someone know how to raise a negative number to the value “1/3 “.

If 1/3 is rounded to 0.33, the solution is a complex number but if 1/3 is not rounded and understood like the cube root then the solution is a real number.

 

Thank you in advance.

 

 

 

MATRIciel sa

Manuel da Conceição Nunes

                                       
Place de l'Université, 25 Etage 2 à 1348 Louvain-la-Neuve
Tél : 010/24 15 70 - Fax : 010/24 15 60

daconceicao@matriciel.be
http://www.matriciel.be

P  Please consider your environmental responsibility before printing this e-mail

 



_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com