diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /569/CH5/EX5.42 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '569/CH5/EX5.42')
-rwxr-xr-x | 569/CH5/EX5.42/5_42.sci | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/569/CH5/EX5.42/5_42.sci b/569/CH5/EX5.42/5_42.sci new file mode 100755 index 000000000..dec0b4781 --- /dev/null +++ b/569/CH5/EX5.42/5_42.sci @@ -0,0 +1,16 @@ +// Calculate the strain, charge and capacitance
+clc;
+A=25*10^-6;
+F=5;
+P=F/A;
+d=150*10^-12;
+e=12.5*10^-9;
+g=d/(e);
+t=1.25*10^-3;
+Eo=(g*t*P);
+strain=P/(12*10^6);
+Q=d*F;
+C=Q/Eo;
+disp(strain,'strain=')
+disp(Q,'charge(C)=')
+disp(C,'Capacitance(F)=')
\ No newline at end of file |