-->
Home » , , , » Concalc is a calculator for the Linux console.
Saturday
29 March 2014

Concalc is a calculator for the Linux console.

Concalc is a calculator for the Linux console. It should also work on all other unix systems. Concalc is just the parser-algorithm of extcalc packed into a simple console program. You can use it if you have need a calculator in your shell.

This documentation refers to Concalc version 0.9.2.


Installation.
1. Unpack package: "tar -xzf concalc-0.9.2.tar.gz"
2. Change directory: "cd concalc-0.9.2"
3. Run configure: "./configure"
4. Compile program: "make"
5. Become root: "su"
6. Install files: "make install"

If all steps run without errors, you will be able to start concalc if you type concalc and any calculation you want into your console.

Download.

Usage.

Parameters.

The following command line options will work in this version:

-m mode
--mode mode

concalc

Set calculator mode.
This can be std for normal scientific calculations or base for logic operations and base-n calculations or script for running scripts
if you choose script mode, the last agrument must be the path to the script file, not the script itsself.

Example:
concalc -m base "10 | 5"

-b base
--base base

Set the base for base-n calculations.
base must be one of bin, hex, dec or oct. The default value is dec for decimal.
This option can only be used when mode is set to base.
Example:
concalc -m base -b bin "100101 | 110111"

-a angle type
--angle angle type

Set angle type for calculation
Arguments: deg (degrees), rad (radiant), gra (grade)
Example:
concalc -a deg "sin30"

-c
--complex

Enable complex numbers

-o output length
--output output length

Set maximum digits of output
Arguments: number between 2 and the max. possible length (normally 18)
Example:
concalc -o 5 "sqrt2"

-h
--help

Print a short help text.

-v
--version

Print version info

Syntax.

nput calculations into concalc:
concalc "input"
Example: concalc "2*(3+4/9)^3"

sqare root:
"sqrt value"
Example 1: sqrt12
Example 2: sqrt(12*(3+3.2²))

trigonometric functions and logarithms:
"function value"
Example: sin3.64+ln4.86
Known functions:
sin
cos
tan
asin
acos
atan
sinh
cosh
tanh
asinh
acosh
atanh
ln
log
lg

other roots:
exponent root value
Example (fourth root of nine): 4root9

differential calculation:
d/dx(function,x-value)
Example: (differential calculation of 2x^2-3x+3 at x=9): d/dx(2x^2-3x+3,9)

integration:
integ(function,start-value,end-value)
Example (integration of sinx+cosx between -1 and 3.2): integ(sinx+cosx,-1,3.2)

Variables:
It is possible to save results in 26 variables, which are represented by the letter A - Z.
Set variable:
asin0.45 ->A
Recall variable:
sinA

Number formats:
normal floating point:
12345
-124.35
-4.67e-6
complex numbers:
-2i
2.5+6i
-3.5i+4.2
with different bases (only integer values):
hex0F3C6
bin10011011
oct43532

Features.

This page collects suggestions for new features from the users of the program.
If you have an idea for a feature that should be added to Extcalc, please send a email to rainer1223@users.sourceforge.net. You will receive a short answer what will happen with your suggestion.
Before you make a suggestion, please have a look at the planned features list.

Planned Features
This is a list of the features that will be integrated into Extcalc during the beta state.
The main features have been integrated during the alpha phase.
  • add calculator support for reverse polish notation (RPN)
  • optimization of the script interpreter and graph drawing methods
  • symbolic calculation with systems of linear equations
  • optimize graphics window for long graphs
  • show syntax errors in calculator and graph functions
  • integration of Qt 4 layout management
New Features
This features have already been integrated into Extcalc during beta state.
  • Port to QT 4
  • redesigned user interface of all tabs
  • reorganisation and optimization of the calculator and script preprocessor functions
  • precise error messages
  • import/export function for graphs
  • comment line in function table
  • usage of logic operations and script commands for graph drawing and analysis
  • integrate list of numeric constants
  • open help file in an integrated browser
  • multithreading for graph calculation
  • optimization of the script parser methods
Main Features
This features have been integrated during the alpha phase.
  • user interface for calculator
  • user interface for graphics
  • mathematical parser with scientific functions
    • standard functions (+, -, *, /, ...)
    • trigonometric functions
    • logarithms
    • roots
    • exponential functions
    • variables
    • integration
    • differential calculation
  • drawing of graphs
    • normal graphs
    • polar graphs
    • parameter function graphs
    • 3D-graphs
    • dynamic graphs
    • complex graphs
  • function graph analysis
    • calculate x-value
    • calculate roots
    • Newton's Method
    • calculate y-values
    • calculate points of intersection
    • integration
    • differential calculation
  • base-n calculatons
  • logic functions
  • tables
  • script editor
  • script management
  • script console
  • scripting commands
    • for and while loop
    • if expression
    • arrays
    • break, continue, stop keywords
    • output functions: print, setcursor, clear
    • input functions: getkey, getline, keystate
    • script commands for file usage
    • 3D-graphics interface for scripting
    • 2D-graphics interface for scripting
  • script debugging messages
  • zooming and moving graphics window
  • saving screenshots of graphics window
  • drawing into graphics window
  • complex numbers
  • matrix calculations
  • vector calculations
  • matrix and vector operation support
    • matrix and vector calculator
    • solving linear equations
    • analyse matrices and vectors
    • generate matrices and vectors
  • statistic functions
    • approximation functions
    • interpolation functions
    • statistical analysis functions

Screenshots.



The graphics window of Extcalc

3D-Graphics in fullscreen mode

Tables window of Extcalc

The script editor and a script running in the script console of Extcalc

Saving screenshots and drawing with Extcalc

The statistics window of Extcalc and a result graph (gaussian normal distribution).

Matrix and Vector operations with Extcalc

If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:

0 commenti:

Post a Comment

Random Posts

  • KDE, Latest Announcements and Latest Applications.
    16.11.2010 - 0 Comments
    Latest Announcements.KDE Ships November UpdatesOn 3rd November 2010, KDE has released 4.5.3, containing translation updates, performance and stability improvements and other bugfixes. KDE recommends everybody running 4.5.2 or earlier versions to…
  • Zentyal (formely eBox Platform) is an open source unified network server (or an Unified Network Platform) for SMEs
    02.09.2010 - 1 Comments
    Zentyal (formely eBox Platform) is an open source unified network server (or an Unified Network Platform) for SMEs. Zentyal can act as a Gateway, Network Infrastructure Manager, Unified Threat Manager, Office Server, Unified Communications Server or…
  • New themes and graphic tools for Ubuntu:  RenRot, RgbPaint, Ripmake and  Recoverjpg.
    29.07.2010 - 0 Comments
    RenRot, rename and rotate files according to EXIF tags.Renrot renames files according the flexible name template (allowing DateTimeOriginal and FileModifyDate EXIF tags, if they exist.Otherwise, the name will be set according to the current…
  • Bio-Linux is an ideal system for scientists handling and analysing biological data.
    20.11.2010 - 0 Comments
    BioLinux is a term used in a variety of projects involved in making access to bioinformatics software on a Linux platform easier using one or more of the following methods: * Provision of complete systems * Provision of bioinformatics software…
  • Toutou Linux is a  variant of Puppy Linux designed for French-speaking users.
    07.02.2010 - 0 Comments
    Toutou Linux is a variant of Puppy Linux designed for French-speaking users. The project's latest version of the fast, lightweight distribution is 4.3.1, released earlier today. Compared to Puppy Linux 4.3.1, the new Toutou comes with a new…
  • Multi-Booting the Nexus 7 Tablet: Getting Ubuntu Touch Running.
    04.07.2014 - 0 Comments
    If you've not seen a Nexus 7, it's a nice little device. Like all "Nexus"-branded Android devices, it's a "reference" device for Google's base Android implementation, so it's got a well-supported set of hardware. I'm not trying…
  • Mozilla Thunderbird ISP Configuration Settings: Gmail.
    20.03.2013 - 0 Comments
    Thunderbird can be configured to work seamlessly with Google's Gmail service. Messages are synchronized between your local version of Thunderbird and the web-based Gmail. Configuring your Gmail account To configure Thunderbird to work with…
  • Gibraltar is a Debian GNU/Linux-based firewall package which is bootable directly from CD-ROM, so hard disk installation is not necessary
    20.01.2010 - 0 Comments
    Gibraltar is a Debian GNU/Linux-based firewall package which is bootable directly from CD-ROM, so hard disk installation is not necessary. The configuration data is optionally stored on hard disk, floppy disk or an USB storage device. Gibraltar was…
  • Mapivi, photo viewer and organizer with emphasis on IPTC fields.
    29.09.2010 - 0 Comments
    Martin's Picture Viewer (Mapivi) is a cross-platform, open source picture manager and organizer. It is a standalone tool and does not use a separate web server, online access or a database.This application copes admirably with EXIF data (like…
  • TuxCards is a hierarical notebook - similar to CueCards - that enables you to organize and sort every kind of entries within a tree-structure.
    16.01.2013 - 0 Comments
    TuxCards is a hierarchical notebook to enter and manage ever every kind of notes and ideas in a structured manner. It was created out of the desire to let my own chaos of papers, notes, and post-it's vanish.  Now, regular digital notebooks…

Recent Posts

Recent Posts Widget

Popular Posts

Labels

Archive

page counter follow us in feedly
 
Copyright © 2014 Linuxlandit & The Conqueror Penguin
-->