發表文章

目前顯示的是 12月, 2020的文章

第十六週陳鈺晴 嵌入embed臉書iframe+JavaScript SKD

投入、陶醉與個性,她壓倒其他所有的舞者。 由 Robert Liu 發佈於  2020年12月18日 星期五 嵌入臉書 嵌入iframe 投入、陶醉與個性,她壓倒其他所有的舞者。 由 Robert Liu 發佈於  2020年12月18日 星期五 嵌入JavaScript SKD 嵌入滑板 嵌入iframe 上課三十四號同學

第十五週陳鈺晴HTML+word方程式編輯器+轉成pdf

圖片
利率y(rate) 期數n(nper) 金流m(pmt) 終值f(fv) 參考劉任昌 金融市場講義 陳鈺晴學習word方程式編輯 年畫利率1.2%(年利率0.001),買月房貸繳交20000,問貸款多少? 陳鈺晴學習HTML+CSS+JavaScript程式碼 留任昌教學影片078 留任昌教學的程式設計 <style> h1{border: 20px outset pink;     background-color: black;     color: white;   text-align: center;}  h2{border: 20px outset pink;     background-color: black;     color: white;   text-align: center;} </style> <script> function computePV(){   var r = document.getElementById("rate").value;   var n = document.getElementById("nper").value;   var m = document.getElementById("pmt").value;   var f = document.getElementById("fv").value;   pvif =r;   pvif++;   pvif =1/pvif**n;   var pv = (1-pvif)*m/r + f * pvif;   document.getElementById("pv").innerHTML = pv; } </script> <body> <table border="1"> <tr><td>利率y(rate)</td><td>期數n(npe...

第13週程式設計VBA

圖片
程式設計070 程式設計071 程式設計072 程式設計073 Dim n As Integer Const period As Integer = 4 Const maxerror As Double = 0.0000001 Dim payment(period) As Double '廣域變數 4 維度的陣列 Private Sub CommandButton1_Click()   Dim a, b, c, f, gap As Double   Dim loopNumber As Integer   n = n + 1   a = 0   b = 1   gap = 10   loopNumber = 10   payment(0) = TextBox1.Value   payment(1) = TextBox2.Value   payment(2) = TextBox3.Value   payment(3) = TextBox4.Value   f = npv(a)   If f = 0 Then      Label9.Caption = 0   ElseIf f < 0 Then      Label9.Caption = "內部報酬率小於 0."   Else      Do While gap > mexerror And Abs(f) > maxerror And loopNumber < 100        loopNumber = loopNumber + 1        c = (a + b) / 2        f = npv(c)        If Abs(f) > maxerror And gap > maxerror Then         ...