diff options
Diffstat (limited to '1151/CH4/EX4.20/example20.sce')
-rwxr-xr-x | 1151/CH4/EX4.20/example20.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1151/CH4/EX4.20/example20.sce b/1151/CH4/EX4.20/example20.sce new file mode 100755 index 000000000..aa7395b6f --- /dev/null +++ b/1151/CH4/EX4.20/example20.sce @@ -0,0 +1,12 @@ +//find %overshoot and peak time
+printf("given mr=1.4 and wr=3 rad/sec");
+p1=poly([1 -1 0.1275],'x','c')
+r=roots(p1)
+disp(r)
+d=sqrt(0.1505)
+mo=exp((-%pi*d)/sqrt(1-d^2))*100;
+disp(mo,"maximum overshoot(in %)")
+wr=3
+w=wr/sqrt(1-2*d^2);
+pt=%pi/(w*sqrt(1-d^2));
+disp(pt,"peak time (in sec)=");
|