Author Topic: A physics problem  (Read 4619 times)

zahc

  • friend
  • Senior Member
  • ***
  • Posts: 5,803
A physics problem
« on: February 17, 2010, 07:22:34 PM »
Somewhere along the way I forgot how to do math apparently. I can't figure this one out but I'm enjoying puzzling over it. This problem has only nerd appeal, so don't post how physics is stupid.

I am modeling an imaginary physical situation. What I have here in my brain, is a flat, small-area photo sensor in a dark room, pointed squarely at the room's only window, from some distance away. Actually the window is a diffuse, translucent hemispheric dome, 'doming' outward from the room. It is perfectly diffuse, so all parts of it are the same brightness. I need to figure out how close to the window I should hold the sensor, to achieve the maximum reading from the sensor.

I consider the effect on the sensor of an infinitesimal area element of the dome--a point source--so that I can integrate over the whole dome later. The light falling on the sensor from such an element of the dome falls off as a function of the distance from said element (1/r^2), and as a function of the angle between that element and the center of the window/sensor axis (the sensor is a "small area source" in reverse so sensitivity at any nonzero angle theta equals the on-axis sensitivity divided by sin(theta)). I have already done all this, and this is not the problem.

The problem is that I can integrate over the whole dome at any given distance from the window and obtain a "brightness factor" for that distance from the window. Doing so involves integrating over a range of distances becaues of the radius of the hemispherical window, though. Now, what I need is that (now calculable for any distance!) brightness factor as a function of distance from the window. Basically what I need to do is do that integral over the dome surface for every distance from touching the inside of the hemispheric window to infinity. And I don't know how to do that.

In real life what I would do is use a spreadsheet to calculate the integral for a 'lot' of 'closely-spaced' distances, make an XY plot, and pick what looks like the peak. I have already done that. However, I want to be able to do this analytically. But I don't know how to express the value of a definite integral as a function of one of the integrated variables.


Maybe a rare occurence, but then you only have to get murdered once to ruin your whole day.
--Tallpine

drewtam

  • friend
  • Senior Member
  • ***
  • Posts: 1,985
Re: A physics problem
« Reply #1 on: February 17, 2010, 07:39:24 PM »
I'll play, but make it easy for me.  :facepalm:

Can you translate the lengthy post into the equations you're using (and want to integrate)?
I assume you have it in spherical coordinates...

Because what you describe sounds like a surface (double) integral over "theta" and "phi" of the brightness or photon flux while holding "r" constant. This assumes you have already derived the equation describing the brightness field. But I'm not sure and want to double check what I think your saying with the actual math.
I’m not saying I invented the turtleneck. But I was the first person to realize its potential as a tactical garment. The tactical turtleneck! The… tactleneck!

bedlamite

  • Hold my beer and watch this!
  • friend
  • Senior Member
  • ***
  • Posts: 9,803
  • Ack! PLBTTPHBT!
Re: A physics problem
« Reply #2 on: February 17, 2010, 08:12:28 PM »
A plan is just a list of things that doesn't happen.
Is defenestration possible through the overton window?

zahc

  • friend
  • Senior Member
  • ***
  • Posts: 5,803
Re: A physics problem
« Reply #3 on: February 17, 2010, 08:19:17 PM »
Quote
Can you translate the lengthy post into the equations you're using (and want to integrate)?

No, because it's not as simple as that. It's not just a problem of how to solve the equations. I wouldn't be able to solve the problem if the equations were different. And there are no units or numbers...we are only trying to find the distance where the sensor will show the largest reading.

Quote
Because what you describe sounds like a surface (double) integral over "theta" and "phi" of the brightness or photon flux while holding "r" constant.

Yes, I think you've got the basic idea. I do indeed want to integrate over the whole inside surface of the dome. In spherical coordinates it would in general be a double integral, but in this case it doesn't need to be a double integral because symmetry around the axis obviates the need to take the one integral. It would just add a factor of 2pi that I can absorb into my master constant. Also, I CANNOT hold R constant, because all points on the dome will not be the same distance away. The only specific case where I could hold R constant would be if the light sensor was at the center of the hemisphere, in the plane of the wall. Since R is not constant, spherical coordinates don't have a great advantage. In my case I collapsed the problem to 2D and then the dome became a half-circle.

I can already do the integral and get an answer for any distance from the wall. What I need to do is write, as a function of the distance, the value of the integral. It's kind of self-referential, and I'm stuck in a loop.
« Last Edit: February 17, 2010, 08:22:56 PM by zahc »
Maybe a rare occurence, but then you only have to get murdered once to ruin your whole day.
--Tallpine

Brad Johnson

  • friend
  • Senior Member
  • ***
  • Posts: 18,108
  • Witty, charming, handsome, and completely insane.
Re: A physics problem
« Reply #4 on: February 17, 2010, 10:03:55 PM »
The answer is... 3

Brad
It's all about the pancakes, people.
"And he thought cops wouldn't chase... a STOLEN DONUT TRUCK???? That would be like Willie Nelson ignoring a pickup full of weed."
-HankB

Scout26

  • I'm a leaf on the wind.
  • friend
  • Senior Member
  • ***
  • Posts: 25,997
  • I spent a week in that town one night....
Re: A physics problem
« Reply #5 on: February 17, 2010, 10:15:58 PM »
The answer is... 3

Brad

No, the answer is 42.

What caliber is the photo sensor ??
Some days even my lucky rocketship underpants won't help.


Bring me my Broadsword and a clear understanding.
Get up to the roundhouse on the cliff-top standing.
Take women and children and bed them down.
Bless with a hard heart those that stand with me.
Bless the women and children who firm our hands.
Put our backs to the north wind.
Hold fast by the river.
Sweet memories to drive us on,
for the motherland.

Brad Johnson

  • friend
  • Senior Member
  • ***
  • Posts: 18,108
  • Witty, charming, handsome, and completely insane.
Re: A physics problem
« Reply #6 on: February 17, 2010, 10:45:09 PM »
No, the answer is 42.


Yes, but what is the question?

Brad
It's all about the pancakes, people.
"And he thought cops wouldn't chase... a STOLEN DONUT TRUCK???? That would be like Willie Nelson ignoring a pickup full of weed."
-HankB

HankB

  • friend
  • Senior Member
  • ***
  • Posts: 16,689
Re: A physics problem
« Reply #7 on: February 17, 2010, 10:59:27 PM »
Quote
Actually the window is a diffuse, translucent hemispheric dome, 'doming' outward from the room. It is perfectly diffuse, so all parts of it are the same brightness.
So what you have is actually a hemispherical, uniform Lambertian source, right? If so, then then source can simply be regarded as a flat disc at the window opening.

Since brightness of the source is uniform, then all that matters to the sensor is the angular subtension of the source.

Since the sensor also is flat, then it will only read - at best! - the light coming in at an angle of incidence of 90 degrees or less. So if you bring the sensor closer and closer to the window, you'll see increased readings until you reach the plane of the window, where the reading will be maximized. Continue to move it inwardly into the concave hemisphere . . . and you'll see no further change.

(What you're describing is roughly analogous to an integrating sphere . . . I'm sure Google will give you plenty of hits if you search for that term. Also look for Lambert's law.  ;)  )
Trump won in 2016. Democrats haven't been so offended since Republicans came along and freed their slaves.
Sometimes I wonder if the world is being run by smart people who are putting us on, or by imbeciles who really mean it. - Mark Twain
Government is a broker in pillage, and every election is a sort of advance auction in stolen goods. - H.L. Mencken
Patriotism is supporting your country all the time, and your government when it deserves it. - Mark Twain

zahc

  • friend
  • Senior Member
  • ***
  • Posts: 5,803
Re: A physics problem
« Reply #8 on: February 17, 2010, 11:28:47 PM »
Quote
So what you have is actually a hemispherical, uniform Lambertian source, right? If so, then then source can simply be regarded as a flat disc at the window opening.

Since brightness of the source is uniform, then all that matters to the sensor is the angular subtension of the source.

Since the sensor also is flat, then it will only read - at best! - the light coming in at an angle of incidence of 90 degrees or less. So if you bring the sensor closer and closer to the window, you'll see increased readings until you reach the plane of the window, where the reading will be maximized. Continue to move it inwardly into the concave hemisphere . . . and you'll see no further change.

No no no. You are being practical. I'm not trying to solve the problem. I already solved the problem and built the device that raised the question (using your assumptions which are probably valid). I'm going back, months later now, to fix my mathematical model that I started in my original post...the problem of defining a definite integral as a function of one of the variables it's integrated over.
Maybe a rare occurence, but then you only have to get murdered once to ruin your whole day.
--Tallpine

drewtam

  • friend
  • Senior Member
  • ***
  • Posts: 1,985
Re: A physics problem
« Reply #9 on: February 17, 2010, 11:57:18 PM »
I was asking a more basic question... what is your field equation? and what is your surface integral?
Are you taking into account a flat sensor compared to the inverse radius characteristics? or are you ignoring that part and model the equation as if the sensor is domed to match the constant radius?

From what I think I understand, it sounds the like the answer is always an integral over the angles, but never r. So you should be able to do an indefinite integral (0 to theta, 0 to phi). That is what I meant by holding r "constant".
(Which would return a function, F(θ,φ,r), that could be differentiated with respect to r to find the maximum field value.)

But this proposed solution depends on the equations you're using to model the behavior you are looking for (see first paragraph).
I’m not saying I invented the turtleneck. But I was the first person to realize its potential as a tactical garment. The tactical turtleneck! The… tactleneck!

zahc

  • friend
  • Senior Member
  • ***
  • Posts: 5,803
Re: A physics problem
« Reply #10 on: February 18, 2010, 12:50:47 AM »
Quote
what is your field equation?

What field?
Quote
Are you taking into account a flat sensor compared to the inverse radius characteristics? or are you ignoring that part and model the equation as if the sensor is domed to match the constant radius?

The sensor is flat. The inside surface of the dome is domed.

Quote
it sounds the like the answer is always an integral over the angles, but never r.

r is not constant, and is in the integral. Since part of the equations are 1/r^2. r is only constant for one particular point. I will scan some diagrams tomorrow if I can.
Maybe a rare occurence, but then you only have to get murdered once to ruin your whole day.
--Tallpine

Physics

  • ∇xE=-1/c·∂B/∂t, ∇·E=4πρ, ∇·B=0, ∇xB=1/c·∂E/∂t, F=q(E+v/cxB)
  • friend
  • Senior Member
  • ***
  • Posts: 1,315
Re: A physics problem
« Reply #11 on: February 18, 2010, 01:16:05 AM »
Model it.  Multiple frequencies might make it a little difficult but I could probably bust it out in a Finite Difference Time Domain software in a short period of time.  Of course, running the model might be time consuming, depending on how accurate you want your answer.  

If you send me some schematics, I could probably do it for you in Remcom's XFDTD, but not anytime soon.  I have a talk at the end of the month, working on 3 papers, and trying to defend by mid-May.  After May I could do it though, or maybe sometime before if I can manage to find a bit of spare time.

Of course, there is always the analytic method. ;)  That, I will have to think more about.

How thick is your window?  Is it another variable?

This is my mental picture (side note: I love solidworks):



Sides look like they're at an angle because of the perspective I took.  Quick and dirty, nothing groundbreaking. :D
« Last Edit: February 18, 2010, 03:43:09 AM by Physics »
In the world of science, there is physics.  Everything else is stamp collecting.  -Ernest Rutherford

zahc

  • friend
  • Senior Member
  • ***
  • Posts: 5,803
Re: A physics problem
« Reply #12 on: February 18, 2010, 09:08:45 AM »
Quote
Of course, there is always the analytic method. Wink  That, I will have to think more about.

I'm ONLY interested in the analytic method. I've already done it with computers. The problem I have with the analysis is I get this far:

definite Integral(some function of sensor-distance) = relative brightness at that point

This integral can be solved at any distance to find the relative brightness at that distance. However I need to write the relative brightness as a function of distance. What I have now is an algorithm for solving the problem at any distance, but that's not good enough.

Your picture is correct. The thickness shouldn't matter. The brightness of the sphere might vary (polka dots, density gradient in the plastic) but said brightness is a known function.

I'm starting to find a hole in my analysis. From the beginning I assume a constant wall-distance and then write the integral. I think I need to keep that a variable and keep it completely separate from the light-distance. Then integrate over that instead of any of the other dimensions in the problem.

 
Maybe a rare occurence, but then you only have to get murdered once to ruin your whole day.
--Tallpine

Physics

  • ∇xE=-1/c·∂B/∂t, ∇·E=4πρ, ∇·B=0, ∇xB=1/c·∂E/∂t, F=q(E+v/cxB)
  • friend
  • Senior Member
  • ***
  • Posts: 1,315
Re: A physics problem
« Reply #13 on: February 18, 2010, 04:53:03 PM »
After thinking about this for a bit, I came to the conclusion that this isn't as bad as you might think.  I would calculate the position and size of your focal volume.  Treat the window as a lens.  Then, after the focal volume, you should see the irradiance drop off as a function of cross sectional area (it should be something like Inaught/Area).  This comes from the fact that the cross sectional area is a function of r.  The further from the focal volume you are, the more "spread out" your light is, and thus the irradiance is lower.

I say irradiance because in optics, intensity is a measure of watts/steradian, or solid angle, while irradiance is watts/m^2, or cross sectional area.  Since your sensor is not domed like your window, I'd use irradiance. 



The above image helps explain the difference to everyone else.  The tip of the triangle is the center of your focus.  The straight line connecting the lower points would be irradiance.  The arc that connects the two would be intensity.  Revolve the image in your head 180 degrees and you will see what I mean by solid angle vs cross sectional area. 

Quote
I need to figure out how close to the window I should hold the sensor, to achieve the maximum reading from the sensor.

Calculation of your focal volume will give you this answer. 

In the world of science, there is physics.  Everything else is stamp collecting.  -Ernest Rutherford

coppertales

  • friend
  • Senior Member
  • ***
  • Posts: 947
Re: A physics problem
« Reply #14 on: February 19, 2010, 10:45:15 AM »
You guys are making my head hurt.  I forgot all that years ago because I did not use it.....chris3

Brad Johnson

  • friend
  • Senior Member
  • ***
  • Posts: 18,108
  • Witty, charming, handsome, and completely insane.
Re: A physics problem
« Reply #15 on: February 19, 2010, 11:16:17 AM »
I still say the answer is 3.

Brad
It's all about the pancakes, people.
"And he thought cops wouldn't chase... a STOLEN DONUT TRUCK???? That would be like Willie Nelson ignoring a pickup full of weed."
-HankB

Gewehr98

  • friend
  • Senior Member
  • ***
  • Posts: 11,010
  • Yee-haa!
    • Neural Misfires (Blog)
Re: A physics problem
« Reply #16 on: February 19, 2010, 11:17:15 AM »
Ahem.

"42".
"Bother", said Pooh, as he chambered another round...

http://neuralmisfires.blogspot.com

"Never squat with your spurs on!"

280plus

  • friend
  • Senior Member
  • ***
  • Posts: 19,131
  • Ever get that sinking feeling?
Re: A physics problem
« Reply #17 on: February 19, 2010, 11:39:34 AM »
OMG! I understand that!  :O  :lol:

But what does the symbol up in the angle at the top mean?
Avoid cliches like the plague!

Brad Johnson

  • friend
  • Senior Member
  • ***
  • Posts: 18,108
  • Witty, charming, handsome, and completely insane.
Re: A physics problem
« Reply #18 on: February 19, 2010, 12:24:00 PM »
It's all about the pancakes, people.
"And he thought cops wouldn't chase... a STOLEN DONUT TRUCK???? That would be like Willie Nelson ignoring a pickup full of weed."
-HankB

280plus

  • friend
  • Senior Member
  • ***
  • Posts: 19,131
  • Ever get that sinking feeling?
Re: A physics problem
« Reply #19 on: February 19, 2010, 01:32:36 PM »
Compromise and call it 22.5
Avoid cliches like the plague!

Physics

  • ∇xE=-1/c·∂B/∂t, ∇·E=4πρ, ∇·B=0, ∇xB=1/c·∂E/∂t, F=q(E+v/cxB)
  • friend
  • Senior Member
  • ***
  • Posts: 1,315
Re: A physics problem
« Reply #20 on: February 19, 2010, 01:50:04 PM »
Compromise and call it 22.5

Like I tell my students all the time, -1 point for lack of units. :laugh:
In the world of science, there is physics.  Everything else is stamp collecting.  -Ernest Rutherford

Brad Johnson

  • friend
  • Senior Member
  • ***
  • Posts: 18,108
  • Witty, charming, handsome, and completely insane.
Re: A physics problem
« Reply #21 on: February 19, 2010, 01:58:43 PM »
[Brooklyn accent] I gots ya units right heaah. [/Brooklyn accent]

Brad
It's all about the pancakes, people.
"And he thought cops wouldn't chase... a STOLEN DONUT TRUCK???? That would be like Willie Nelson ignoring a pickup full of weed."
-HankB

280plus

  • friend
  • Senior Member
  • ***
  • Posts: 19,131
  • Ever get that sinking feeling?
Re: A physics problem
« Reply #22 on: February 19, 2010, 05:35:19 PM »
Like I tell my students all the time, -1 point for lack of units. :laugh:
Wha?? I lost my unit?? Uh, ummm, oh, never mind...    :angel:
Avoid cliches like the plague!

Regolith

  • friend
  • Senior Member
  • ***
  • Posts: 6,171
Re: A physics problem
« Reply #23 on: February 19, 2010, 08:28:12 PM »
OMG! I understand that!  :O  :lol:

But what does the symbol up in the angle at the top mean?

It's theta, which is simply a variable to represent an angle. 
The price of freedom is eternal vigilance. - Thomas Jefferson

Necessity is the plea for every infringement of human freedom. It is the argument of tyrants; it is the creed of slaves. - William Pitt the Younger

Perfectly symmetrical violence never solved anything. - Professor Hubert J. Farnsworth

280plus

  • friend
  • Senior Member
  • ***
  • Posts: 19,131
  • Ever get that sinking feeling?
Re: A physics problem
« Reply #24 on: February 20, 2010, 06:45:09 AM »
Thanks, I figured it was a variable angle but didn't know it's proper name.  =)
Avoid cliches like the plague!