\(^{Tính:1^4+2^4+3^4+...+n^4}\)
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.
\(S=\dfrac{1}{1x2}+\dfrac{1}{2x3}+\dfrac{1}{3x4}+\dfrac{1}{4x5}+...\dfrac{1}{nx\left(n+1\right)}\)
\(S=1-\dfrac{1}{2}+\dfrac{1}{2}-\dfrac{1}{3}+\dfrac{1}{3}-\dfrac{1}{4}+\dfrac{1}{4}-\dfrac{1}{5}+...\dfrac{1}{n}-\dfrac{1}{n+1}\)
\(S=1-\dfrac{1}{n+1}=\dfrac{n}{n+1}\)
\(T=\dfrac{3}{1x2}+\dfrac{3}{2x3}+\dfrac{3}{3x4}+\dfrac{3}{4x5}+...\dfrac{3}{nx\left(n+1\right)}\)
\(T=3x\left[\dfrac{1}{1x2}+\dfrac{1}{2x3}+\dfrac{1}{3x4}+\dfrac{1}{4x5}+...\dfrac{1}{nx\left(n+1\right)}\right]\)
\(T=3x\left[1-\dfrac{1}{2}+\dfrac{1}{2}-\dfrac{1}{3}+\dfrac{1}{3}-\dfrac{1}{4}+\dfrac{1}{4}-\dfrac{1}{5}+...\dfrac{1}{n}-\dfrac{1}{n+1}\right]\)
\(T=3x\left(1-\dfrac{1}{n+1}\right)=\dfrac{3xn}{n+1}\)
uses crt;
var s:real;
i,n:integer;
begin
clrscr;
readln(n);
s:=0;
for i:=1 to n do
s:=s+(n*(n+1))/((n+2)*(n+3));
writeln(s:4:2);
readln;
end.
a) 3A=1.2.3 + 2.3.3 + 3.4.3 +... + n.(n+1).3
=1.2.(3-0) + 2.3.(4-1) + ... + n.(n+1).[(n+2)-(n-1)]
=[1.2.3+ 2.3.4 + ...+ (n-1).n.(n+1)+ n.(n+1)(n+2)] - [0.1.2+ 1.2.3 +...+(n-1).n.(n+1)]
=n.(n+1).(n+2)
=>S=[n.(n+1).(n+2)] /3
b)
Nhân 4 vào hai vế ta được:
4A = 4.[1.2.3 + 2.3.4 + 3.4.5 + … + (n – 1).n.(n + 1)]
4A = 1.2.3.4 + 2.3.4.4 + 3.4.5.4 + … + (n – 1).n.(n + 1).4
4A = 1.2.3.4 + 2.3.4.(5 – 1) + 3.4.5.(6 – 2) + … + (n – 1).n.(n + 1).[(n + 2) – (n – 2)]
4A = 1.2.3.4 + 2.3.4.5 – 1.2.3.4 + 3.4.5.6 – 2.3.4.5 + … + (n – 1).n(n + 1).(n + 2) – (n – 2).(n – 1).n.(n + 1)
4A = (n – 1).n(n + 1).(n + 2)
A = (n – 1).n(n + 1).(n + 2) : 4.
3A=1.2.3 + 2.3.3 + 3.4.3 +... + n.(n+1).3
=1.2.(3-0) + 2.3.(4-1) + ... + n.(n+1).[(n+2)-(n-1)]
=[1.2.3+ 2.3.4 + ...+ (n-1).n.(n+1)+ n.(n+1)(n+2)] - [0.1.2+ 1.2.3 +...+(n-1).n.(n+1)]
=n.(n+1).(n+2)
=>S=[n.(n+1).(n+2)] /3
Câu 2:
#include <bits/stdc++.h>
using namespace std;
double p1,p2;
int i,n;
int main()
{
cin>>n;
p1=1;
p2=1;
for (i=1; i<=n; i++)
{
if (i%2==0) p2=p2*(i*1.0);
else p1=p1*(i*1.0);
}
cout<<fixed<<setprecision(2)<<p1<<endl;
cout<<fixed<<setprecision(2)<<p2;
return 0;
}
a) 3A=1.2.3 + 2.3.3 + 3.4.3 +... + n.(n+1).3
=1.2.(3-0) + 2.3.(4-1) + ... + n.(n+1).[(n+2)-(n-1)]
=[1.2.3+ 2.3.4 + ...+ (n-1).n.(n+1)+ n.(n+1)(n+2)] - [0.1.2+ 1.2.3 +...+(n-1).n.(n+1)]
=n.(n+1).(n+2)
=>S=[n.(n+1).(n+2)] : 3
Ta co cong thuc sau (co the chung minh bang quy nap)
\(1^4+2^4+3^4+...+n^4=\frac{n\left(2n+1\right)\left(3n^2+3n-1\right)\left(n+1\right)}{30}\)