Shadowing Practice: Useful math related functions in C++ 🔢 - Learn English Speaking with Video

Kies een oefenmodus

Elke modus opent een volledig scherm oefenruimte.

52 zinnen
Als zinnen te kort of te lang zijn, klik op Bewerken om ze aan te passen.
1
Hey guys, in this video I'm going to show you 8 useful math related functions in C++.
2
Let's begin by creating 3 variables.
3
Double x, and I will set this to be 3.
4
Double y, that will be 4.
5
Then double z, we will declare this but not yet assign it.
6
The first useful math related function is the max function, which will return the greater of 2 values or variables.
7
I'll assign the result within z.
8
z equals standard max parentheses.
9
Within the parentheses, add two values or variables.
10
I'll compare x and y.
11
Then let's display the result.
12
Standard output, I would like to display whatever z is.
13
The greater number between 3 and 4 is, well, you guessed it, 4.
14
Alternatively, there's the min function.
15
z equals standard min let's compare x then y
16
so the minimum between these two values would be three
17
so that's max
18
and min now the rest of these functions are found within
19
the cmath header file at the top of our file let's
20
include cmath we have the pow function to raise a base to a given power.
21
z equals pow, or power.
22
Let's raise two to the power of three.
23
z would be eight.
24
Two to the power of four would be 16.
25
That's the power function.
26
Then we have square root z equals sqrt.
27
What's the square root of nine?
28
Well, the square root of nine is three.
29
Then we have absolute value z equals abs.
30
If you place a negative number within the absolute value function, it will give you the positive version of that number, how far it is away from zero.
31
So negative three, the absolute value of negative three would be three.
32
That is the absolute value function.
33
Next, we have the round function.
34
Let's change X to 3.14.
35
Z equals round.
36
Let's round X.
37
3.14 rounded would be three.
38
If you need to round up, there's a ceiling function.
39
Z equals seal.
40
Seal means ceiling.
41
Let's round X.
42
X rounded up is 4.
43
Alternatively, there's the floor function, which will always round down.
44
Let's change X to 3.99 to test it.
45
Z equals floor X.
46
X rounded down is three.
47
So yeah, everybody, that is a super quick video on a few useful math-related functions.
48
If you head to this URL, c++.com slash reference slash cmath, there's a lot more useful math functions that you may be interested in,
49
but we just covered a few of the basics.
50
In the next topic, we're going to create a practice program to find the hypotenuse of a right triangle.
51
So yeah, those are a few useful math-related functions in C++.
52
Thank you.

App downloaden

Alles wat je nodig hebt om vloeiend te spreken

AI UitspraakScoor elke zin
IPA OefeningBeheers elk geluid
WoordenschatBouw je woordenschat op
WoordenspelLeren terwijl je speelt

Zelfde Kanaal

FOR YOU

Aanbevolen Video

Woordenschat en spreektips bij deze les

Deze spreekles op niveau B2 is gebaseerd op de video “Useful math related functions in C++ 🔢”. Deze woorden komen het vaakst terug: function, equals, value, round, math. Deze video bevat 52 zinnen en 436 woorden om na te spreken. Het gesproken deel duurt 3:55. De spreker praat in een gelijkmatig tempo van ongeveer 111 woorden per minuut, prettig om te shadowen. Slechts 77% van de woorden hoort bij de 3.000 meest gebruikte Engelse woorden, dus de woordenschat is pittig.

Belangrijke woorden in deze video

De 13 moeilijkste woorden uit de video, met uitspraak en betekenis:

WoordUitspraakBetekenis
mathematics zelfstandig naamwoord/mæθ(.ə)ˈmæt.ɪks/wiskunde, mathematiek
variable bijvoeglijk naamwoord[ˈvæɹ.i.ə.bl̩]veranderlijk, variabel
compare werkwoord/kəmˈpɛɚ/vergelijken
seal zelfstandig naamwoord/siːl/zegel
ceiling zelfstandig naamwoord/ˈsilɪŋ/plafond, zoldering
assign werkwoord/əˈsaɪn/toewijzen
topic zelfstandig naamwoord/ˈtɑpɪk/onderwerp, thema
output zelfstandig naamwoord/ˈaʊtpʊt/productie
declare werkwoord/dɪˈklɛɚ/verklaren
triangle zelfstandig naamwoord/ˈtɹaɪˌæŋɡəl/driehoek
header zelfstandig naamwoord/ˈhɛdɚ/kop
parenthesis zelfstandig naamwoord/pəˈɹɛn.θə.sɪs/parenthese
hypotenuse zelfstandig naamwoord/haɪˈpɑtənus/hypotenusa, schuine zijde

Zinnen om te herhalen

Korte, volledige zinnen uit de video die je in alledaagse gesprekken kunt gebruiken:

  • I'll compare x and y.
  • Then let's display the result.
  • Let's raise two to the power of three.
  • What's the square root of nine?

Uitspraak om op te letten

De spreker gebruikt 4 samentrekkingen en verkorte vormen, zoals I'll, I'm, we're. Spreek ze kort uit, zoals je ze hoort.

  • De “th”-klanken: mathematics /mæθ(.ə)ˈmæt.ɪks/, parenthesis /pəˈɹɛn.θə.sɪs/
  • Lange woorden — let op de klemtoon: mathematics /mæθ(.ə)ˈmæt.ɪks/, alternatively /ɔlˈtɝ.nə.tɪv.li/, parenthesis /pəˈɹɛn.θə.sɪs/, hypotenuse /haɪˈpɑtənus/

Klanken die Nederlandstaligen lastig vinden:

  • /æ/ — opener dan de Nederlandse “e”: mathematics /mæθ(.ə)ˈmæt.ɪks/, variable [ˈvæɹ.i.ə.bl̩], triangle /ˈtɹaɪˌæŋɡəl/

Zo oefen je met deze video

  1. Luister de hele video één keer zonder te spreken en noteer de woorden die je niet kent.
  2. Spreek zin voor zin na op normale snelheid en herhaal elke zin tot je ritme gelijk is aan dat van de spreker.
  3. Neem jezelf op en vergelijk met het origineel; let daarbij op woorden als mathematics, variable, compare.

Wat is de Shadowing-techniek?

Shadowing is een wetenschappelijk onderbouwde taalleermethode die oorspronkelijk is ontwikkeld voor professionele tolkentraining en gepopulariseerd door polyglot Dr. Alexander Arguelles. De methode is eenvoudig maar krachtig: je luistert naar native Engelse audio en herhaalt het onmiddellijk hardop — als een schaduw die de spreker volgt met slechts 1–2 seconden vertraging. In tegenstelling tot passief luisteren of grammaticadrills, dwingt shadowing je hersenen en mondspieren om echte spraakpatronen tegelijkertijd te verwerken en te reproduceren. Onderzoek toont aan dat het de uitspraaknauwkeurigheid, intonatie, ritme, verbonden spraak, luisterbegrip en spreekvaardigheid aanzienlijk verbetert — waardoor het een van de meest effectieve methoden is voor IELTS Speaking-voorbereiding en echte Engelse communicatie.

Shadowing-techniek: lees de volledige stap-voor-stap-gids →