Design a program that converts an octal number into binary numbers. Use a constructor.
Consider the following generic chemical equation: 2A + 5B ➡️ C + 3D. If you react 4 units A with 10 units of B, which statement is true?
Design a program that converts a decimal number into hexadecimal number without an array. Use a constructor.
Two charges Q1=5nc and Q2=-7nc are separated by 8 cm. Calculate the electric potential at point A
calculate the capacitance of a capacitor if it stores a charge of 2.3x10-4 when delivered with a voltage of 4x103V
Quinine (a non-volatile, non electrolyte) has the empirical formula C10H12NO.A sample of
quinine (0.162 g) was mixed with camphor (10.0 g) and the freezing point of the mixture was found to be 175.2 oC. The freezing point of pure camphor was determined to be 177.2 oC.
[Kf (camphor) = 40.0 oC Kg mol-1]
(a) Calculate the freezing point depression of the solution.
(b) Calculate the molality of the quinine.
(c) Calculate the moles of quinine.
(d) Calculate the molar mass of quinine
(e) What is the molecular formula of quinine?
Describe the events that lead to a generation of a nerve impulse. ( short answer please)
How many liters of solution are needed to make a 1.66M solution containing 2.11 moles of potassium permanganate
Did you know that in lotteries, a 3-digit number with the same numbers in all digits like 777 will hit the jackpot in a casino? In the same manner, let's make a program that will test if a certain 3-digit number hits a jackpot or not by identifying if all the digits of a given number is the same as the second inputted number. If it is, print "Jackpot!"; else, print "Nah".
Let's try this out now!
Input
A line containing two integers separated by two input.
Enter 3-digit integer :777
Enter second digit to be searched 0-9):7
Output
A line containing a string.
Jackpot!
Write a function in this file called nine_lines that uses the function three_lines (provided below) to print a total of nine lines.
Now add a function named clear_screen that uses a combination of the functions nine_lines, three_lines, and new_line (provided below) to print a total of twenty-five lines. The last line of your program should call first nine_lines and then the clear_screen function.
The function three_lines and new_line are defined below so that you can see nested function calls. Also, to make counting “blank” lines visually easier, the print command inside new_line will print a dot at the beginning of the line