Giúp e gấp ạ, tối nay e lên bảng làm bài 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.
Bài 5:
a: \(A=\frac{-3\left(x+1\right)}{x^2-x-6}\)
\(=\frac{-3\left(x+1\right)}{x^2-3x+2x-6}\)
\(=\frac{-3\left(x+1\right)}{\left(x-3\right)\left(x+2\right)}\)
\(x^2-4=0\)
=>(x-2)(x+2)=0
=>x=2(nhận) hoặc x=-2(loại)
Khi x=2 thì \(A=\frac{-3\cdot\left(2+1\right)}{\left(2-3\right)\left(2+2\right)}=\frac{-3\cdot3}{\left(-1\right)\cdot4}=\frac94\)
b: \(B=\frac{2x}{x+3}-\frac{x}{3-x}-\frac{3x^2+9}{x^2-9}\)
\(=\frac{2x}{x+3}+\frac{x}{x-3}-\frac{3x^2+9}{\left(x-3\right)\left(x+3\right)}\)
\(=\frac{2x\left(x-3\right)+x\left(x+3\right)-3x^2-9}{\left(x-3\right)\left(x+3\right)}=\frac{2x^2-6x+x^2+3x-3x^2-9}{\left(x-3\right)\left(x+3\right)}\)
\(=\frac{-3x-9}{\left(x-3\right)\left(x+3\right)}=\frac{-3\left(x+3\right)}{\left(x-3\right)\left(x+3\right)}=\frac{-3}{x-3}\)
c: P=B:A
\(=-\frac{3}{x-3}:\frac{-3\left(x+1\right)}{\left(x-3\right)\left(x+2\right)}\)
\(=\frac{3}{x-3}\cdot\frac{\left(x-3\right)\left(x+2\right)}{3\left(x+1\right)}=\frac{x+2}{x+1}\)
Để P nguyên thì x+2⋮x+1
=>x+1+1⋮x+1
=>1⋮x+1
=>x+1∈{1;-1}
=>x∈{0;-2}
mà x là số tự nhiên
nên x=0
TEST 1
I. Find the word which has a different sound in the part underlined
1. D. local (phần gạch chân phát âm là /əʊ/, các từ còn lại là /ɒ/)
2. C. technical (phần gạch chân phát âm là /k/, các từ còn lại là /tʃ/)
3. C. with (phần gạch chân phát âm là /ð/, các từ còn lại là /θ/)
II. Choose the word which has a different stress pattern
4 C. develop (nhấn âm 2, các từ còn lại nhấn âm 1)
5 D. organisation (nhấn âm 4, các từ còn lại nhấn âm 3)
II. Choose the correct word (Tiếp theo)
6 entered
7 commit
8 welcomes
9 set up
10 create
III. Complete the text with the words given
11 focuses
12 support
13 farming
I. Find the word which has a different sound in the part underlined
1 C. economic (phần gạch chân phát âm là /k/, các từ còn lại là /m/)
2 D. international (phần gạch chân phát âm là /ʃ/, các từ còn lại là /s/)
3 D. official (phần gạch chân phát âm là /ɪ/, các từ còn lại là /ai/)
Choose the word which has a different stress pattern
4 B. economic (nhấn âm 3, các từ còn lại nhấn âm 2)
5 A. participate (nhấn âm 2, các từ còn lại nhấn âm 3)
II. Choose the correct word
6 achieved
7 promote
8 run
9 aiming
10 participate
III. Complete the text with the words given
11 benefit
12 stop
13 restore
a: \(=27\cdot25-25\cdot127=25\cdot\left(27-127\right)=25\cdot\left(-100\right)=-2500\)
b: \(=\dfrac{-5}{12}+\dfrac{9}{12}-\dfrac{4}{12}=0\)
c: \(=\dfrac{5}{9}\left(\dfrac{7}{13}+\dfrac{9}{13}-\dfrac{3}{13}\right)=\dfrac{5}{9}\)
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;
}

Giúp e bài 2 thôi ạ bài 1 e làm r ạ! Mong mn giúp e, e cần gấp ạ!





