<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
hey mark,<BR>
I took a look at the source code<BR>
math_sqrt() is the function you're looking for.<BR>
<BR>
P.Romero<BR>
<BR>> Date: Thu, 22 Jan 2009 00:54:18 +0100<BR>> From: msponsler@COMCAST.NET<BR>> Subject: Square Root Calculation<BR>> To: GRADSUSR@LIST.CINECA.IT<BR>> <BR>> Hello,<BR>> I'm trying to calculate the square root of a stack of variables in a Grads<BR>> script. Is there any way to do this?<BR>> <BR>> e.g.<BR>> <BR>> answer = sqrt(val1 + val2 + val3 + val4)<BR>> <BR>> Any help would be greatly appreciated.<BR><BR><br /><hr />Windows Live™: E-mail. Chat. Share. Get more ways to connect. <a href='http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_012009' target='_new'>See how it works.</a></body>
</html>