Anonymous user
Averages/Root mean square: Difference between revisions
m
→[[Averages/Root_mean_square#ALGOL 68]]: rm ABS OPerator
No edit summary |
m (→[[Averages/Root_mean_square#ALGOL 68]]: rm ABS OPerator) |
||
Line 36:
rms field sqrt((sum - round off error)/(UPB v - LWB v + 1))
);
main: (
Line 44 ⟶ 41:
print(("crude rms(one to ten): ", crude rms(one to ten), new line));
print(("rms(one to ten): ", rms(one to ten), new line))
)</lang>
Output:
Line 51 ⟶ 47:
crude rms(one to ten): +6.20483682299543e +0
rms(one to ten): +6.20483682299543e +0
</pre>
=={{header|AutoHotkey}}==
===Using a loop===
|