<?php
float acosh ( float $num )
where,
$num = The argument to process in radians
?>
<table width="100%" border="1" cellspacing="5" cellpadding="5">
<tr><td colspan="4">acosh($num)</td></tr>
<tr><td>DEGREES ( ° )<td>RADIANS ( rd )</td><td>OPERATION</td><td>RESULT</td></tr>
<?php
// setlocale(LC_ALL, 'de_DE', 'de-DE');
$pi = M_PI;
$pi_arr01 = [ '0' => 0, 'Л/4' => $pi/4,
'Л/2' => $pi/2, '3Л/4' => 3*$pi/4, 'Л' => $pi, '5Л/4' => 5*$pi/4,
'3Л/2' => 3*$pi/2, '7Л/4' => 7*$pi/4, '2Л' => 2*$pi ];
foreach($pi_arr01 as $val_a => $val_n)
{
echo '<td>' . rad2deg($val_n) . '</td>';
echo '<td>' . $val_a . '</td>';
echo '<td>acosh( ' . cosh($val_n) . ' )</td>';
echo '<td>' . acosh(cosh($val_n)) . '<br><br>' . rad2deg(acosh(cosh($val_n))) . '°' . '</td></tr>';
}
?>
<td colspan="4">ed48</td></tr></table>
<table width="100%" border="1" cellspacing="5" cellpadding="5">
<tr><td colspan="5">cosh($num)/acosh($num)</td></tr>
<tr><td>DEGREES ( ° )<td>RADIANS ( rd )</td><td>OPERATION</td><td>cosh($num)</td><td>acosh($num)</td></tr>
<?php
// setlocale(LC_ALL, 'de_DE', 'de-DE');
$pi = M_PI;
$pi_arr01 = [ '0' => 0, 'Л/4' => $pi/4,
'Л/2' => $pi/2, '3Л/4' => 3*$pi/4, 'Л' => $pi, '5Л/4' => 5*$pi/4,
'3Л/2' => 3*$pi/2, '7Л/4' => 7*$pi/4, '2Л' => 2*$pi ];
foreach($pi_arr01 as $val_a => $val_n)
{
echo '<td>' . rad2deg($val_n) . '</td>';
echo '<td>' . $val_a . '</td>';
echo '<td>cosh( ' . $val_n . ' )</td>';
echo '<td>' . cosh($val_n) . '</td>';
echo '<td>' . log(cosh($val_n) + ((cosh($val_n) + 1)**0.5)*((cosh($val_n) -1)**0.5)) . '</td></tr>';
}
?>
<td colspan="5">ed48</td></tr></table>