Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Avatar for KuCalc : devops.
Download
50640 views
1
# CoCalc Examples Documentation File
2
# Copyright: CoCalc Authors, 2015
3
# License: Creative Commons: Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
4
---
5
language: sage
6
category: Tutorial / Help
7
---
8
title: Embedded Help
9
descr: |
10
Sage has extensive built-in documentation, accessible by typing the name of a function or a constant
11
(for example), followed by a question mark:
12
13
```
14
log2?
15
```
16
code: log2?
17
---
18
title: Help Function
19
descr: >
20
It's also possible to use the `help(...)` function.
21
code: help(log2)
22
---
23
title: SageMath Documentation
24
descr: |
25
Here are some links to the SageMath documentation:
26
27
* [Main Index](http://doc.sagemath.org/)
28
* [Sage Tour](http://doc.sagemath.org/html/en/a_tour_of_sage/index.html)
29
* [Tutorial in English](http://doc.sagemath.org/html/en/tutorial/index.html)
30
* [Thematic Tutorials](http://doc.sagemath.org/html/en/thematic_tutorials/index.html)
31
* [Reference Guide](http://doc.sagemath.org/html/en/reference/index.html)
32
* [Constructions](http://doc.sagemath.org/html/en/constructions/index.html)
33
code: ""
34
---
35
title: Community Help
36
descr: |
37
Here are places on the internet where you can get help:
38
39
* [SageMath Support Group](https://groups.google.com/group/sage-support)
40
* [Ask SageMath](http://ask.sagemath.org/)
41
code: ""
42
---
43
title: Tab-Completion
44
descr: |
45
To learn more about possible operations on an object or existing functions and classes,
46
first type in the variable, then a dot, and then press the [`TAB` key](https://www.google.at/search?q=tab+key).
47
48
The tab key can either autocomplete your current input at the position of the cursor,
49
or give you a list of possible completions.
50
51
In the given example here, position the cursor after the dot and press the `[TAB]` key.
52
53
Autocompletion also works for partial strings and pre-defined objects.
54
In the second and third example, you can either all implemented Graphs or tab-complete a specific function.
55
code: |
56
# press the tab key after placing the cursor right next to the "."
57
%var x
58
ex = 2*x/sin(x)
59
ex.
60
# for implemented graphs
61
graphs.
62
# or place the cursor after "Group" and press tab
63
Group
64
65