
Tutorials
|

GridinSoft Notepad is equiped with a calculator that can evaluate simple expressions.
If you want to calculate a simple expression, use GridinSoft Notepad built-in calculator to get the answer quickly.
Following examples show how to use GridinSoft Notepad built-in calculator.
1. Type in the expression you want to evaluate in GridinSoft Notepad.(The whole expression should be written in one line).
2. Select whole expression for evaluate.
3. Press Ctrl+Enter to calculate the expression.
i.e.
3.14 * (2.43 + 0.91*e) <– press Ctrl+Enter after the selected of expression
3.14 * (2.43 + 0.91*e)=15,3974184966389 <– you will get the answer immediately in the same line
Typing the expresiion, please, take into account the next information:
- The string must be not more then 255 signs;
- You can use the spaces;
- The decimal part must be separated with a dot (not with a comma);
- The expression must be writes by usually rules of entering the expressions for computer (Example: x^2 + sin(5*y)/exp(4*z));
- GridinSoft Notepad takes into account the operations priority (in decreasing order: the function's calculation, raising to the power, multiplying and division, adding and subtraction);
- The program takes into account brackets;
- The program know the next mathematical operations:
| + : | adding | |
| - : | subtraction | |
| * : | multiplying | |
| / : | division | |
| ^ : | raising to the power | |
There are two built-in variables named pi and e. The value of the variable pi=3.14159265358979. The value of the variable e=2,71828182845905. You can use this value as in example:
pi * (2.43 + 0.91*e) <– press Ctrl+Enter when you selected the expression
pi * (2.43 + 0.91*e)=15,4052282908561 <– you will get the answer immediately in the same line
Following list shows basic mathmatics functions supported by GridinSoft Notepad:
round,
trunc,
acos,
acot,
asin,
atan,
cos,
sin,
tan,
cot,
cosh,
sinh,
tanh,
coth,
ln,
exp,
sqr,
sqrt
Mathmatics Functions
| round |
round function |
round(x) rounds its argument to the nearest integral value. |
| trunc |
trunc function |
trunc(x) returns the nearest smaller integer value of argument. |
| acos |
arccosine function |
acos(x) returns the arccosine of x in the range 0 to pi. |
| acot |
arccotangent function |
acot(x) returns the arccotangent of x in the range -pi/2 to pi/2. |
| asin |
arcsine function |
asin(x) returns the arcsine of x in the range -pi/2 to pi/2. |
| atan |
arctangent function |
atan(x) returns the arctangent of x in the range -pi/2 to pi/2. |
| cos |
cosine function |
cos(x) returns the cosine of x (x specified in radians). |
| sin |
sine function |
sin(x) returns the sine of x (x specified in radians). |
| tan |
tangent function |
tan(x) returns the tangent of x (x specified in radians). |
| cot |
cotangent function |
cot(x) returns the cotangent of x (x specified in radians). |
| cosh |
hyperbolic cosine function |
cosh(x) returns the hyperbolic cosine of its argument. |
| sinh |
hyperbolic sine function |
sinh(x) returns the hyperbolic sine of its argument. |
| tanh |
hyperbolic tangent function |
tanh(x) returns the hyperbolic tangent of its argument. |
| coth |
hyperbolic cotangent function |
coth(x) returns the hyperbolic cotangent of its argument. |
| ln |
natural logarithm function |
ln(x) returns the natural logarithm of x. The value of x must be greater than zero. |
| sqr |
square function |
sqr(x) returns x*x. |
| sqrt |
square root function |
sqrt(x) returns the non-negative square root of x. The value of x must not be less than zero. |
|

- Adjustable modes of code highlighting
- Built-in Spell Checker
- HEX editor
- UNICODE support
- Code Folding
- Keymapping (Default, FAR, Visual Studio)
- Code Templates
- Auto Correction
- Console Output
- Multi Interface styles
- Multilingual interface
- Regular expressions
- Evaluate Math Expressions
- Brackets highlighting
- Print with syntax highlighting
- Print preview
- Page Setup
- Bookmarks
- Export the text to RTF,HTML and LaTeX format
- Windows/Unix/Mac file formats support
- Drag-and-Drop support
|