tối nay 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.
3: Ta có: \(\left(x+3\right)\left(x^2-3x+9\right)-x\left(x-1\right)\left(x+1\right)=27\)
\(\Leftrightarrow x^3-27-x^3+x=27\)
hay x=54
GIÚP MIK VS NHA:(((((
CẢM ƠN RẤT NHIỀU
MN XONG CÂU NÀO THÌ CỨ GỬI LUÔN CHO MIK CÂU ĐÓ NHA;-;
MIK CÒN CHÉP KỊP
:(((((((((((((( NHANHH NHANH GIÚP MIK Ạ
Câu 1:
\(a,\dfrac{x}{4}=\dfrac{y}{7}=\dfrac{x-y}{4-7}=\dfrac{-15}{-3}=5\\ \Rightarrow\left\{{}\begin{matrix}x=20\\y=35\end{matrix}\right.\\ b,\dfrac{x}{3}=\dfrac{y}{5}=\dfrac{x+y}{3+5}=\dfrac{-32}{8}=-4\\ \Rightarrow\left\{{}\begin{matrix}x=-12\\y=-20\end{matrix}\right.\\ c,\dfrac{x}{2}=\dfrac{y}{3}=\dfrac{z}{5}=\dfrac{x+y+z}{2+3+5}=\dfrac{-90}{10}=-9\\ \Rightarrow\left\{{}\begin{matrix}x=-18\\y=-27\\z=-45\end{matrix}\right.\\ d,\dfrac{x}{4}=\dfrac{y}{2}=\dfrac{z}{7}=\dfrac{2x-4y+3z}{8-8+21}=\dfrac{42}{21}=2\\ \Rightarrow\left\{{}\begin{matrix}x=8\\y=4\\z=14\end{matrix}\right.\)
\(e,\dfrac{x}{5}=\dfrac{y}{6}=\dfrac{z}{7}=\dfrac{z-x}{7-5}=\dfrac{30}{2}=15\\ \Rightarrow\left\{{}\begin{matrix}x=75\\y=90\\z=105\end{matrix}\right.\\ f,\Rightarrow\dfrac{x}{3}=\dfrac{y}{5};\dfrac{x}{4}=\dfrac{z}{3}\Rightarrow\dfrac{x}{12}=\dfrac{y}{20}=\dfrac{z}{9}=\dfrac{x-y-z}{12-20-9}=\dfrac{-68}{-17}=4\\ \Rightarrow\left\{{}\begin{matrix}x=48\\y=80\\z=36\end{matrix}\right.\\ g,\Rightarrow\dfrac{x}{6}=\dfrac{y}{4}=\dfrac{z}{3}=\dfrac{x+y+z}{6+4+3}=\dfrac{65}{13}=5\\ \Rightarrow\left\{{}\begin{matrix}x=30\\y=20\\z=15\end{matrix}\right.\\ h,\Rightarrow\dfrac{x}{4}=\dfrac{y}{6};\dfrac{y}{5}=\dfrac{z}{8}\Rightarrow\dfrac{x}{20}=\dfrac{y}{30}=\dfrac{z}{48}=\dfrac{5x-3y-3z}{100-90-144}=\dfrac{-536}{-134}=4\\ \Rightarrow\left\{{}\begin{matrix}x=80\\y=120\\z=192\end{matrix}\right.\)
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;
}