Given: four values, a, b, c, and d, all real numbers; the formulas for the mean and standard deviation mean = (a+b+c+d)/4; standard deviation = (((a-mean)**2 + (b-mean)**2 + (c-mean)**2 + (d-mean)**2) / 3)**0.5Compose: a let-in statement that returns the mean and standard deviation of the given set of numbers.
Given: two real values, a, and b, coefficients of the cubic equation x**3 + ax + b = 0;Compose: a let-in statement that returns the roots of the cubic equation.
the formulas for the roots x = C + D, -(C + D)/2 + 3**0.5*(C - D)/2, and -(C + D)/2 - 3**0.5*(C - D)/2, where C = (-b/2 + ((b**2)/4 + (a**3)/27)**0.5)**(1/3), and D = (-b/2 + ((b**2)/4 - (a**3)/27)**0.5)**(1/3);
The Sisal Language Project has been approved as a Designated Unclassified Subject Area (DUSA) K19222, as of 07 August, 1991.
LLNL Disclaimer
UCRL-MI-122601