eh oui
This commit is contained in:
1 parent
0522834b9c
commit
a782ead71c
4 files changed
+31
-17
No files matched your search
@@ -1,10 +1,21 @@
|
||||
n = 2;
|
||||
%Met la dimention ici
|
||||
n = 4;
|
||||
|
||||
x = sym("x", [1 n])
|
||||
|
||||
%les constantes/variables
|
||||
G = sym("G");
|
||||
M = sym("M");
|
||||
c = sym("c");
|
||||
Rs = sym("Rs");
|
||||
|
||||
%Rentre la métrique ici
|
||||
g = [1, 0;0, x(1)^2]
|
||||
g = [
|
||||
-(1-Rs/x(2)), 0, 0, 0;
|
||||
0, 1/(1-Rs/x(2)), 0, 0;
|
||||
0, 0, x(2)^2, 0;
|
||||
0, 0, 0, x(2)^2 * sin(x(3))^2;
|
||||
]
|
||||
|
||||
ig = inv(g)
|
||||
|
||||
@@ -21,15 +32,17 @@ for gamma = 1:n
|
||||
for m = 1:n
|
||||
tmp0 = tmp0 + 0.5 * ig(gamma, m) * (diff(g(m,alpha), x(beta)) + diff(g(m, beta), x(alpha)) - diff(g(alpha, beta), x(m)));
|
||||
end
|
||||
Gamma(gamma, alpha, beta) = simplify(tmp0);
|
||||
Gamma(alpha, beta, gamma) = simplify(tmp0);
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Gamma
|
||||
|
||||
gd := det(g);
|
||||
|
||||
gd = det(g)
|
||||
|
||||
|
||||
|
||||
Ri = g;
|
||||
|
||||
@@ -38,14 +51,15 @@ for mu = 1:n
|
||||
tmp1 = 0;
|
||||
tmp2 = 0;
|
||||
tmp3 = 0;
|
||||
tmp4 = 0;
|
||||
for alpha = 1:n
|
||||
tmp1 = tmp1 + diff(Gamma(alpha, mu, nu), x(alpha));
|
||||
tmp3 = tmp3 + Gamma(alpha, mu, nu) * diff(log(sqrt(-gd)), x(alpha));
|
||||
tmp1 = tmp1 + diff(Gamma(mu, nu, alpha), x(alpha));
|
||||
tmp3 = tmp3 + Gamma(mu, nu, alpha) * diff(log(sqrt(-gd)), x(alpha));
|
||||
for beta = 1:n
|
||||
tmp2 = tmp2 + Gamma(beta, alpha, mu) * Gamma(alpha, beta, nu);
|
||||
tmp2 = tmp2 + Gamma(alpha, mu, beta) * Gamma(beta, nu, alpha);
|
||||
end
|
||||
end
|
||||
Ri(mu,nu) = simplify(- diff(diff(log(sqrt(-gd)),x(nu)), (mu)) + tmp1 - tmp2);
|
||||
Ri(mu,nu) = simplify(- diff(diff(log(sqrt(-gd)),x(nu)), x(mu)) + tmp1 - tmp2 + tmp3);
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Binary file not shown.
@@ -2590,8 +2590,8 @@ endobj
|
||||
113 0 obj
|
||||
<<
|
||||
/Creator (Typst 0.14.2)
|
||||
/ModDate (D:20260210190338Z)
|
||||
/CreationDate (D:20260210190338Z)
|
||||
/ModDate (D:20260210224758Z)
|
||||
/CreationDate (D:20260210224758Z)
|
||||
>>
|
||||
endobj
|
||||
|
||||
@@ -2602,7 +2602,7 @@ endobj
|
||||
/Subtype /XML
|
||||
>>
|
||||
stream
|
||||
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?><x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="xmp-writer"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xmp="http://ns.adobe.com/xap/1.0/" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:xmpTPg="http://ns.adobe.com/xap/1.0/t/pg/" xmlns:pdf="http://ns.adobe.com/pdf/1.3/" ><xmp:CreatorTool>Typst 0.14.2</xmp:CreatorTool><dc:language><rdf:Bag><rdf:li>fr</rdf:li></rdf:Bag></dc:language><xmp:ModifyDate>2026-02-10T19:03:38+00:00</xmp:ModifyDate><xmp:CreateDate>2026-02-10T19:03:38+00:00</xmp:CreateDate><xmpTPg:NPages>4</xmpTPg:NPages><dc:format>application/pdf</dc:format><xmpMM:InstanceID>LYeOKyXpJZEgEMpHvkQSBA==</xmpMM:InstanceID><xmpMM:DocumentID>LYeOKyXpJZEgEMpHvkQSBA==</xmpMM:DocumentID><xmpMM:RenditionClass>proof</xmpMM:RenditionClass><pdf:PDFVersion>1.7</pdf:PDFVersion></rdf:Description></rdf:RDF></x:xmpmeta><?xpacket end="r"?>
|
||||
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?><x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="xmp-writer"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xmp="http://ns.adobe.com/xap/1.0/" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:xmpTPg="http://ns.adobe.com/xap/1.0/t/pg/" xmlns:pdf="http://ns.adobe.com/pdf/1.3/" ><xmp:CreatorTool>Typst 0.14.2</xmp:CreatorTool><dc:language><rdf:Bag><rdf:li>fr</rdf:li></rdf:Bag></dc:language><xmp:ModifyDate>2026-02-10T22:47:58+00:00</xmp:ModifyDate><xmp:CreateDate>2026-02-10T22:47:58+00:00</xmp:CreateDate><xmpTPg:NPages>4</xmpTPg:NPages><dc:format>application/pdf</dc:format><xmpMM:InstanceID>7e34jaIKANZrfHf3Pj1Tmg==</xmpMM:InstanceID><xmpMM:DocumentID>7e34jaIKANZrfHf3Pj1Tmg==</xmpMM:DocumentID><xmpMM:RenditionClass>proof</xmpMM:RenditionClass><pdf:PDFVersion>1.7</pdf:PDFVersion></rdf:Description></rdf:RDF></x:xmpmeta><?xpacket end="r"?>
|
||||
endstream
|
||||
endobj
|
||||
|
||||
@@ -2747,7 +2747,7 @@ trailer
|
||||
/Size 116
|
||||
/Root 115 0 R
|
||||
/Info 113 0 R
|
||||
/ID [(LYeOKyXpJZEgEMpHvkQSBA==) (LYeOKyXpJZEgEMpHvkQSBA==)]
|
||||
/ID [(7e34jaIKANZrfHf3Pj1Tmg==) (7e34jaIKANZrfHf3Pj1Tmg==)]
|
||||
>>
|
||||
startxref
|
||||
108384
|
||||
|
||||
Reference in new issue
Block a user