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 /24/CH27/EX27.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 '24/CH27/EX27.6')
-rwxr-xr-x | 24/CH27/EX27.6/Example27_6.sce | 10 | ||||
-rwxr-xr-x | 24/CH27/EX27.6/Example27_6_result.txt | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/24/CH27/EX27.6/Example27_6.sce b/24/CH27/EX27.6/Example27_6.sce new file mode 100755 index 000000000..70a2e5d76 --- /dev/null +++ b/24/CH27/EX27.6/Example27_6.sce @@ -0,0 +1,10 @@ +//Given that
+R = 72 //in Ohm
+V = 120 //in volts
+
+//Sample Problem 27-6
+printf("**Sample Problem 27-6**\n")
+H1 = V^2/R
+printf("The Power dissipated in first case is equal to %dW\n", H1)
+H2 = V^2/(R/2) * 2
+printf("The Power dissipated in second case is equal to %dW\n", H2)
\ No newline at end of file diff --git a/24/CH27/EX27.6/Example27_6_result.txt b/24/CH27/EX27.6/Example27_6_result.txt new file mode 100755 index 000000000..9a2f12bef --- /dev/null +++ b/24/CH27/EX27.6/Example27_6_result.txt @@ -0,0 +1,3 @@ +**Sample Problem 27-6**
+The Power dissipated in first case is equal to 200W
+The Power dissipated in second case is equal to 800W
\ No newline at end of file |