câu 1 viết chương trình tínhM= \(1+\frac{1}{1.2}+\frac{2}{2.3}+\frac{3}{3.4}+....+\frac{98}{98.99}+\frac{99}{99.100}\)
Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.
Ta có :
\(\frac{1}{1.2}+\frac{1}{2.3}+\frac{1}{3.4}+...+\frac{1}{98.99}+\frac{1}{99.100}\)
\(=\)\(\frac{1}{1}-\frac{1}{2}+\frac{1}{2}-\frac{1}{3}+\frac{1}{3}-\frac{1}{4}+...+\frac{1}{98}-\frac{1}{99}+\frac{1}{99}-\frac{1}{100}\)
\(=\)\(1-\frac{1}{100}\)
\(=\)\(\frac{99}{100}\)
Vậy \(\frac{1}{1.2}+\frac{1}{2.3}+\frac{1}{3.4}+...+\frac{1}{98.99}+\frac{1}{99.100}=\frac{99}{100}\)
Chúc bạn học tốt ~
\(\frac{1}{1\cdot2}+\frac{1}{2\cdot3}+...+\frac{1}{99\cdot100}=1-\frac{1}{2}+\frac{1}{2}-\frac{1}{3}+...+\frac{1}{99}-\frac{1}{100}\)
\(=1-\frac{1}{100}=\frac{99}{100}\)
ĐÚNG 100%
\(A=1-\frac{1}{2}+\frac{1}{2}-\frac{1}{3}+\frac{1}{3}-\frac{1}{4}+...+\frac{1}{99}-\frac{1}{100}\)
\(A=1-\frac{1}{100}\)
\(A=\frac{99}{100}\)
program Tinh_tong;
uses crt;
var S, i: longint;
begin
clrscr;
S:= 0;
i:=1;
For i:=1 to 99 do S:= S + 1/[i*(i+1)];
writeln('Tong cua S=', S);
Readln
End.
program Tinh_tong;
uses crt;
var S,i,n:longint;
begin
clrscr;
writeln('hay nhap n',); Readln(n);
S:=0;
i:=1;
For i:=\(\frac{1}{1.3}\)to\(\frac{1}{99.100}\) do \(S:=S+\frac{1}{99.100}\);
i:=i+1;
IF i<=n THEN writeln('Tong cua S=',A);
Readln
End.
Áp dụng công thức: \(\frac{1}{n\left(n+1\right)}=\frac{1}{n}-\frac{1}{n+1}\)
Ta có:
VT=\(x-\left(\left(1-\frac{1}{2}\right)-\left(\frac{1}{2}-\frac{1}{3}\right)-...\left(\frac{1}{98}-\frac{1}{99}\right)-\left(\frac{1}{99}-\frac{1}{100}\right)\right)\)
=\(x-\frac{1}{100}\)
Dễ dàng tìm được
\(x-\frac{1}{100}=\frac{1}{100}\)
\(x=\frac{1}{50}\)
\(\frac{1^2}{1.2}.\frac{2^2}{2.3}.\frac{3^2}{3.4}.......\frac{99^2}{99.100}.\frac{100^2}{100.101}\)
\(=\frac{1.2.3.....100}{1.2.3....100}.\frac{1.2.3....100}{2.3.4...101}\)
\(=1.\frac{1}{101}=\frac{1}{101}\)
\(\frac{1^2}{1.2}.\frac{2^2}{2.3}.\frac{3^2}{3.4}...\frac{99^2}{99.100}.\frac{100^2}{100.101}\)
\(=\frac{1}{2}.\frac{2}{3}.\frac{3}{4}...\frac{99}{100}.\frac{100}{101}\)
\(=\frac{1.2.3...99.100}{2.3.4...100.101}\)
\(=\frac{1}{101}\)
Đặt tổng trên là A , ta có :
\(\frac{A}{2}=\frac{1}{1.2}+\frac{1}{2.3}+\frac{1}{3.4}+\frac{1}{4.5}+...+\frac{1}{98.99}+\frac{1}{99.100}\)
\(\frac{A}{2}=\left(1-\frac{1}{2}\right)+\left(\frac{1}{2}-\frac{1}{3}\right)+\left(\frac{1}{3}-\frac{1}{4}\right)+\left(\frac{1}{4}-\frac{1}{5}\right)+...+\left(\frac{1}{98}-\frac{1}{99}\right)+\left(\frac{1}{99}-\frac{1}{100}\right)\)
\(\frac{A}{2}=\left(1-\frac{1}{100}\right)+\left(\frac{1}{2}-\frac{1}{2}\right)+\left(\frac{1}{3}-\frac{1}{3}\right)+\left(\frac{1}{4}-\frac{1}{4}\right)+\left(\frac{1}{5}-\frac{1}{5}\right)+...+\left(\frac{1}{98}-\frac{1}{98}\right)+\left(\frac{1}{99}-\frac{1}{99}\right)\)\(\frac{A}{2}=\frac{99}{100}\)
\(A=\frac{99}{100}.2\)
\(A=\frac{99}{50}\)
\(S=\frac{2}{1\times2}+\frac{2}{2\times3}+\frac{2}{3\times4}+...+\frac{2}{98\times99}+\frac{2}{99\times100}\)
\(S=2\times\left(\frac{1}{1\times2}+\frac{1}{2\times3}+\frac{1}{3\times4}+...+\frac{1}{98\times99}+\frac{1}{99\times100}\right)\)
\(S=2\times\left(1-\frac{1}{2}+\frac{1}{2}-\frac{1}{3}+\frac{1}{3}-\frac{1}{4}+...+\frac{1}{98}-\frac{1}{99}+\frac{1}{99}-\frac{1}{100}\right)\)
\(S=2\times\left(1-\frac{1}{100}\right)\)
\(S=2\times\frac{99}{100}\)
\(S=\frac{99}{50}\)
\(S=\frac{2}{1.2}+\frac{2}{2.3}+\frac{2}{3.4}+\frac{2}{4.5}+...+\frac{2}{98.99}+\frac{2}{99.100}\)
\(S=2.\left(\frac{1}{1.2}+\frac{1}{2.3}+\frac{1}{3.4}+\frac{1}{4.5}+...+\frac{1}{98.99}+\frac{1}{99.100}\right)\)
\(S=2.\left(\frac{1}{1}-\frac{1}{2}+\frac{1}{2}-\frac{1}{3}+\frac{1}{4}-\frac{1}{5}+...+\frac{1}{98}-\frac{1}{99}+\frac{1}{99}+\frac{1}{100}\right)\)
\(S=2.\left(\frac{1}{1}-\frac{1}{100}\right)\\ S=2.\left(\frac{100}{100}+\frac{-1}{100}\right)\\ S=2.\frac{99}{100}\\ S=\frac{99}{50}\)
program an_danh;
uses crt;
var kq:real;
i:integer;
begin
clrscr;
kq:= 1;
for i:= 1 to 99 do kq:= kq + (i / (i * (i + 1)));
write('M= ',kq:0:10);
readln
end.
program an_danh;
uses crt;
var kq:real;
i:integer;
begin
clrscr;
kq:= 1;
for i:= 1 to 99 do kq:= kq + (i / (i * (i + 1)));
write('M= ',kq:0:10);
readln
end.