Home > Backend Development > PHP Tutorial > 常用数学函数_PHP

常用数学函数_PHP

WBOY
Release: 2016-06-01 12:32:07
Original
1006 people have browsed it



常用数学函数(一)



 print(abs(-13));//打印绝对值
?>

 // 从 -1 到1打印acos函数的值
 print("\n");
 print("\n");
 for($index = -1; $index  {
  print("\n");
  print("\n");
  print("\n");
  print("\n");
 }
 print("
x acos(x)
$index" . acos($index) . "
\n");
?>

 //  从 -1 到 1打印asin函数的值
 print("\n");
 print("\n");
 for($index = -1; $index  {
  print("\n");
  print("\n");
  print("\n");
  print("\n");
 }
 print("
x asin(x)
$index" . asin($index) . "
\n");
?>



常用数学函数
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template