Averages/Root mean square: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 14: | Line 14: | ||
print(rms{1, 2, 3, 4, 5, 6, 7, 8, 9, 10})</lang> |
print(rms{1, 2, 3, 4, 5, 6, 7, 8, 9, 10})</lang> |
||
=={{header|PL/I}}== |
|||
<lang PL/I> |
|||
declare A(10) fixed decimal static initial (1,2,3,4,5,6,7,8,9,10); |
|||
RMS = sqrt(sum(a**2))/n; |
|||
</lang> |
|||
=={{header|Python}}== |
=={{header|Python}}== |