Question: I want these code to converted in PYTHON. it just a conversion don't make an excuse 1 question policy if u don't want to answer







I want these code to converted in PYTHON. it just a conversion don't make an excuse 1 question policy if u don't want to answer please leave my question will refunded.
and also the remarks section.
Question 30: Write a C++ program to solve the following positive definite linear system using the Cholesky's method. For simplification, specify the linear system within the program. 1.7x4 1.1x2 + 2.7x3 = 7.39 -1.1x + 1.6x2 1.9x = -3.36 1.9x2 + 4.5x3 12.03 2.7x4 #include #include using namespace std; #definen 3 // number of unknowns int main() { char quit; inti,j,k; double a[n][n] = {{1.7.-1.1, 2.7). {-1.1, 1.6, -1.9) . {2.7.-1.9, 4.5}} : double D[n] = {7.39, -3.36, 12.03). 1/ right hand side constant vector double x[n]: double Inn). Yn). sum: Processing Section // Formation of Land U as factors of A, i.e., A=LU for(i=0;i=0; i--) { sum = 0.0 ; for(j=i+1 ; j> quit ; return 0; } Question 07: Write a C++ program to find the dominant eigenvalue of the following matrix using the power method. For simplification, specify the matrix within the program. Take y(0) = (1, 1, 1]" as the initial approximation. The iterations of the method should stop when either the approximation is accurate within 10-3, or the number of iterations exceeds 100, whichever happens first 54 1 01 2 50 L7 2 1. # include #include using namespace std; #define n 3 // number of components #define TOL 0.00001 11 error tolerance #define N 100 // maximum number of iterations int main() { char quit ; int i, j, rek; double a[n][n] = { {4,1,0} , {2,5,0} , {7.2,1}}; // the problem matrix double x[n] = { 1, 1, 1); // initial approx. to the dominant eigenvector double xp[n], sum, sumi , B, err; 11 - ---- Processing Section for ( k=1 ; k> for (i=0; j abs(x[r])) rei; B = x[r]; for(i=0; i> a[i][] cout> b[i]; Remark: Replace the lines 9 and 10 in the solution of Question 27 with the following code segment to receive the linear system at the execution time instead of fixing in the code). 11- Input Section -1/ cout> a[0]: cout> b[i]