शैडोइंग अभ्यास: Useful math related functions in C++ 🔢 - YouTube के साथ अंग्रेजी बोलना सीखें

B2
Hey guys, in this video I'm going to show you 8 useful math related functions in C++.
⏸ रुका हुआ
52 वाक्य
यदि वाक्य बहुत छोटे या लंबे हों, तो समायोजित करने के लिए Edit पर क्लिक करें।
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.

ऐप डाउनलोड करें

Everything you need to speak fluently

AI PronunciationScore every sentence
IPA PracticeMaster every sound
VocabularyBuild your word bank
Vocab GameLearn while playing
डाउनलोड करने के लिए स्कैन करें
डाउनलोड करने के लिए स्कैन करें

इस वीडियो के साथ बोलने का अभ्यास क्यों करें?

वीडियो "C++ में उपयोगी गणित संबंधी कार्य" में दर्शाए गए कौशलों का अभ्यास करने से न केवल आपकी अंग्रेजी बोलने की क्षमता में सुधार होगा, बल्कि आपकी तकनीकी शब्दावली भी मजबूत होगी। जब आप किसी विषय पर व्यवसायिक ढंग से बातचीत कर सकते हैं, तो यह आपकी आत्मविश्वास को बढ़ाता है। इस वीडियो में उपयोग किए गए गणितीय कार्यों के माध्यम से, आप नए शब्द और वाक्य संरचनाएँ सीखेंगे, जो आपको अंग्रेजी में प्रवाहपूर्ण होने में मदद करेंगी। विशेष रूप से, C++ के संदर्भ में तकनीकी शब्दावली पर ध्यान केंद्रित करने से आप अपने क्षेत्र में अधिक कुशलता से संवाद कर पाएंगे। इसलिए, इस वीडियो का अनुसरण करने के दौरान उच्चारण का ध्यान रखते हुए अभ्यास करना महत्वपूर्ण है।

व्याकरण और संदर्भ में अभिव्यक्तियाँ

  • max function: इस वाक्य में, वक्ता 'max' शब्द का प्रयोग करते हैं, जो उच्चतम मान प्रदान करता है। उदाहरण: "greater of 2 values".
  • min function: 'min' कार्य का संदर्भ भी समान रूप से महत्वपूर्ण है। यहाँ 'minimum between these two values' शब्द संरचना का प्रयोग किया गया है।
  • absolute value: वक्ता 'absolute value function' का प्रयोग करते हैं, जो संख्याओं की स्थिति को स्पष्ट करता है। जैसे "the positive version of that number".
  • pow function: 'raise a base to a given power' वाक्य भी आपके तकनीकी ज्ञान को बढ़ाता है।

ये वाक्य संरचनाएँ न केवल आपके व्याकरण को सुधारेंगी, बल्कि आपकी तकनीकी समझ को भी बढ़ाएंगी, जिससे आप इंग्लिश शैडोइंग करने में बेहतर होंगे।

कॉमन उच्चारण ट्रैप

वीडियो में कुछ शब्द उच्चारण के लिए चुनौतीपूर्ण हो सकते हैं। उदाहरण के लिए, "ceil" और "floor" जैसे शब्द उच्चारण में भ्रम पैदा कर सकते हैं। इन्हें ध्यान से सुनें और बार-बार सुनकर अभ्यास करें। इसके अलावा, 'round' जैसे शब्द का प्रयोग भी महत्वपूर्ण है क्योंकि इसके विभिन्न संदर्भ होते हैं। इन शब्दों का सही उच्चारण करना आपके अंग्रेजी उच्चारण में सुधार लाने में मदद करेगा।

यदि आप इस अभ्यास को नियमित रूप से करते हैं तो आप न केवल अपने गणितीय ज्ञान को सुधारेंगे बल्कि अंग्रेजी उच्चारण में भी सुधार करेंगे। अंग्रेजी शैडोइंग और shadowspeaks का अभ्यास करें ताकि आप संचार की तीव्रता के साथ और अधिक प्रभावी ढंग से संवाद कर सकें।

शैडोइंग तकनीक क्या है?

शैडोइंग (Shadowing) एक विज्ञान-समर्थित भाषा सीखने की तकनीक है जो मूल रूप से पेशेवर दुभाषिया प्रशिक्षण के लिए विकसित की गई थी। विधि सरल लेकिन शक्तिशाली है: आप मूल अंग्रेज़ी ऑडियो सुनते हैं और तुरंत इसे ज़ोर से दोहराते हैं — जैसे वक्ता की छाया 1-2 सेकंड की देरी से। शोध से पता चलता है कि यह उच्चारण सटीकता, स्वर, लय, जुड़ी हुई ध्वनियाँ, सुनने की समझ और बोलने की प्रवाहशीलता में काफ़ी सुधार करता है।

हमें एक कॉफी पिलाएं