PHP常用数学函数

简介:这是PHP常用数学函数的详细页面,介绍了和php,有关的知识、技巧、经验,和一些php源码等。

class='pingjiaF' frameborder='0' src='http://biancheng.dnbcw.info/pingjia.php?id=324392' scrolling='no'>
<HTML>
<HEAD>
<TITLE>常用数学函数(一)</TITLE>
</HEAD>
<BODY>
<?
 print(abs(-13));//打印绝对值
?>
<?
 // 从 -1 到1打印acos函数的值
 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");
?>
<?
 //  从 -1 到 1打印asin函数的值
 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>


“PHP常用数学函数”的更多相关文章 》

爱J2EE关注Java迈克尔杰克逊视频站JSON在线工具

http://biancheng.dnbcw.info/php/324392.html pageNo:15

posted on 2011-11-19 11:27  圣者  阅读(183)  评论(0编辑  收藏  举报

导航