.. _cube:

============
Cube
============

1) cube_using_near_powerof10
---------------------------------

.. image:: screenshot/cube1.png
    :alt: Yavadunam Methord


**Implementation:**

.. code-block:: python

    import vedicpy as vedic

    a= vedic.cube.cube_using_near_powerof10(103)
    print(a)
    
    # Output
    >>> 1092727

2) cube_2digit_number
---------------------------------

.. image:: screenshot/cube2.png
    :alt: Cubing 2 digit number


.. image:: screenshot/cube3.png
    :alt: Example


**Implementation:**

.. code-block:: python

    import vedicpy as vedic

    a= vedic.cube.cube_2digit_number(37)
    print(a)
    
    # Output
    >>> 50653

