Multivariable temperature variation while swimming in a hot spring

In summary: I have also checked the gradient vector with another online calculator and got the same results. For the second question, I used the formula for the magnitude of a vector in 2 dimensions, which is the square root of the sum of the squares of the vector components.
  • #1
Poetria
267
42
Homework Statement
You are swimming along the surface of a large natural hot water spring. The temperature is hottest near the geothermal heat sources, and cools off inversely proportional to the distance from the heat source as you move away. The hot spring you have found has two heat sources. One is located below x=0, y =0, the other is located x=-10, y=20

Approximation of the temperature:

##T(x,y) = \frac {450} {\sqrt{x^2+y^2+1}}+\frac {420} {\sqrt{(x+10)^2+(y-20)^2+1}}##

You enter the pool at the edge x=20, y=20, where the temperature is 30 degrees Celsius.

What is the gradient of the temperature?
Relevant Equations
$$\nabla (\frac {450} {\sqrt{x^2+y^2+1}}+\frac {420} {\sqrt{x+10)^2+(y-20)^2+1}})$$
I have computed
##T_x## and ##T_y## and evaluated it at the point (20, 20).

## \frac {-450*x}{x^2 + y^2 + 1)^(\frac {3} {2}} - \frac {420*(x + 10)} {(x + 10)^2 + (y - 20)^2 + 1)^(\frac {3} {2}}, \frac {-450*y}{x^2 + y^2 + 1)^(\frac {3} {2}} - \frac {420*(y - 20)} {(x + 10)^2 + (y - 20)^2 + 1)^(\frac {3} {2}}##

I got [-0.8628, -0.3970]. But it is not correct.
So the answer to the next question: At what rate does the temperature rise per unit distance in that direction?
is not correct:

-2.1732 degrees per meter
 
Last edited:
  • Like
Likes Delta2
Physics news on Phys.org
  • #2
Poetria said:
Homework Statement:: You are swimming along the surface of a large natural hot water spring. The temperature is hottest near the geothermal heat sources, and cools off inversely proportional to the distance from the heat source as you move away. The hot spring you have found has two heat sources. One is located below x=0, y =0, the other is located x=-10, y=20

Approximation of the temperature:

##T(x,y) = \frac {450} {\sqrt{x^2+y^2+1}}+\frac {420} {\sqrt{(x+10)^2+(y-20)^2+1}}##

You enter the pool at the edge x=20, y=20, where the temperature is 30 degrees Celsius.

What is the gradient of the temperature?

I don't think the formula for [itex]T[/itex] is correct. Was that given in the question, or did you have to derive it yourself?
 
  • Like
Likes Poetria
  • #3
pasmith said:
I don't think the formula for [itex]T[/itex] is correct. Was that given in the question, or did you have to derive it yourself?
This formula was given. I have checked it once more. What's wrong with this equation?
 
  • #4
I get the same formula for the gradient, but a different value at (20,20). I get (-0.3745, 0.749). Can you check that calculation? I am not completely confident in my calculations.
 
  • Like
Likes Poetria
  • #5
Of course. Still the same:
-0.862892919050474097014734857686704644880586505653053268225642320
-0.397002951313243437752836778926172651474292918967096802620165023

Perhaps there is a mistake in my formula you haven't noticed. Weird anyway.
 
  • #6
Poetria said:
Of course. Still the same:
-0.862892919050474097014734857686704644880586505653053268225642320
-0.397002951313243437752836778926172651474292918967096802620165023

Perhaps there is a mistake in my formula you haven't noticed. Weird anyway.
I rechecked my calculations and got the same answers you got. (I made reasonable assumptions about some missing parenthesis in the gradient in your post #1.)
 
  • Like
Likes Poetria
  • #7
FactChecker said:
I rechecked my calculations and got the same answers you got. (I made reasonable assumptions about some missing parenthesis in the gradient in your post #1.)
Thank you very much. :) I need more practice with Latex.

I can't understand why it's marked as wrong. :(
 
  • #8
Thank you very much.
I have decided to continue with the next part of this exercise and it turned out that the value -0.862892919050474097014734857686704644880586505653053268225642320
should be rounded -0.8629 while I have given -0.8628.

And of course the result: -2.1732 degrees per meter is not correct.
It's the gradient's length as the slope of a tangent plane: 0.9498.

Thanks once more for your patience. :)
 
  • Like
Likes FactChecker
  • #9
Poetria said:
Thank you very much.
I have decided to continue with the next part of this exercise and it turned out that the value -0.862892919050474097014734857686704644880586505653053268225642320
should be rounded -0.8629 while I have given -0.8628.

And of course the result: -2.1732 degrees per meter is not correct.
It's the gradient's length as the slope of a tangent plane: 0.9498.

Thanks once more for your patience. :)
Yes. I think that your initial value had a little more precision than required. ;-)
 
  • Like
  • Haha
Likes Steve4Physics, Poetria and Delta2
  • #10
Poetria said:
Thank you very much.
I have decided to continue with the next part of this exercise and it turned out that the value -0.862892919050474097014734857686704644880586505653053268225642320
should be rounded -0.8629 while I have given -0.8628.

And of course the result: -2.1732 degrees per meter is not correct.
It's the gradient's length as the slope of a tangent plane: 0.9498.

Thanks once more for your patience. :)
I'm curious about what tools you used to do your calculations to that precision.
 
  • Like
Likes Poetria
  • #11
I agree with the vector ##(-0.8628,-0.3970)## for gradient, I calculated it using wolfram.
However the answer to the second question is simply the magnitude of the gradient vector. I don't understand how you calculated -2.1732 degrees per met.
 
  • #12
FactChecker said:
I'm curious about what tools you used to do your calculations to that precision.
I have used Wolfram Alpha.
 
  • Like
Likes FactChecker

Similar threads

Replies
13
Views
794
Replies
4
Views
2K
Replies
3
Views
1K
Replies
2
Views
816
Replies
2
Views
2K
Replies
6
Views
2K
Back
Top