diff options
Diffstat (limited to '605/CH9/EX9.13/9_13.sce')
-rwxr-xr-x | 605/CH9/EX9.13/9_13.sce | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/605/CH9/EX9.13/9_13.sce b/605/CH9/EX9.13/9_13.sce new file mode 100755 index 000000000..3b70dba7e --- /dev/null +++ b/605/CH9/EX9.13/9_13.sce @@ -0,0 +1,7 @@ +
+n=3
+printf("\ngo=g4=1")
+for p=1:1:3
+ gp=2*sin((2*p-1)*%pi/2/n)
+ printf("\ngp=%.2f",gp)
+end
|