% Given frequency
f = 100e3;
w = 2 * pi * f;

% Example impedance values (in ohms)
% Replace these with your actual measured values.
Z_values = [2.179e6,
2.044e6
1.899e6
1.834e6
1.694e6
1.681e6
1.635e6
1.622e6
1.463e6
1.419e6
1.331e6
1.189e6
1.030e6
0.922e6
];

% Calculate C for each impedance assuming pure capacitive behavior:
C_values = 1./(w .* Z_values);

% Display results
disp('Capacitance values (F):');
disp(C_values);
