From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3835/CH4/EX4.6/Ex4_6.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 3835/CH4/EX4.6/Ex4_6.sce (limited to '3835/CH4/EX4.6/Ex4_6.sce') diff --git a/3835/CH4/EX4.6/Ex4_6.sce b/3835/CH4/EX4.6/Ex4_6.sce new file mode 100644 index 000000000..6ffd7a5e5 --- /dev/null +++ b/3835/CH4/EX4.6/Ex4_6.sce @@ -0,0 +1,23 @@ +clear +// +//from graph +a=0 +b=5**2 +c=10**2 +c=20**2 +d=40**2 +e=50**2 +f=40**2 +g=20**2 +h=10**2 +i=5**2 +v=(0.1*(a+b+c+d+e+f+g+h+i))**0.5 //%pi and omega values get cancelled +printf("\n v= %0.1f V",v) +vavg=0.1*(0+5+10+20+40+50+40+20+10+5) +printf("\n vavg= %0.1f v",vavg) +ff=v/(vavg) +printf("\n %0.1f",ff) +pf=50/(v) //50 is the maximum value +printf("\n %0.1f",pf) +v=0.707*50 +printf("\n rms value for a sin wave with the same peak value is= %0.1f V",v) -- cgit