User Manual
Table Of Contents
- Contents
- Getting Acquainted — Read This First!
- Chapter 1 Basic Operation
- Chapter 2 Manual Calculations
- 1. Basic Calculations
- 2. Special Functions
- 3. Specifying the Angle Unit and Display Format
- 4. Function Calculations
- 5. Numerical Calculations
- 6. Complex Number Calculations
- 7. Binary, Octal, Decimal, and Hexadecimal Calculations with Integers
- 8. Matrix Calculations
- 9. Vector Calculations
- 10. Metric Conversion Calculations
- Chapter 3 List Function
- Chapter 4 Equation Calculations
- Chapter 5 Graphing
- 1. Sample Graphs
- 2. Controlling What Appears on a Graph Screen
- 3. Drawing a Graph
- 4. Saving and Recalling Graph Screen Contents
- 5. Drawing Two Graphs on the Same Screen
- 6. Manual Graphing
- 7. Using Tables
- 8. Modifying a Graph
- 9. Dynamic Graphing
- 10. Graphing a Recursion Formula
- 11. Graphing a Conic Section
- 12. Drawing Dots, Lines, and Text on the Graph Screen (Sketch)
- 13. Function Analysis
- Chapter 6 Statistical Graphs and Calculations
- 1. Before Performing Statistical Calculations
- 2. Calculating and Graphing Single-Variable Statistical Data
- 3. Calculating and Graphing Paired-Variable Statistical Data (Curve Fitting)
- 4. Performing Statistical Calculations
- 5. Tests
- 6. Confidence Interval
- 7. Distribution
- 8. Input and Output Terms of Tests, Confidence Interval, and Distribution
- 9. Statistic Formula
- Chapter 7 Financial Calculation
- Chapter 8 Programming
- Chapter 9 Spreadsheet
- Chapter 10 eActivity
- Chapter 11 Memory Manager
- Chapter 12 System Manager
- Chapter 13 Data Communication
- Chapter 14 Geometry
- Chapter 15 Picture Plot
- Chapter 16 3D Graph Function
- Chapter 17 Python (fx-CG50, fx-CG50 AU only)
- Appendix
- Examination Mode
- E-CON4 Application
- 1. E-CON4 Mode Overview
- 2. Sampling Screen
- 3. Auto Sensor Detection (CLAB Only)
- 4. Selecting a Sensor
- 5. Configuring the Sampling Setup
- 6. Performing Auto Sensor Calibration and Zero Adjustment
- 7. Using a Custom Probe
- 8. Using Setup Memory
- 9. Starting a Sampling Operation
- 10. Using Sample Data Memory
- 11. Using the Graph Analysis Tools to Graph Data
- 12. Graph Analysis Tool Graph Screen Operations
- 13. Calling E-CON4 Functions from an eActivity

17-2
Flow from py File Creation to Running the File
The example below explains the operation flow from creation of a new py file up to running it.
Example: To create a py file that obtains the surface area and volume of a regular
octahedron and to run it to calculate the surface area and volume when
the length of one side is 10. The file name is OCTA.
A
You can obtain the surface area (S) and volume (V) of a regular octahedron
when the length of one side (A) is known using the formulas below.
S = 2'3 A
2
, V = A
3
––––
'2
3
Here we will write a program that, when the py file is run,
prompts for input of A, which is then used in the above
formulas to output the calculation results. In this manual, a
program written in Python (and stored in a py file) is called a
“py script”.
For this example, we will input a py script like the one shown
in the screen shot to the right.
Procedure
1. From the main menu, enter the Python mode.
This displays the file list screen.
File names are listed in alphabetical order.
The values on the right side of the file list indicate the
number of bytes used by each py file.
•
•
•
2. Create a new file and register a file name*.
Here we will use the procedure below to create a new py file named “OCTA”.
3(NEW)5(A⇔a)j(O)I(C)/(T)v(A)w
This displays the script editor screen.
* File Names
You can input up to eight letters (eight bytes) for a file name.
A file name can be made up of single-byte alphanumeric characters (A to Z, a to z, 0 to 9).
This calculator does not distinguish between uppercase and lower case letters.
Important!
Note that a file with a name that starts with a numeral or a name that is a Python reserved
word will not run.
k
•
•
•