- #1

- 15,464

- 690

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

In summary, the comic strip has a scientist sniping a normal person. The scientist solves a problem using a discrete Fourier transform and ohm's law. The normal person can't solve the same problem using a simple superposition, and engineers use a different expression that enables Mathematica to yield the correct answer.

- #1

- 15,464

- 690

Physics news on Phys.org

- #2

Staff Emeritus

Science Advisor

Gold Member

- 7,220

- 23

Is it 0.916333... ohms?

Damn, I missed dinner!

Damn, I missed dinner!

- #3

Homework Helper

Gold Member

- 1,143

- 0

Gokul43201 said:Is it 0.916333... ohms?

Damn, I missed dinner!

How did you get that? I think that to solve such problems (where a simple superposition doesn't give you the answer), a discrete Fourier transform is required, and then the final integral which gives the resistance looks very tricky.

- #4

- 2,094

- 2

D H: 4 points (or is it 2 and 1, for the engineer? :tongue:)

- #5

- 15,464

- 690

At least three points, since I made Gokul miss dinner.

This http://arxiv.org/abs/cond-mat/9909120" [Broken], question 10) uses a different expression and that enables Mathematica to yield [itex](8-\pi)/(2\pi)\approx0.773[/itex] ohms.

This http://arxiv.org/abs/cond-mat/9909120" [Broken], question 10) uses a different expression and that enables Mathematica to yield [itex](8-\pi)/(2\pi)\approx0.773[/itex] ohms.

Last edited by a moderator:

- #6

Homework Helper

Gold Member

- 1,143

- 0

D H said:This http://arxiv.org/abs/cond-mat/9909120" [Broken] (see appendix A) gives an absolute mess.

The article uses the same principle of taking the Fourier transform and applying ohm's law. The integral one gets after the Fourier transform is (eqn 25 in the article)

[tex] \frac{1}{4 \pi^2} \int_{-\pi}^{\pi} \int_{-\pi}^{\pi} \left( \frac{1-\cos(2x+y)}{2-\cos{x} - \cos{y}} \right) dx dy [/tex].

I'm at home and don't have access to an integrator. Does anyone have access to a math package that evaluates this integral, or a way to find the value? Does it come out as [itex](8-\pi)/(2\pi)\approx0.773[/itex]?

Mathworld seems to have used some substitution in its expression.

EDIT: Nevermind. They've apparently used a contour integral and then a substitution. It's there in appendix A, which I missed the first time.

Last edited by a moderator:

- #7

- 15,464

- 690

The difference between a normal person and a scientist:

- #8

Staff Emeritus

Science Advisor

- 24,017

- 3,337

:rofl:D H said:The difference between a normal person and a scientist:

- #9

- 2,094

- 2

That's actually a normal person and Homer Simpson => Homer = Scientist??

- #10

Staff Emeritus

Science Advisor

Gold Member

- 7,220

- 23

I actually did use a superposition - I don't know why it fails! =(siddharth said:How did you get that? I think that to solve such problems (where a simple superposition doesn't give you the answer), a discrete Fourier transform is required, and then the final integral which gives the resistance looks very tricky.

I haven't yet looked at the article posted by D H.

Last edited:

- #11

- 352

- 0

- #12

Gold Member

- 1,687

- 2

Oerg said:

It just proves the first sketch of the comic strip. Nerd sniping in action.

- #13

Gold Member

- 364

- 729

D H said:From "xkcd.com"[/URL] :

[/QUOTE]

A friend of mine finished school some years ago with a BS in physics and immediately chucked it all to become a lawyer. After seeing this Nerd Sniping XKCD strip I sent it to him on a workday to see if he was truly a lawyer or if he would be sniped, along with with full disclosure of my intentions. Couple days later I checked back, sure enough, four billable hours went down the drain. :devil: Good thing he wasn't standing in the road.

BTW, engineer's solution: assume the infinite grid looks like a short to anyone node except for the four resistors directly attached into the node. The parallel resistance into the node then is 1/4 ohm and therefore the resistance between any two, non-adjacent nodes is 1/2 ohm. With actual (cheap) 20% resistors that's close enough to the actual (.7xx is it?)

Last edited by a moderator:

- #14

- 15,464

- 690

Why don't you try working out the answer for nodes separated by two diagonal hops?

- #15

Gold Member

- 364

- 729

Yes, ok, I'll have to make clear I'm using really cheap resistors when I go for the Google interview.D H said:The resistance betweeb any two horizontally or vertically adjacent nodes is exactly 1/2 ohms. The resistance between nodes further apart than that is not. That 20% fudge on top of 0.5 ohms yields 0.6 ohms, not 0.773 ohms.

Think I'll code up a quick sim for fun.Its even worse for nodes further apart than that.

Why don't you try working out the answer for nodes separated by two diagonal hops?

"xkcd" is a popular webcomic created by Randall Munroe in 2005. It features stick-figure drawings and humorous commentary on a wide range of topics, including science, technology, and popular culture.

Randall Munroe is the creator of "xkcd." He is a former NASA roboticist and computer programmer who left his job to focus on the webcomic full-time. He is known for his clever and often nerdy sense of humor.

"xkcd" is typically updated three times a week, on Mondays, Wednesdays, and Fridays. However, the update schedule may vary depending on Munroe's other projects and commitments.

No, while "xkcd" does frequently cover scientific topics, it also features comics on a wide range of other subjects, such as relationships, politics, and everyday life. However, many of the comics do have a scientific or intellectual angle.

Yes, "xkcd" is licensed under a Creative Commons Attribution-NonCommercial 2.5 License, which allows for non-commercial use of the comics as long as credit is given to the creator. Many teachers and professors have used "xkcd" comics in their lessons to engage students and illustrate complex concepts.

Share:

- Replies
- 7

- Views
- 1K

- Replies
- 9

- Views
- 648

- Replies
- 6

- Views
- 991

- Replies
- 11

- Views
- 2K

- Replies
- 2

- Views
- 777

- Replies
- 4

- Views
- 2K

- Replies
- 18

- Views
- 985

- Replies
- 33

- Views
- 2K

- Replies
- 8

- Views
- 917

- Replies
- 6

- Views
- 690