Hence, write down the equation with y as the subject (in terms of x). The value of m and q must be indicated
Samuel owns a shoe factory where there are N different machines operated for N different purposes. Each machine has its own motor. In order to avoid resonance, the rotation speed of any 2 machines should at least differ by 2 units. The rotation speed can only be in integer units and the maximum rotation speed of any motor is X units. Given minimum rotation speed of any motor to be 1 unit, you have to help Sam find out the number of different ways he can configure the speed of the motor. Input Specification: input1: N, denoting the number of machines. input 2X, denoting the maximum speed of the motor. Output Specification: Your function should return the total number of configuration modulus 10^4.
Find the Duplicate in the array
Given an myArray write a JS program to find duplicate in the Array.
input1
[1,2,3,4,5,7,7,8]
output1
7
output1
{'light'', "dark", "twinlight"]
"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().replace(/'/g, '"'));
/* Please do not modify anything above this line */
/* Write your code here */
}
Based on the World Health Organization (WHO), adult ages 11 and above are ONLY
allowed to intake no more than 6g of salt per day. Now, humans love to eat food with strong
taste thus we developed food seasonings. On average, an 8g pack of food seasoning
contains 22% salt (let us assume this is in the form of NaCl), with a serving option of 4g per
dish.
Calculate the equivalent number of moles of salt per serving?
Note: The molar mass of Sodium Chloride is 58.44 g/mol
Find the equation of the tangent line to each curve when x has a given value.
1. f(x)= x²+2 as x= 2
2.f(x)= 3x²+1 as x=1
Find the slope of the tangent line of the given function f below.
1.f(x)=2x+5
2.f(x)=x²-1
Part 1
Write a Python program that does the following.
Part 2
Provide your own examples of the following using Python lists. Create your own examples. Do not copy them from another source.
Provide the Python code and output for your program and all your examples.
D. The result of the nationwide aptitude test in mathematics are normally distributed with a mean of 70 and a standard deviation of 5. Find the raw score such that 60% of the cases are below it and case above it.
A solution is prepared by dissolving 10.00 g sucrose (MM of sucrose = 343 g) in 50g of water. The volume of the resulting solution is 52 mL. Calculate the following
A. molarity
B. molality
C. mole fraction
Find the area that corresponds to each of the following z-score values.
1. z = 2.86
2. = -0.91
3. z = -1.6
4. z = 1.32
5. z = -2.18
1You are given the following information about the commodity and money markets of a closed economy without government intervention.
The commodity market
Consumption function;
C = 50 + 2/5Y
Investment function:
I = 790 – 21r
The Money Market
Precautions and Transactions demand for money
MDT = 1/6 Y
Speculative demand for money
MDS = 1200 – 18r
Money supply
MS = 1250
Required:
i.Determine the equilibrium levels of income and interest rate for this economy.
ii.Using a well labelled diagram, illustrate the equilibrium condition in part (i) above.