squares of Array items
input
output
input1
[[1,2],[3,4],[5,6]]
output1
[ [ 1,4],[9,16],[25,36]]
input2
[12,[24],36,[48,60]]
output2
[144,[576],1296,[2304,3600]]
"use strict";
process.stdin.resume();
process.stdin.setEncoding("utf-8");
let inputString = "";
let currentLine = 0;
process.stdin.on("data", (inputStdin) => {
inputString += inputStdin;
});
process.stdin.on("end", (_) => {
inputString = inputString
.trim()
.split("\n")
.map((str) => str.trim());
main();
});
function readLine() {
return inputString[currentLine++];
}
function main() {
let myArray = JSON.parse(readLine())
/* Write your code here and log the output */
}
Assign melting points to the two structures of 1,4 dibromocyclohexane
Some financial theories consider the variance of the distribution of expected rates of return to be a good measure of uncertainty. Discuss the reasoning behind this measure of risk and it's purpose.
Three point charges 10 C, -20 C, and -50 C are at the three consecutive corners of a square 10 cm on a side. What is the potential energy of the system?
Let p = “The Exams are decided” and q = “The Papers have been set”
Express each of these compound propositions as English sentences. And state
whether it is Contradiction, Tautology or Contingency.
a) ¬ p :
b) p ∨ q :
c) q → p :
d) p ↔ q :
e) ¬ p ∧ q :
f) ¬ p → ¬ q :
g) ¬ q → ¬ p :
h) ¬ q ∨ (¬ p ∧ q) :
Discuss free radical reaction of mechanism in methane chlorination as an example of substitution reactions of alkanes
Find the First Value
Given an array myArray of positive integers, write a JS program to find the smallest integer divisible by 2 and 3.
input
the input will be a single line containing an myArray
output
the output should be a single line containing a number divisible by 2 and 3 or undefined.
input1
[51,18,15,12]
output1
12
input2
[41,29,17,19,31]
output2
undefined
"use strict";
process.stdin.resume();
process.stdin.setEncoding("utf-8");
let inputString = "";
let currentLine = 0;
process.stdin.on("data", (inputStdin) => {
inputString += inputStdin;
});
process.stdin.on("end", (_) => {
inputString = inputString
.trim()
.split("\n")
.map((str) => str.trim());
main();
});
function readLine() {
return inputString[currentLine++];
}
function main() {
let myArray = JSON.parse(readLine());
/* Write your code here and log the output */
}
Discuss the oxidation reaction of methane
Define energy of activation in relation to methane
Spread across 100 countries and its headquartered in India, Mahindra employs over
2,40,000 people. Tech Mahindra is one of only three Indian companies to be included in
the Bloomberg 2020 Gender-Equality Index. They are constantly creating a transparent
policy, valuing individual differences. For Tech Mahindra, diversity of every kind is of
importance. Be it diversity of one’s nationality or someone’s age, be it about gender,
also about thoughts, or their abilities. In fact their constant endeavor is building a
workplace that is 'intentionally' varied and diversified in every way possible."
a. What are the lessons to be learnt from Tech Mahindra Gender-Equality Index?
b. What practices would you recommend other Indian corporate houses to enable change
of diversity and sustain it.