Skip to main content
  • CS105: Introduction to Python
    0%

Focus Mode is ON. Click ‘X’ at right bottom to close it.

  • Previous
  • Scientific Notation for Floating Point Numbers
    Course Introduction
    Course Syllabus
    Unit 1: Introduction to Python 3
    1.1: Introduction to Python 3
    Introducing Python
    1.2: Accessing the Repl.it IDE
    The Repl.it IDE
    1.3: Python 3 Data Types: int and float
    Compare and Contrast int vs. float
    Scientific Notation for Floating Point Numbers
    1.4: Variable Assignment
    Variables and Assignment Statements
    Reserved Words and Variable Naming Conventions
    1.5: Basic Python Output Using the print Function
    Using Variables in Python
    1.6: More Python 3 Data Types: str
    The Basics of Strings
    Values, Types, Variable Names, and Keywords
    Unit 1 Study Session Video Review
    Unit 1 Study Session Video Review
    Unit 1 Review and Assessment
    Unit 1 Review
    Unit 1 Assessment
    Unit 2: Operators
    2.1: Arithmetic Operators: +, -, *, /, **, %, and //
    Practice With Arithmetic Operators
    2.2: Operator Precedence and Using Parentheses
    PEMDAS
    Practice With Operator Precedence
    2.3: Relational and Logical Operators
    The bool Data Type
    Practice with Relational and Logical Operators
    2.4: Operator Precedence Revisited
    Operators and Expressions
    Study Session Video Review
    Unit 2 Study Session Video Review
    Unit 2 Review and Assessment
    Unit 2 Review
    Unit 2 Assessment
    Unit 3: Input and Flow Control Statements
    3.1: Reading Data from the Keyboard
    The Input Command
    3.2: Using Conditional Statements
    if, else, and elif Statements
    3.3: Loop and Iterations
    Using "while" Loops
    Using "for" Loops
    "break", "continue", and "pass" Statements
    3.4: Further Study
    More Useful Videos
    Study Session Video Review
    Unit 3 Study Session Video Review
    Unit 3 Review and Assessment
    Unit 3 Review
    Unit 3 Assessment
    Unit 4: Data Structures I – Lists and Strings
    4.1: Python Lists
    Creating Lists
    Indexing
    Slicing
    List Methods
    List Comprehension
    4.2: Strings Revisited
    Going Deeper with Strings
    String Methods
    4.3: Data Visualization Application
    The matplotlib Library
    Study Session Video Review
    Unit 4 Study Session Video Review
    Unit 4 Review and Assessment
    Unit 4 Review
    Unit 4 Assessment
    Unit 5: Functions
    5.1: The Basics of Functions
    Creating Functions
    5.2: Some Useful Modules
    Trigonometry Review
    Random Numbers
    The "math" Module
    5.3: Application
    Cryptographic Application
    Study Session Video Review
    Unit 5 Study Session Video Review
    Unit 5 Review and Assessment
    Unit 5 Review
    Unit 5 Assessment
    Unit 6: Basic Data Structures II – Tuples, Sets and Dictionaries
    6.1: Immutable Collections
    Tuples and Sets
    6.2: Mutable Collections
    Dictionaries
    Dictionaries and Loops
    Dictionaries and Tuples
    6.3: A Comprehensive Review of Data Structures
    Getting Started with Data
    Study Session Video Review
    Unit 6 Study Session Video Review
    Unit 6 Review and Assessment
    Unit 6 Review
    Unit 6 Assessment
    Unit 7: File Handling
    7.1: File Input and Output
    Syntax and Usage
    7.2: Visualizing Data from a File
    Data Visualization from a Data File
    Study Session Video Review
    Unit 7 Study Session Video Review
    Unit 7 Review and Assessment
    Unit 7 Review
    Unit 7 Assessment
    Unit 8: Regular Expressions
    8.1: The "re" Module
    Syntax and Usage
    Delving Deeper
    8.2: Processing File Data
    Processing File Data
    Study Session Video Review
    Unit 8 Study Session Video Review
    Unit 8 Review and Assessment
    Unit 8 Review
    Unit 8 Assessment
    Unit 9: Exception Handling
    9.1: Catching and Handling Errors
    Stuff Happens
    Example: Try and Except
    Example: ZeroDivisionError
    Example: Else and Finally
    Exceptions Lesson
    More Examples
    9.2: Handling a File Error
    Handling a File Error
    Study Session Video Review
    Unit 9 Study Session Video Review
    Unit 9 Review and Assessment
    Unit 9 Review
    Unit 9 Assessment
    Unit 10: Object-Oriented Programming
    10.1: Overview of Object-Oriented Programming
    Structured Programming and Procedural Programming
    Procedural Programming versus Object-Oriented Programming
    10.2: Object-Oriented Programming (OOP)
    Basic Terminology
    Creating Classes and Methods
    Magic Methods
    Going Deeper
    10.3: Derived Classes
    Inheritance
    Going Deeper
    10.4: Applying Object-Oriented Programming
    An Example of OOP and Inheritance
    Study Session Video Review
    Unit 10 Study Session Video Review
    Unit 10 Review and Assessment
    Unit 10 Review
    Unit 10 Assessment
    Course Summary and Review
    Course Summary and Review
    Study Guide
    CS105 Study Guide
    Course Feedback Survey
    Course Feedback Survey
    Certificate Final Exam
    CS105: Certificate Final Exam
    Archived Materials
  • Next
  • Course Catalog
    • All categories
    Arts & Humanities
    • Art History
    • Communication
    • English
    • Philosophy
    • Business Administration
    • Computer Science
    • English as a Second Language
    Professional Development
    • Business and Communication
    • College Success
    • Computer and Information Technology
    • General Knowledge for Teachers
    • Writing and Soft Skills
    Science and Math
    • Biology
    • Chemistry
    • Mathematics
    • Physics
    Social Science
    • Economics
    • Geography
    • History
    • Political Science
    • Psychology
    • Sociology
  • Home
  • Specialization Programs
    Specialization Programs
  • Help
    Getting Started Help Center & FAQ
Close
Toggle search input
You are currently using guest access
Log in
Course Catalog Collapse Expand
  • All categories
Arts & Humanities
  • Art History
  • Communication
  • English
  • Philosophy
  • Business Administration
  • Computer Science
  • English as a Second Language
Professional Development
  • Business and Communication
  • College Success
  • Computer and Information Technology
  • General Knowledge for Teachers
  • Writing and Soft Skills
Science and Math
  • Biology
  • Chemistry
  • Mathematics
  • Physics
Social Science
  • Economics
  • Geography
  • History
  • Political Science
  • Psychology
  • Sociology
Home Specialization Programs Collapse Expand
Specialization Programs
Help Collapse Expand
Getting Started Help Center & FAQ
Expand all Collapse all
  1. CS105: Introduction to Python
  2. Unit 1: Introduction to Python 3
  3. 1.3: Python 3 Data Types: int and float
  4. Scientific Notation for Floating Point Numbers

Scientific Notation for Floating Point Numbers

Completion requirements

Another way of typing floating-point data is to use scientific notation. For instance, the number 0.0012 can also be entered as 1.2e-3. In this example, "e-3" means "10 to raised to the minus three power" and this value is multiplied by 1.2; hence, 1.2e-3 is equivalent to 0.0012. Try typing 0.0012 into the Repl.it command line, then try entering 1.2e-3. You should see that Python views both entries as the same value. Scientific notation is very useful when the exponents are very positive or very negative. In data science, exponents in numbers such as -5.63e127 or 2.134589e-63 would not be uncommon. Rather than writing out numbers of this kind in their full form, scientific notation offers a more compact, readable form for presenting float data. If you need to review scientific notation, watch this video.


Source: Khan Academy, https://www.khanacademy.org/math/algebra-basics/alg-basics-expressions-with-exponents/alg-basics-scientific-notation/v/scientific-notation
Creative Commons License This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.

Last modified: Thursday, 18 July 2024, 11:12 AM
Contact site support
You are currently using guest access (Log in)
Policies
Get the mobile app
Powered by Moodle


© Saylor Academy 2010-2024 except as otherwise noted. Excluding course final exams, content authored by Saylor Academy is available under a Creative Commons Attribution 3.0 Unported license. Third-party materials are the copyright of their respective owners and shared under various licenses. See detailed licensing information. Saylor Academy®, Saylor.org®, and Harnessing Technology to Make Education Free® are trade names of the Constitution Foundation, a 501(c)(3) organization through which our educational activities are conducted.








Privacy Policy Terms & Conditions

Saylor Academy © 2010-2025 except as otherwise noted. Excluding course final exams, content authored by Saylor Academy is available under a Creative Commons Attribution 3.0 Unported license. Third-party materials are the copyright of their respective owners and shared under various licenses. See detailed licensing information. Saylor Academy®, Saylor.org®, and Harnessing Technology to Make Education Free® are trade names of the Constitution Foundation, a 501(c)(3) organization through which our educational activities are conducted.