Viết ct nhập một dãy số nguyên a gồm n phần tử.in ra số nguyên tố
Giúp mik vs ạ cần gấp lắm!
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) - Đưa que đóm đang cháy vào:
+ Bùng cháy mãnh liệt hơn: O2
+ Cháy với ngọn lửa xanh, có tiếng nổ nhỏ: H2
\(2H_2+O_2\xrightarrow[]{t^o}2H_2O\)
+ Vụt tắt: CO2
b) - Cho tác dụng với quỳ tím:
+ Hóa xanh: NaOH
+ Hóa đỏ: HCl
+ Không đổi màu: H2O
c) - Cho tác dụng với quỳ tím:
+ Hóa xanh: NaOH, Ca(OH)2 (1)
+ Hóa đỏ: H2SO4
+ Không đổi màu: BaCl2
- Sục khí CO2 vào dd (1):
+ Có kết tủa: Ca(OH)2
\(Ca\left(OH\right)_2+CO_2\rightarrow CaCO_3\downarrow+H_2O\)
+ Không hiện tượng: NaOH
Đây là dạng bất phương trình chứa ẩn trong dấu giá trị tuyệt đối em nhé:
Kiến thức cần nhớ: |F(\(x\))| ≤ a ( a > 0) ⇔ -a ≤ F(\(x\)) ≤ a
Giải:
2|2\(x\) - 5| ≤ 6 ⇔ |2\(x\) - 5| ≤ 6: 2 = 3
⇔ |2\(x\) - 5| ≤ 3 ⇔ -3 ≤ 2\(x\) - 5 ≤ 3 ⇔ -3 + 5 ≤ 2\(x\) ≤ 3 + 5
⇔ 2 ≤ 2\(x\) ≤ 8 ⇔ 1 ≤ \(x\) ≤ 4 vì \(x\in\) Z nên \(x\) \(\in\) { 1; 2; 3; 4}
Khối lượng NaOH có trong 30 gam dung dịch NaOH 15% là:
m(NaOH) = 15/100 x 30 = 4,5 gam
Gọi x là khối lượng NaOH cần thêm vào dung dịch trên. Khối lượng NaOH trong dung dịch cuối cùng là:
m(NaOH) = 22/100 x (30 + x) = 6,6 + 0,22x gam
Cân bằng hai biểu thức, chúng tôi nhận được:
4,5 + x = 6,6 + 0,22x
=> x = 2,1/0,78 = 2,69 gam
Vậy khối lượng NaOH cần thêm vào dung dịch trên là 2,69 gam.
In the world there are many big cities but the one I like the most is Tokyo, in Japan. This city is the capital of Japan. Not only that, but Tokyo is also an administrative center of Japan and the world. Tokyo is considered a culinary paradise, where you will enjoy dishes from popular to high-end dishes. One of them is Sushi - a famous traditional dish of Japan that the whole world knows is also produced from this city, especially exploring Ebisu with grilled meat, vegetables, hot pot, sashimi … At the same time, many dishes in the train station area are very convenient for passengers at the station as well as nearby. Explore the many other dishes in the basement or head to Honoji to find food from the menu on the wall. In addition to the domestic food, in Tokyo you can enjoy other dishes from other countries such as America, France, Germany ... In addition to eating, Tokyo is also a place to shop with cheap and affordable items to types of high-class products with famous brands in the world. In addition, in Tokyo there is a Japanese crab symbol, which is the Tokyo Tower. The most popular in japan is the blossom tree '' sakura'',....
Program HOC24;
var i,n: integer;
t: longint;
begin
write('Nhap n '); readln(n);
t:=1;
for i:=1 to n do t:=t*2;
write('2^,n,' = ',t);
readln
end.
program Tinh_2_mu_n;
var
n, i: integer;
ket_qua: longint;
begin
write('Nhap vao so nguyen n: '); readln(n);
ket_qua := 1;
for i := 1 to n do
ket_qua := ket_qua * 2;writeln('2^', n, '=',ket_qua); readin;
end.
Program HOC24;
var i,n: integer;
a: array[1..1000] of integer;
function nt(x: integer): boolean;
var j: integer;
begin
nt:=true;
if (x=2) or (x=3) then exit;
nt:=false;
if (x=1) or (x mod 2=0) or (x mod 3=0) then exit;
j:=5;
while j<=trunc(sqrt(x)) do
begin
if (x mod j=0) or (x mod (j+2)=0) then exit;
j:=j+6;
end;
begin
write('Nhap n: '); readln(n);
for i:=1 to n do
begin
write('a[',i,']='); readln(a[i]);
end;
for i:=1 to n do if nt(a[i]) then write(a[i],' ');
readln
end.