Oh I just fixed that but then I found out the real problem... The Else statement I had cause the program to output nothing since it always broke out of my loop. Thx for help
Here's what I wrote , but there's no output.. It is suppose to read a line typed from the user and enter whatever the input was with the letter after the ones inputted. please help
import java.util.Scanner;
class ProblemS2 {
static Scanner sc=new Scanner(System.in);
public static...
Homework Statement
What values of n are involved in the transition that gives the rise to the emission of a 388-nm photon from hydrogen gas?
Homework Equations
n=?
wavelength = 388nm=3.88x10^-7 m
R=1.097x10^7 m^-1
E= hc/ wavelength
The Attempt at a Solution
E= hc/...
Okay, I've done all the calculations but one doesn't give me the right answer... I'm not sure if its the book's error so if u guys could check please..
Three possible transactions: (7.22-4.82) , (7.22-6.41), (6.41-4.82)
wavelength 1 = hc/Ef-Ei = (6.63x10^-34)(3.00x10^8) /...
I solved a, but I couldn't figure out b... I've tried different combinations but nothing turned out correctly...
Homework Statement
The emission spectrum of an unknown substance contains lines with the wavelengths 172 nm, 194 nm , and 258 nm, all resulting from transitions to the ground...
Why are Absorption lines dark?
I don't really understand the spectroscope and how it works... Can anyone help me out with this theoretical question? No math involved!
Thanks.
Homework Statement
This is a pretty simple problem... Yet I got the wrong answer.. Hmm...
"Find the threshold frequency for a calcium surface whose work function is 3.33eV"
W=3.33eV = 3.33eV * 1.6x10^-19 J = 5.33x10^19 J
f = ?
h=6.63x10^-34 J*S
Homework Equations
f=W/h
The Attempt at a...
I'm stuck on part c now...
Calculus the change in total kinetic energy of the system at minimum separation. Here's my work
v'=-0.6m/s
1/2m1v1^2 + 1/2m2v2^2 = 1/2m1v1'^2+1/2m2v2'^2
cross out all the 1/2s and also v2 becomes zero
m1v1^2 = m1v1'^2 + m2v2'^2
(2.4)(-1.5)^2 =...
Oh I got it, thanks!
This is what I did..
m1v1+m2v2=m1v'1+m2v'2
m2v2 becomes zero since its stationary
m1v1=v'(m1+m2)
-3.6=v'(6)
v'=-3.6/6
v'= -0.6 m/s ---> 0.6m/s[W]
I didn't know it was completely elastic collision, that's why I was stuck.
A 2.4 kg dynamics cart with a linear elastic spring attached to its front end is moving at 1.5 m/s [W] when it collides head on with a stationary 3.6 kg cart.
What is the velocity of each cart at minimum separation?
The answer is 0.6 m/s [W]
Can anyone show me the steps?