Các bạn giúp mình với!(Python)
Viết code tính:
K=\(\dfrac{1}{2}+\dfrac{3}{4}+....+\dfrac{2n-1}{2n}\)
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.
\(a,lim\dfrac{2n^2+1}{3n^3-3n+3}\)
\(=lim\dfrac{\dfrac{2}{n}+\dfrac{1}{n^3}}{3-\dfrac{3}{n^2}+\dfrac{3}{n^3}}=0\)
\(\lim\dfrac{-3n^3+1}{2n+5}=\lim\dfrac{-3n^2+\dfrac{1}{n}}{2+\dfrac{5}{n}}=\dfrac{-\infty}{2}=-\infty\)
\(\lim\dfrac{n^3-2n+1}{-3n-4}=\lim\dfrac{n^2-2+\dfrac{1}{n}}{-3-\dfrac{4}{n}}=\dfrac{+\infty}{-3}=-\infty\)
Lời giải:
Ta có: \(4+(2n-1)^4=[(2n-1)^2+2]^2-[2(2n-1)]^2\)
\(=[(2n-1)^2+2-2(2n-1)][(2n-1)^2+2+2(2n-1)]\)
\(\Rightarrow \frac{2n-1}{4+(2n-1)^4}=\frac{2n-1}{[(2n-1)^2+2-2(2n-1)][(2n-1)^2+2+2(2n-1)]}\)
\(=\frac{1}{4}\left(\frac{1}{(2n-1)^2+2-2(2n-1)}-\frac{1}{(2n-1)^2+2+2(2n-1)}\right)\)
Do đó:
\(\frac{1}{4+1^4}=\frac{1}{4}(1-\frac{1}{5})\)
\(\frac{3}{4+3^4}=\frac{1}{4}(\frac{1}{5}-\frac{1}{17})\)
\(\frac{5}{4+5^4}=\frac{1}{4}(\frac{1}{17}-\frac{1}{37})\)
......
Do đó:
\(\frac{1}{4+1^4}+\frac{3}{4+3^4}+...+\frac{2n-1}{4+(2n-1)^4}=\frac{1}{4}(1-\frac{1}{5}+\frac{1}{5}-\frac{1}{17}+...+\frac{1}{(2n-1)^2+2-2(2n-1)}-\frac{1}{(2n-1)^2+2+2(2n-1)})\)
\(=\frac{1}{4}(1-\frac{1}{(2n-1)^2+2+2(2n-1)})=\frac{1}{4}(1-\frac{1}{(2n-1+1)^2+1})\)
\(=\frac{1}{4}(1-\frac{1}{4n^2+1})=\frac{n^2}{4n^2+1}\)
Ta có đpcm.
n=1 ; \(\dfrac{1}{4+1^4}=\dfrac{1}{5}=\dfrac{1^2}{4.^2+1}=\dfrac{1}{5};dung\)
giả sử n =k đúng \(\Leftrightarrow S=\dfrac{1}{4+1^4}+...+\dfrac{2k-1}{4+\left(2k-1\right)^4}=\dfrac{k^2}{4k^2+1}\) (*)
cần c/m đúng n =k+1 ;
c/m
với n=k+1
\(S=\left(\dfrac{1}{4+1^4}+...+\dfrac{2k-1}{4+\left(2k-1\right)^4}\right)+\dfrac{2\left(k+1\right)-1}{4+\left(2\left(k+1\right)-1\right)^4}\)
từ (*) =>\(S=\dfrac{k^2}{4k^2+1}+\dfrac{2\left(k+1\right)-1}{4+\left(2\left(k+1\right)-1\right)^4}\)
\(k+1=t\Leftrightarrow k=t-1\)
\(S=\dfrac{t^2-2t+1}{4\left(t^2-2t+1\right)+1}+\dfrac{2t-1}{4+\left(2t-1\right)^4}\)
\(S=\dfrac{t^2-2t+2}{4t^2-8t+5}+\dfrac{2t-1}{\left(4t^2+1\right)\left(4t^2-8t+5\right)}=\dfrac{\left(t^2-2t+1\right)\left(4t^2+1\right)+2t-1}{\left(4t^2+1\right)\left(4t^2-8t+5\right)}\)\(S=\dfrac{t^2\left(4t^2-8t+5\right)}{\left(4t^2+1\right)\left(4t^2-8t+5\right)}=\dfrac{t^2}{\left(4t^2+1\right)}=\dfrac{\left(k+1\right)^2}{4\left(k+1\right)^2+1}\)
Vậy tổng trên đúng với k +1
theo Quy nạp ta có dpcm
\(\dfrac{1}{2}.\dfrac{2}{3}.\dfrac{3}{4}......\dfrac{2n-1}{2n}=\dfrac{1.2.3.....\left(2n-1\right)}{2.3.4.....2n}=\dfrac{1}{2n}\)
Khi đó ta có điều cần chứng minh:
\(\dfrac{1}{2n}\le\dfrac{1}{\sqrt{3n+1}}\left(n>\dfrac{1}{3}\right)\)
Hay
\(\dfrac{\sqrt{3n+1}}{2n\left(\sqrt{3n+1}\right)}\le\dfrac{2n}{2n\left(\sqrt{3n+1}\right)}\)
Hay \(\sqrt{3n+1}\le2n\)(luôn đúng)
s bi loi nhi?
tim n?
3C\(^0\)\(_{2n}\) \(-\) \(\dfrac{1}{2}\)C\(^1\)\(_{2n}\) \(-\) \(\dfrac{1}{4}\)C\(^3\)\(_{2n}\) +...+ \(\dfrac{3}{2n+1}\)C\(^{2n}\)\(_{2n}\) \(=\) \(\dfrac{10923}{5}\)
Đay là tin học nha bạn.Chương trình Python