\(M=\frac{1}{2_{^{^2}}}+\frac{1}{3^2}+\frac{1}{4^2}+...+\frac{1}{n^2}<1\left(n\in N\right);n\ge2\)
Biết: \(C^2_{n+1}+2C^2_{n+2}+2C^2_{n+3}+C^2_{n+4}=149\). Tính: \(M=\frac{A^4_{n+1}+3A^3_n}{\left(n+1\right)!}\)
tìm giá trị lớn nhất , nhỏ nhất trên \(\left[\frac{1}{4};4\right]\)của \(y=\frac{1}{3}log_{\frac{1}{2}}^3x+log^2_{\frac{1}{2}}x-\left(3log_{\frac{1}{2}}x\right)+1\)
ta có
\(\)\(y=\frac{1}{3}\log^3_{\frac{1}{2}}x+\log^2_{\frac{1}{2}}x-3\log_{\frac{1}{2}}x+1\)
Đặt =\(t=\log_{\frac{1}{2}}x\) ta có
\(y=\frac{1}{3}t^3+t^2-3t+1\)
với \(\frac{1}{4}\le x\le4\Leftrightarrow\frac{1}{4}\le\left(\frac{1}{2}\right)^t\le4\Leftrightarrow-2\le t\le2\)
thay vì tính GTLN,GTNN của hàm số y trên [1/4;4] ta tính GTLN,GTNN của hàm số trên [-2;2]
ta tính \(y'=t^2+2t-3\)
ta tính y'=0 suy ra t=1(loại);t=-3(loại)
ta tính y(2)=\(\frac{5}{3}\);y(-2)=\(\frac{-25}{3}\)
vậy GTNN của y=\(\frac{-25}{3}khi\log_{\frac{1}{2}}x=-2\Rightarrow x=4\)
hàm số đạt GTLN y=\(\frac{5}{3}\) khi \(\log_{\frac{1}{2}}x=2\Leftrightarrow x=\left(\frac{1}{2}\right)^2=\frac{1}{4}\)
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.
Cho 3 số thực dương x, y, z thỏa mãn \(x+y+z\le\frac{3}{2}\). Tìm GTNN của biểu thức:
\(P=\frac{x\left(yz+1\right)^2}{z^2_{ }\left(zx+1\right)}+\frac{y\left(zx+1\right)^2}{x^2\left(xy+1\right)}+\frac{z\left(xy+1\right)^2}{y^2\left(yz+1\right)}\)
\(\frac{3}{2}\ge x+y+z\ge\sqrt{xy}+\sqrt{yz}+\sqrt{zx}\)
\(P\ge3\sqrt[3]{\frac{x\left(yz+1\right)^2.y\left(zx+1\right)^2.z\left(xy+1\right)^2}{z^2\left(zx+1\right)x^2\left(xy+1\right)y^2\left(yz+1\right)}}=3\sqrt[3]{\frac{\left(xy+1\right)\left(yz+1\right)\left(zx+1\right)}{xyz}}\)
Xét \(Q=\frac{\left(xy+1\right)\left(yz+1\right)\left(zx+1\right)}{xyz}=\frac{\left(xy+1\right)\left(yz+1\right)\left(zx+1\right)}{\sqrt{xy}.\sqrt{yz}.\sqrt{zx}}\)
Đặt \(\left(\sqrt{xy};\sqrt{yz};\sqrt{zx}\right)=\left(a;b;c\right)\Rightarrow a+b+c\le\frac{3}{2}\Rightarrow abc\le\frac{1}{8}\)
\(Q=\frac{\left(a^2+1\right)\left(b^2+1\right)\left(c^2+1\right)}{abc}=\frac{1+a^2b^2c^2+a^2+b^2+c^2+a^2b^2+b^2c^2+c^2a^2}{abc}\)
\(Q\ge\frac{1+a^2b^2c^2+3\sqrt[3]{a^2b^2c^2}+3\sqrt[3]{a^4b^4c^4}}{abc}=\frac{1}{abc}+abc+3\left(\frac{1}{\sqrt[3]{abc}}+\sqrt[3]{abc}\right)\)
\(Q\ge abc+\frac{1}{64abc}+3\left(\sqrt[3]{abc}+\frac{1}{4\sqrt[3]{abc}}\right)+\frac{63}{64abc}+\frac{9}{4\sqrt[3]{abc}}\)
\(Q\ge2\sqrt{\frac{abc}{64abc}}+6\sqrt{\frac{\sqrt[3]{abc}}{4\sqrt[3]{abc}}}+\frac{63}{64.\frac{1}{8}}+\frac{9}{4.\sqrt[3]{\frac{1}{8}}}=\frac{125}{8}\)
\(\Rightarrow P\ge3\sqrt[3]{Q}\ge3\sqrt[3]{\frac{125}{8}}=\frac{15}{2}\)
\(P_{min}=\frac{15}{2}\) khi \(a=b=c=\frac{1}{2}\) hay \(x=y=z=\frac{1}{2}\)
giúp mình với nhanh nha, mai nộp rồi!!!
1. Tính giá trị của biểu thức:
\(A=\left(\frac{m-n}{p}+\frac{n-p}{m}+\frac{p-m}{n}\right)\left(\frac{p}{m-n}+\frac{m}{n-p}+\frac{n}{p-m}\right)\)
biết \(m+n+p=0\)
2. Tính:
a) \(A=\frac{2^3+1}{2^3-1}.\frac{3^3+1}{3^3-1}.\frac{4^3+1}{4^3-1}...\frac{10^3+1}{10^3-1}\)
b) \(B=\frac{\left(1+\frac{1}{4}\right)\left(3^4+\frac{1}{4}\right)\left(5^4+\frac{1}{4}\right)...\left(9^4+\frac{1}{4}\right)}{\left(2^4+\frac{1}{4}\right)\left(4^4+\frac{1}{4}\right)\left(6^4+\frac{1}{4}\right)...\left(10^4+\frac{1}{4}\right)}\)
bài 1) Đặt \(B=\frac{m-n}{p}+\frac{n-p}{m}+\frac{p-m}{n}\)
Ta có: \(A=B.\left(\frac{p}{m-n}+\frac{m}{n-p}+\frac{n}{p-m}\right)=B.\frac{p}{m-n}+B.\frac{m}{n-p}+B.\frac{n}{p-m}\)
\(B.\frac{p}{m-n}=\left(\frac{m-n}{p}+\frac{n-p}{m}+\frac{p-m}{n}\right).\frac{p}{m-n}=\frac{m-n}{p}.\frac{p}{m-n}+\frac{n-p}{m}.\frac{p}{m-n}+\frac{p-m}{n}.\frac{p}{m-n}\)
\(=1+\frac{n-p}{m}.\frac{p}{m-n}+\frac{p-m}{n}.\frac{p}{m-n}=1+\frac{p}{m-n}.\left(\frac{n-p}{m}+\frac{p-m}{n}\right)\)
\(=1+\frac{p}{m-n}.\left[\frac{\left(n-p\right).n}{mn}+\frac{\left(p-m\right).m}{mn}\right]=1+\frac{p}{m-n}.\frac{n^2-np+pm-m^2}{mn}\)
\(=1+\frac{p}{m-n}.\frac{\left(m-n\right).\left(p-m-n\right)}{mn}=1+\frac{p.\left(m-n\right).\left(p-m-n\right)}{\left(m-n\right).mn}=1+\frac{p.\left(p-m-n\right)}{mn}\)
\(=1+\frac{p^2-pm-pn}{mn}=1+\frac{p^2-p.\left(m+n\right)}{mn}\)
Vì m+n+p=0=>m+n=-p
\(=>B.\frac{p}{m-n}=1+\frac{p^2-p.\left(-p\right)}{mn}=1+\frac{2p^2}{mn}=1+\frac{2p^3}{mnp}\left(1\right)\)
\(B.\frac{m}{n-p}=\left(\frac{m-n}{p}+\frac{n-p}{m}+\frac{p-m}{n}\right).\frac{m}{n-p}=\frac{m-n}{p}.\frac{m}{n-p}+\frac{n-p}{m}.\frac{m}{n-p}+\frac{p-m}{n}.\frac{m}{n-p}\)
\(=1+\frac{m-n}{p}.\frac{m}{n-p}+\frac{p-m}{n}.\frac{m}{n-p}=1+\frac{m}{n-p}.\left(\frac{m-n}{p}+\frac{p-m}{n}\right)\)
\(=1+\frac{m}{n-p}.\left[\frac{\left(m-n\right).n}{np}+\frac{\left(p-m\right).p}{np}\right]=1+\frac{m}{n-p}.\frac{mn-n^2+p^2-mp}{np}\)
\(=1+\frac{m}{n-p}.\frac{\left(n-p\right).\left(m-n-p\right)}{np}=1+\frac{m.\left(n-p\right).\left(m-n-p\right)}{\left(n-p\right).np}=1+\frac{m.\left(m-n-p\right)}{np}\)
\(=1+\frac{m^2-mn-mp}{np}=1+\frac{m^2-m\left(n+p\right)}{np}=1+\frac{m^2-m.\left(-m\right)}{np}=1+\frac{2m^2}{np}=1+\frac{2m^3}{mnp}\left(2\right)\) (vì m+n+p=0=>n+p=-m)
\(B.\frac{n}{p-m}=\left(\frac{m-n}{p}+\frac{n-p}{m}+\frac{p-m}{n}\right).\frac{n}{p-m}=\frac{m-n}{p}.\frac{n}{p-m}+\frac{n-p}{m}.\frac{n}{p-m}+\frac{p-m}{n}.\frac{n}{p-m}\)
\(=1+\frac{m-n}{p}.\frac{n}{p-m}+\frac{n-p}{m}.\frac{n}{p-m}=1+\frac{n}{p-m}.\left(\frac{m-n}{p}+\frac{n-p}{m}\right)\)
\(=1+\frac{n}{p-m}.\left[\frac{\left(m-n\right).m}{pm}+\frac{\left(n-p\right).p}{pm}\right]=1+\frac{n}{p-m}.\frac{m^2-mn+np-p^2}{pm}\)
\(=1+\frac{n}{p-m}.\frac{\left(p-m\right).\left(n-p-m\right)}{pm}=1+\frac{n.\left(p-m\right).\left(n-p-m\right)}{\left(p-m\right).pm}=1+\frac{n.\left(n-p-m\right)}{pm}\)
\(=1+\frac{n^2-np-mn}{pm}=1+\frac{n^2-n\left(p+m\right)}{pm}=1+\frac{n^2-n.\left(-n\right)}{pm}=1+\frac{2n^2}{pm}=1+\frac{2n^3}{mnp}\left(3\right)\) (vì m+n+p=0=>p+m=-n)
Từ (1),(2),(3) suy ra :
\(A=B.\frac{p}{m-n}+B.\frac{m}{n-p}+B.\frac{n}{p-m}=\left(1+\frac{2p^3}{mnp}\right)+\left(1+\frac{2m^3}{mnp}\right)+\left(1+\frac{2n^3}{mnp}\right)\)
\(=3+\frac{2p^3}{mnp}+\frac{2m^3}{mnp}+\frac{2n^3}{mnp}=3+\frac{2.\left(m^3+n^3+p^3\right)}{mnp}\)
*Tới đây để tính được m3+n3+p3,ta cần CM được bài toán phụ sau:
Đề: Cho m+n+p=0.CMR: \(m^3+n^3+p^3=3mnp\)
Từ m+n+p=0=>m+n=-p
Ta có: \(m^3+n^3+p^3=\left(m+n\right)^3-3m^2n-3mn^2+p^3=-p^3-3mn\left(m+n\right)+p^3\)
\(=-3mn\left(m+n\right)=-3mn.\left(-p\right)=3mnp\)
Vậy ta đã CM được bài toán phụ
*Trở lại bài toán chính: \(A=3+\frac{2.3mnp}{mnp}=3+\frac{6mnp}{mnp}=3+6=9\)
Vậy A=9
bài 2)
a)Nhận thấy các thừa số của A đều có dạng tổng quát sau:
\(n^3+1=n^3+1^3=\left(n+1\right)\left(n^2-n+1\right)=\left(n+1\right).\left(n^2-n+\frac{1}{4}+\frac{3}{4}\right)\)
\(=\left(n+1\right).\left(n^2-2.n.\frac{1}{2}+\frac{1}{4}+\frac{3}{4}\right)=\left(n+1\right).\left[\left(n-\frac{1}{2}\right)^2+\frac{3}{4}\right]=\left(n+1\right).\left[\left(n-0,5\right)^2+0,75\right]\)
\(n^3-1=n^3-1^3=\left(n-1\right)\left(n^2+n+1\right)=\left(n-1\right).\left(n^2+n+\frac{1}{4}+\frac{3}{4}\right)\)
\(=\left(n-1\right).\left(n^2+2.n.\frac{1}{2}+\frac{1}{4}+\frac{3}{4}\right)=\left(n-1\right).\left[\left(n+\frac{1}{2}\right)^2+\frac{3}{4}\right]=\left(n-1\right).\left[\left(n+0,5\right)^2+0,75\right]\)
suy ra \(\frac{n^3+1}{n^3-1}=\frac{\left(n+1\right).\left[\left(n-0,5\right)^2+0,75\right]}{\left(n-1\right).\left[\left(n+0,5\right)^2+0,75\right]}\)
Do đó: \(\frac{2^3+1}{2^3-1}=\frac{\left(2+1\right).\left[\left(2-0,5\right)^2+0,75\right]}{\left(2-1\right).\left[\left(2+0,5\right)^2+0,75\right]}=\frac{3.\left(1,5^2+0,75\right)}{1.\left(2,5^2+0,75\right)}\)
\(\frac{3^3+1}{3^3-1}=\frac{\left(3+1\right).\left[\left(3-0,5\right)^2+0,75\right]}{\left(3-1\right).\left[\left(3+0,5\right)^2+0,75\right]}=\frac{4.\left(2,5^2+0,75\right)}{2.\left(3,5^2+0,75\right)}\)
...........................
\(\frac{10^3+1}{10^3-1}=\frac{\left(10+1\right).\left[\left(10-0,5\right)^2+0,75\right]}{\left(10-1\right).\left[\left(10+0,5\right)^2+0,75\right]}=\frac{11.\left(9,5^2+0,75\right)}{9.\left(10,5^2+0,75\right)}\)
\(=>A=\frac{3\left(1,5^2+0,75\right).4\left(2,5^2+0,75\right)........11.\left(9,5^2+0,75\right)}{1\left(2,5^2+0,75\right).2.\left(3,5^2+0,75\right)........9\left(10,5^2+0,75\right)}=\frac{3.4........11}{1.2......9}.\frac{1,5^2+0,75}{10,5^2+0,75}\)
\(=\frac{10.11}{2}.\frac{1}{37}=\frac{2036}{37}\)
Vậy A=2036/37
b) có thể ở chỗ 1+1/4 bn nhầm,phải là \(1^4+\frac{1}{4}\) ,mà chắc cũng chẳng sao,vì 14=1 mà
Nhận thấy các thừa số của B có dạng tổng quát:
\(n^4+\frac{1}{4}=n^4+n^2+\frac{1}{4}-n^2=\left(n^2\right)^2+2.n^2.\frac{1}{2}+\frac{1}{4}-n^2=\left(n^2+\frac{1}{2}\right)^2-n^2\)
\(=\left(n^2+\frac{1}{2}-n\right)\left(n^2+\frac{1}{2}+n\right)\)
\(B=\frac{\left(1^2+\frac{1}{2}-1\right).\left(1^2+\frac{1}{2}+1\right).\left(3^2+\frac{1}{2}+3\right).\left(3^2+\frac{1}{2}-3\right)..........\left(9^2+\frac{1}{2}-9\right).\left(9^2+\frac{1}{2}+9\right)}{\left(2^2+\frac{1}{2}-2\right).\left(2^2+\frac{1}{2}+2\right).\left(4^2+\frac{1}{2}-4\right).\left(4^2+\frac{1}{2}+4\right)......\left(10^2+\frac{1}{2}-10\right).\left(10^2+\frac{1}{2}+10\right)}\)
Mặt khác,ta cũng có: \(\left(a+1\right)^2-\left(a+1\right)+\frac{1}{2}=a^2+2a+1-a-1+\frac{1}{2}=a^2+a+\frac{1}{2}\)
Suy ra \(B=\frac{1^2+\frac{1}{2}-1}{10^2+\frac{1}{2}+10}=\frac{1}{221}\)
Vậy B=1/221
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 ạ?
Nguyễn Hồng Nhung
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
Cho \(S_1-S_2+S_3-S_4+S_5=\frac{m}{n}\) với m, n nguyên tố cùng nhau. Biết:
\(S_1=\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+\frac{1}{5}+\frac{1}{6}\)
\(S_2=\frac{1}{2\cdot3}+\frac{1}{2\cdot4}+\frac{1}{2\cdot5}+\frac{1}{2\cdot6}+\frac{1}{3\cdot4}+\frac{1}{3\cdot5}+\frac{1}{3\cdot6}+\frac{1}{4\cdot5}+\frac{1}{4\cdot6}+\frac{1}{5\cdot6}\)
\(S_3=\frac{1}{2\cdot3\cdot4}+\frac{1}{2\cdot3\cdot5}+\frac{1}{2\cdot3\cdot6}+\frac{1}{2\cdot4\cdot5}+\frac{1}{2\cdot4\cdot6}+\frac{1}{2\cdot5\cdot6}+\frac{1}{3\cdot4\cdot5}+\frac{1}{3\cdot4\cdot6}+\frac{1}{3\cdot5\cdot6}+\frac{1}{4\cdot5\cdot6}\)
\(S_4=\frac{1}{2\cdot3\cdot4\cdot5}+\frac{1}{2\cdot3\cdot4\cdot6}+\frac{1}{2\cdot3\cdot5\cdot6}+\frac{1}{2\cdot4\cdot5\cdot6}+\frac{1}{3\cdot4\cdot5\cdot6}\)
\(S_5=\frac{1}{2\cdot3\cdot4\cdot5\cdot6}\)
Tính \(m+n\)
tìm \(\frac{M}{N}\)biết: M=\(\frac{2014^2+1^2}{2014.1}+\frac{2013^2+2^2}{2013.2}+\frac{2012^2+3^2}{2012.3}+...+\frac{1008^2+1007^2}{1008.1007}\)và N=\(\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+...+\frac{1}{2015}\)
Ta có: \(M=\frac{2014^2+1^2}{2014.1}+\frac{2013^2+2^2}{2013.2}+\frac{2012^2+3^2}{2012.3}+...+\frac{1008^2+1007^2}{1008.1007}\)
\(=\frac{2014}{1}+\frac{1}{2014}+\frac{2013}{2}+\frac{2}{2013}+\frac{2012}{3}+\frac{3}{2013}+...+\frac{1008}{1007}+\frac{1007}{1008}\)
\(=\frac{2014}{1}+\frac{2013}{2}+...+\frac{1}{2014}\)
\(=1+\left(\frac{2013}{2}+1\right)+\left(\frac{2012}{3}+1\right)+...+\left(\frac{1}{2014}+1\right)\)
\(=\frac{2015}{2}+\frac{2015}{3}+...+\frac{2015}{2014}+\frac{2015}{2015}\)
\(=2015\left(\frac{1}{2}+\frac{1}{3}+...+\frac{1}{2014}+\frac{1}{2015}\right)\)
\(\Rightarrow\frac{M}{N}=\frac{2015\left(\frac{1}{2}+\frac{1}{3}+...+\frac{1}{2015}\right)}{\frac{1}{2}+\frac{1}{3}+...+\frac{1}{2015}}=2015\)
cm \(\frac{2_{ }!+\sqrt{1}}{2!}\)+\(\frac{3!+\sqrt{4}}{3!}\)+...+\(\frac{2018!+\sqrt{2017^2}}{2018!}\)