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 /1535/CH2/EX2.4/Ch02Ex4.sci | |
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 '1535/CH2/EX2.4/Ch02Ex4.sci')
-rwxr-xr-x | 1535/CH2/EX2.4/Ch02Ex4.sci | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/1535/CH2/EX2.4/Ch02Ex4.sci b/1535/CH2/EX2.4/Ch02Ex4.sci new file mode 100755 index 000000000..389798653 --- /dev/null +++ b/1535/CH2/EX2.4/Ch02Ex4.sci @@ -0,0 +1,8 @@ +// Scilab Code Ex2.4 : Page-47 (2010)
+p = 60; // Power rating of bulb, watt
+d = 0.5; // Distance from the blb, m
+P = p/(4*%pi*d^2); // Value of Poynting vector, watt per metre square
+printf("\nThe value of Poynting vector = %4.1f watt per metre square", P);
+
+// Result
+// The value of Poynting vector = 19.1 watt per metre square
\ No newline at end of file |