haiku/docs/userguide/pt_PT/applications/deskcalc.html

99 lines
5.9 KiB
HTML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<!--
*
* Copyright 2009, Haiku. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Humdinger <humdingerb@gmail.com>
*
-->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="robots" content="all" />
<title>DeskCalc</title>
<link rel="stylesheet" type="text/css" href="../../Haiku-doc.css" />
</head>
<body>
<div id="banner">
<div><span>User guide</span></div>
</div>
<div class="nav">
<div class="inner">
<ul class="lang-menu">
<li class="now"><img src="../../images/flags/pt_PT.png" alt="" /> Português</li>
<li><a href="../../fr/applications/deskcalc.html"><img src="../../images/flags/fr.png" alt="" />Français</a></li>
<li><a href="../../de/applications/deskcalc.html"><img src="../../images/flags/de.png" alt="" />Deutsch</a></li>
<li><a href="../../it/applications/deskcalc.html"><img src="../../images/flags/it.png" alt="" />Italiano</a></li>
<li><a href="../../ru/applications/deskcalc.html"><img src="../../images/flags/ru.png" alt="" />Русский</a></li>
<li><a href="../../es/applications/deskcalc.html"><img src="../../images/flags/es.png" alt="" />Español</a></li>
<li><a href="../../sv_SE/applications/deskcalc.html"><img src="../../images/flags/sv_SE.png" alt="" />Svenska</a></li>
<li><a href="../../jp/applications/deskcalc.html"><img src="../../images/flags/jp.png" alt="" />日本語</a></li>
<li><a href="../../uk/applications/deskcalc.html"><img src="../../images/flags/uk.png" alt="" />Українська</a></li>
<li><a href="../../zh_CN/applications/deskcalc.html"><img src="../../images/flags/zh_CN.png" alt="" /> 中文 [中文]</a></li>
<li><a href="../../en/applications/deskcalc.html"><img src="../../images/flags/gb.png" alt="" />English</a></li>
</ul>
<span>
« <a href="codycam.html">CodyCam</a>
:: <a href="../applications.html#list-of-apps" class="uplink">Applications</a>
:: <a href="diskprobe.html">DiskProbe</a> »
</span></div>
</div>
<div id="content">
<div>
<div class="box-info">The translation of this page isn't yet complete. Until it is, unfinished parts use the English original.</div>
<h2><img src="../../images/apps-images/deskcalc-icon_64.png" alt="deskcalc-icon_64.png" width="64" height="64" />DeskCalc</h2>
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
<tr><td>Deskbar:</td><td style="width:15px;"></td><td><span class="menu">Applications</span></td></tr>
<tr><td>Localização:</td><td></td><td><span class="path">/boot/system/apps/DeskCalc</span></td></tr>
<tr><td>Definições:</td><td></td><td><span class="path">~/config/settings/DeskCalc_settings</span></td></tr>
</table>
<p><br /></p>
<p>DeskCalc is a simple calculator that nevertheless has some nice features that aren't apparent on first sight.</p>
<img src="../../images/apps-images/deskcalc.png" alt="deskcalc.png" />
<ul>
<li><p>DeskCalc understands much more than its simple keypad suggests.<br />
Besides the operators <tt>+</tt>, <tt>-</tt>, <tt>*</tt>, <tt>/</tt>, <tt>%</tt>, <tt>^</tt> and the constants <tt>pi</tt> and <tt>e</tt> the following math functions are supported:<br />
<tt>acos</tt>, <tt>asin</tt>, <tt>atan</tt>, <tt>atan2</tt>, <tt>ceil</tt>, <tt>cos</tt>, <tt>cosh</tt>, <tt>exp</tt>, <tt>floor</tt>, <tt>log</tt>, <tt>log10</tt>, <tt>pow</tt>, <tt>sin</tt>, <tt>sinh</tt>, <tt>sqrt</tt>, <tt>tan</tt>, <tt>tanh</tt>.</p></li>
<li><p>When it comes to user input, DeskCalc is quite tolerant:<br />
<tt>/</tt>, <tt>:</tt>, <tt>\</tt> are all interpreted as division operators,<br />
<tt>*</tt>, <tt>x</tt> are valid symbols for multiplication.<br />
Also, be aware that <tt>.</tt> and <tt>,</tt> are both considered floating points, which means you mustn't use them as 1000 separators.</p></li>
<li><p>Right-clicking offers these options:</p>
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
<tr><td><span class="menu">Enable Num Lock on start up</span></td><td style="width:15px;"></td><td>automatically activates the number block when launching DeskCalc</td></tr>
<tr><td><span class="menu">Show keypad</span></td><td></td><td>hides the keypad when deactivated</td></tr>
</table></li>
<li><p>You can resize the calculator until it fits your needs and then put it as <a href="../gui.html#replicants">Replicant</a> onto the Desktop via drag&amp;drop of the symbol in the bottom right corner. Make sure <span class="menu">Show replicants</span> is activated in the Deskbar.</p></li>
<li><p>The keypad can be colored with a drag&amp;drop from any color well, e.g. from <span class="app">Icon-O-Matic</span>.</p></li>
<li><p>You can move up and down in a history of past calculations with <span class="key"></span> and <span class="key"></span>.</p></li>
<li><p>You can select DeskCalc's contents and drag&amp;drop it into any application. Or you drop it into a Tracker window or onto the Desktop and a text file with that clipping is created there.</p>
<p>Even better, the reverse is also possible:<br />
Create clippings as described at various stages of your calculation and go back to them by drag &amp; dropping them back into DeskCalc.<br />
Or you drag&amp;drop a calculation directly out of an email onto DeskCalc.</p></li>
<li><p>DeskCalc can be used in Terminal. Just put the expression in double quotes, like this:</p>
<pre class="terminal">~&gt; DeskCalc "sin(45)*(cos(12)+3.45)"
3.6536554673202546181795194727005826674359494735820338441084848</pre></li>
</ul>
</div>
</div>
<div class="nav">
<div class="inner"><span>
« <a href="codycam.html">CodyCam</a>
:: <a href="../applications.html#list-of-apps" class="uplink">Applications</a>
:: <a href="diskprobe.html">DiskProbe</a> »
</span></div>
</div>
</body>
</html>