Book Image

Sage Beginner's Guide

By : Craig Finch
1 (1)
Book Image

Sage Beginner's Guide

1 (1)
By: Craig Finch

Overview of this book

Table of Contents (17 chapters)
Sage Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Using the notebook interface


The notebook interface is a more flexible way to work with Sage. Your calculations and the resulting numbers and plots can be saved together in a worksheet. You can add headings and text to document what you've done. In Chapter 10, we'll learn how to use LaTeX to typeset mathematical expressions right in a worksheet.

Starting the notebook interface

There are several ways to start the notebook interface. If you are running Sage in a virtual machine on Windows, double-click on the icon labelled Sage Notebook. If you are starting Sage from the command line, you can use the –notebook option to start Sage and launch the notebook interface. If you already have the Sage interactive shell running, use the notebook() function to start the notebook interface:

sage: notebook()

If a web browser doesn't open automatically, manually start the web browser and go to http://localhost:8000.

If this is your first time running the notebook interface, follow the prompts in the terminal...