發表文章

黃昀婕Python_Javascript網路執行_EXCEL_IRR二分法

圖片
pmt[0]=float(input('黃昀婕躉繳金額: '))#float轉換成實數 float for nper in range(1,4): pmt[nper] = float(input('第'+str(nper)+'期回收: ')) def npv(rate): y = - pmt[0] for j in range(1,4): y = y + pmt[j]/(1+rate)**j return y a, b, gap, f = 0.0, 1.0, 9.0, 9.0 maxerror = 0.00000001 loopNumber = 1 while (gap > maxerror and abs(f) > maxerror and loopNumber maxerror and gap > maxerror): if ( f>0 ): a = c else: b = c gap = b-a; print('黃昀婕報酬率: ', c) print('黃昀婕淨現值: ', f) print('黃昀婕迴圈次數: ', loopNumber) 心得 在這學期課程中讓我學習到如何使用Python等等,以及如何錄製上傳片

黃昀婕Javascript計算現值PresentValue和Python比較

圖片
利率y(rate) 期數n(nper) 金流m(pmt) 終值f(fv) 參考劉任昌金融市場講義https://drive.google.com/file/d/17z6UZgN5fC2XCO1L8_BQs57dgQXzbwou/view?usp=sharing 黃昀婕學習HTML+CSS+JavaScript程式碼 在Spyder開發環境編寫與執行Python

黃昀婕Javascript數學函數sin與cos對比EXCEL函數

圖片
Javascript在網頁就可以執行不需要開啟Spyder sin執行 cos執行 橫軸

黃昀婕Javascript數學函數sin與cos對比EXCEL函數

Javascript在網頁就可以執行不需要開啟Spyder sin執行 cos執行 橫軸

word file processing in python(python處理word檔案)

圖片
embed嵌入(bed床,放入床上,嵌入鑽戒) document.create_element('P'); 影片重點 Let's develop brains. 作文,在捷運讓座let給老弱婦孺。 yield (投降, 收益) Yield seats to elderly YTM=Yield to Maturity=到期收益率 nominal yield=coupon rate=票面利率 利用python編輯edit建立create word 檔案 Process 處理....procedure程序 SOP python命令,給文件新增加一個段落 document.add_paragraph('文字內容',格式) 網頁javascript命令 維基百科python了解 Python was conceived in the late 1980s[42] by Guido van Rossum at Centrum Wiskunde & Informatica (CWI) in the Netherlands; it was conceived as a successor to the ABC programming language, which was inspired by SETL,[43] capable of exception handling and interfacing with the Amoeba operating system.[12] Python implementation began in December 1989.[44] Van Rossum assumed sole responsibility for the project, as the lead developer, until 12 July 2018, when he announced his "permanent vacation" from responsibilities as Python's "benevolent dictator for life" (BDFL); this title was bestowed on him by the Py...

黃昀婕Javascript網頁BUTTON按鈕ONCLIGCK事件call呼叫函數

物件導向設計OOP=Object-Oriented Programming 主詞subject受詞object東方的oriental id=identity,身分證id card, division區塊,段落 黃昀婕執行 心得 JAVASCRIPT的字典 dict =new Map([["2303","聯電"],["2330","台積電"],["2880","華南金"],['AAPL','蘋果公司'],['C','花旗銀行'],['T','美國電話電報']]);//宣告配對(字典) PYTHON的字典 dict ={"2303":"聯電","2330":"台積電","2880":"華南金",'AAPL':'蘋果公司','C':'花旗銀行','T','美國電話電報'} PYTHON換列就是;區隔指令。PYTHON通一個縮排,就是{}的同一區塊 函數名稱()要將執行的程式碼用curly braces圍住。

黃昀婕Javascript物件導向方法是物件的函數

物件導向設計OOP=Object-Oriented Programming 主詞subject受詞object東方的oriental id=identity,身分證id card, division區塊,段落 .方法get()是取得對應的值,功能同字典 dict.get(s1.code)從dict字典取得索引為s1.code的值