PocketCAS Manual
PocketCAS Manual
PocketCAS Manual
0 Users Manual
Daniel Alm
April 26, 2012
Contents
Introduction 3
1 Getting Started 4
1.1 The document view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1.1 Entry types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 Editing entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3 The main menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3.1 Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4 Tutorials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.5 Additional concepts & tips . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.5.1 Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.5.2 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.5.3 Export capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.5.4 Undo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.5.5 Implicit multiplication . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.5.6 Recalculating the whole document . . . . . . . . . . . . . . . . . . . 8
2 Features of the Entry Editor 9
2.1 The keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2 The info bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.3 The matrix editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.4 The entry type selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.5 The function list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.5.1 The detail view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.6 The variable list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.7 Changing the CAS settings . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3 Plotting 14
3.1 Using the graph view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.2 Plot settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1
3.2.1 Plot ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.3 Plot types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.3.1 Cartesian plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.3.2 Polar plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.3.3 Parametric plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.3.4 Run charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.3.5 3D plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4 Advanced Capabilities 19
4.1 Linear algebra . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.1.1 Matrix and vector formats . . . . . . . . . . . . . . . . . . . . . . . 19
4.1.2 Submatrix access . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.2 Solving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.2.1 Curve sketching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.3 Scripting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2
Introduction
PocketCAS is a great tool for performing sophisticated calculations on your mobile device.
Unfortunately, this exibility comes at a cost: It may not always be obvious how a specic
problem can be approached best with PocketCAS. The tutorials shipped with the application
can show you some approaches for common problems, but they only cover a small portion of
what PocketCAS is capable of. This document is intended to introduce you to every feature
of the applications interface and to provide some insight into its core concepts.
This manual does not provide a reference of every function available in PocketCAS. The
application already contains a (searchable) function list with short descriptions and examples
for every available function. There is a reference manual for the Xcas desktop software,
which uses the same computation system as PocketCAS, available at http://www-fourier.ujf-
grenoble.fr/parisse/giac/casref en.pdf. Please keep in mind that some functions of the
desktop version (especially with regard to plotting) may not be available in PocketCAS.
If you nd areas that should be covered in more detail, please let me know! This is the rst
version of the manual and feedback is very much appreciated.
Most of the descriptions here are given for the iPad version of PocketCAS, but things are very
similar on the iPhone. If an interface feature is signicantly dierent in the iPhone version, it
will be mentioned separately.
3
Chapter 1
Getting Started
This chapter will introduce you into the main interface elements of the application. For an
introduction on how to perform simple calculations, please refer to the Introduction tutorial,
which can be reached from the main menu (cf. section 1.4).
1.1 The document view
Figure 1.1: Screenshot of the document view
The rst thing youll see when starting
PocketCAS is the document view. It shows
an overview of all the entries in the cur-
rent document. Each entry represents a
dierent set of expressions that belong to-
gether. Pressing the Edit button allows
you to rearrange, delete and insert entries,
while tapping an entry lets you edit its con-
tents.
1.1.1 Entry types
There are several distinct types of en-
tries that are each handled dierently by
PocketCAS:
4
Calculations
A calculation consists of several lines whose contents are executed consecutively. This for
example allows you to dene a variable in the rst line, then perform calculations with it
in the subsequent lines. In the document view, the result of executing each line will be
displayed right below it: Symbolic results are shown with an arrow, approximations with
an approximation sign.
Plots
Plot entries contain a special view that shows graphs of the expressions it contains. See
chapter 3 for details.
3D Plots
3D plot entries are dierent from regular plots as they contain expressions that need to be
plotted in three (rather than two) dimensions. See section 3.3.5.
Scripts
A scripts lines are evaluated all at once in order to allow for multi-line expressions (e.g.
complicated functions, loops, etc.). Thus, a script entry will show just one result line no
matter how many text lines it consists of. See section 4.3 for details.
1.2 Editing entries
After tapping an entry (or the New Entry button), the entry editor will be shown. It is
described in more detail in chapter 2. When you are done editing an entry, press the blue
Calculate button in the top right of the editor or the go! key on the keyboard.
1.3 The main menu
The main menu is available from the Menu button on the top left of the document view.
It allows you to create, load and save documents, access tutorials and change the settings,
which are explained below.
5
In PocketCAS for iPhone, you can also export the current document from here (cf. 1.5.3).
1.3.1 Settings
Auto-Approximate
Figure 1.2: Screenshot of the set-
tings menu
When enabled, PocketCAS will check if its suitable to
show an approximation of the result, and if so, show
it alongside the symbolic result. For example, if a cal-
culation returned
22