summaryrefslogtreecommitdiff
path: root/3836/CH13/EX13.1/Ex13_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3836/CH13/EX13.1/Ex13_1.sce')
-rw-r--r--3836/CH13/EX13.1/Ex13_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3836/CH13/EX13.1/Ex13_1.sce b/3836/CH13/EX13.1/Ex13_1.sce
new file mode 100644
index 000000000..75c025f1a
--- /dev/null
+++ b/3836/CH13/EX13.1/Ex13_1.sce
@@ -0,0 +1,11 @@
+clear
+//Initialization
+c=10*10**-6 //capacitance in Farad
+v=10 //voltage
+
+//Calculation
+q=c*v //charge in coulomb
+
+//Results
+printf("\n Charge, q = %.1f uC",q*10**6)
+