看板 FJU-STAT95B 關於我們 聯絡資訊
#include <C:\devcpp\all.h> int main() { int i, j; srand((unsigned)time(NULL)); double D=100.0; double a=0.02,b=0.04,c=0.06,d=0.08; Univar T; Univar S1,S2,S3,S4; for(double t=0;t<10;t=t+0.1) {T.push_back(t); S1.push_back(D*exp(t*a)); S2.push_back(D*exp(t*b)); S3.push_back(D*exp(t*c)); S4.push_back(D*exp(t*d)); } S1.print(2); S2.print(2); S3.print(2); S4.print(2); Matrix O; O.push_back(T); O.push_back(S1); O.push_back(S2); O.push_back(S3); O.push_back(S4); O.T().print(2); O.T().print_to_file( "c:\\devcpp\\cc.dat",3); cin.get(); return 0; } 這是我旁邊的神人教(s8900095566)我的 簡稱(s5566) -- 我喜歡腦殘 我喜歡丁丁 因為我們是 腦殘丁丁北爛喔 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.136.165.154
lia90053:歡迎S5566歸位 11/02 11:46
wen771020: S5566歸位 11/02 11:47
※ 編輯: weiching0323 來自: 140.136.165.154 (11/02 11:48)
tearained: 迎S5566歸位 11/02 11:48
※ 編輯: weiching0323 來自: 60.198.4.71 (11/02 14:08)
s890009:我什麼時候是s5566了 已經4個人滿了呀 11/02 17:24
abidog:小刀!! 我們永遠等你!! 11/02 22:05
timmac:小刀!! 我們永遠等你!! weiching03235566 你少打一個0 11/02 22:37
s890009:賴阿宅阿匹狗便當柳丁 簡稱5566 11/02 23:23
lia90053:蟾蜍!!我們永遠等你!! 11/02 23:25
s890009:本身已有了腦殘丁丁北爛喔團 不想雙棲 嘿嘿 11/02 23:27
lia90053:柳丁也雙棲阿 11/02 23:30
s890009:驚 他好威呀 11/02 23:36
※ 編輯: weiching0323 來自: 60.198.4.71 (11/03 11:43)
weiching0323:只要你有心 人人都可以雙棲 來吧 s5566 11/03 11:50
timmac: 只要你有心 人人都可以雙棲 去吧 s5566 11/03 14:32
s890009: 只要我沒心 人人不能阻止 走吧 s5566 11/03 22:37
s890009:囧 推推齊失敗 11/03 22:38
abidog: 囧 推推齊失敗 11/03 22:54
weiching0323: 推推齊失敗 11/03 23:44
tearained: 推推齊失敗 11/04 23:45
※ 編輯: weiching0323 來自: 140.136.165.66 (11/05 11:04)