Generate a plot of C vs d. and make a table
Ältere Kommentare anzeigen

1 Kommentar
Antworten (1)
Bruno Teramoto
am 26 Sep. 2019
0 Stimmen
L = 1;
r = 0.01;
per = 8.854*10^-12;
d = linspace(0.01,0.03,10)';
C = pi*per*L./log((d-r)/r);
fprintf('***********************\n')
fprintf(' d C\n')
fprintf('***********************\n')
for i = 1:length(d)
fprintf('%8.3f %11.2e\n',d(i),C(i))
end
fprintf('***********************\n')
plot(d,C)
1 Kommentar
James Tursa
am 26 Sep. 2019
Please don't post complete answers to homework questions.
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!