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 /1784/CH36/EX36.6 | |
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 '1784/CH36/EX36.6')
-rwxr-xr-x | 1784/CH36/EX36.6/example6.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1784/CH36/EX36.6/example6.sce b/1784/CH36/EX36.6/example6.sce new file mode 100755 index 000000000..74d848bfb --- /dev/null +++ b/1784/CH36/EX36.6/example6.sce @@ -0,0 +1,16 @@ +//chapter 36
+//example6
+clc
+//given
+epsilon0=8.9*10^-12//in coul2/nt-m2
+E=10^5//elelctric field in volts/meter
+B=1 //magnetic field in weber/meter2
+u0=4*%pi*10^-7//in weber/amp-m Mu-not=u0
+a=0.1 //side of the cube in meter
+V0=a^3 //volume of the cube in meter3
+//(a)
+U1=epsilon0*E^2*V0/2 //in elelctric field
+disp(U1,"(a)Energy required to set up in the given cube on edge in electric field in joules is")
+//(b)
+U2=(B^2/(2*u0))*V0
+disp(U2,"(b)Energy required to set up in the given cube on edge in magnetic field in joules is")
|