Write a program to print the following,
Input
The first line of input contains a string S.
The second line of input contains a string T.
Sample Input1
abc
acb
Sample Output1
Yes
Sample Input2
aabb
bbaa
Sample Output2
No
A current of 50.0A
50.0A flows through a cross-section of a wire. After six hours, what is the total mass of all of the electrons which have passed through the cross-section? Give your answer in milligrams (mg) and to three significant figures.
A ball is thrown vertically upwards with an initial velocity of 30 m/s.
Using a time step of 0.02 s up to 6.20 s, plot the graph of the vertical distance versus time for this ball.
Hint ; Motion under gravity is described by the equation : 𝑣𝑦 = 𝑣𝑜𝑦𝑡 +1/2𝑔𝑡^2
and gravitational acceleration 𝑔 is here taken as negative.
(i) To what maximum height does the ball rise?
(ii) What is the index of time at maximum height?
(iii) How long does it take the ball to ascend to maximum height?
(iv) How long does it take the ball to hit the ground?
(v) What happens to the ball if the sign for gravitational acceleration is taken as positive?
A hundred 1.0 ohm resistors are to be connected in a circuit. All resistors must be connected in the circuit such that current flows through them. What is the least equivalent resistance you could get in such a circuit? Give your answer in ohms to two significant figures
A typical incandescent bulb has an efficiency of about 10%. What current is needed for a bulb with a resistance of 1.5×102Ω to output power of 6.0 W?
A typical incandescent bulb has an efficiency of about 10%. What current is needed for a bulb with a resistance of (1.5×10^2) Ω to output power of 6.0 W?
3/x+3-2x-6/x^-9x
Before hanging new William Morris wallpaper in her bedroom, Brenda sanded the walls lightly to smooth out some
irregularities on the surface. The sanding block weighs 1.90 N and Brenda pushes on it with a force of 3.00 N at an angle
of 30.0° with respect to the vertical, and angled toward the wall.What is the coefficient of kinetic friction between the wall and the block?
C = 200 + 0.75(Y – T) I=G=250 T=200 where, Y=C+I+G
All figures are in millions except the measures of responsiveness.
write a program to generate a sequence and print the corresponding value of a key for the given string a key.
Input
A,AA,AB,AAA
OUTPUT
1,27,53,703