![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 50 Pomógł: 8 Dołączył: 28.10.2011 Ostrzeżenie: (0%) ![]() ![]() |
Siema chciałem zrobić coś do obliczania cotangensa, mam taki o to skrypt:
Ten post edytował Novy. 20.12.2011, 17:02:26 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Moderatorzy Postów: 36 559 Pomógł: 6315 Dołączył: 27.12.2004 ![]() |
http://pl.php.net/manual/en/function.tan.php
Cytat Workaround for cotangent function
<?php //FOR PHP 4 function cot($rad) { return tan(M_PI_2 - rad2deg($rad)); } //FOR PHP 3 function cot($rad) { return tan(M_PI/2 - rad2deg($rad)); } |
|
|
![]() ![]() |
![]() |
Aktualny czas: 5.10.2025 - 19:44 |