Correct IUPAC name of 2,4-Butanediol
Consider two charges q1=38e and q2=−48e at positions (−22,−26,−14) and (46/√3, 20/√2, −35) respectively where all the coordinates are measured in the scale of 10^−9m or nano meters. If position vector of the charge q1 is r⃗ 1 and charge q2 is r⃗ 2.
find x,y and z components of vector for the following questions
a) Find the relative position vector that points from charge q1 to charge q2.
b) Calculate the force acting on q1 due to q2.
Now consider another charge q3=20e is in the xyz system positioned at (32 /√3, −16/√2, −15). Calculate the net force acting on q1 and q2.
c) Net Force on q1 due to other charges
d) Net Force on q2 due to other charges
e) Calculate the net electric field at the position of q3 due to q1 and q2 charge. Note that, you cannot calculate electric field of q3 at it's own position.
Say the charge q3 have mass of m=0.18gram. What will be it's acceleration given it's in the field of other charges.
f) Calculate the magnitude of the acceleration of q3 charge
Write a program to take two numbers as input then display their total using java.io. package for input i.e. InputStreamReader isr= new InputStreamReader(System.in);
BufferedReader br=new BufferedReader(isr);
Integer.parseInt(br.readLine());
Use void only once in public static void main(String args[])
Don't use void second time.
Write a program to take a String as input then display the word which has highest number of vowels.
For example:
Enter a String
EDUCATION IS important
EDUCATION has highest number of vowels
2nd e.g.
Enter a String
Hello use dog
Hello and use has same highest number of vowels
The volume of a sphere is 4/3πr3, where π has the value of "pi" given in Section 2.1 of your textbook. Write a function called print_volume (r) that takes an argument for the radius of the sphere, and prints the volume of the sphere.
Call your print_volume function three times with different values for radius.
Include all of the following in your Learning Journal:
The code for your print_volume function.
The inputs and outputs to three calls of your print_volume.
Part 2
Write your own function that illustrates a feature that you learned in this unit. The function must take at least one argument. The function should be your own creation, not copied from any other source. Do not copy a function from your textbook or the Internet.
Include all of the following in your Learning Journal:
The code for the function that you invented.
The inputs and outputs to three calls of your invented function.
A description of what feature(s) your function illustrates.
Write a program to take a String as input then display only palindrome words found in the String and also display how many palindrome words found.
For example:
Enter a String
MOM AND dad are talking
Palindrome words: MOM dad
No. of such words: 2
for(i=s.length()-1;i>=0;i--)
{
c=s.charAt(i);
rev=rev+c;
} //To check palindrome words
Write a program to:
The final output should be as follows:
Jesus is the door of the sheep. All who came before Jesus are thieves and robbers, but the sheep did not listen to them. Jesus is the door.A gas turbine operates on a pressure ratio of 6. The inlet air temperature to the compressor
is 300 K and the temperature of air entering to the turbine is 580°C. If the volume rate of
air entering the compressor is 250 m3
/s. Calculate the net power output of the cycle. Also,
calculate the efficiency.
Total mass 57.3 kg. Rides .64km in 14.6 min in constant speed. Aceleración is 9.8 m/s2 what is the kinetic energy?
A heat pump working on the Carnot cycle takes in heat from a reservoir at 5°C and delivers
heat to a reservoir at 60°C. The heat pump is driven by a reversible heat engine which takes
in heat from a reservoir at 840°C and rejects heat to a reservoir at 60°C. The reversible heat
engine also forgives a machine that absorbs 30 kW. If the heat pump extract 17 kJ/s from
the 5°C reservoir, determine :
a) The rate of heat supply from the 840°C source
b) The rate of heat rejection to the 60°C sink.