1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Chapter 3. Основы работы с программой</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="Руководство пользователя Genius"><link rel="up" href="index.html" title="Руководство пользователя Genius"><link rel="prev" href="ch02s02.html" title="После запуска Genius"><link rel="next" href="ch03s02.html" title="Создание новой программы"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 3. Основы работы с программой</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s02.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ch03s02.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="genius-usage"></a>Chapter 3. Основы работы с программой</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="ch03.html#genius-usage-workarea">Использование рабочей области</a></span></dt><dt><span class="sect1"><a href="ch03s02.html">Создание новой программы</a></span></dt><dt><span class="sect1"><a href="ch03s03.html">Открытие и запуск программы</a></span></dt></dl></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="genius-usage-workarea"></a>Использование рабочей области</h2></div></div></div><p lang="en">
Normally you interact with the calculator in the <span class="guilabel">Console</span> tab of the
work area. If you are running the text only version then the console
will be the only thing that is available to you. If you want to use
<span class="application">Genius Mathematics Tool</span> as a calculator only, just type in your expression in the console, it
will be evaluated, and the returned value will be printed.
</p><p lang="en">
To evaluate an expression, type it into the <span class="guilabel">Console</span> work area and press enter.
Expressions are written in a
language called GEL. The most simple GEL expressions just looks like
mathematics. For example
</p><pre lang="en" class="screen"><code class="prompt">genius> </code><strong class="userinput"><code>30*70 + 67^3.0 + ln(7) * (88.8/100)</code></strong>
</pre><p lang="en">
or
</p><pre lang="en" class="screen"><code class="prompt">genius> </code><strong class="userinput"><code>62734 + 812634 + 77^4 mod 5</code></strong>
</pre><p lang="en">
or
</p><pre lang="en" class="screen"><code class="prompt">genius> </code><strong class="userinput"><code>| sin(37) - e^7 |</code></strong>
</pre><p lang="en">
or
</p><pre lang="en" class="screen"><code class="prompt">genius> </code><strong class="userinput"><code>sum n=1 to 70 do 1/n</code></strong>
</pre><p lang="en">
(Last is the harmonic sum from 1 to 70)
</p><p lang="en">
To get a list of functions and commands, type:
</p><pre lang="en" class="screen"><code class="prompt">genius> </code><strong class="userinput"><code>help</code></strong>
</pre><p lang="en">
If you wish to get more help on a specific function, type:
</p><pre lang="en" class="screen"><code class="prompt">genius> </code><strong class="userinput"><code>help FunctionName</code></strong>
</pre><p lang="en">
To view this manual, type:
</p><pre lang="en" class="screen"><code class="prompt">genius> </code><strong class="userinput"><code>manual</code></strong>
</pre><p lang="en">
</p><p lang="en">
Suppose you have previously saved some GEL commands as a program to a file and
you now want to execute them.
To load this program from the file <code class="filename">path/to/program.gel</code>,
type
</p><pre lang="en" class="screen"><code class="prompt">genius> </code><strong class="userinput"><code>load path/to/program.gel</code></strong>
</pre><p lang="en">
<span class="application">Genius Mathematics Tool</span> keeps track of the current directory.
To list files in the current directory type <span class="command"><strong>ls</strong></span>, to change directory
do <strong class="userinput"><code>cd directory</code></strong> as in the UNIX command shell.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s02.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch03s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">После запуска Genius </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Создание новой программы</td></tr></table></div></body></html>
|