« first day (1018 days earlier)      last day (1598 days later) » 

4:09 AM
@jeea You may ask in the HBar, the main physics chat. User Kyle Kanos is into these. You may ask him and I'm sure he'll help you.
 
4:30 AM
@jeea try this ProjectileMotionApp.java
frame.setSize(900, 600);
frame.setVisible(true);

timer = new java.util.Timer();

timer.schedule(new TimerTask() {

@Override
public void run() {

// has moving objects
if(gui.getScene().inFlux()) {
gui.getScene().updateBalls();
gui.getScene().repaint();
}
}
}, 0, DELAY);
}
}
That, s what we made.
@jeea can you specify what kind of help you want.
 
 
1 hour later…
5:32 AM
@JohnRennie hi.
Morning %%)
 
@yuvrajsingh hi :-)
 
@JohnRennie have you seen jeea qsn.
 
Yes
 
So, have you seen my comment.
 
@JohnRennie, Hi sir :-)
 
5:39 AM
@M.GuruVishnu morning :-)
 
@JohnRennie May I ask a doubt after yuvraj's?
 
@yuvrajsingh I can't comment because I've never used the box2d engine and I don't know it's capabilities. I would generally favour using an existing engine over trying to write your own.
 
Then it's OK.
 
@M.GuruVishnu You can ask now.
 
@JohnRennie, Ok sir. Question: What colour does a beam of red light appear to an observer under water? My Approach: We know that $\lambda=\lambda_0 /mu$ where $lambda_0$ is the wavelength in vacuum and $\mu$ is the refractive index of the medium (here it's water). $\lambda_0\approx720$ nm and so $\lambda=540$nm which is green. So it must appear green to the observer under water.
But in one website I saw, colour depends only on frequency and frequency remains same in refraction so it appear red to the observer underwater.
 
5:47 AM
The colour is determined by the energy of the photons. When light enters your eye it excites electrons in chemicals called rhodopsins in your retina.
There are different types of rhodopsin. Basically there are three types sensitive to red, green and blue photons, and you brain judges the colour based on which rhodopsin molecules interact with the light.
And the energy of the photon determines which type of rhodopsin it interacts with.
And the energy of a photon is $E = h\nu$, which as you say depends only on the frequency.
 
Ok sir. So energy is Planck's constant X frequency so it appear red, am I right sir?
@JohnRennie Thank you sir. Now understood.
I am sorry, I don't know how my formatting went wrong:
5 mins ago, by M. Guru Vishnu
@JohnRennie, Ok sir. Question: What colour does a beam of red light appear to an observer under water? My Approach: We know that $\lambda=\lambda_0 /mu$ where $lambda_0$ is the wavelength in vacuum and $\mu$ is the refractive index of the medium (here it's water). $\lambda_0\approx720$ nm and so $\lambda=540$nm which is green. So it must appear green to the observer under water.
 
@M.GuruVishnu you missed a backslash :-)
 
@JohnRennie morning sir, Alesha here.
 
@yuvrajsingh morning :-)
 
Can you check my answer.
 
5:54 AM
@yuvrajsingh Can you post a link to it?
 
So question is two mirror are inclined at an angle theta, a light enters parallel to one of the mirrors. What should be the value of theta so that it retrace, it, s path.
 
@JohnRennie Yes sir. But for me everything is doubled like this -$\lambda=540\lambda=540$. This happened after I edited it the second time.
 
Is my diagram is correct. i.stack.imgur.com/OvSDv.jpg @JohnRennie,,,,,
 
@M.GuruVishnu it looks like this here:
@yuvrajsingh that looks fine to me. So $\theta = 45°$
 
But sir, book. Says 30°
Let me post the book diagram.
 
5:58 AM
@yuvrajsingh let me draw a quick diagram ...
 
@JohnRennie Ok sir. Then it must be an error on my side:
 
@JohnRennie that, s what book diagram look like.
 
OK, 30° works. But then so does 45°.
 
Do you mean both are correct. @JohnRennie
 
@yuvrajsingh let me double check 45°
Yes 45° definitely works as well.
 
6:09 AM
Yes the thing is that, the reflected ray from the first mirror, incident 90° with respect to second mirror. Right sir. @JohnRennie
 
I wonder if there are other solutions as well ...
@yuvrajsingh yes.
 
@JohnRennie, leave it, sir if two questions more.
 
I suspect there are an infinite number of solutions ...
 
Can I ask?.
@JohnRennie
 
@yuvrajsingh Yes
 
6:12 AM
So first one very easy, but I do not know why my logic was incorrect, sir before answering the question can you confirm that my way of approaching this question, was correct, or is it useful in exam like JEE.
So first one was, I need to MOI.
Of right angle triangle along the length of hypotense.
As the axis.
Each side has a length l. So what I tried I assume this to be an square.
Of side length l.
 
An isoceles right angle triangle?
 
And I know the MOI was ml^4/12.
So moment of inertia for half of the triangle is ml^2/6.
Yes.@JohnRennie
 
You are correct that the MOI of the triangle is half the MOI of the square. That's because MOIs add, and the square is made up from two equal triangles.
However half of $ml^4/12 = ml^4/24$ not $ml^4/6$
 
OK, sir that, s the easy question, but genuinely I found difficulty in deriving this from basics. @JohnRennie
Ah, OK sir.
So how do I do it from basics?
 
@yuvrajsingh let me draw a diagram ...
Consider the element I've drawn at a distance $x$ from the axis. The MOI of this element is $dI = x^2 dm$. Yes?
 
6:25 AM
OK.
 
If the side of the square is $a$ then the length of the diagonal is $a\sqrt{2}$ and the height of the triangle is $a/\sqrt{2}$.
 
Yes.
 
So the length of the element is $\ell = a\sqrt2 \times (1 - x/(a/\sqrt2))$
And $dm = \sigma \ell dx$, where $\sigma$ is the area density.
So:
$$ dI = \sigma a\sqrt2 \left(1 - \frac{x\sqrt2}{a} \right) x^2 dx $$
And the area density is $\sigma = 2m/a^2$
Just integrate that and you should get the result.
 
Got it. Sir.
 
6:41 AM
@JohnRennie, Sir, are you free now? Can we discuss about Acoustic shadows?
 
@M.GuruVishnu yes, what did you want to ask?
 
@JohnRennie, Are diffraction effects from sound waves larger than that of light waves?
I'm having this doubt as sound and light waves are of different nature - one longitudinal and the other transverse.
 
It's true that sound waves are longitudinal not transverse, but they diffract in exactly the same way as transverse waves.
Diffraction just depends on the relative phases of the two interacting waves. If the phases differ by 180° you get a minimum whether the waves are longitudinal or transverse.
 
Ok sir. I know diffraction effects depend on the wavelength of the waves. So, if both sound and light waves have the same wavelengths the optical and acoustic shadows are the same region. Am I right sir?
 
@yuvrajsingh if you're interested, I've found that there are an infinite number of solutions for that mirror question. The angles are given by $90 - n\theta = \theta$ where $n = 1, 2, 3, ...$.
@M.GuruVishnu Yes.
 
6:50 AM
@JohnRennie, it means the question is wrong?
 
After $n$ reflections the angle to the mirror (not the angle to the normal) is $90 - n\theta$.
 
But if I think it correctly, that, can, t be possible because for every angle light ray retrace path.
 
@JohnRennie Ok sir. In general, do sound waves have a larger wavelengths than light waves? If yes, is this why we are able to hear a sound source behind a carboard sheet but not able to see a light source behind the cardboard? (assuming the position of source, cardboard, and the observer are at the same positions)
 
But in the case of your diagram, yes it can be, but question haven't said that light ray fall like this only.
@JohnRennie
 
And for this to be parallel to the other mirror you need te angle to be equal to $\theta$. Hence $90 - n\theta = \theta$.
@yuvrajsingh Note that I'm starting with a 90° reflection and tracing the light ray back. So the light ray I've drawn always reflects back along its own path.
@M.GuruVishnu Light waves have wavelengths from about 400nm to 700nm.
 
6:55 AM
What happened in the last of every light ray that it land up 90° with respect to other mirror to retrace path.
 
@M.GuruVishnu Sound waves gave wavelengths of around a metre. So there is a seven order of magnitude difference!!!
@yuvrajsingh you can trace the light ray in either direction because light propagation is symmetric. I know that to retrace its path the last reflection must be at 90°. So to draw my diagram I started with the 90° reflection and traced the light ray back.
 
Ah......
 
And on each subsequent reflection the angle decreases by $\theta$
 
@JohnRennie Thank you sir :-)
 
@JohnRennie, hi sir is M. Guru vishu finish.
 
7:04 AM
@yuvrajsingh yes, I think so
 
@yuvrajsingh A typo in my second name
 
Oops. @M.GuruVishnu.
@JohnRennie shall I ask my new question.
 
@JohnRennie I'll ask after reading some more about this topic on the net sir. So yes.
 
@JohnRennie so can I.
 
@yuvrajsingh yes
 
7:07 AM
Let me post diagram.
I need to find 100x,if mass of container is M.
 
@yuvrajsingh I'm not sure I understand what the diagram shows ...
 
It is like hinged container at one end.
@JohnRennie
 
A square container hinged at the top edge?
 
Yes.
 
So what is making it tilt?
 
7:20 AM
Actually, both upper parts were hinged.
If I remove one nail from the top part.
@JohnRennie
 
In that case haven't you drawn it tilting the wrong way?
 
Sorry, can you make new onem
@JohnRennie
 
If it is hinged at the red dot then it will rotate like this.
 
Oh yes!
 
It rotates until the centre of mass lies on the dashed line.
So to find the angle you just need to find the centre of mass.
 
7:28 AM
If I understand you correctly it will rotate until com lines on dash line specify that then it will not further rotate because axis passes through com.@JohnRennie
 
@yuvrajsingh correct!
Because the torque is proportional to the distance of the COM from the dashed line.
 
OK sir, now I can do it.
@JohnRennie
 
@yuvrajsingh OK. I'll be around if you want to ask anything more.
@M.GuruVishnu what did you want to ask?
 
@JohnRennie, Can we continue our Discussion on Acoustic shadows?
 
@M.GuruVishnu yes
 
7:34 AM
@JohnRennie droppers effects.
 
What are "droppers effects"
Doppler?
 
@JohnRennie I think he meant doppler
 
Phone auto-correct strikes again! :-)
 
@M.GuruVishnu OK ... ?
 
7:37 AM
@JohnRennie that, s was a big typo, I mean doppler effect.
 
Wavelength of sound waves in (a) is more than that in (b). So, in (a) diffraction effects are more than that in the second case. So as we gradually increase frequency of sound waves, the acoustic shadow approaches the optical shadow. Am I right sir? (This topic is very interesting for me)
 
@M.GuruVishnu I am not he I am she. My name is Alesha.
I am uv sister.
 
@M.GuruVishnu do you know about diffraction at a straight edge?
 
@JohnRennie I know only for a single slit sir
@yuvrajsingh UV=Ultra violet ?
 
Tha, s funny. Hahaha.
 
7:40 AM
@M.GuruVishnu this seems like a nice explanation.
 
@JohnRennie have you done with vishnu.
 
@JohnRennie Thank you for your suggestion sir. I like Bozeman's videos :-)
 
@M.GuruVishnu shall I get back to Alesha while you're watching that?
 
@JohnRennie Sure sir.
 
@yuvrajsingh go ahead ...
 
7:44 AM
Actually, I am OK, with doppler effect questions.
But how we can derive or justify the it, s apparent frequency equation.
@JohnRennie
 
The derivation is straightforward.
 
Suppose a source is emitting waves with a frequency $f$ and velocity $v$ then the wavelength is $\lambda = v/f$ and the period is $T = 1/f$. OK so far?
 
Yes.
 
Now suppose the source is moving with velocity $u$. That means in the time $T$ it has moved a distance $d = uT$.
So when it emits the next wave the next wave is emitted a distance $\lambda - uT$ behind the first wave i.e. the wavelength has been decreased to $\lambda' = \lambda - uT$.
I can draw a diagram if it will help ...
 
7:51 AM
OK.
 
Is that OK you want me to draw a diagram?
 
If you can that will be good.
Sir my coffee is on gas. So you continue for answer. Let me..... Is it OK sir.?
@JohnRennie
 
@yuvrajsingh ping me when you want to continue
 
@JohnRennie, Sir, I checked phet website for the simulation Paul used in that video. I didn't get that one. Do you know where to get that? I hope it gives a good insight on what I'm thinking on paper.
 
8:06 AM
@M.GuruVishnu I don't know I'm afraid. The diffraction at a straight edge is a fairly routine calculation but a complicated one as it requires an integral called the Fresnel integral that has to be done numerically.
But the bottom line is that the amount the wave diffracts around the straight edge increases as the wavelength increases.
So the reason the acoustic shadow decreases with increasing wavelength is that the increasing wavelength means the waves bend around the obstacle more so they move into the space behind it.
 
Thank you very much sir :-)
 
8:42 AM
@JohnRennie are u there sorry, I was indulge in other things.
 
@yuvrajsingh hi :-)
 
Hi sir. @JohnRennie
 
Do you want to continue with the Doppler effect?
 
At the top we have a stationary source.
 
8:46 AM
Should n be there, because in the diagram, it look like a single wavelength of lambda completes the journey.
 
It emits a wave with a frequency $f$, so the wavelength is $\lambda = v/f$. The period is $T = 1/f$. OK so far?
@yuvrajsingh The image shows two wavefronts emitted by the source.
 
Ah, OK.
 
So the two wavefronts are separated by one wavelength.
OK so far?
 
Now in the lower diagram the source is moving to the right at velocity $u$. That means when it emits the second wavefront it has moved a distance $d = uT$ to the right.
So the spacing between the wavefronts is reduced by this distance $uT$.
I've just realised the text on the second diagram is wrong ...
 
8:51 AM
That should be lambda '
 
There ...
So we have $\lambda' = v/f - uT = v/f - u/f = (v-u)/f$
And $f' = v/\lambda'$
So:
$$ f' = \frac{v}{v-u} f $$
 
Got it! Thanks you sir.
@JohnRennie sir your correction diagram is still not displayed.
 
 
2 hours later…
10:27 AM
Deleted
 
 
1 hour later…
11:27 AM
@JohnRennie, Hi sir. Are you there?
 
@M.GuruVishnu hi :-)
 
@JohnRennie I have a doubt related to our previous discussion. Are you free now sir?
 
Yes, what's your question?
 
Will the double slit experiment conducted for two waves where one is longitudinal and the other is transverse show any variation (small or big)? Or in other words, can we classify whether a wave is longitudinal or transverse by seeing its interference pattern sir?
 
Do you mean one slit admits a transverse way and the other admits a longitudinal wave?
 
11:31 AM
I think no difference.
 
Or do you mean you compare a YSDE for a transverse wave with a YSDE for a longitudinal wave?
 
@JohnRennie No sir. Not like that. I have two waves of same frequency, velocity etc. But they vary only in their nature (longitudinal or transverse). I let them pass through the double slit individually.
@JohnRennie Precisely yes sir.
 
If the waves have the same wavelength you will get the same difraction pattern from both. So you won't be able to tell the difference from the diffraction pattern.
 
@JohnRennie Ok sir. Thank you. May I ask one more doubt sir?
 
@M.GuruVishnu yes ...
 
11:35 AM
Can two waves of different types (longitudinal and transverse) of same kind (electric or magnetic or mechanical) interfere with each other?
 
You need to step back a bit and think about what we mean by a wave.
 
@JohnRennie Energy transferred from one place to another without any huge shift of a particle from source to the destination is wave.
 
Let's take a light wave as an example. This is an electromagnetic wave so it is a combination of oscillating electric and magnetic fields. For simplicity ignore the magnetic field and treat the wave as an oscillating electric field. OK so far?
 
@JohnRennie Yes sir.
 
You can have static electric fields as well. For example around a point charge we get a static electric field $\mathbf E = kQ/r^2 \hat{r}$. Yes?
 
11:39 AM
@JohnRennie Yes sir.
 
In general we can have an electric field $\mathbf E(t,\mathbf r)$ where the value of the field is a function of both position $\mathbf r$ and time $t$.
And a light wave is just a configuration of this field of the form $\mathbf E = \mathbf E_0 e^{i(\omega t - \mathbf k \cdot \mathbf r)}$
So the light wave isn't a separate object, it is just a particular configuration of the electric field.
 
@JohnRennie Ok sir.
 
A simple analogy would be to look at the surface of a pond on a still day, then create a wave by waggling your hand in the water. The wave isn't some separate object, it's just a variation in height of the water.
Likewise a light wave is just a variation in the value of the electric field.
 
Ok sir. So, are we allowed to apply the superposition principle for two waves of different kinds sir? I think yes based on you previous messages.
 
Now consider what we mean when we say two light waves interfere. It means we have our electric field oscillating in two different ways, and in some places those oscillations reinforce each other and in other places the oscillations cancel each other.
 
11:47 AM
@JohnRennie Yes sir.
 
@M.GuruVishnu the oscillations can reinforce or cancel because they are changes in the value of the same field.
 
@JohnRennie hi, Alesha sorry to interrupt, can we create a standing electromagnetic wave.
 
@yuvrajsingh yes
That's what an etalon does.
@M.GuruVishnu but, for example, could an electric wave interfere with a magnetic wave?
 
@JohnRennie No sir.
 
And the answer is no because they are not the same field. They are two different fields.
 
11:49 AM
@JohnRennie Dimensionally invalid too!
 
Yes.
 
@JohnRennie if I understand your last comment,, you mean we can create standing wave in light.
 
Actually electric and magnetic fields are really not different things - they are different parts of the electromagnetic field, but that starts getting complicated so we'll ignore this for now :-)
 
@JohnRennie So moral of the story: It would be no problem to have interference of two waves of different kind?
 
@M.GuruVishnu in general two waves of different kinds will not interfere.
@yuvrajsingh yes
 
11:51 AM
@JohnRennie can you explain how can we create that..
Like in string we know.
 
@JohnRennie I'm sorry. The different kind I referred to were transverse and longitudinal waves. (I should have been a bit more specific)
 
@yuvrajsingh read this:
In optics, a Fabry–Pérot interferometer (FPI) or etalon is an optical cavity made from two parallel reflecting surfaces (i.e: thin mirrors). Optical waves can pass through the optical cavity only when they are in resonance with it. It is named after Charles Fabry and Alfred Perot, who developed the instrument in 1899. Etalon is from the French étalon, meaning "measuring gauge" or "standard".Etalons are widely used in telecommunications, lasers and spectroscopy to control and measure the wavelengths of light. Recent advances in fabrication technique allow the creation of very precise tunable Fabry...
 
Or will it be automatically created if I interfere tow different light wave of different wavelength.@JohnRennie
 
@M.GuruVishnu light only has transverse waves. You can't have a logitudinal light wave so you can't have transverse and longitudinal waves interfereing for light.
 
@JohnRennie, it should be in a vacuum?
 
11:55 AM
But in solids you can have both transverse and longitudinal waves. The longitudinal waves are sound waves and the transverse waves are called shear waves.
 
@JohnRennie Let us not consider light. What if we have a metal rod (for example), we could have both transverse and longitudinal waves of same nature (mechanical). I asked whether interference of two such waves could take place.
 
@M.GuruVishnu that's what I am describing ...
Both shear and longitudinal waves are a displacement of the molecules of the solid from their equilibrium position. Yes?
 
@JohnRennie Yes sir.
 
But the displacement vectors are at 90° to each other.
So when you combine a longitudinal and transverse wave you are adding two vectors that are normal.
OK so far?
 
Yes sir. Now understood. We are just adding two displacement vectors. So no problem in interference. Thank you very much :-)
As interference is nothing but superposition which is nothing but vector addition
 
11:59 AM
@M.GuruVishnu because if two vectors are normal they will never add to give zero unless both vectors are zero.
 
@JohnRennie Yes sir. I think the resultant wave will be a bit complicated however.
 
Yes, it will be a complicated wave and won't have a static diffraction pattern like you get with a light wave.
 
@JohnRennie Thank you sir :-)
 
@JohnRennie, my last comment?
 
@yuvrajsingh the reason you get a standing wave ona string is because the wave reflects off the ends of the string. So we get two waves moving in opposite directions along the string. The two waves add to give the standing wave. OK so far?
 
12:25 PM
Yup.
 
@yuvrajsingh well we get a light standing wave in exactly the same way. An etalon has two parallel mirrors and the light bounces between the mirrors. So in between the mirrors we have two light waves moving in opposite directions, and those two waves add to give a standing wave.
 

« first day (1018 days earlier)      last day (1598 days later) »