406 reputation
28
bio website
location
age
visits member for 2 years, 6 months
seen Aug 13 at 13:11

Oct
4
awarded  Popular Question
Aug
18
awarded  Yearling
May
7
comment How to implement the second loop
Thank you very much Öskå. This is it. I should learn through your code
May
7
accepted How to implement the second loop
May
7
comment How to implement the second loop
Your Re[data] gives {{1.1, {10.6762}}, {1.2, {3.22105}}, {1.3, {1.60936}}, {1.4, \ {0.854005}}, {1.5, {0.560325}}, {1.6, {0.423807}}, {1.7, {0.311116}}, \ {1.8, {0.242934}}, {1.9, {0.00550994}}, {2., {0.004995}}, {2.1, \ {0.00568088}}, {2.2, {0.00669323}}}; Now I just need to put on horizontal axis alpha and on vertical axis these calculated points and this is it
May
7
comment How to implement the second loop
my d1 which I calculated is with better accurate because I choose (c1+c2)/2, not nearest. And I don't need Imaginary part in data, just real for each alpha1
May
7
comment How to implement the second loop
Öskå this is very close, I need on vertical axis value d1 and on horizontal axis alpha1, on diagram I see negative values. I will check the code carefully
May
6
comment How to implement the second loop
Öskå It is enough just to calculate d1 for each alpha1, not to run code each time to calculate d1
May
6
comment How to implement the second loop
d1 is my point which I need, I calculated for one alpha1=1.1, now I need d1 for alpha1 = 1.2, 1.3, ... , 2.2; So for each alpha1 I will have my d1, now I need to plot points d1 for each alpha1
May
6
comment How to implement the second loop
Öskå Finally I edited the code and found my point d1. Now I need to calculate d1 for each alpha1 automatically and to plot d1(alpha1)
May
6
revised How to implement the second loop
added 388 characters in body
May
6
comment How to implement the second loop
Öskå it is not important to be exact, this is because of chosen step, it is enough just to choose the point with smallest imaginary part and for this point to extract the real value for each alpha on the segment. For all values alpha which I changed the curve cross the real axis for sure, but I just need to do this automatically, not to calculate for each alpha manually
May
6
comment How to implement the second loop
Öskå please take a look now. I made a mistake because of segment. Now for each alpha the plotted curve cross the real axis, I need to extract these points for each alpha and to plot the M(alpha)
May
6
revised How to implement the second loop
deleted 17 characters in body
May
6
comment How to implement the second loop
Yes and maybe I should change the G and change the step to see the crossing real axis
May
6
comment How to implement the second loop
not this point, just one which cross the real axis, if doesn't exist it is infinity
May
6
comment How to implement the second loop
Yes Öskå, from the code I need just one point when the Imaginary part is zero and then to calculate it for various alpha
May
5
asked How to implement the second loop
Apr
23
awarded  Popular Question
Apr
14
comment How to parallelize this code
Just to use all cores in computing the M