Mathematical Functions - Casio FX-890P Owner's Manual

Casio personal computer owner's manual
Table of Contents

Advertisement

6.3.1 Mathematical Functions

The math functions are part of a standard library in ANSI C, and it is recommended
to add the following comment at the beginning of your program:
/* #include <math.h> */
abs()
PURPOSE: Returns the absolute value of an integer.
FORMAT:
int abs(n) int n;
angle()
PURPOSE: Specifies the unit of angular measurement.
FORMAT:
void angle(n) unsigned int n;
PARAMETERS: n = 0: unit = Degrees. n = 1: unit = Radians. n = 3: unit = Grads
SEE: sin(), cos(), tan(), asin(), acos(), atan()
acos()
PURPOSE: Returns the angle value for which cosine (angle value) = parameter.
FORMAT:
double acos(x) double x;
PARAMETERS: x must be within the [-1, +1] range
EXPLANATION:
1. The unit of the returned value is specified using the angle() function.
2. The returned value is in the [0 , 180°] or [0 , π Radians ] range.
SEE: angle(), cos()
acosh()
PURPOSE: Returns the value for which hyperbolic cosine (value) = parameter.
FORMAT:
double acosh(x) double x;
PARAMETERS: x must be within the [1, 5x10
EXPLANATION:
1. The mathematical formula for reverse hyperbolic cosine is:
acosh(x) = ln ( x + √
2. The returned value is in the [-230.2585092, +230.2585092] range.
SEE: cosh(), log()
asin()
PURPOSE: Returns the angle value for which sine (angle value) = parameter.
FORMAT:
double asin(x) double x;
PARAMETERS: x must be within the [-1, +1] range
EXPLANATION:
1. The unit of the returned value is specified using the angle() function.
2. The returned value is in the [-90°, 90°] or [ -π/2, π/2 Radians ] range.
SEE: angle(), sin()
2
x
– 1
) where ln is the natural logarithm.
118
99
[ range

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Z-1grZ-1

Table of Contents