(\(\frac{n-1}{1}+\frac{n-2}{2}+\frac{n-3}{3}+....+\frac{2}{n-2}+\frac{1}{n-1}\)):\(\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+....+\frac{1}{n}\)
Viết chương trình cho phép nhập số tự nhiên N từ bàn phím (với 0<n<=12) rồi thực hiện:
a: Tìm N! = 1.2.3...N
b: tìm S = \(\frac{1}{1!}+\frac{1}{2!}+\frac{1}{3!}+...+\frac{1}{N!}\)
c: T = \(1+\frac{2}{2^2}+\frac{3}{3^2}+\frac{4}{4^2}+...+\frac{1}{n^2}\)
d: S = \(1+\frac{1}{2^2}+\frac{1}{3^3}+\frac{1}{4^4}+...+\frac{1}{n^n}\)
e: \(S_n=\frac{1}{2}+\frac{2}{3}+\frac{3}{4}+\frac{4}{5}+...+\frac{n}{n+1}\)
f: S = \(1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+...+\frac{x^n}{n!}\)
b)
program hotrotinhoc;
var s: real;
i,n: byte;
function t(x: byte): longint;
var j: byte;
t1: longint;
begin
t1:=1;
for j:=1 to x do
t1:=t1*j;
t1:=t;
end;
begin
readln(n);
s:=0;
for i:=1 to n do
s:=s+1/t(i);
write(s:1:2);
readln
end.
c) Đề em ghi sai rồi thế này với đúng :
\(T=1+\frac{2}{2^2}+\frac{3}{3^2}+\frac{4}{4^2}+...+\frac{n}{n^2}\)
program hotrotinhoc;
var t: real;
n,i: byte;
begin
readln(n);
t:=0;
for i:=1 to n do
t:=t+i/(i*i);
write(t:1:2);
readln
end.
a)
uses crt;
var N,S,i : integer;
begin clrscr;
S:=1;
for i:= 1 to N do S:=S*i;
writeln('N!=',S);
readln
end.
Các cái kia tương tự :))
d)
program hotrotinhoc;
var i,n: byte;
s: real;
function mu(x: byte): longint;
var j : byte;
k: longint;
begin
k:=1;
for j:=1 to x do
k:=k*x;
k:=mu;
end;
begin
readln(n);
s:=0;
for i:=1 to n do
s:=s+1/mu(i);
write(s:1:2);
readln
end.
e)
program hotrotinhoc;
var s: real;
i,n: byte;
begin
readln(n);
s:=0;
for i:=1 to n do
s:=s+i/(i+1);
write(s:1:2);
readln
end.
Bài 1: Chứng minh rằng: \(\frac{1}{3}-\frac{2}{3^2}+\frac{3}{3^3}-\frac{4}{3^4}+...+\frac{99}{3^{99}}-\frac{100}{3^{100}}< \frac{3}{16}\)
Bài 2: Cho \(n\in N;n>1\). Chứng minh rằng: \(S=\frac{1}{2^2}+\frac{1}{3^2}+\frac{1}{4^2}+...+\frac{1}{\left(n-1\right)^2}+\frac{1}{n^2}\notin N\)
Nguyen svtkvtm Khôi Bùi Nguyễn Việt Lâm Lê Anh Duy Nguyễn Thành Trương DƯƠNG PHAN KHÁNH DƯƠNG An Võ (leo) Ribi Nkok Ngok Bonking ...
Rút gọn biểu thức:
\(B=\left(\frac{n-1}{1}+\frac{n-2}{2}+\frac{n-3}{3}+...+\frac{2}{n-2}+\frac{1}{n-1}\right):\left(\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+...+\frac{1}{n}\right)\) + \(\frac{1}{n}\) )
sxdhjkhafn gwudahsjc nbsdluihjckmdln933sdvfdzfs
THU GỌN BIỂU THỨC SAU
\(\left(\frac{n-1}{1}+\frac{n-2}{2}+\frac{n-3}{3}+...+\frac{2}{n-2}+\frac{1}{n-1}\right):\left(\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+...+\frac{1}{n}\right)\)
CMR : với mọi số nguyên dương n thì :
a, \(\frac{1}{3^2}+\frac{1}{5^2}+...+\frac{1}{\left(2n+1\right)^2}< \frac{1}{4}\)
b, \(\frac{1}{1^2+2^2}+\frac{1}{2^2+3^2}+...+\frac{1}{n^2+\left(n+1\right)^2}< \frac{1}{2}\)
c, \(\frac{1}{1^4+1^2+1}+\frac{1}{2^4+2^2+1}+\frac{3}{3^4+3^2+1}+...+\frac{n}{n^4+n^2+1}< \frac{1}{2}\)
THU GỌN BIỂU THỨC SAU
\(\left(\frac{n-1}{1}+\frac{n-2}{2}+\frac{n-3}{3}+...+\frac{2}{n-2}+\frac{1}{n-1}\right):\left(\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+...+\frac{1}{n}\right)\)
Chứng minh rằng:
a)\(\frac{1}{2^2}+\frac{1}{3^2}+\frac{1}{4^2}+...+\frac{1}{2010^2}\)<1
b)\(\frac{1}{2}+\frac{2}{2^2}+\frac{3}{2^3}+\frac{4}{2^4}+...+\frac{100}{2^{100}}\)<2
c)\(\frac{1}{3}+\frac{2}{3^2}+\frac{3}{3^3}+...+\frac{100}{3^{100}}\)<\(\frac{3}{4}\)
d)\(\frac{1}{3^3}+\frac{1}{4^3}+\frac{1}{5^3}+...+\frac{1}{n^3}\)<\(\frac{1}{12}\)\(\left(n\in N;n\ge3\right)\)
e)\(\frac{3}{4}+\frac{5}{36}+\frac{7}{144}+...+\frac{2n+1}{n^2\left(n+1\right)^2}\)<1 (n nguyên dương)
g)\(\frac{1}{31}+\frac{1}{32}+\frac{1}{33}+...+\frac{1}{2048}\)>3
h)\(\left(\frac{2}{1}\right)\left(\frac{4}{3}\right)\left(\frac{6}{5}\right)...\left(\frac{200}{199}\right)\)
\(a)\) Đặt \(A=\frac{1}{2^2}+\frac{1}{3^2}+\frac{1}{4^2}+...+\frac{1}{2010^2}\) ta có :
\(A< \frac{1}{1.2}+\frac{1}{2.3}+\frac{1}{3.4}+...+\frac{1}{2009.2010}\)
\(A< \frac{1}{1}-\frac{1}{2}+\frac{1}{2}-\frac{1}{3}+\frac{1}{3}-\frac{1}{4}+...+\frac{1}{2009}-\frac{1}{2010}\)
\(A< 1-\frac{1}{2010}=\frac{2009}{2010}< 1\)
\(\Rightarrow\)\(A< 1\) ( đpcm )
Vậy \(A< 1\)
Chúc bạn học tốt ~
tìm min p=\(\sqrt{1+\frac{1}{1^2}+\frac{1}{2^2}}+\sqrt{1+\frac{1}{2^2}+\frac{1}{3^2}}+\sqrt{1+\frac{1}{3^2}+\frac{1}{4^2}}+...+\sqrt{1+\frac{1}{n^2}+\frac{1}{\left(n+1\right)^2}}+\frac{101}{n+1}\)
\(1+\frac{1}{n^2}+\frac{1}{\left(n+1\right)^2}=\frac{n^2\left(n+1\right)^2+n^2+\left(n+1\right)^2}{n^2\left(n+1\right)^2}=\frac{n^2\left(n+1\right)^2+2n\left(n+1\right)+1}{n\left(n+1\right)^2}=\frac{\left[n\left(n+1\right)+1\right]^2}{n^2\left(n+1\right)^2}\)
\(\Rightarrow\sqrt{1+\frac{1}{n^2}+\frac{1}{\left(n+1\right)^2}}=\frac{n\left(n+1\right)+1}{n\left(n+1\right)}=1+\frac{1}{n\left(n+1\right)}\)
\(\Rightarrow p=n+\frac{1}{1.2}+\frac{1}{2.3}+...+\frac{1}{n\left(n+1\right)}+\frac{101}{n+1}\)
\(p=n+1-\frac{1}{2}+\frac{1}{2}-\frac{1}{3}+...+\frac{1}{n}-\frac{1}{n+1}+\frac{101}{n+1}\)
\(p=n+1-\frac{1}{n+1}+\frac{101}{n+1}=n+1+\frac{100}{n+1}\ge2\sqrt{\frac{100\left(n+1\right)}{n+1}}=20\)
\(p_{min}=20\) khi \(n+1=\frac{100}{n+1}\Leftrightarrow n=9\)
bạn giải thích cho mình chỗ dấu suy ra thứ 2 được không ạ, vì sao lại xuất hiện n+1/1.2 +......... vậy ạ?
Thay vào công thức:
\(\sqrt{1+\frac{1}{1^2}+\frac{1}{2^2}}=1+\frac{1}{1.2}\) ; \(\sqrt{1+\frac{1}{2^2}+\frac{1}{3^2}}=1+\frac{1}{2.3}\) ...
Cộng lại:
\(1+\frac{1}{1.2}+1+\frac{1}{2.3}+...+1+\frac{1}{n\left(n+1\right)}\)
Có n số 1 cộng với nhau ra n
CÒn lại đống \(\frac{1}{1.2}+\frac{1}{2.3}+...+\frac{1}{n\left(n+1\right)}\) thôi
Bài 1 : Tính C= \(\frac{1}{2!}+\frac{2}{3!}+\frac{3}{4!}+...+\frac{n-1}{n!}\)
Bài 2 : CMR D=\(\frac{2!}{3!}+\frac{2!}{4!}+\frac{2!}{5!}+...+\frac{2!}{n!}< 1\)
Bài 3: Cho biểu thức P=\(1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+...+\frac{1}{199}-\frac{1}{200}\)
a) CMR : P= \(\frac{1}{101}+\frac{1}{102}+...+\frac{1}{200}\)
b) Giải bài toán trên trog trường hợp tổng quát
Bài 4 : CMR: \(\forall n\in Z\left(n\ne0;n\ne1\right)\) thì Q= \(\frac{1}{1.2}+\frac{1}{2.3}+\frac{1}{3.4}+...+\frac{1}{n\left(n+1\right)}\) không phải là số nguyên .
Bài 5 : CMR : S=\(\frac{1}{2^2}+\frac{1}{4^2}+\frac{1}{6^2}+...+\frac{1}{200^2}< \frac{1}{2}\)
1) Tính C
\(C=\frac{1}{2!}+\frac{2}{3!}+\frac{3}{4!}+....+\frac{n-1}{n!}\)
\(=\frac{2-1}{2!}+\frac{3-1}{3!}+\frac{4-1}{4!}+...+\frac{n-1}{n!}\)
\(=1-\frac{1}{2!}+\frac{1}{2!}-\frac{1}{3!}+\frac{1}{3!}-\frac{1}{4!}+...+\frac{1}{\left(n-1\right)!}-\frac{1}{n!}\)
\(=1-\frac{1}{n!}\)
3) a) Ta có : \(P=1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+...+\frac{1}{199}-\frac{1}{200}\)
\(=1+\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+...+\frac{1}{199}+\frac{1}{200}-2\left(\frac{1}{2}+\frac{1}{4}+\frac{1}{6}+...+\frac{1}{200}\right)\)
\(=1+\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+...+\frac{1}{199}+\frac{1}{200}-1-\frac{1}{2}-\frac{1}{3}-...-\frac{1}{100}\)
\(=\frac{1}{101}+\frac{1}{102}+....+\frac{1}{199}+\frac{1}{200}\left(đpcm\right)\)