Calculate the wave number for the longest wave length transition in the ''Paschen Series'' of hydrogen atom.
Answers
Answer:
The class Short_long_word finds and displays the shortest and the longest word
in a sentence.
*/
import java.io.*;
class Short_long_word
{
public static void main(String args[])throws IOException
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter any sentence : "); //inputting the sentence
String s=br.readLine();
s=s+" "; //adding a space at the end, to extract the last word also
int len=s.length(); //finding the length of the sentence
String x="",maxw="",minw="";
char ch;
int p,maxl=0,minl=len;
for(int i=0;i<len;i++)
{
ch=s.charAt(i); //extracting characters of the string one at a time
if(ch!=' ')
{
x=x+ch; //adding characters to form word if character is not space
}Longest wavelength means minimum energy.
So you need to know the work function of
sodium for the calculation as work function is the minimum energy to remove a photoelectron from a metal and varies as the substance changes.
After you know the value of work function in Joules then equate it with hc/lambda as we need the wavelength for the minimum energy.
Now calculate the lambda and that will be your answer.
Explanation: