diff options
Diffstat (limited to '3871/CH5/EX5.35/Ex5_35.sce')
-rw-r--r-- | 3871/CH5/EX5.35/Ex5_35.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3871/CH5/EX5.35/Ex5_35.sce b/3871/CH5/EX5.35/Ex5_35.sce new file mode 100644 index 000000000..24af63b2a --- /dev/null +++ b/3871/CH5/EX5.35/Ex5_35.sce @@ -0,0 +1,18 @@ +//===========================================================================
+//chapter 5 example 35
+
+clc;
+clear all;
+
+//variable declaration
+e = 8.85*10^-12;
+V = 10000; //voltage in V
+r = 40*10^-3; //radius in m
+
+//calcaulations
+d = (4/2)*10^-3; //voltage in V
+theta = (100)*(%pi/180);
+k = (2.5*e*(r^2)*(V^2))/(d*theta);
+
+//result
+mprintf("spring constant = %3.3e Nm per radian",k);
|