Pages - Menu

Wednesday, September 4, 2013

ARE YOU ABLE TO CALCULATE IN BROWSER

Easily Calculate in internet browser
Calculate any thing without calculator
NOW WE LEARN HOW  TO CALCULATE ANY TYPE CALCULATION IN WEB BROWSER LIKE FIREFOX, CHROME, INTERNET EXPLORER.

Now you surfing internet and you need some calculation then you need to open start > All Programs > accessories > calculator.

But now you can easily calculate any thing you want in your web browser. just follow steps

if you used now google chorme, then press ctrl+shift+j ( web console)

and if you use other like firefox internet explorer. then press ctrl+shift+k (web console).
now you just type any calculation then current you get answerd.
like 2+2
4


More about console calculator
You can download from here.

Console Calculator may be a powerful calculator with a straightforward console interface. additionally to being a high-precision calculator (300+ bits of precision), it additionally support base conversion, units conversion, and far a lot of.  The interface is convenient and straightforward to use. produce your own variables and functions, recall previous entries, and quickly hide it with a keystroke. several alternative conveniences ar enclosed that create Console Calculator a multi-function tool that engineers or package developers can appreciate.


High-precision scientific calculator:

  • Calculator Tutorial: The Basics
  • Convenient Features
  • Built-in Math Functions
  • Calculator Options
  • Calculator Commands
  • Using Scripts and Command-Line Interface

Base converter:

  • CCalc as a Base Converter (Decimal, Binary, Hex)

Units converter:

  • CCalc as a Units Conversion Utility

Calculator Tutorial: the fundamentals
At the “> ” prompt, type a mathematical expression or formula and press enter to calculate the result. for instance, once the prompt, sort “4+5*4” followed by the enter key. The result would be:
ans = 24
If you then typewritten, “ans / 2“, your result would be:
ans = 12
To perform a fast calculation on the previous result, rather than typewriting “ans“, you'll sort the operator (*, /, +, or -) at the new prompt and also the “ans” are going to be inserted mechanically. for instance, sort “+” at the start of a replacement line, and “ans+” can mechanically seem. The “-” secret's Associate in Nursing exception. the primary “-” are going to be taken as a negative sign. sort the “-” key doubly at the start of the prompt line to get replaced with “ans-“.
Put multiple calculations during a single line, separated by a punctuation. “m = 5; m+2” would result with:
ans = 7
Using a punctuation additionally suppressed the result from being displayed, like Matlab. this can be helpful once creating script files.
Use hex and binary: “0xFF + 0b1001” would result with:
ans = 264
Use as a unit converter: “10 in->cm” converts ten inches into centimeters. The result's what percentage centimeters ar in ten inches:
ans = 25.4


Valid Operators

-, +, *, /
Subtract, Add, Multiply, Divide
^
Raise to power (or exponent) ie. 3^3 = 27
%
Integer modulo, or remainder function. ie. 7%3 = 1
!
Factorial. i.e. 4! = 4*3*2*1 = 24
<<, >>
Bitwise shift left, right
&, |, @
Bitwise AND, OR, XOR
<, <=, >, >=, ==, !=
Comparison and inequalities
&&, ||
C-style logical AND, OR (non-zero is logical TRUE)
( ), [ ]
Parenthesis may be used

More advanced science functions ar on the market, like root and trig functions. a lot of data on these functions is available: inherent science Functions.

Convenient options
History: Recall Previous Entries
You may press the up or down arrows to quickly copy previous entries to the present prompt, like a UNIX console.
Create Variables
For example, “m = 25” creates a variable m which might be utilized in later calculations. The variable pi = three.14159… is predefined. The variable ans is often capable the previous result.
Define Custom Functions
For example, “par(x,y) = x*y/(x+y)” creates a operate that takes a pair of parameters, x and y.  Then use the operate like this: “par(10,10)“ and also the result's “5″. Functions that you simply produce ar saved to be used in future console calculator sessions.  The ”list” command can show all user-defined functions.
Copy Previous Result
If you copy with no text hand-picked, the previous result's mechanically placed into the writing board and prepared to stick into another application.  (Only the numerical answer is derived, the “ans =″ text is not!)
High exactitude Floating purpose
Arithmetic with high exactitude floating purpose numbers. Over a hundred important digits of decimal accuracy. Most calculators perform double-byte floating purpose calculations, that ar sixty four bit structures. Console Calculator offers you not 64 bits or 128 bits however  (352 bits of arithmetic accuracy! this can be nearly astronomical exactitude.
SI-Unit Prefixes
You may use metric prefixes appended to the top of a number to mechanically modify units. for instance, “5M + 100k” + enter would result with:
ans = 5100000


Metric Prefixes:

Peta-   P   10^15    1 000 000 000 000 000
Tera-   T   10^12    1 000 000 000 000
Giga-   G   10^9     1 000 000 000
Mega-   M   10^6     1 000 000
kilo-   k   10^3     1000
centi-  c   10^-2    0.01
milli-  m   10^-3    0.001
micro-  u   10^-6    0.000 001
nano-   n   10^-9    0.000 000 001
pico-   p   10^-12   0.000 000 000 001
femto-  f   10^-15   0.000 000 000 000 001
atto-   a   10^-18   0.000 000 000 000 000 001

Save and Open Scripts
You may save the contents of the present console to a script file which can be run once more at a later time. every line of a script file should be a sound mathematical expression and commands could also be seperated by semicolons.  Script lines ending with a punctuation can have their console output suppressed once run.  Lines starting with # sign ar unnoticed as comments.
Mac OS X Note: A script file is simply a noticeable computer file, but the *.script extension is appointed to Console Calculator.
Command-Line Interface  (Windows Only)
The calculator has some command-line choices that will be helpful. Blind students have found it helpful, et al have found it helpful for machine-controlled calculations.
ccalc [inputfile] [-o outputfile] [-q]
•    inputfile: a script file that is run now once ccalc starts.
•    outputfile: the contents of the session ar saved to the current file once the CCalc window is closed.
•    -q: if the -q tag is employed, the calculator can perform the calculations within the inputfile, save ends up in the outputfile, and now quit. The console calculator window ne'er even opens during this case. this can be most helpful for machine-controlled calculations.

Built-in science Functions

Built-in functions embody scientific, trig and science.h compatible functions. operate names ar case-insensitive.
•    sqrt – root
•    ln – natural log
•    log – log base ten
•    logxx – log base xx (log2 for log base a pair of, log8 for log base eight, etc)
•    ln – natural log
•    exp – exponential, e^…
•    sin – trigonometric function
•    cos – trigonometric function
•    tan – tangent
•    asin – arcsine
•    acos – arcosine
•    atan – arctangent
•    sinh – hyperbolic trigonometric function
•    cosh – hyperbolic trigonometric function
•    tanh – hyperbolic tangent
•    abs – definite quantity
•    spherical – round operate, rounds up or right down to the closest whole number
•    ceil – ceiling operate, rounds up to the closest whole number
•    floor – floor operate, rounds right down to the closest whole number
•    rand – random variety generator, with most worth fixed
As mentioned antecedently, custom functions might also be created.

Calculator choices

Preferences could also be set to regulate the planning and behavior of the calculator. Note some choices mentioned below ar for Windows solely.



Calculator Options

Preferences may be set to control the look and behavior of the calculator. Note some options mentioned below are for Windows only.

Radian or Degree mode

This effects trigonometric functions.

Font and Colors

Change the font, size, color, and background color.

Displayed Base

The base can be set to either Binary, Decimal, or Hexadecimal. 100 may be displayed as 100, 0×64, or 0b1100100.  This effects only the displayed result.

Display Scientific Notation

Auto: Scientific notation is only used for very small or large floating point numbers.Never: Scientific notation is never used.Always Scientific: Scientific notation is used at all times. (Scientific notation example: 123.88 is displayed as 1.23880e2)Engineering: Engineering notation is used. (Numbers are displayed with exponents in multiples of 3.)Engineering Prefix: Engineering SI-unit prefixes are used. (123.88e-6 is displayed as 123.88u)Financial: Constant number of decimal places. Scientific notation is never used.

Max Significant Figures

Maximum number of significant figures to display, used when displaying in scientific notation. (Significant figures are not applied to integers unless they are being displayed in scientific notation.)

Display Thousands Separator

For certain large numbers, when not using scientific notation, it is helpful to use a thousands separator, such as a comma. For example: 12,888.12. Note that this is for display only; separators are not recognized when entering an equation.

Two’s Complement

When displaying HEX or BINARY values, negative values can optionally be displayed as two’s complement notation.

Transparency

Transparency of the window may be adjusted between 0% and 100%.

Command History Size

Number of stored previous entries.

Always on Top

When enabled, the window will float above all other windows.  Indicated also by a pushpin icon in the calculator window.

Snap-to Screen Edge

When enabled, the window will snap to screen edged when moved.

Minimize to system tray

When enabled, the calculator will minimize to a system tray icon.

Allow multiple instances

When enabled, multiple CCalc.exe windows (instances) can be running at the same time. Otherwise, only a single CCalc window can be active, and this window will be brought to the forefront if CCalc.exe is opened again.

Reassign Calculator AppKey

Certain keyboards have a calculator appkey, which opens the windows calculator by default. If this box is checked, Console Calculator will become the default application when the appkey is pressed. (This is accomplished by editing the Windows registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Explorer\AppKey\18 )

Auto-evaluate

When enabled, current expression is calculated as it is typed in the Status Bar.  Enable the Status Bar in the Options menu or Ctrl-B.

European style delimiters

When enabled, this essentially swaps the meaning of the comma “,” and period “.” from the US custom, so that a period separates thousands and comma indicates decimals.  For example, with european style 1,024.56 would be 1.024,56. This will also effect the character used to separate arguments in a function. instead of f(x,y) you must use f(x.y) to separate the x and y arguments.

10-Key Calculator Mode

When enabled, the calculator behaves as a 10-key calculator. Basically, a tenkey assumes that you are adding a series of numbers. Consequently, the fundamental operation consists of entering numbers and their signs, which the application will sum:
1) Enter number.
2) Enter its sign.
3) Repeat steps 1 and 2 as desired.
Examples:
2+ 3+ => 5
2- 3+ => 1
2+ 3+ 4- => 1
A tenkey also keeps the last number you entered in its cache; if you enter another operator without explicitly typing a new number, the tenkey will use the contents of the cache.
Examples:
2+++ => 2+ 2+ 2+ => 6
2+3++ => 2+ 3+ 3+ => 8




Calculator Commands

Several of the options above can be scripted or changed via commands at the prompt. Below are the available commands.

Command List:

clear or cls
Clear the screen text.
del X (or rem X)
Deletes user-defined function or variable X. To delete all stored variables, use del all.
disp X
Prints a variable name and value.
display [dec|hex|bin]
Sets the display base, such as display hex
echo text string
Prints a text to console (useful for scripting).
european [on|off]
Turns european delimiters on/off.
exit
Exit the calculator.
list
Lists all user-defined functions.
mode [rad|deg]
Sets to radian or degree mode.
scimode [auto|never|always|eng|prefix|finance]
Sets the scientific display mode preference.
sigfigs X
Sets the number of max significant figures to X.
unit newunit
Define a new unit type for units converter.
See below.
gospel
The good news.

Calculator Commands

Several of the choices on top of will be written or modified via commands at the prompt. Below ar the on the market commands.

Base device

This calculator interprets many completely different numerical bases and might convert from one base to a different. you'll amendment the displayed base within the “Options” menu or victimization the keyboard shortcuts shown below. Holding down the shift key whereas dynamic  the bottom can show the previous answer within the new base while not dynamic  the default base for good.


Set display base:

Shortcut:

Binary (base 2)
Ctrl-1
Decimal (base 10)
Ctrl-2
Hexadecimal (base 16)
Ctrl-3

Using Decimal, Hex and Binary
Decimal numbers ar assumed, however you'll specify variety as binary with a “0b” or hex with a “0x“.
The number fifteen (decimal) in several bases:
Decimal: fifteen
Binary: 0b1111
Hexadecimal: 0xF
For example, “15 + 0×5 + 0b101” would result with:
ans = 25
Two’s Complement
When viewing negative numbers as binary or hex, two’s complement notation is nonmandatory. Two’s complement is that the manner that computers generally store signed integers in memory. for instance, -5 may well be displayed in hex as a 32-bit two’s complement, which might be 0xFFFFFFFB instead of -0×0005. this may be a handy possibility for package developers, tho' it's off by default.

Unit device

CCalc is additionally a completely featured units conversion utility. Convert from SI units to non-SI units. Convert between units of length, area, volume, force, and plenty of alternative varieties of units during a convenient manner. merely enter the amount and unit you're changing from, sort the convert operator (a minus and greater-than sign, “-&gt;”), and eventually the unit to convert to.  If you wish a unit that's not a inherent, you'll outline your own custom units! Once created, new unit definitions ar saved for good within the ccalc_functions.txt for future console calculator sessions. Below ar some unit conversion examples.



console calculator sessions. Below are some unit conversion examples.

Description

Example

Result

Get conversion factor
in -> cm
ans = 2.54
Inches to centimeters
20*5 in -> cm
ans = 254
Miles per hour to meters per second
70 mi/h->m/s
ans = 31.2928
Newton-meters to milljoules
50 N-m->millijoules
ans = 50000
Square meters to acres
(4 examples)
10000 m^2->acres
10000 m^2->acre
10000 m*m->acre
10000 m-m->acre
ans = 2.4710538
Define a new unit: furlong
unit furlong = 201.168 meters
new unit created!

Table of Built-In Units and Abbreviations

SI-Base Units

meter
gram
second
ampere
kelvin
mole
candela

SI-Derived Units

radian
meter/meter
steradian
meter^2/meter^2
hertz
/second
newton
meter-kilogram/second^2
pascal
kilogram/meter-second^2
joule
meter^2-kilogram/second^2
watt
meter^2-kilogram/second^3
coulomb
second-ampere
volt
meter^2-kilogram/second^3-ampere
farad
second^4-ampere^2/meter^2-kilogram
ohm
meter^2-kilogram/second^3-ampere^2
siemens
second^3-ampere^2/meter^2-kilogram
weber
meter^2-kilogram/second^2-ampere
tesla
kilogram/second^2-ampere
henry
meter^2-kilogram/second^2-ampere^2
lumen
candela-steradian
lux
candela-steradian/meter^2
becquerel
/second
gray
meter^2/second^2
sievert
meter^2/second^2

Non-SI Units

acre
4.04685642E3meter^2
angstrom
1.0E-10meter
astronomicalUnit
1.495979E11meter
atmosphere
1.01325E5pascal
bar
1.0E5pascal
calorie
4.1868joule
curie
3.7E10becquerel
day
8.64E4second
degree
1.745329E-2radian
electronVolt
1.60219E-19joule
erg
1.0E-7joule
faraday
9.648531coulomb
fermi
1.0E-15meter
foot
3.048E-1meter
gauss
1.0E-4tesla
gilbert
7.957747E-1ampere
grain
6.479891E-5kilogram
hectare
1.0E4meter^2
hour
3.6E3second
inch
2.54E-2meter
lightYear
9.46073E15meter
liter
1.0E-3meter^3
maxwell
1.0E-8weber
mho
1.0siemens
micron
1.0E-6meter
mil
2.54E-5meter
mile
1.609344E3meter
minute
6.0E1second
ounce
28.3495231gram
parsec
3.085E16meter
pica
4.233333E-3meter
pound
4.535924E-1kilogram
revolution
6.283185radian
revolutionPerMinute
1.047198E-1radian/second
week
6.048E5second
yard
9.144E-1meter
year
3.1536E7second

Abbreviations

A
ampere
AU
astronomicalUnit
Bq
becquerel
cd
candela
C
coulomb
eV
electronVolt
F
farad
ft
foot
gr
grain
g
gram
Gy
gray
ha
hectare
H
henry
Hz
hertz
h
hour
hr
hour
in
inch
J
joule
K
kelvin
L
liter
lm
lumen
lx
lux
Mx
maxwell
m
meter
mi
mile
min
minute
mol
mole
N
newton
oz
ounce
pc
parsec
Pa
pascal
lb
pound
rad
radian
rpm
revolutionPerMinute
s
second
sec
second
S
siemens
Sv
sievert
sr
steradian
T
tesla
V
volt
W
watt
Wb
weber
wk
week
yd
yard
y