發表文章

第十二周 譚惟心 教你金融市場

躉繳 第1期 第2期 第3期 注意,包含首期躉繳的現金流量都大於0。 輸出: 報酬率: 淨現值: 迴圈次數: 譚惟心向譚惟心學習的程式碼 <head> <style> .pmt {   width: 60pt;   height: 20pt;   background-color: coral;   color: white;   text-align: right;} </style> </head> <body> <table border="1"> <tr align="center"><td>躉繳</td><td>第1期</td><td>第2期</td><td>第3期</td></tr> <tr><td><input class="pmt" type="number" /></td>    <td><input class="pmt" type="number" /></td>    <td><input class="pmt" type="number" /></td>    <td><input class="pmt" type="number" /></td></tr> </table><br /> 注意,包含首期躉繳的現金流量都大於0。 <p><input onclick="IRR()" type="button" value="計算內部報酬率" />輸出:</p> <!-- 按下 button 去執行 JavaScri...

第七周上課內容

第七週 2020/10/19 網頁 VBA 輸入金額: textbox 輸入金額:<input id="a" type="text" /> VBA VBA <input id="b" type="button" value="點擊" onclick="alert('你是豬頭!')"/> VBA 豬 狗 貓 VBA 豬<input type="radio">狗<input type="radio">貓<input type="radio" > VBA 豬 狗 貓 VBA 豬<input type="radio" name="pet">狗<input type="radio" name="pet">貓<input type="radio" name="pet"> VBA 豬 狗 貓 def EXCEL VBA Private Sub CommandButton1_Click() '註解click事件,在網頁onclick Dim addnew As Range '定義 變數 addnew 是工作表的一個範圍 If Range("A1").CurrentRegion.Rows.Count = 1 Then Set addnew = Sheets("DataTable").Range("A1").Offset(1, 0) Else Set addnew = Sheets("DataTable").Range("A1").End(xlDown).Offset(1, 0)...

第十一周CSS+HTML+Java Script金融計算的準備

躉繳 第1期 第2期 第3期 注意,包含首期躉繳的現金流量都大於0。 報酬率: 淨現值: 迴圈次數:

第九周流程圖與影片製作(譚惟心)

圖片
中央銀行受財政部委託,發行 91 182 273 364 天期國庫券, 決標貼現率:年息 %。 則每萬元($10,000)新臺幣的發行價格是$ (價格) 影片說明

第九周2020/10/26譚惟心

第七週2020/10/19 html vba 輸入國庫券面額: vba 輸入國庫券面額: <input type="text" id="a"> textbox commandbutton <input onclick="alert('你是大帥哥!')" type="button" value="按下我" /> vba 豬 狗 貓 鼠 vba 豬<input type="radio" />狗<input type="radio" />貓<input type="radio" />鼠<input type="radio" /> vba 豬 狗 貓 鼠 vba 豬<input type="radio" name="pet"/>狗<input type="radio" name="pet"/>貓<input type="radio" name="pet"/>鼠<input type="radio" name="pet"/> vba 董事長 總經理 財務長 vba <select><option>董事長</option><option>總經理</option><option>財務長</option></select> vba EXCEL VBA Private Sub CommandButton1_Click() Dim addnew As Range '定義 變數 addnew 是工作表的一個範圍 If Range("A1").CurrentRegion.Rows.Count = 1 Then Set addn...

程式設計學習進度

 第一週9月7日 在記事本編輯html  第二週9月14日 嵌入embed同學的網站(canvas) 温婷郁  第三週9月21日 選擇按鈕與字型編輯 A.表單輸入,核取方塊(checkbox) B.JavaScript C.分辯Google Blogspt(網頁/網誌) 網頁: http://weishinten.blogspot.com/ 網誌: http://weishinten.blogspot.com/p/blog-page.html D. toLef=定義的變數 toLef距離左邊      toTop=定義的變數 toTop距離上面      ctx.fillStyle="black";=強迫又變成黑色 !加上註解,電腦跳過去      ctx.Rect( toLef*3, toTop*5,  5, 5);=畫點的位置(Left, Top, Width, Height) 10 進位 16 進位 位元數的 2 進位表示 7 6 5 4 3 2 1 0 0 0 128 64 32 16 8 4 2 1 1 1 0 0 0 0 0 0 0 0 2 2 0 0 0 0 0 0 1 0 3 3 ...