If \(f:\{1,2,3,4\}\to\{0,1\}\) is defined by \(f(x)=0\) when \(x\) is even and \(f(x)=1\) when \(x\) is odd, what is the value of \(f(3)\)?यदि \(f:\{1,2,3,4\}\to\{0,1\}\) को इस नियम से परिभाषित किया गया है कि \(x\) सम होने पर \(f(x)=0\) और \(x\) विषम होने पर \(f(x)=1\), तो \(f(3)\) का मान क्या है?
Answer and explanationउत्तर और व्याख्या
Correct answer:सही उत्तर: 11
The number 3 is odd. According to the given rule, \(f(x)=1\) for every odd \(x\); therefore, \(f(3)=1\). The value 0 applies only when the input is even. In an exam, first check whether the input is even or odd, and then apply the definition.यहाँ 3 एक विषम संख्या है। दिए गए नियम के अनुसार प्रत्येक विषम \(x\) के लिए \(f(x)=1\), इसलिए \(f(3)=1\)। विकल्प 0 केवल सम संख्या के लिए लागू होता है। परीक्षा में पहले इनपुट की सम-विषमता जाँचकर फिर परिभाषा लागू करें।
Student feedback
Was this question useful?
👍 0 Helpful 👎 0 Not helpful
Yes 0% No 0%
0 responsesStudent Reviews
No published reviews yet.