From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 343/CH2/EX2.15/ex2_15.sce | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 343/CH2/EX2.15/ex2_15.sce (limited to '343/CH2/EX2.15/ex2_15.sce') diff --git a/343/CH2/EX2.15/ex2_15.sce b/343/CH2/EX2.15/ex2_15.sce new file mode 100755 index 000000000..23dc64f90 --- /dev/null +++ b/343/CH2/EX2.15/ex2_15.sce @@ -0,0 +1,5 @@ +Vm=1; //Assuming Vm=1 +function y=f(t),y=sin(t+(%pi/3))*sin(t+(%pi/3)),endfunction //Defining Voltage Equation +T=2*(%pi/3); +Res=sqrt(intg(0,T,f)/(T)); +disp("Volts",Res,"Rms voltage value"); \ No newline at end of file -- cgit