summaryrefslogtreecommitdiff
path: root/24/CH27/EX27.6
diff options
context:
space:
mode:
Diffstat (limited to '24/CH27/EX27.6')
-rwxr-xr-x24/CH27/EX27.6/Example27_6.sce10
-rwxr-xr-x24/CH27/EX27.6/Example27_6_result.txt3
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