I may be wrong, but I don't think that's my problem, I think it may be further back in my code as when I print values of f, they are already in a list, I'll play around and see what I can find
It doesn't get an error per say, but the graph it spits out is wrong, if I look at just one o I get a 2 sets of data plotted (or so it seems) one that's a straight line going from -10 to 10 in y (no idea why) and then roughly the right shape of the graph for f, but x now goes from 0 to 42.
Thanks for your reply!
I tried that but due to my list being effectively a list with 21 elements, with 15 in each element, it can't be done simply it seems, I think I need some tricky syntax
I have some code that is basically taking a range of energies, putting them into some recurrence equations and solving, and then I want to plot the results.
\[HBar] = 1;
m = 1;
Do[Energy[z] = 0.5 + 5 z, {z, 0, 14}]
Table[Energy[z], {z, 0, 14}];
Do[Entot[n, o] = Energy[o] - \[HBar]*\[Omega]*n...
Thank you, I knew I could justify it using the information in a wordy explanation but I assumed the 'Show that' nature of the question meant I'd need to prove it mathematically using the angles in the CM, but it does make more sense to just explain.
Thanks again!
Homework Statement
Suppose that in a fixed-target proton-proton collision, the two protons are scattered with equal energies at equal angles θ/2 to the beam. Show that in the CM frame, this implies they are scattered at right angles to the direction of the beam. Calculate the energy and...
Thanks for all your help, I managed to get all 4 eigenvectors using your help, I think I'm just going to try and remember to check them when it's something slightly tricky like this.
Hi thank you for your response.
I saw before you had put 2 eigenvectors for lambda=1 so I was firstly wondering what that meant? I thought there is only one eigenvector to one eigenvalue? Also, is there a way of doing this without using row reduction? I haven't used it before to find...
Homework Statement
X= 1st row: (0, 1, 0, 0), 2nd row: (1, 0, 0, 0), 3rd row: (0, 0, 0, 1-i), 4th row: (0, 0, 1+i, 0)
Find the eigenvalues and eigenvectors of the matrix X.
Homework Equations
|X-λI|=0 (characteristic equation)
(λ is the eigenvalues, I is the identity matrix)
(X-λI)V=0 (V is the...
I have been given a task to create an interpolating/extrapolating programme. I have completed the programme for linear interpolation (2 points) but now must make it usable for 3 or more points, ie a polynomial of n points. I think I have the equation in general for a polynomial as it is an...
How does y >0 lead to x^2 + y^2 = a^2? Using polar coordinates the integral came to be (Sorry for lack of latex) integral of r^3 between 0 and a , times the integral of cos^2(theta) between 0 and pi. That came out to equal ((pi)a^4)/8. Does this sound right? Also could not seem to come to any...
Do the following integral: I= (double integral) dx dy x^2 with 0<x^2 + y^2<a^2 , y>0?
Could someone please give me some guidance as to what the inequality means? Should I convert to polar
coordinates so it gives me 0<r^2<a^2? Thank you.
Yes that's right. I've spoken to course mates who have similar to me, I've changed it slightly now, but if you could let me know if the general gist is right, would be greatly appreciated.
Homework Statement
There are 3 charges, each denoted q, the first at (0,a), the second at (0,0) and finally one at (b,0). What is the resultant electric field at point P, (b,a)?
Homework Equations
E[/B]=q/(4πεo r2) for a point charge
The Attempt at a Solution
So I know I need to use the...