changeset 3:b798246629dd

fix Aug_19th
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Tue, 19 Aug 2014 20:41:29 +0900
parents 69de65730c71
children 497a4de079bc
files Aug_19th.html
diffstat 1 files changed, 44 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/Aug_19th.html	Tue Aug 19 15:44:58 2014 +0900
+++ b/Aug_19th.html	Tue Aug 19 20:41:29 2014 +0900
@@ -263,25 +263,35 @@
 </pre>
   </div>
 
+  <div id="cover">
+    <h1>波形の生成</h1>
 
-  <div id="cover">
-    <h1>三角波、矩形波の生成</h1>
-
-    <ul>
-    <li>矩形波</li>
+    <p>矩形波</p>
     <pre>
     <code>
-double square(double t){
+double
+square(double t){
     double decimal_part = t - abs(t);
     return decimal_part < 0.5 ? 1 : -1;
 }
     </code>
-</pre>
+    </pre>
+
+    <img src="./images/sqrWave.png" width="50%" height="">
+
+  </div>
+
 
-    <li>三角波</li>
+
+  <div id="cover">
+    <h1>波形の生成</h1>
+
+    <p>三角波</p>
+
     <pre>
     <code>
-double tri(double t){
+double
+tri(double t){
 
     double decimal_part = t - abs(t);
 
@@ -291,9 +301,32 @@
         return decimal_part < 0.5 ? -decimal_part : 1 - decimal_part;
     }
 }
+
     </code>
-    </ul>
-</pre>
+    </pre>
+
+    <img src="./images/triWave.png" width="50%" height="">
+
+  </div>
+
+
+
+  <div id="cover">
+    <h1>波形の生成</h1>
+
+    <p>のこぎり波</p>
+    <pre>
+    <code>
+double
+saw(double t)
+{
+    double decimal_part = t - abs(t);
+    return decimal_part;
+}
+    </code>
+    </pre>
+
+    <img src="./images/sawWave.png" width="50%" height="">
   </div>