看板 Visual_Basic 關於我們 聯絡資訊
(b) Write an application that estimates the value of the mathematical constant e by using the formula 1 1 1 e = 1 + ─ + ─ + ─ + ...... 1! 2! 3! (c) Write an application that computes the value of e^x by using the formula x x^2 x^3 e^x = 1 + ─ + ─ + ─ ..... 1! 2! 3! 這兩個題目之前還有一個小題是~寫出 n! 的值 這個有寫出來了~不過上兩個題目的題意跟寫法就不太清楚了~ 請各位大大為小弟解惑~~~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.135.25.118
fumizuki:就是算出公式的值... 210.58.156.43 05/30
ssaume:喔喔~不過....是用while系列的下去寫嗎?? 140.135.25.118 05/30
fumizuki:用for 61.222.155.162 05/30
ssaume:喔喔~~不過我們老師還沒教到那內...說不能用.... 140.135.25.118 05/30
fumizuki:那就用while也行呀 61.222.155.162 05/30
ssaume:能教一下嗎??? 因為我實在想不出要怎麼寫..... 140.135.25.118 05/30
Shindo:1037那篇不就是了嗎-_-|||220.139.161.182 05/30
ssaume:驚?! 難道是我誤解題意??? 我以為是輸入幾階...算 140.135.25.118 05/30
ssaume:出到那階的值....S 140.135.25.118 05/30
fumizuki:不過不知道 e^x 跟前一題的 e 有關連嗎@@ 61.222.155.162 05/31
ssaume:如果是照前一位大大所寫的~的確算出來事無限大... 140.135.25.118 05/31
ssaume:這是正確的嗎??? 140.135.25.118 05/31