Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

The report

On using Latex to Write a Solution of Problem

0.1 Chemistry
m(O2 ) = 19.2g
1molO2 2molKClO3 122.55gKClO3
m1 (KClO3 ) = 19.2gO2 ∗ ∗ ∗ = 49.02g
32gO2 3molO2 1molKClO3
%yield = 80%
80%− > 49.02g
100%− > m2 g
m2 (KClO3 ) = 100∗49.02
80
= 61.275g
Python code:
def quantityofmatter(m1, m2, M1, M2):

n1 = m1 // M1
n2 = m2 // M2

print("n1 = ", n1, "n2 = ", n2)

M1 = 32
M2 = 122.5
m1 = int(input("Give the value of the mass of O2: "))
m2 = int(input("Give the value of the mass of KClO3: "))
quantityofmatter(m1, m2, M1, M2)
0.2 Mathematics
∀n ≥ 1, un = np=0 p!1 and vn = un + nn! 1
P

1.Proof:
a) un = np=0 p!1
P

un+1 − un = n+1 1 Pn 1 1 1 1
p=0 p! − p=0 p! = (1 + 2! + ... + n! + (n+1)! ) − (1 +
P

1
2!
+ ... + n!1 ) = (n+1)!
1
≥0
So, un+1 −un ≥ 0, un+1 ≥ un f or n ∈ N, thus (un )n≥1 is increasing
1
b) vn = un + nn!
1 1
vn+1 − vn = un+1 + (n+1)(n+1!) − un − nn! = (1 + 2!1 + ... + n!1 + (n+1)!
1
)+
1 1 1 1 1 1 1
(n+1)(n+1)!
− (1 + 2! + ... + n! ) − nn! = (n+1)! + (n+1)(n+1)! − nn! =
n(n+1)+n−(n+1)2 −1
n(n+1)(n+1)!
= n(n+1)(n+1)!
So, vn+1 − vn ≤ 0, vn+1 ≤ vn , thus (vn )n≥1 is decreasing
2.Proof:
∀n ≥ 1,
1 1
vn = un + nn! ≥ un => nn! is positive, thus un ≤ vn
3. (un ) is increasing and is bounded above, so (un ) is convergent.
Similarly, (vn ) is decreasing and bounded below, so it is convergent.
We may then write that limx→∞ un − limx→∞ vn = limx→∞ (un − vn )
un − vn ≥ 0
1
0 ≤ un − vn = nn! ≤ n1 Using the Squeeze theorem limx→∞ n1 = 0
limx→∞ (un − vn ) = 0. That’s why limx→∞ un = limx→∞ vn = e
Python code:
n=10
u=1
count=0
fac=1
v=0
while(count<n):
fac=fac*(count+1)
u=u+1/fac
count=count+1
v = u + 1/(fac*count)
print("u = ",u, "v = ",v)
0.3 Physics
m~a = F~ = eU e~
d y
max = 0 vx = const = v0
eU eU
may = d vy = md t+C
R R eU t2
x = vx dt = v0 t y = vy dt = 2md
eU x2
y(x) = 2mdv 2
0
Python code:
import matplotlib.pyplot
v=25300000
E=1000
d=10
m=9*pow(10,-31)
q=1.6*pow(10,-19)

for i in range(0,d):
y=-(q*E*i*i)/(2*m*v*v)
plt.scatter(i,y)

plt.xlabel("x")
plt.ylabel("y")
plt.show()
Zhala A.
# 21822861
January 3, 2020

You might also like