summaryrefslogtreecommitdiff
path: root/343/CH2/EX2.6/ex2_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '343/CH2/EX2.6/ex2_6.sce')
-rwxr-xr-x343/CH2/EX2.6/ex2_6.sce4
1 files changed, 4 insertions, 0 deletions
diff --git a/343/CH2/EX2.6/ex2_6.sce b/343/CH2/EX2.6/ex2_6.sce
new file mode 100755
index 000000000..3cc8f64d0
--- /dev/null
+++ b/343/CH2/EX2.6/ex2_6.sce
@@ -0,0 +1,4 @@
+function y=f(t),y=6*t,endfunction //Defining the voltage equation
+T=3;
+Res=intg(0,3,f)/(T);
+disp("Volts",Res,"Average voltage value"); \ No newline at end of file