I still don't see how I can solve it given that I don't have a term U to use.
The only thing I thought was solving p.dV and then substituting using U = -pdV but thing started getting messy.
Can't go for (dS/dU)V because again, no U.
Solved it, and I was just massively overcomplicating things...
Homework Statement
For a single molecule, derive the internal energy U = 3/2kBT
In terms of the partition function Z, F = -kBTlnZ
Where Z = V(aT)3/2
Homework Equations
Thermodynamic identity: δF = -SδT - pδV
p = kBT/V
S = kB[ln(Z) + 3/2]The Attempt at a Solution
U = F + TS
δU = δF +...
I made these values and data up to custom to my actual problem.
The experiment was zeeman splitting using a CCD. The data was recorded by the program, with ΔE (Y from before) recorded to 1 decimal place and B (X from before) recorded to 2 decimal places. Gradient was automatically plotted. I...
Homework Statement
A series of 5 measurements of Y are recorded with increasing X. (i.e. gradient has units Y/X)
The error in measurement of Y is ±0.05
The error in measurement of X is ±0.005.
How is the error in the gradient calculated?
Homework Equations - measurements[/B]
Y | X...
I assume the Sun must be at (0,0) yes. And yes r = |r|.
Also, how do you do the vector notation?
Regarding your edit to the code;
I proceed as follows;
x(i+1) = x(i) + vx(i).dt
vx(i+1) = vx(i) + ax(i).dt where ax(i)=Fx i.e.; -r/|r|3
It follows as with my trajectory problem you helped with...
Homework Statement
Euler method : Plot the trajectory of a body moving under the influence of the suns gravity from initial conditions x=1, y=0, vx=0, vy=1.
My trouble is figuring out my function.
Homework Equations
d2r / dt2 = -r/r3
The Attempt at a Solution
What I have been doing...
I may be wrong but this all appears paradoxical in the same manner as the twin paradox.
In the time dilation problem of twin paradox, the solution is that it is only the inertial observer on Earth who is qualified to apply time dilation. The moving twin aboard a rocket close to speed of light...
Thanks Mark.
Indeed this is more of what I was after. The purpose of the modification is for efficiency only, and since the purpose is to just plot a graph from the required data, it doesn't really matter about i and j as long as I make a note(!) alongside things for myself, that side, I don;t...
Thanks again Mark, almost there I think.
Keeping things simplified only considering x,y,vx and vy...
What I want to do is use REAL, DIMENSION (4) :: Y for the x, y, vx and vy arrays ( so Y(1) is for x, Y(2) for y etc...
Considering that Y(1) -> Y(4) are elements, not arrays, I can't just...
Thanks Mark. Regarding point 2, it is the x-velocity for the plotted trajectory that has no air resistance, so that my graph shows a comparison of the effects of air resistance.
There is only one concern I have with the points you raised - how exactly can do I go from the values being printed...
All I am trying to do is make my program more efficient by use of Y.
I am trying to make Y(1) = x, Y(2) = y, Y(3) = vx, Y(4) = vy : where I had arrays for each of them previously.
So saying I want to plot x.vs.y, that's Y(1) vs Y(2), noting that Y(1) and Y(2) are only elements, is it the case...
You are totally right I wrote it with an incorrect understanding.
I said 4 arrays rather poorly assuming you would know what I meant: i had 4 arrays for a trajectory with air resistance and 4 arrays without, plus the time array.
In developing the simplification, I am first doing things only...
The thing I am not grasping is that before I had 4 arrays, now I have one array with 4 elements, so am I right in assuming that I will only be able to overwrite the values of Y(n) on each iteration? If that's the case, then how do I go about my plot?