Предмет: Английский язык, автор: dildoramiralimova81

3 Turn the following into reported speech. 1 "You must hand in your homework tomorrow morning," our teacher said to us. 2 "I don't want to go to school today," Sammy said to his mother. 3 I will buy some milk on my way home from work," said John. ****** 4 Tommy hasn't finished eating his dinner," Lucy said to Roy. 5 "My mother can look after the children next week." Sue said to Harry. 6 "Tony was practising the clarinet last night," his father said. 7 "The last time I saw Jean was two months ago." Diane said. 8 "Mr White comes to my café for a cup of coffee every morning," Don said. 9 "Eric has just opened his new shop," lan said to Ben. 10 "You must pay the bills on Monday," Clare said to Alan. даю 1 баллтолько быстрее пж ​

Ответы

Автор ответа: artemchik1032
1

Ответ:

1. Our teacher told us that we had to hand in our homework the next morning.

2. Sammy told his mother that he didn't want to go to school that day.

3. John said that he would buy some milk on his way home from work.

4. Lucy told Roy that Tommy hadn't finished eating his dinner.

5. Sue told Harry that her mother could look after the children the following week.

6. Tony's father said that Tony had been practicing the clarinet the previous night.

7. Diane said that the last time she had seen Jean was two months ago.

8. Don said that Mr. White came to his café for a cup of coffee every morning.

9. Ian told Ben that Eric had just opened his new shop.

10. Clare told Alan that he had to pay the bills on Monday.

Похожие вопросы
Предмет: Информатика, автор: mirosniangelina
Допрацюйте проєкт, розроблений на занятті. Додайте
кнопку для рестарту гри.
Крім того, по закінченню гри виведіть у Serial Monitor загальний рахунок гравця (кількість комбінацій, які йому вдалося повторити).



// Your code goes here
// LED pin definitions
#define LED_RED 11
#define LED_GREEN 9
#define LED_BLUE 7
#define LED_YELLOW 5
#define LED_CORRECT 4
#define LED_WRONG 2

// Button pin definitions
#define BUTTON_RED 12
#define BUTTON_GREEN 10
#define BUTTON_BLUE 8
#define BUTTON_YELLOW 6

// Buzzer definitions
#define BUZZER 3
#define RED_TONE 220
#define GREEN_TONE 262
#define BLUE_TONE 330
#define YELLOW_TONE 392
#define TONE_DURATION 250

// Game Variables
int GAME_SPEED = 250;
int GAME_STATUS = 0;
const int GAME_MAX_SEQUENCE = 50;
int GAME_SEQUENCE[GAME_MAX_SEQUENCE];
int GAME_STEP = 0;
int READ_STEP = 0;

void setup(){
Serial.begin(9600);

randomSeed(analogRead(0));

pinMode(LED_RED, OUTPUT);
pinMode(LED_GREEN, OUTPUT);
pinMode(LED_BLUE, OUTPUT);
pinMode(LED_YELLOW, OUTPUT);
pinMode(LED_CORRECT, OUTPUT);
pinMode(LED_WRONG, OUTPUT);
pinMode(BUTTON_RED, INPUT_PULLUP);
pinMode(BUTTON_GREEN, INPUT_PULLUP);
pinMode(BUTTON_BLUE, INPUT_PULLUP);
pinMode(BUTTON_YELLOW, INPUT_PULLUP);
pinMode(BUZZER, OUTPUT);
}

void loop(){

// In what mode are we?
switch(GAME_STATUS){
case 0:
resetGame();
break;
case 1:
playSequence();
break;
case 2:
readSequence();
break;
case 3:
gameOver();
break;
}

}

void resetGame(){
// reset steps
READ_STEP = 0;
GAME_STEP = 0;

// create random sequence
for(int i=0; i GAME_SEQUENCE[i] = random(4) + 1;
}

// Next game state; show led sequence
GAME_STATUS = 1;
}

void playSequence(){
// play a step of our sequence
for(int i=0; i<=GAME_STEP; i++){
Serial.print("Set LED");
Serial.println(GAME_SEQUENCE[i]);
delay(GAME_SPEED*2);
setLED(GAME_SEQUENCE[i]);
playTone(GAME_SEQUENCE[i]);
delay(GAME_SPEED);
clearLEDs();

}
// Go to next step: reading buttons
GAME_STATUS = 2;
}

void readSequence(){
// read our buttons
int button_value = readButtons();

if(button_value > 0){
// a button has been pressed
if(button_value == GAME_SEQUENCE[READ_STEP]){
// correct value!
setLED(button_value);
playTone(button_value);
digitalWrite(LED_CORRECT, HIGH);
delay(GAME_SPEED);
clearLEDs();
digitalWrite(LED_CORRECT, LOW);

// Lets speed it up!
if (GAME_SPEED > 100) {
GAME_SPEED = GAME_SPEED-15;
}

Serial.println("Correct!");

if(READ_STEP == GAME_STEP){
// reset read step
READ_STEP = 0;
// Go to next game step
GAME_STEP++;
// Go to playback sequence mode of our game
GAME_STATUS = 1;
Serial.println("Next step");

// Light all LEDs to indicate next sequence
setLEDs(true,true,true,true);
delay(GAME_SPEED);
setLEDs(false,false,false,false);

}else{
READ_STEP++;
}

delay(10);

}else{
// wrong value!
// Go to game over mode
GAME_STATUS = 3;
Serial.println("Game Over!");
}
}
delay(10);
}

void gameOver(){
// Red RGB
digitalWrite(LED_WRONG, HIGH);
// Play tone
tone(BUZZER, 98, TONE_DURATION);
delay(TONE_DURATION);
tone(BUZZER, 93, TONE_DURATION);
delay(TONE_DURATION);
tone(BUZZER, 87, TONE_DURATION);
delay(TONE_DURATION);
delay(GAME_SPEED);

}

// HELPER FUNCTIONS
void setLED(int id){
switch(id){
case 0:
setLEDs(false,false,false,false);
break;
case 1:
setLEDs(true,false,false,false);
break;
case 2:
setLEDs(false,true,false,false);
break;
case 3:
setLEDs(false,false,true,false);
break;
case 4:
setLEDs(false,false,false,true);
break;
}
}

void playTone(int id){
switch(id){
case 0:
noTone(BUZZER);
break;
case 1:
tone(BUZZER, RED_TONE, TONE_DURATION);
break;
case 2:
tone(BUZZER, GREEN_TONE, TONE_DURATION);
break;
case 3:
tone(BUZZER, BLUE_TONE, TONE_DURATION);
break;
case 4:
tone(BUZZER, YELLOW_TONE, TONE_DURATION);
break;
}
}

void setLEDs(boolean red, boolean green, boolean blue, int yellow ){
if (red) digitalWrite(LED_RED, HIGH);
else digitalWrite(LED_RED, LOW);
if (green) digitalWrite(LED_GREEN, HIGH);
else digitalWrite(LED_GREEN, LOW);
if (blue) digitalWrite(LED_BLUE, HIGH);
else digitalWrite(LED_BLUE, LOW);
if (yellow) digitalWrite(LED_YELLOW, HIGH);
else digitalWrite(LED_YELLOW, LOW);
}

void clearLEDs(){
setLEDs(false,false,false,false);
}

int readButtons(void){
if (digitalRead(BUTTON_RED) == 0) return 1;
else if (digitalRead(BUTTON_GREEN) == 0) return 2;
else if (digitalRead(BUTTON_BLUE) == 0) return 3;
else if (digitalRead(BUTTON_YELLOW) == 0) return 4;

return 0;
}
Предмет: Математика, автор: igorsinyugin12
Теория вероятности. Проверьте мое решение! Прошу! В каждом их трех ящиков имеется по 9 шаров, из них 6 - белых. Из первого ящика наудачу взят один шар и переложен во второй ящик, после чего из второго ящика наудачу взят один шар и переложен в третий ящик. Найти вероятность того, что наудачу взятый шар из третьего ящика окажется белым. Мое решение: Вероятность взять белый шар из 1 ящика равна 6/9 Вероятность взять черный шар из 1 ящика равна 3/9 Есть 2 возможных ситуации Находим вероятность вытащить черный ящик из 2 ящика Для первой возможной вероятности это будет 1) 6/9 * (7/10) = 0.46 Вторая возможная ситуация 2) 3/9 * (6/10) = 0.2 Дальше у меня трудности как поступить. Сложить ли эти вероятности ли дальше считать. Ведь мы перекладываем шар в 3 ящик. Допустим продолжаем считать так И для первой вероятности это будет 0.46 * (7/10) = 0.322 Для второй 0.2 * (6/10) = 0.12 И складываю их. 0.442, все ли верно?