코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>PHP Built In Function</title> </head> <body> <?php echo "sin3.14는 ".sin(pi()/2)."입니다.<br>"; echo "cos3.14는 ".cos(M_PI)."입니다.<br>"; echo "tan3.14는 ".tan(M_PI/4)."입니다."; ?> </body> </html>