The distance between the electrodes is 2.6 cm. If the dielectric strength of the dry air between is 3 x 10^6 V/m, what is the voltage across the electrodes when the arc first forms?
6. Three Lines Apart
by CodeChum Admin
Do you like reading books? If you do, then you must have encountered texts that have quite a wide space with dots in between them, just like pausing or thinking before proceeding the narration. Let's try doing that here in Python, shall we?
Input
Two lines containing a string on each.
some string
another string
Output
The first line contains the first inputted string.
The next three lines contains a dot symbol on each.
The last line contains the second inputted string.
some string
.
.
.
another string
Two coins are tossed and the random variable Z gives the number of heads. Find the range space, possible outcomes, and give the table of values.
Haley’s Comet can only be viewed once in every 76 years. How fast is it moving if it is
1.56 x 1020 m away from the Earth? If its mass is about 3,000 kg, how much force is keeping it in orbit?
1. Write a Java program to rearrange a given array of unique elements such that every second element of the array is greater than its left and right elements.
Example:
Input :
nums= { 1, 2, 4, 9, 5, 3, 8, 7, 10, 12, 14 }
Output:
Array with every second element is greater than its left and right elements:
[1, 4, 2, 9, 3, 8, 5, 10, 7, 14, 12]
2. Write a Java program to form the largest number from a given list of non-negative integers.
Example:
Input :
nums = {1, 2, 3, 0, 4, 6}
Output:
Largest number using the given array numbers: 643210
3. Write a Java program to shuffle a given array of integers.
4. Write a Java program to find maximum product of two integers in a given array of integers.
Example:
Input :
nums = { 2, 3, 5, 7, -7, 5, 8, -5 }
Output:
Pair is (7, 8), Maximum Product: 56
1. Write a Java program to find the maximum and minimum value of a 1-d array.
2. Write a Java program without using a second array to reverse elements of each row of a 2-d array of integer values.
e.g. 1 2 3 4 4 3 2 1
5 6 7 8 è 8 7 6 5
9 10 11 12 12 11 10 9
3. Write a java program to print the Pascal’s Triangle using a 2-d array.
4. Write a Java program to convert an array to an ArrayList, and an ArrayList to an array.
5. Write a Java program to arrange the elements of a given array of integers where all negative integers appear before all the positive integers.
The power input to the fan is 50 J/s and the power input to the heating element is 1.44 kJ/s. The air enters the fan with negligible velocity at a pressure of 1 bar and a temperature of 20 C, the volumetric flow rate being 0.5 m3 /min. After passing over the heating element, the air leaves the nozzle with a velocity of 25 m/s and a pressure of 1.1 bar. Treating the complete arrangement as a steady flow system and ignoring any heat loss from the system, determine: (a) The mass flow rate of air entering the fan in kg per second (b) The kinetic energy of the air leaving the nozzle per second (c) The change in enthalpy of the air occurring per second between entering the fan and leaving the nozzle (d) The temperature of the air as it leaves the nozzle. (e) The density of the air as it leaves the nozzle (f) The flow area at the nozzle exit. Take R = 0.287 kJ/kgK and cp = 1.005 kJ/kgK
Determine the pH
pH of each of the following solutions.
Part A
4.0×10−2 M
M HI
If f and g are continuous functions on [a,b] with integral from a to x f ≥ integral from a to x g for every x ∈ [a, b], must it be true that f(x) ≥ g(x) on [a, b]?
How would a defined media composition differ if the nitrogen source is ammonium (NH4) or ammonium nitrate (NH4NO3)? How much of each of these compounds would you add to1L of media if you wanted to maintain 10:1:0.1 (C:N:P) ratio with glucose as the sole carbon source at 1g/L? (25 points)