summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.1/Ex5_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH5/EX5.1/Ex5_1.sce')
-rw-r--r--3769/CH5/EX5.1/Ex5_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3769/CH5/EX5.1/Ex5_1.sce b/3769/CH5/EX5.1/Ex5_1.sce
new file mode 100644
index 000000000..ef54e0b5b
--- /dev/null
+++ b/3769/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,11 @@
+clear
+//Given
+n=10**17
+e=1.6*10**-19 //C
+t=1.0 //S
+
+//Calculation
+I=n*e/t
+
+//Result
+printf("\n The magnitude of current in the wire is %0.3f 10**-2 A and direction is from left to right",I*10**2)