network monitoring software KS Calculator
Version 1.05
Copyright (c) 1998,2008 KS-Soft
  Detailed info Main page    Detailed info Details    Copyright/License/WarrantyCopyright/License/Warranty    Download HostMonitorDownload   
KS-Calculator is a powerful, easy-to-use, flexible calculator, which supports operations with numbers in Binary, Octal, Decimal and Hexadecimal formats, operates with expressions and mathematical functions, like: Sin, Cos, Tan, ArcTan, Exp, Ln, Log, etc. KS-Calculator also offers built-in "Calendar" and "Character Map" utilities.

KS-Calculator is FREE software. This means you may download and use it right away at no cost.
KS-Calculator does not require special installation - simply unzip the files and start application. It can be started from removable media, e.g. USB drive.
  General info    Options    Calendar    Chars map    How to use    System Requirements   

General info

KS-Calculator provides easy and intuitive interface for calculation purposes. Once you type expression into "Expression" box, it will be calculated right away and result will be displayed in the "Result" box. When you press Enter, application adds expression into "history" combo box and copies result into "Expression" field.

For different calculation levels, KS-Calculator offers three different views:

1. "Mini" view is useful when you need to calculate something simple, like 125*25-1024/4 or Cos(Pi/3). There are just "Expression" and "Result" boxes visible.

KS-Calculator mini view

2. "Midi" is the most convenient view for any type of calculations. Besides "Expression" and "Result" boxes, you have access to mathematical functions buttons that allow you to build complex mathematical expressions. Also, "Result format" options allow you to choose default notation system for results. You may choose binary, octal, decimal, hexadecimal and custom number systems (base for "custom" number system can be specified in Options dialog).

KS-Calculator midi view

3. "Maxi" view may be utilized by people, who do not like to work with a keyboard and prefer to use mouse. As you may see at the following screen-shot, there is a special "numbers" section appears at the right.

KS-Calculator maxi view

You may easily switch between foregoing views using small buttons above the expression box
In addition to multiple views, KS-Calculator allows you to change color skin. There are three color palettes are predefined: blue, gray and light green.


Options

You may invoke "Options" window by pressing Options button.

  • Store expression history in the file
    Options With this option enabled, KS-Calculator will add expression into "history" combo box every time you press Enter key. List of expressions stored in text file (ks_calc.hst). Application loads stored expressions upon startup.
  • Minimize to tray
    This option tells KS-Calculator to place icon into system tray when you minimize the program. In such case you will not see program in the "Task Bar" when application is minimized.
  • Week starts on
    this option specifies the first day in a week.
  • Maximum expressions history size
    option limits the number of stored expressions in "history" combo box.
  • Base for custom numeric system
    this option allows you to define the basis for the custom numeric system.

Calendar

Calendar During the day you may need to plan long-term deals and have to take a look at the calendar. Calendar utility provides you with simple calendar interface that displays the days corresponding to months of the year (entire year). You may mark some dates to remember. To mark or unmark any day just select a day and press Space key. To see/modify calendar for another year, select a year using "up-down" control at the bottom of dialog. Use "Clear All" button to clear the list of marked dates.



Chars Map

Chars Map You can use "Chars Map" to view the characters that are available in a selected font.
You can copy individual characters or a group of characters to the Clipboard and paste them where necessary.
"Chars Map" allows you to change the font of the characters in order to change its representation. You may select appropriate font from the dropdown at the right-top corner of the window.


How to use

You can use Calculator to perform any of the standard operations for which you would normally use a handheld calculator. Calculator performs basic arithmetic operations, such as addition and subtraction, as well as functions normally found on a scientific calculator, such as logarithms and factorials.

Besides that, expression may contain the following

- Numbers :
  - Binary: use "0b" prefix before the number. Example: 0b10101 = 21, 0b1111 = 15
  - Octal: use "0o" prefix before the number. Example: 0o77 = 63, 0o10 = 8
  - Decimal
  - Hexadecimal: add "$" or "0x" prefix before numbers. Example: 0x100 = 256, 0xFF = 255, $10 = 16

- Constant :
  - Pi - Pi is approximated as 3.1415926535897932385.
  - E = Exp(1)
  - False = 0
  - True = 1

- Arithmetic operations : addition (+), subtraction (-), multiplication (*), division (/), power (^). E.g. 2^3 = 2*2*2 = 8
- Boolean operations : '<', '<=', '>', '>=', '='

- Functions :

  Sin(x)

Sin returns the sine of the angle in radians.

  Cos(x)

The Cos function returns the cosine of the angle X, in radians.

  Tan(x)

Sin(x) / Cos(x)

  ArcTan(x)

ArcTan calculates the arctangent of the given number.

  Deg(x)

The Deg() function converts angles of radian measure into degrees. (Degrees = Radians * 180 / PI )

  Rad(x)

The Rad() function converts degree angles to radians. ( Radians = Degrees * PI / 180)

  Abs(x)

The Abs function returns the absolute value of the argument.

  Exp(x)

Exp returns the value of e raised to the power of X, where e is the base of the natural logarithms.

  Ln(x)

The Ln function returns the natural logarithm (Ln(e) = 1) of the real type expression X.

  Log(x)

The Log10 function returns the log base 10 of X.

  Sqr(x)

The Sqr function returns the square of the argument.

  SQRT(x)

The result is the square root of X.

  Frac(x)

Frac returns the fractional part of a real number.

  Int(x)

Int returns the integer part of a real number.

  Round(x)

Round returns the value of X rounded to the nearest whole number.

  Sgn(x)

Returns -1 if x<0 ; returns 0 if x=0; returns 1 if x>0

  Max(x1,x2,x3...)

Returns maximum value from the x1,x2,x3,...

  Min(x1,x2,x3...)

Returns minimum value from the x1,x2,x3,...

  And(bool1,bool2,bool3...) 

Returns 1 if bool1=1 and bool2=1 and ... otherwise returns 0

  Or(bool1,bool2,bool3...)

Returns 1 if bool1=1 or bool2=1 or ... otherwise return 0

  Xor(bool1,bool2)

Returns (Bool1+Bool2) mod 2

Parentheses
In complex expressions, common rules of precedence determine the order in which operations are performed. An operator with higher precedence is evaluated before an operator with lower precedence, while operators of equal precedence associate to the left. You can use parentheses to override precedence rules. An expression within parentheses is evaluated first and then its result is treated as a single operand. E.g. 10+5*2=20 while (10+5)*2=30

Examples :
Frac(Sin(100)+Cos(10)) + Int(123 + 543/12 - 2*8)
Max(123/32, 256/20, 800-123/5, 15*32)
0x100 + 100 + 0o100 - 0b1010101

After any modification of expression calculator recalculates result value.  If you press [Enter] in Expression field then calculator saves expression and copies result value into expression field.
Sure, you may copy expression or result of calculation into the Clipboard to share it with other applications.


System requirements

  • Windows 95 (OSR2), 98, ME, Windows NT 4.0, Windows 2000, XP or Windows Server 2003
  • 1 Mb of free disk space
  • Minimum screen resolution: 800 x 600