### Programming Assignment 2

Python Programming Assignments

This is the second set of python assignments I found.

This is the second set of python assignments I found.

- Get link
- Google+

1 ♦ 0 = 0.a

0.a = 0.a

0.a = (0 + 0).a [*Since 0 is the additive identity*]

0.a = 0.a + 0.a [*Distributive Axiom*]

-0.a + 0.a = -0.a + 0.a + 0.a [*Adding (-0.a) to both sides, the additive inverse of 0.a*]

0 = (-0.a + 0.a) + 0.a [*Associative Axiom*]

0 = 0 + 0.a

**0** = **0.a** [*Since 0 is the additive identity*] ♠

2 ♦ -a = -1(a)

(-a) = (-a)

(-a) = (-a) + 0 [*Additive Identity*]

(-a) = (-a) + 0.a [*Since 0 = 0.a (By above theorem (1))*]

(-a) = (-a) + (1 + (-1))a [*Additive Inverse of 1*]

(-a) = (-a) + (1.a + (-1)a) [*Distributive Axiom*]

(-a) = (-a) + (a + (-1)a) [*Multiplicative Identity*]

(-a) = ((-a) + a) + (-1)a [*Associative Axiom*]

(-a) = 0 + (-1)a [*Additive Identity*]

**(-a)** = **(-1)a** [*Additive Identity*] ♠

3 ♦ -(a + b) = (-a) + (-b)

-(a + b) = -(a + b)

–(a + b) = (-1)(a + b) [*By above theorem (2)*]

(-1)(a + b) = (-1)(a) + (-1)(b) [*Distributive Axiom*]

**-(a + b)** = **(-a) + (-b)** [*By above theorem (2)*]

♦ Sup(A + B) = Sup(A) + Sup(B)

∀ a ∈ A and ∀ b ∈ B;

a ≤**Sup(A)** and b ≤ **Sup(B)**

∴ a + b ≤**Sup(A) + S…
**

0.a = 0.a

0.a = (0 + 0).a [

0.a = 0.a + 0.a [

-0.a + 0.a = -0.a + 0.a + 0.a [

0 = (-0.a + 0.a) + 0.a [

0 = 0 + 0.a

2 ♦ -a = -1(a)

(-a) = (-a)

(-a) = (-a) + 0 [

(-a) = (-a) + 0.a [

(-a) = (-a) + (1 + (-1))a [

(-a) = (-a) + (1.a + (-1)a) [

(-a) = (-a) + (a + (-1)a) [

(-a) = ((-a) + a) + (-1)a [

(-a) = 0 + (-1)a [

3 ♦ -(a + b) = (-a) + (-b)

-(a + b) = -(a + b)

–(a + b) = (-1)(a + b) [

(-1)(a + b) = (-1)(a) + (-1)(b) [

♦ Sup(A + B) = Sup(A) + Sup(B)

∀ a ∈ A and ∀ b ∈ B;

a ≤

∴ a + b ≤

- Get link
- Google+

L1_2.2 Python Programs

Step 1: Type the Python program using a text editor such as gedit or vi or emacs or Kwrite and save as test1.py ($ gedit test1.py)

Step 3: Modify the above program to display the source code.

# Step 1# ******** ## display Hello Worldprint"Hello world !\n"# Step 3# ******** #print"# display Hello World\n"print"print \"Hello world !\\n\"\n"

Step 1: Type the Python program using a text editor such as gedit or vi or emacs or Kwrite and save as test1.py ($ gedit test1.py)

Step 3: Modify the above program to display the source code.

# Step 1# ******** ## display Hello Worldprint"Hello world !\n"# Step 3# ******** #print"# display Hello World\n"print"print \"Hello world !\\n\"\n"

- Get link
- Google+

This is my very first blog. Learning and implementing about blogging and discovering it's trends, basically this blog will help anyone out with Mathematics, Python Programming Fundamentals at the university level.

Mathematics will cover**Logic and Set Theory** [Propositions, Quantifiers, Techniques of Proof, Sets, Relations, Functions], **Real Analysis** [Intervals, Supremum and Infemum, Completeness Axiom, Limit of a Function, Differentiability, Rolle’s Theorem, L’ Hospital’s Rule, Sequences, Convergence of Series: Ratio Test, Comparisons Test, Limit Comparison Test, Maclaurine’s Integral Test; Taylor’s Series, Integration of Continuous Functions, Definite and Indefinite Integrals], **Complex Numbers, Vectors, and Matrices** [Algebra of Complex Numbers, De Moriver’s Theorem, Argand Diagram, Vector Algebra, Scalar Triple Product, Vector Triple Product, Line and Plane, Matrix Algebra, Echelon Forms, Rank, Determinants, Eigen Values, Spectral Radius, Matrix Norms: Maximum Row Sum, Maximum Co…

Mathematics will cover