Hãy tính tổng: A=1 + \(\dfrac{1}{2}+\dfrac{1}{3}\)+...+\(\dfrac{1}{20}\) trong turbo pascal
Không quy đồng hãy tính tổng sau: A=\(\dfrac{-1}{20}+\dfrac{-1}{30}+\dfrac{-1}{42}+\dfrac{-1}{56}+\dfrac{-1}{72}+\dfrac{-1}{90}\)
A=(-1/4.5)+(-1/5.6)+(-1/6.7)+(-1/7.8)+(-1/8x9)+(-1/9.10)
A=(-1/4)-(-1/5)+(-1/5)-(-1/6)+(-1/6)-(-1/7)+(-1/7)-(-1/8)+(-1/8)-(-1/9)-(-1/9)+(-1/10)
A=(-1/4)-(-1/10)
A=-1/4+1/10
A=-3/20
a) Tính :
\(1-\dfrac{1}{2};\dfrac{1}{2}-\dfrac{1}{3};\dfrac{1}{3}-\dfrac{1}{4};\dfrac{1}{4}-\dfrac{1}{5};\dfrac{1}{5}-\dfrac{1}{6}\)
b) Sử dụng kết quả của câu a) để tính nhanh tổng sau :
\(\dfrac{1}{2}+\dfrac{1}{6}+\dfrac{1}{12}+\dfrac{1}{20}+\dfrac{1}{30}\)
a) \(1-\dfrac{1}{2}=\dfrac{1}{2}\)
\(\dfrac{1}{2}-\dfrac{1}{3}=\dfrac{3-2}{6}=\dfrac{1}{6}\)
\(\dfrac{1}{3}-\dfrac{1}{4}=\dfrac{4-3}{12}=\dfrac{1}{12}\)
\(\dfrac{1}{4}-\dfrac{1}{5}=\dfrac{5-4}{20}=\dfrac{1}{20}\)
\(\dfrac{1}{5}-\dfrac{1}{6}=\dfrac{6-5}{30}=\dfrac{1}{30}\)
b) \(\dfrac{1}{2}+\dfrac{1}{6}+\dfrac{1}{12}+\dfrac{1}{20}+\dfrac{1}{30}\)
\(=\left(1-\dfrac{1}{2}\right)+\left(\dfrac{1}{2}-\dfrac{1}{3}\right)+\left(\dfrac{1}{3}-\dfrac{1}{4}\right)+\left(\dfrac{1}{4}-\dfrac{1}{5}\right)+\left(\dfrac{1}{5}+\dfrac{1}{6}\right)\)
\(=1+\left(-\dfrac{1}{2}+\dfrac{1}{2}\right)+\left(-\dfrac{1}{3}+\dfrac{1}{3}\right)+\left(-\dfrac{1}{4}+\dfrac{1}{4}\right)+\left(-\dfrac{1}{5}+\dfrac{1}{5}\right)+-\dfrac{1}{6}\)\(=1+-\dfrac{1}{6}\)
\(=\dfrac{5}{6}\)
Tính tổng: \(B=\dfrac{1}{2}+\dfrac{1}{6}+\dfrac{1}{12}+\dfrac{1}{20}+\dfrac{1}{30}+\dfrac{1}{42}\)
\(B=\dfrac{1}{2}+\dfrac{1}{6}+\dfrac{1}{12}+\dfrac{1}{20}+\dfrac{1}{30}+\dfrac{1}{42}\)
\(B=\dfrac{1}{1\cdot2}+\dfrac{1}{2\cdot3}+\dfrac{1}{3\cdot4}+\dfrac{1}{4\cdot5}+\dfrac{1}{5\cdot6}+\dfrac{1}{6\cdot7}\)
\(B=1-\dfrac{1}{2}+\dfrac{1}{2}-\dfrac{1}{3}+\dfrac{1}{3}-\dfrac{1}{4}+\dfrac{1}{4}-\dfrac{1}{5}+\dfrac{1}{5}-\dfrac{1}{6}+\dfrac{1}{6}-\dfrac{1}{7}\)
\(B=1-\dfrac{1}{7}\)
\(B=\dfrac{6}{7}\)
\(B=\dfrac{1}{2}+\dfrac{1}{6}+\dfrac{1}{12}+\dfrac{1}{20}+\dfrac{1}{30}+\dfrac{1}{42}\)
\(=\dfrac{6}{7}\)
Hãy tính các tổng sau:
a)\(\dfrac{1}{1\cdot3}\)+\(\dfrac{1}{3\cdot5}\)+\(\dfrac{1}{5\cdot7}\)+\(\dfrac{1}{7\cdot9}\)+\(\dfrac{1}{9\cdot11}\)=
b)\(\dfrac{1}{4\cdot7}\)+\(\dfrac{1}{7\cdot10}\)+\(\dfrac{1}{10\cdot13}\)+\(\dfrac{1}{13\cdot16}\)=
c)\(\dfrac{1}{2\cdot7}\)+\(\dfrac{1}{7\cdot12}\)+\(\dfrac{1}{12\cdot17}\)+...=
1100444-88888=
a)\(\frac{1}{1.3}+\frac{1}{3.5}+\frac{1}{5.7}+\frac{1}{7.9}+\frac{1}{9.11}\)
\(=\frac{1}{2}.\left(\frac{2}{1.3}+\frac{2}{3.5}+\frac{2}{5.7}+\frac{2}{7.9}+\frac{2}{9.11}\right)\)
\(=\frac{1}{2}.\left(\frac{3-1}{1.3}+\frac{5-3}{3.5}+\frac{7-5}{5.7}+\frac{9-7}{7.9}+\frac{11-9}{9.11}\right)\)
\(=\frac{1}{2}.\left(1-\frac{1}{3}+\frac{1}{3}-\frac{1}{5}+\frac{1}{5}-\frac{1}{7}+\frac{1}{7}-\frac{1}{9}+\frac{1}{9}-\frac{1}{11}\right)\)
\(=\frac{1}{2}.\left(1-\frac{1}{11}\right)\)
\(\frac{10}{22}\)
1) Tính tổng C = \(\left(1-\dfrac{1}{2}\right)\).\(\left(1-\dfrac{1}{3}\right)\).\(\left(1-\dfrac{1}{4}\right)\).....\(\left(1-\dfrac{1}{2022}\right)\)
2) Cho tổng A = \(\dfrac{1}{3}\) - \(\dfrac{2}{3^2}\) + \(\dfrac{3}{3^3}\) - \(\dfrac{4}{3^4}\) +...+ \(\dfrac{99}{3^{99}}\) - \(\dfrac{100}{3^{100}}\). Chứng tỏ rằng A < \(\dfrac{3}{16}\)
1) Ta có
\(C=\left(1-\dfrac{1}{2}\right)\left(1-\dfrac{1}{3}\right)\left(1-\dfrac{1}{4}\right)...\left(1-\dfrac{1}{2022}\right)\)
\(C=\dfrac{1}{2}.\dfrac{2}{3}.\dfrac{3}{4}...\dfrac{2021}{2022}\)
\(C=\dfrac{1}{2022}\)
2) \(A=\dfrac{1}{3}-\dfrac{2}{3^2}+\dfrac{3}{3^3}-\dfrac{4}{3^4}+...+\dfrac{99}{3^{99}}-\dfrac{100}{3^{100}}\)
\(\Rightarrow3A=1-\dfrac{2}{3}+\dfrac{3}{3^2}-\dfrac{4}{3^3}+...+\dfrac{99}{3^{98}}-\dfrac{100}{3^{99}}\)
\(\Rightarrow4A=A+3A\) \(=1-\dfrac{1}{3}+\dfrac{1}{3^2}-\dfrac{1}{3^3}+...-\dfrac{1}{3^{99}}-\dfrac{100}{3^{100}}\)
\(\Rightarrow12A=3.4A=3-1+\dfrac{1}{3}-\dfrac{1}{3^2}+...-\dfrac{1}{3^{98}}-\dfrac{100}{3^{99}}\)
\(\Rightarrow16A=12A+4A=\left(3-1+\dfrac{1}{3}-\dfrac{1}{3^2}+...-\dfrac{1}{3^{98}}-\dfrac{100}{3^{99}}\right)+\left(1-\dfrac{1}{3}+\dfrac{1}{3^2}-\dfrac{1}{3^3}+...-\dfrac{1}{3^{99}}-\dfrac{100}{3^{100}}\right)\)
\(=3-\dfrac{101}{3^{99}}-\dfrac{100}{3^{100}}\) \(< 3\). Từ đó suy ra \(A< \dfrac{3}{16}\)
a) Tính A = ( 1 - \(\dfrac{1}{2}\) )( 1 - \(\dfrac{1}{3}\) ) (1-\(\dfrac{1}{4}\) ) ....(1-\(\dfrac{1}{2014}\) ) (1-\(\dfrac{1}{2015}\) ) (1-\(\dfrac{1}{2016}\) )
b)Tìm x biết \(\dfrac{x-2}{12}\) + \(\dfrac{x-2}{20}\) + \(\dfrac{x-2}{30}\)+ \(\dfrac{x-2}{42}\) + \(\dfrac{x-2}{56}\) +\(\dfrac{x-2}{72}\) = \(\dfrac{16}{9}\)
a) Ta có: \(A=\left(1-\dfrac{1}{2}\right)\left(1-\dfrac{1}{3}\right)\left(1-\dfrac{1}{4}\right)\cdot...\cdot\left(1-\dfrac{1}{2014}\right)\left(1-\dfrac{1}{2015}\right)\left(1-\dfrac{1}{2016}\right)\)
\(=\dfrac{1}{2}\cdot\dfrac{2}{3}\cdot\dfrac{3}{4}\cdot...\cdot\dfrac{2013}{2014}\cdot\dfrac{2014}{2015}\cdot\dfrac{2015}{2016}\)
\(=\dfrac{1}{2016}\)
b) Ta có: \(\dfrac{x-2}{12}+\dfrac{x-2}{20}+\dfrac{x-2}{30}+\dfrac{x-2}{42}+\dfrac{x-2}{56}+\dfrac{x-2}{72}=\dfrac{16}{9}\)
\(\Leftrightarrow\left(x-2\right)\left(\dfrac{1}{12}+\dfrac{1}{20}+\dfrac{1}{30}+\dfrac{1}{42}+\dfrac{1}{56}+\dfrac{1}{72}\right)=\dfrac{16}{9}\)
\(\Leftrightarrow\left(x-2\right)\left(\dfrac{1}{3}-\dfrac{1}{4}+\dfrac{1}{4}-\dfrac{1}{5}+\dfrac{1}{5}-\dfrac{1}{6}+\dfrac{1}{6}-\dfrac{1}{7}+\dfrac{1}{7}-\dfrac{1}{8}+\dfrac{1}{8}-\dfrac{1}{9}\right)=\dfrac{16}{9}\)
\(\Leftrightarrow\left(x-2\right)\left(\dfrac{1}{3}-\dfrac{1}{9}\right)=\dfrac{16}{9}\)
\(\Leftrightarrow\left(x-2\right)\cdot\dfrac{2}{9}=\dfrac{16}{9}\)
\(\Leftrightarrow x-2=\dfrac{16}{9}:\dfrac{2}{9}=\dfrac{16}{9}\cdot\dfrac{9}{2}=8\)
hay x=10
Vậy: x=10
Tính tổng :
a) B = \(\dfrac{1}{5}\) + \(\dfrac{1}{20}\)+ \(\dfrac{1}{44}\) +\(\dfrac{1}{77}\) +\(\dfrac{1}{119}\) + \(\dfrac{1}{170}\) +\(\dfrac{1}{230}\) +\(\dfrac{1}{299}\)
b) C = \(\left(1+\dfrac{1}{1.3}\right)\) \(\left(1+\dfrac{1}{2.4}\right)\) \(\left(1+\dfrac{1}{3.5}\right)\) .....\(\left(1+\dfrac{1}{2014.2016}\right)\)
Câu C giải rồi
\(B=\dfrac{1}{5}+\dfrac{1}{20}+\dfrac{1}{44}+\dfrac{1}{77}+\dfrac{1}{119}+\dfrac{1}{170}+\dfrac{1}{230}+\dfrac{1}{299}\)
\(=2\left(\dfrac{1}{10}+\dfrac{1}{40}+\dfrac{1}{88}+\dfrac{1}{154}+\dfrac{1}{238}+\dfrac{1}{340}+\dfrac{1}{460}+\dfrac{1}{598}\right)\)
\(=\dfrac{2}{3}\left(\dfrac{3}{2.5}+\dfrac{3}{5.8}+\dfrac{3}{8.11}+\dfrac{3}{11.14}+\dfrac{3}{14.17}+\dfrac{3}{17.20}+\dfrac{3}{20.23}+\dfrac{3}{23.26}\right)\)
\(=\dfrac{2}{3}\left(\dfrac{1}{2}-\dfrac{1}{5}+\dfrac{1}{5}-\dfrac{1}{8}+...+\dfrac{1}{23}-\dfrac{1}{26}\right)\)
\(=\dfrac{2}{3}\left(\dfrac{1}{2}-\dfrac{1}{26}\right)=\dfrac{4}{13}\)
Bài 1: Tính tổng ( Sử dụng lệnh while....do )
A=1+\(\dfrac{1}{2}\) +\(\dfrac{1}{3}\) +.......+\(\dfrac{1}{n}\) ( n được nhập từ bàn phím )
Bài 2: Tính tổng ( Sử dụng lệnh while....do )
T=1+\(\dfrac{1}{3}\) +\(\dfrac{1}{5}\) +........+\(\dfrac{1}{n}\) ( n nhập từ bàn phím )
Bài 3: Tính tổng ( Sử dụng lệnh while....do )
A=\(\dfrac{1}{1\cdot3}\) + \(\dfrac{1}{2\cdot4}\) + \(\dfrac{1}{3\cdot5}\) +.........+\(\dfrac{1}{n\left(n+2\right)}\) ( n nhập từ bàn phím )
Giúp với mai mink ktra rồi!
Bài 1:
uses crt;
var a:real;
i,n:integer;
begin
clrscr;
write('Nhap n='); readln(n);
a:=0;
i:=1;
while i<=n do
begin
a:=a+1/i;
i:=i+1;
end;
writeln(a:4:2);
readln;
end.
Bài 1: Tính tổng
\(A=\dfrac{1}{3}+\dfrac{1}{3^2}+\dfrac{1}{3^3}+...+\dfrac{1}{3^{100}}\)
\(A=\dfrac{1}{3}+\dfrac{1}{3^2}+\dfrac{1}{3^3}+...+\dfrac{1}{3^{100}}\\ \Leftrightarrow3A=3\left(+\dfrac{1}{3^2}+\dfrac{1}{3^3}+...+\dfrac{1}{3^{100}}\right)\\ =1+\dfrac{1}{3}+\dfrac{1}{3^2}+...+\dfrac{1}{3^{99}}\)
Lấy 3A - A ta được
\(3A-A=\left(1+\dfrac{1}{3}+\dfrac{1}{3^2}+...+\dfrac{1}{3^{99}}\right)-\left(\dfrac{1}{3}+\dfrac{1}{3^2}+\dfrac{1}{3^3}+...+\dfrac{1}{3^{100}}\right)\\
2A=1-\dfrac{1}{3^{100}}\\
\Leftrightarrow A=\dfrac{1-\dfrac{1}{3^{100}}}{2}\)
Ta có: \(A=\dfrac{1}{3}+\dfrac{1}{3^2}+\dfrac{1}{3^3}+...+\dfrac{1}{3^{100}}\)
\(\Leftrightarrow3A=1+\dfrac{1}{3}+\dfrac{1}{3^2}+...+\dfrac{1}{3^{99}}\)
\(\Leftrightarrow2\cdot A=1+\dfrac{1}{3}+\dfrac{1}{3^2}+...+\dfrac{1}{3^{99}}-\dfrac{1}{3}-\dfrac{1}{3^2}-...-\dfrac{1}{3^{100}}\)
\(\Leftrightarrow2\cdot A=1-\dfrac{1}{3^{100}}\)
\(\Leftrightarrow2\cdot A=\dfrac{3^{100}-1}{3^{100}}\)
\(\Leftrightarrow A=\dfrac{3^{100}-1}{2\cdot3^{100}}\)