Mọi người cứu em, tối nay phải nộp rồi.
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ó:
\(f\left(x\right)=\left(x+1\right)\left(x+2\right)\left(x+3\right)\left(x+4\right)+1\)
\(=\left(x+1\right)\left(x+4\right)\left(x+2\right)\left(x+3\right)+1\)
\(=\left(x^2+5x+4\right)\left(x^2+5x+6\right)+1\)
Đặt: \(\left(x^2+5x+5\right)=a\) ta được:
\(=\left(a-1\right)\left(a+1\right)+1\)
\(=a^2-1+1=a^2\)
Thay lại \(a=\left(x^2+5x+5\right)\) được:
\(\left(x^2+5x+5\right)^2\)
- Đối chiếu với \(\left(ax^2+bx+c\right)^2\)
Vậy \(a=1;b=5;c=5\)
uses crt;
var st:string;
d,i,t,x,y,a,b:integer;
begin
clrscr;
readln(st);
d:=length(st);
for i:=1 to d do write(st[i]:4);
writeln;
t:=0;
for i:=1 to d do
begin
val(st[i],x,y);
t:=t+x;
end;
writeln(t);
val(st[d],a,b);
if (a mod 2=0) then write(1)
else write(-1);
readln;
end.
#include <bits/stdc++.h>
using namespace std;
long long a[1000],i,n,t,dem,t1;
int main()
{
cin>>n;
for (i=1; i<=n; i++) cin>>a[i];
t=0;
for (i=1; i<=n; i++) if (a[i]%2==0) t+=a[i];
cout<<t<<endl;
t1=0;
dem1=0;
for (i=1; i<=n; i++)
if (a[i]<0)
{
cout<<a[i]<<" ";
t1+=a[i];
dem1++;
}
cout<<endl;
cout<<fixed<<setprecision(1)<<(t1*1.0)/(dem1*1.0);
return 0;
}
#include <bits/stdc++.h>
using namespace std;
long long a,b;
//chuongtrinhcon
long long gcd(long long a,long long b)
{
if (b==0) return(a);
return gcd(b,a%b);
}
//chuongtrinhchinh
int main()
{
cin>>a>>b;
cout<<max(a,b)<<endl;
cout<<gcd(a,b)<<endl;
if ((a>0 && b>0) or (a<0 && b<0)) cout<<a/gcd(a,b)<<" "<<b/gcd(a,b);
else cout<<"-"<<-a/gcd(-a,b)<<" "<<b/gcd(-a,b);
return 0;
}
Tin học có ý nghĩa cực kỳ quan trọng trong ngành truyền thông, giúp tự động hóa quy trình, tăng tốc độ xử lý và truyền tải thông tin, mở rộng phạm vi tiếp cận (qua internet, mạng xã hội, ứng dụng), đa dạng hóa hình thức nội dung (video, âm thanh, tương tác), và tạo ra môi trường cộng tác hiệu quả, chuyển đổi ngành truyền thông từ truyền thống sang hiện đại, kết nối toàn cầu.










Bài 8:
a) Ta có: \(A=\left(x-y\right)^3+3xy\left(x-y\right)\)
\(=\left(x-y\right)\left(x^2-2xy+y^2+3xy\right)\)
\(=\left(x-y\right)\left(x^2+xy+y^2\right)\)
\(=x^3-y^3\)
b) Ta có: \(B=\left(x+y\right)^3+3\left(x-y\right)\left(x+y\right)^2+3\left(x-y\right)^2\left(x+y\right)+\left(x-y\right)^3\)
\(=\left(x+y+x-y\right)^3\)
\(=\left(2x\right)^3=8x^3\)