K
Khách

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.

1:

#include <bits/stdc++.h>

using namespace std;

long long t,i,n;

int main()

{

cin>>n;

t=0;

for (i=1; i<=n; i++) t+=i;

cout<<t;

return 0;

}

Bài 2: 

#include <bits/stdc++.h>

using namespace std;

long long n,i,t;

int main()

{

cin>>n;

t=0;

for (i=1; i<=n; i++)

if (i%2==0) t+=i;

cout<<t;

return 0;

}

 

Bài 3: 

#include <bits/stdc++.h>

using namespace std;

long long n,i,t;

int main()

{

cin>>n;

t=0;

for (i=1; i<=n; i++)

if (i%2!=0) t+=i;

cout<<t;

return 0;

}

Bài 4: 

#include <bits/stdc++.h>

using namespace std;

long long n,i,t;

int main()

{

cin>>n;

t=0;

for (i=1; i<=n; i++)

if (i%3==0) t+=i;

cout<<t;

return 0;

}

Bài 5: 

#include <bits/stdc++.h>

using namespace std;

long long n,i,t;

int main()

{

cin>>n;

t=1;

for (i=1; i<=n; i++)

t*=i;

cout<<t;

return 0;

}

NV
10 tháng 9 2021

Do \(\dfrac{a}{b}=\dfrac{c}{d}\Rightarrow\dfrac{b}{a}=\dfrac{d}{c}\)

\(\Rightarrow1-\dfrac{b}{a}=1-\dfrac{d}{c}\Rightarrow\dfrac{a-b}{a}=\dfrac{c-d}{c}\) (đpcm)

10 tháng 4 2021

xóa bớt đi là nhắn được tiếp bạn nhé !

10 tháng 4 2021

hog bít xóa kiur j

19 tháng 2 2022

=2001

Trước hết, xin lỗi mn vì mình đăng bài dài quá, vì thế các bạn giải đc bài nào thì giải.Xin mn hãy giúp mik vì mik đang cần gấp:(((Exercise 2: Fill in the correct forms of adverbs and adjectives1. Those shoes are (pretty).................................these ones.2. Marissa is (young).................................I am.3. Texas is (big).................................Arizona.4. He is much (old)........................I expected.5. During the volleyball game, the...
Đọc tiếp

Trước hết, xin lỗi mn vì mình đăng bài dài quá, vì thế các bạn giải đc bài nào thì giải.
Xin mn hãy giúp mik vì mik đang cần gấp:(((

Exercise 2: Fill in the correct forms of adverbs and adjectives
1. Those shoes are (pretty).................................these ones.
2. Marissa is (young).................................I am.
3. Texas is (big).................................Arizona.
4. He is much (old)........................I expected.
5. During the volleyball game, the mothers seemed to e (energetic)..............................their daughters.
6. Planes fly (high)...........................birds.
7. Nashla gets to school (early)...........................her sister Rosemary.
8. Frankie’s pitch this season was (bad)...........................last season’s.
9. Dar. Rani’s office is (far)..............................down the block.
10. Apartment’s rentals in Brooklyn are (expensive).................................rentals in The Bronx.

Exercise 3: Put the verbs into correct forms using First or Second conditional sentences
1. If we (rent)......................that big flat, we (have)......................enough room for the dog.
2. I (buy)......................a huge house with a garden if I (win)......................the lottery.
3. If you (paint)......................this room white it (be)......................much lighter.
4. I (do)......................it myself if I (have)......................more time.
5. I (not be)......................so broke if I (spend)......................so much on going out.
6. Maybe if I (share)......................a flat with friends, I (get on)......................better with my parents.
7. I (can)......................travel next summer if I (have)........................more money.
8. Carla (move)......................out of her shared flat if she (find)......................a job.
9. If my girlfriend (not have to)...................................work so hard, we (can)......................see each
other more often.
10. If I (go)......................to bed earlier, I (not be)......................so tired all the time.

Exercise 4: Put the verbs into correct forms using The past simple tense, The past continuous tense or
The present perfect tense
1. My friend’s a great writer. He (write).................................lots of books so far.
2. We (not have).....................a holiday last year, because there (not be)............ enough time for that.
3. The weather (be)...............very good yesterday so Kelly (not stay).................................at home.
4. My hair is wet. I (just wash).................................it.
5. Is Sonia here? No, she (not come).................................yet.
6. Do you know Martin’s sister? I (see)........................her a few times but I (never
speak)........................to her. You (ever speak)...........................to her? Yes, I
(meet).....................her at a party last week. She’s very nice.
7. We (travel)...........................around South America since June and (already
explore)................................. an amazing historic site Machu Picchu in Peru.
8. Albert Einstein (be)..................the scientist who (develop)........................the theory of relativity.
9. How long you (use)........................a bike to get around London? I (buy)........................this 2 weeks ago and I (ride)........................it every day since I got it.
10. My parents (live).................................in London since they (get married).............................in 1975. They still adore this city.

Exercise 9: Write a short paragraph about a future means of transport, using the cues given.

Safe, environmentally friendly cars

1. Cars/ the future/ do less damage/ the environment/ and/ be equipped/ better safety devices/ limit/ number/accidents and deaths.
.................................................................................................................................
.................................................................................................................................
2. Engines/ be powered/ by/ rubbish-fueled reactor/to make use/ all the waste we produce.
.................................................................................................................................
.................................................................................................................................
3. Petrol/ be replaced/ fuel cells/ separate hydrogen/ oxygen/ water.
.................................................................................................................................
4. Cars/ have sensors/ detect pedestrians/ other cars/ and/ have/ air cushions.
.................................................................................................................................
5. Vehicles/ “talk”/ each other/ regulate flow/ it/ mean/ end/ traffic jams.
.................................................................................................................................
6. Cars/ powered by fuel cells/ already developed.
.................................................................................................................................
7. We/ see/ this type of cars/ the roads/ twenty years.
.................................................................................................................................
8. Environmental and safety improvements/ popular soon.
.................................................................................................................................

Cảm ơn những người đã và đang giúp mình ạ!

2
30 tháng 5 2023

Exercise 2: Fill in the correct forms of adverbs and adjectives
1. Those shoes are (pretty)........prettier than.........................these ones.
2. Marissa is (young)...........younger than.....................I am.
3. Texas is (big)..............bigger than..................Arizona.
4. He is much (old).........older than ...............I expected.
5. During the volleyball game, the mothers seemed to be (energetic).............more energetic.................their daughters.
6. Planes fly (high).........higher than..................birds.
7. Nashla gets to school (early)........earlier than...................her sister Rosemary.
8. Frankie’s pitch this season was (bad).........worse than..................last season’s.
9. Dar. Rani’s office is (far)........farther......................down the block.
10. Apartment’s rentals in Brooklyn are (expensive).............the most expensive....................rentals in The Bronx.

Exercise 3: Put the verbs into correct forms using First or Second conditional sentences
1. If we (rent).............rent.........that big flat, we (have).............will have.........enough room for the dog.
2. I (buy)..........would buy............a huge house with a garden if I (win).............won.........the lottery.
3. If you (paint).........painted.............this room white it (be)..........would be............much lighter.
4. I (do)...........would do...........it myself if I (have).............had.........more time.
5. I (not be).........wouldn't be.............so broke if I (spend)............spent..........so much on going out.
6. Maybe if I (share)...........share...........a flat with friends, I (get on)..............will get on ........better with my parents.
7. I (can).............could.........travel next summer if I (have)........had................more money.
8. Carla (move).......would...............out of her shared flat if she (find)..............found........a job.
9. If my girlfriend (not have to).........didn't have to..........................work so hard, we (can)..............could........see each
other more often.
10. If I (go)..........went............to bed earlier, I (not be).......wouldn't be...............so tired all the time.

Exercise 4: Put the verbs into correct forms using The past simple tense, The past continuous tense or
The present perfect tense
1. My friend’s a great writer. He (write)has written lots of books so far.
2. We (not have)............didn't have.........a holiday last year, because there (not be)..........was not.. enough time for that.
3. The weather (be).......was........very good yesterday so Kelly (not stay)................didn't stay.................at home.
4. My hair is wet. I (just wash)have just washed it.
5. Is Sonia here? No, she (not come)hasn't come yet.
6. Do you know Martin’s sister? I (see)have seen her a few times but I have never spoken to her. Have You (ever speak)..ever spoken.........................to her? Yes, I
(meet)met her at a party last week. She’s very nice.
7. We (travel) have traveled around South America since June and (already
explore).........................have already explored........ an amazing historic site Machu Picchu in Peru.
8. Albert Einstein (be).......was...........the scientist who (develop)......developed..................the theory of relativity.
9. How long have you (use)..........used..............a bike to get around London? I (buy)..........bought..............this 2 weeks ago and I (ride)..........have ridden..............it every day since I got it.
10. My parents (live)..........have lived.......................in London since they (get married)............got married.................in 1975. They still adore this city.

30 tháng 5 2023

Exercise 9: Write a short paragraph about a future means of transport, using the cues given.

Safe, environmentally friendly cars

1. Cars/ the future/ do less damage/ the environment/ and/ be equipped/ better safety devices/ limit/ number/accidents and deaths.
Cars in the future will do less damage to the environment and will be equipped better safety devices to limit the number of accidents and deaths.
2. Engines/ be powered/ by/ rubbish-fueled reactor/to make use/ all the waste we produce.
Engines will be powered by rubbish-fueled reactor to make use of all the waste we produce.
3. Petrol/ be replaced/ fuel cells/ separate hydrogen/ oxygen/ water.
Petrol will be replaced by fuel cells to separate hydrogen and oxygen in water.
4. Cars/ have sensors/ detect pedestrians/ other cars/ and/ have/ air cushions.
Cars will have sensors that detect pedestrians and other cars and will have air cushions.
5. Vehicles/ “talk”/ each other/ regulate flow/ it/ mean/ end/ traffic jams.

Vehicles can ''talk'' to each other to regulate flow, it means the end of traffic jams.(tham khảo c5)

6. Cars/ powered by fuel cells/ already developed.
Cars which are powered by fuel cells have already been developed.
7. We/ see/ this type of cars/ the roads/ twenty years.
We will see this type of cars on the roads in twenty years.
8. Environmental and safety improvements/ popular soon.
Environmental and safety improvements will be popular soon.

6 tháng 9 2021

c. \(\left|\dfrac{8}{4}-\left|x-\dfrac{1}{4}\right|\right|-\dfrac{1}{2}=\dfrac{3}{4}\)

\(\Rightarrow\left[{}\begin{matrix}\left|\dfrac{8}{4}-x+\dfrac{1}{4}\right|-\dfrac{1}{2}=\dfrac{3}{4}\\\left|\dfrac{8}{4}+x-\dfrac{1}{4}\right|-\dfrac{1}{2}=\dfrac{3}{4}\end{matrix}\right.\) \(\Rightarrow\left[{}\begin{matrix}\left|\dfrac{9}{4}-x\right|-\dfrac{1}{2}=\dfrac{3}{4}\\\left|\dfrac{7}{4}+x\right|-\dfrac{1}{2}=\dfrac{3}{4}\end{matrix}\right.\)

\(\Rightarrow\left[{}\begin{matrix}\left[{}\begin{matrix}\dfrac{9}{4}-x-\dfrac{1}{2}=\dfrac{3}{4}\\x=\dfrac{9}{4}-\dfrac{1}{2}=\dfrac{3}{4}\end{matrix}\right.\\\left[{}\begin{matrix}\dfrac{7}{4}+x-\dfrac{1}{2}=\dfrac{3}{4}\\-\dfrac{7}{4}-x-\dfrac{1}{2}=\dfrac{3}{4}\end{matrix}\right.\end{matrix}\right.\) \(\Rightarrow\left[{}\begin{matrix}\left[{}\begin{matrix}x=1\\x=\dfrac{7}{2}\end{matrix}\right.\\\left[{}\begin{matrix}x=-\dfrac{1}{2}\\x=-3\end{matrix}\right.\end{matrix}\right.\) \(\Rightarrow\left[{}\begin{matrix}x=1\\x=\dfrac{7}{2}\\x=-3\end{matrix}\right.\) 

Ở nơi x=9/4-1/2 là x-9/4-1/2 nha

 

 

6 tháng 9 2021

a. -1,5 + 2x = 2,5

<=> 2x = 2,5 + 1,5

<=> 2x = 4

<=> x = 2

b. \(\dfrac{3}{2}\left(x+5\right)-\dfrac{1}{2}=\dfrac{4}{3}\)

<=> \(\dfrac{3}{2}x+\dfrac{15}{2}-\dfrac{1}{2}=\dfrac{4}{3}\)

<=> \(\dfrac{9x}{6}+\dfrac{45}{6}-\dfrac{3}{6}=\dfrac{8}{6}\)

<=> 9x + 45 - 3 = 8

<=> 9x = 8 + 3 - 45

<=> 9x = -34

<=> x = \(\dfrac{-34}{9}\)

30 tháng 12 2021

Cho các đáp án để mk chọn đc ko?

30 tháng 12 2021

Chiều rộng mảnh ruộng là: 558:12,4=45 (m) (có j đó hơi sai sai)

Chu vi mảnh ruộng là: (45+12,4)x2=114,8 (m)

Đ/S:114,8 m

HT

a: AN+CN=AC

=>AN=20-15=5cm

Xét ΔABC có AM/AB=AN/AC

nên MN//BC

b: Xét ΔAMN và ΔNPC có

góc AMN=góc NPC(=góc B)

góc ANM=góc NCP)

=>ΔAMN đồng dạng với ΔNPC