Theoretical Mechanics IPSP

Jürgen Vollmer, Universität Leipzig

User Tools

Site Tools


sage:howto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
sage:howto [2020/10/27 02:09] – created 139.18.9.3sage:howto [2020/11/28 19:36] (current) – ↷ Links adapted because of a move operation jv
Line 1: Line 1:
-===== Instructions for Downloading of and Working with Sage-Notebooks =====+====== Getting started with Sage ======
  
 +===== Install SageMath =====
 +
 +   * goto [[https://www.sagemath.org]]
 +   * click on  **Download 9.2** icon
 +   * follow the instructions \\ beware the package is huge and installation will (potentially) take quite a while
 +   * start Jupyter Notebook server for Sage
 +
 +**Windows**: open program  
 +       SageMath XX Notebook
 + 
 +**Linux**:  open a shell and run the command  
 +
 +      sage --notebook=jupyter
 +
 +   * look for the Jupyter page in your browser. \\ It should look like the window shown in //Step 2// of the following instruction for downloading and opening the Sage Notebooks that we are providing in this wiki.
 +
 +===== Download and start Notebooks =====
  
 ==== Step 1. Download File ==== ==== Step 1. Download File ====
Line 7: Line 24:
 and store the file on your computer: and store the file on your computer:
  
-{{ :sage:download.png?direct&600 |}}+{{ sage:howto:download.png?direct&600 |}}
  
  
Line 13: Line 30:
  
 Open Jupyter on your computer and click upload: Open Jupyter on your computer and click upload:
-{{ :sage:upload.png?direct&600 |}}+{{ sage:howto:upload.png?direct&600 |}}
  
  
Line 19: Line 36:
  
 navigate to the file on your hard drive and select for upload: navigate to the file on your hard drive and select for upload:
-{{ :sage:upload2.png?direct&600 |}}+{{ sage:howto:upload2.png?direct&600 |}}
  
  
Line 25: Line 42:
  
 select file by left click: select file by left click:
-{{ :sage:open.png?direct&600 |}}+{{ sage:howto:open.png?direct&600 |}}
  
  
Line 31: Line 48:
  
 open the Sage-notebook in a new tab of your browser: open the Sage-notebook in a new tab of your browser:
-{{ :sage:run.png?direct&600 |}}+{{ sage:howto:run.png?direct&600 |}}
  
  
Line 38: Line 55:
 clicking "run" will run the selected cell.  clicking "run" will run the selected cell. 
 Here, the vectors M and D will be defined that specify the position of the reflector: Here, the vectors M and D will be defined that specify the position of the reflector:
-{{ :sage:run2.png?direct&600 |}}+{{ sage:howto:run2.png?direct&600 |}}
  
 You can copy parts of a cell into a new cell and run them, You can copy parts of a cell into a new cell and run them,
 or modify them and see what happens when you run them... or modify them and see what happens when you run them...
  
-Have a look at these [[https://wiki.sagemath.org/interact/graphics|examples on the Sage server]] + 
-and at the solutions of representative problems [[sage:mechanik|on the present Wiki]].+===== Next Steps ===== 
 + 
 +==== Check out example notebooks ==== 
 + 
 +   * solutions of representative problems [[sage:mechanics-workshop|on the present Wiki]] 
 +   * take the [[https://www.sagemath.org/calctut/|Sage Calculus Tutorial]] 
 +   * examples of [[https://wiki.sagemath.org/interact/graphics|graphics interactions on the Sage server]] 
 +   * examples of [[https://wiki.sagemath.org/art?action=show&redirect=plot|animations on the SageMath wiki]] 
 + 
 +==== Browse through help pages and tutorials ==== 
 + 
 +  * [[https://doc.sagemath.org/html/en/tutorial/index.html|Sage Tutorial]] 
 +  * [[https://www.sagemath.org/tour.html|Sage Feature Tour]] 
 +  * documentation on [[https://jupyter-notebook.readthedocs.io/en/latest/notebook.html|Sage Jupyter Notebooks]] 
 + 
 +==== Get the Sage Book ==== 
 + 
 +  * the [[http://sagebook.gforge.inria.fr/english.html|Sage book]] is available for free in [[http://dl.lateralis.org/public/sagebook/sagebook-ba6596d.pdf|English]], [[http://www.loria.fr/~zimmerma/sagebook/CalculDeutsch.pdf|German]], and [[http://dl.lateralis.org/public/sagebook/sagebook-web-20130530.pdf|French]]. 
 + 
 +Let us know if this description works for you,  
 +and  —  if not  —  where you encountered problems. 
 + 
 +~~DISCUSSION~~
sage/howto.1603760984.txt.gz · Last modified: 2020/10/27 02:09 by 139.18.9.3