Navigator 2.0, Internet Explorer 3.0
Math.sqrt(x)
Any numeric value or expression greater than or equal to zero.
The square root of x.
Math.sqrt() returns the square root of its argument, which must be greater than or equal to zero.
You can compute roots other than the square root of a number with Math.pow(). For example:
function sq_rt(x) { return Math.pow(x,1/2); } function cube_rt(x) { return Math.pow(x,1/3); }
file: /Techref/language/java/SCRIPT/definitive/refp_242.htm, 4KB, , updated: 2019/10/14 15:00, local time: 2024/11/25 08:55,
18.220.200.33:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/language/java/SCRIPT/definitive/refp_242.htm"> [Chapter 21] Reference: Math.sqrt()</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.