The Second and Third Tasks are done

This commit is contained in:
AZEN-SGG 2025-03-02 22:37:25 +03:00
parent 136c9f6b00
commit 69ff8c30a1
31 changed files with 995 additions and 53 deletions

11
2025.03.07/2Ex/solve.c Normal file
View file

@ -0,0 +1,11 @@
#include "solve.h"
#include "math.h"
double t2_solve(double *a, int n)
{
double trace = 0;
int i;
for (i = 0; i < n; i++)
trace += a[i * n + i];
return trace;
}