Generate a plot of C vs d. and make a table

1 commentaire

Rik
Rik le 26 Sep 2019
You are approaching the level where I would consider this spam. Please follow the advice here and here.

Connectez-vous pour commenter.

Réponses (1)

Bruno Teramoto
Bruno Teramoto le 26 Sep 2019

0 votes

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 commentaire

James Tursa
James Tursa le 26 Sep 2019
Please don't post complete answers to homework questions.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Commenté :

le 26 Sep 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by