Bindeshwar Singh Kushwaha

  • Classes and Objects in Python

    Class
    In object oriented programming, a class contains procedures and data members. And treated as an abstract data type.
    Object
    An object is an instance of a class.

     

    In […]

  • Function-
    A function is a self-contained block of statement to perform a specific task.

    Basically, there are two types of function
    Library Functions
    These functions are are provided by a Python’s package […]

  • Expectation  in statistics
    Expectation  in statistics is the weighted average of a random variable with its probability.

    Suppose you toss three coins, then think of event to turn heads up.

    Random variable a […]

  • Array in Python

    Python does not have in-built array. However, in C/C++ and Java you have learnt array and have expectation that it would be in Python. Further, array also a very important data structure and […]

  • Dictionary in Python

    Dictionary in Python is collection of unordered items. Python provide in-built support for dictionary. Unlike, other in-built data structures in which they have single value such list, […]

  • Tuples in Python
    Tuples in Python are ordered collection of items(integer, float, string) which are immutable. The only difference from list you can notice that a tuple in Python is immutable.
    Further, it uses […]

  •  

    Decision making is fundamental in making a program. All programming languages provide in-built structure for it and Python is not exception.

    In this post, I will explain decision making using if else […]

  • Sets in Python
    Set is an unordered collection of unique elements. Items in sets are immutable which can not be replaced or changed. Elements of a set can not be accessed using indexing or a set can not be […]

  •  

    Variable Declaration and Definition in Python
    Unlike C/C++ and Java, Python uses dynamic typed variables.
    What does it mean?
    To know answer of the question see the variable declaration in C.
    int x;
    It […]

  • List in Python
    List in Python is a very powerful data structure which can store any type of data which is supported by Python.

    It is created using square bracket for […]

  • Sets
    Set is a collection of well-defined objects.
    Set’s Representation
    Basically, there are two ways of a set representation.
    Types of Set
    1-Null Set
    A set is called null set if it is empty or it does not […]

  • Quadratic Form in Linear Algebra
    An expression

    is called quadratic form in the variables x1, x2, x3,………….,xn over field F.

    Where aij i=1,2,3,….n, j=1,2,3,….m are elements of F.

    If aij are […]

  • To understand test for  convergence of a series you have to understand sequence and series and related concepts.
    Sequence
    A sequence S is a function whose domain is natural numbers and range is real […]

  • If z is a function of two independent variables x and y. Then second order partial differential equation

    Rr+Ss+Tt+ f(x,y,z,p,q)=0

    Where
    r, s and t are

    and R, S and T are continuous functions of x and […]

  • Matrix Representation of a Linear Transformation
    Suppose U and V are two vector spaces over the same field F of dimensions m and n. Let A = {α1, α2, α 3,……,α3} and B={β1, β2, β3,…….,βn} be ordered bases o […]

  • Bubble Sort in Python
    The basic idea behind bubble sort is to compare the first element in list to second element .
    Compare the second element to the third element if greater swap the elements.
    Compare the […]

  • To  understand  Caley-Hamilton theorem you have to know about characteristic polynomial.
    Characteristic Polynomial
    If A is a square matrix of of size n * n, and I is identity matrix of the same size as A. Then d […]

  • Load More