Recent content by Fb.Researcher
-
Prove 2 and 3 state clock model is equivalent to Potts model
Homework Statement A p-state clock model is a spin model in which states can be viewed as hands of a clock! Now knowing the models we should prove these two models are equivalent for ##p=q=2## or ##p=q=3## Homework Equations Potts model is described by $$ H = -J \sum_{<ij> } \delta_{...- Fb.Researcher
- Thread
- Clock Equivalent Model State
- Replies: 1
- Forum: Advanced Physics Homework Help
-
Compute decay rate of muon according to given equation
Homework Statement A muon decays to an electron, an electron neutrino and a muon neutrino. ## \mu \rightarrow e \ \nu_\mu \ \nu_e## .The matrix element of the process is ## |\mathcal{M}|^2 = G^2_F (m^2-2mE)mE## with ##m## being the mass of the muon and ##E## the energy of the resulting...- Fb.Researcher
- Thread
- Decay Decay rate Muon Rate
- Replies: 2
- Forum: Advanced Physics Homework Help
-
Segmentation fault (core dumped) C error for structures
Before changing the first program,a numer like r1 between 0 and 10000-1 was saved in the 9999th element of array so the array was chosen in a way so that always the program have an empty element for it. dran48() gives a random number beween 0 and 1(not including 1 or a number in scale [0 1) )...- Fb.Researcher
- Post #7
- Forum: Programming and Computer Science
-
Segmentation fault (core dumped) C error for structures
The problem with calling plr instead of cplr was not serous,it happened when I was omitting extra rows of my program to make it simpler( I did it so that parts that are not related to the problem do not botter us) The code is: #include <stdio.h> #include <stdlib.h> #define PN 10 //number...- Fb.Researcher
- Post #5
- Forum: Programming and Computer Science
-
Segmentation fault (core dumped) C error for structures
I have written a C program that produce a structure, give it's elements their initial values and change these values when neccessary.I can compile my program but when I try to run it,error:"segmentation fault(core dumped)" appears.I commented different parts of my program and I underentood the...- Fb.Researcher
- Thread
- Error Fault Structures
- Replies: 6
- Forum: Programming and Computer Science
-
[C] multi-dimensional array allocation and using them in functions
Thank you for your explanation.So if I have truly understood for every dimension of the array I need a loop that allocate an extra dimension and an array of pointers to another array that could be another array of pointers or in two dimensions an array of integers. For example in three...- Fb.Researcher
- Post #3
- Forum: Programming and Computer Science
-
[C] multi-dimensional array allocation and using them in functions
I am a beginer in C programming,so I have just became familiar with pointers.The problem I am writing a program to solve requires me to allocate a multidimensional array, reallocate it and use it in some functions.The simplest problem would be:allocating a two dimensional array, ask a function...- Fb.Researcher
- Thread
- Array Functions
- Replies: 3
- Forum: Programming and Computer Science
-
Integrating of an exponential of a matrix product
Please explain some points: 1)Using X=Y+C,Q will Change this way: <X,AX>-2<B,X>=<Y+C,A(Y+C)>-2<B,Y+C> =<Y,AY>+<Y,AC>+<C,AY>+<C,AC>-2<B,Y>-2<B,C> I noticed that with the last sentence the final form for exponent -0.5Qwill produce <C,AC>/2 instead of -<C,AC>/2. 2)It...- Fb.Researcher
- Post #3
- Forum: Calculus and Beyond Homework Help
-
Integrating of an exponential of a matrix product
Homework Statement I try to solve this integral with with parameter x as a member of this scale:(-∞ , +∞) I=∫∏dx[i] exp(-0.5XAX + XB)=∫∏dx[i] exp( Ʃ-0.5x[i]a[i][j]x[j] +Ʃ x[i]b[i] ) In which a[i][j] and b[i] are components of telated matrix and vector and the first sum is on i and j ranges...- Fb.Researcher
- Thread
- Exponential Matrix Product
- Replies: 3
- Forum: Calculus and Beyond Homework Help