Results for “exponent”

6 results

  1. Challenge

    Waypoint distance

    Work out the straight-line distance between two waypoints on a rover map with ** 2 and ** 0.5, then add a third waypoint and print each leg and the length of the whole route.

    Write the code Easy 2 stages exponent square root ** Pythagoras
  2. Article Mini projects

    Calculating Escape Velocity in Python

    …(main number) e means "times 10 to the power of" 24 is the exponent (how many places we need to move the decimal point) Some examples with NumPy: import numpy as np # Scientific notation in NumPy…

  3. Article Python Fundamentals

    Numbers and Basic Math Operations in Python

    …mathematical order of operations (PEMDAS): Parentheses Exponents Multiplication and Division (left to right) Addition and Subtraction (left to right) # Example of order of operations thrust = 1000…