diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /2855/CH10/EX10.2 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '2855/CH10/EX10.2')
-rw-r--r-- | 2855/CH10/EX10.2/Ex10_2.sce | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/2855/CH10/EX10.2/Ex10_2.sce b/2855/CH10/EX10.2/Ex10_2.sce index a4743c1f1..845c69441 100644 --- a/2855/CH10/EX10.2/Ex10_2.sce +++ b/2855/CH10/EX10.2/Ex10_2.sce @@ -1,23 +1,23 @@ -//Chapter 10
-//page no 354
-//given
-clc;
-clear all;
-Vpi=1; //Assumed 1 because we can not use a variable on RHS
-//Vpi is Violtage swing
-disp("for alpha=0.3");
-A=0.3; //chirping
-//V1=(AV1p+Vp)/2
-V1=(A*Vpi+Vpi)/2;
-printf("\n V1= %0.2f Vpi",V1)
-V2=V1-Vpie;
-printf("\n V2= %0.2f Vpi\n",V2)
-disp("for alpha=0.8");
-A=0.8; //chirping
-//V1=(AV1p+Vp)/2
-V1x=(A*Vpi+Vpi)/2;
-printf("\n V1= %0.1f Vpi",V1x)
-V2x=V1x-Vpi;
-printf("\n V2= %0.1f Vpi",V2x)
-printf("\n Biasing range is %0.2f Vpi <= V1 <= %0.2f Vpi",V1,V1x)
-printf("\n Biasing range is %0.1f Vpi <= V2 <= %0.2f Vpi",V2x,V2)
+//Chapter 10 +//page no 354 +//given +clc; +clear ; +Vpi=1; //Assumed 1 because we can not use a variable on RHS +//Vpi is Violtage swing +disp("for alpha=0.3"); +A=0.3; //chirping +//V1=(AV1p+Vp)/2 +V1=(A*Vpi+Vpi)/2; +printf("\n V1= %0.2f Vpi",V1) +V2=V1-Vpi; +printf("\n V2= %0.2f Vpi\n",V2) +disp("for alpha=0.8"); +A=0.8; //chirping +//V1=(AV1p+Vp)/2 +V1x=(A*Vpi+Vpi)/2; +printf("\n V1= %0.1f Vpi",V1x) +V2x=V1x-Vpi; +printf("\n V2= %0.1f Vpi",V2x) +printf("\n Biasing range is %0.2f Vpi <= V1 <= %0.2f Vpi",V1,V1x) +printf("\n Biasing range is %0.1f Vpi <= V2 <= %0.2f Vpi",V2x,V2)
\ No newline at end of file |