Introduction: This is a detailed page of common PHP mathematical functions. It introduces related knowledge, skills, experiences, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 324392 'rolling = 'no'>
<HTML>
<Head>
<Title> common mathematical functions (1) </title>
</Head>
<Body>
<?
Print (ABS (-13); // print the absolute value
?>
<?
// Print the value of the ACOs function from-1 to 1
Print ("<Table border = \" 1 \ "> \ n ");
Print ("<tr> <TH> x </Th> <TH> ACOs (x) </Th> </tr> \ n ");
For ($ Index =-1; $ index <= 1; $ index + = 0.25)
{
Print ("<tr> \ n ");
Print ("<TD> $ index </TD> \ n ");
Print ("<TD>". ACOs ($ Index). "</TD> \ n ");
Print ("</tr> \ n ");
}
Print ("</table> \ n ");
?>
<?
// Print the ASIN function value from-1 to 1
Print ("<Table border = \" 1 \ "> \ n ");
Print ("<tr> <TH> x </Th> <TH> asin (x) </Th> </tr> \ n ");
For ($ Index =-1; $ index <= 1; $ index + = 0.25)
{
Print ("<tr> \ n ");
Print ("<TD> $ index </TD> \ n ");
Print ("<TD>". asin ($ Index). "</TD> \ n ");
Print ("</tr> \ n ");
}
Print ("</table> \ n ");
?>
</Body>
</Html>
More articles on "Common mathematical functions in PHP"
Love J2EE follow Java Michael Jackson video station JSON online tools
Http://biancheng.dnbcw.info/php/324392.html pageno: 15.