總網頁瀏覽量

顯示具有 我的dev c程式 標籤的文章。 顯示所有文章
顯示具有 我的dev c程式 標籤的文章。 顯示所有文章

2018年5月10日 星期四

我所寫過的dev c++程式執行檔~~

Runge-Kutta Method 解ODE
https://drive.google.com/file/d/0B03tzGyNUd6RcXhJVGJNbFZvajQ/view?usp=sharing

n階水仙花數:
https://drive.google.com/file/d/0B03tzGyNUd6RRVI5OTVtVlY3Yjg/view?usp=sharing

n個正整數找最大公因數:
https://drive.google.com/file/d/0B03tzGyNUd6RVlZQWHV6TzNPOGc/view?usp=sharing

n個數求標準差:
https://drive.google.com/file/d/0B03tzGyNUd6RRklUWFRfcGM5MDg/view?usp=sharing

n筆資料求相關係數:
https://drive.google.com/file/d/0B03tzGyNUd6RM0k1VlhTYWROVnM/view?usp=sharing

Lagrange 插值多項式(指標):
https://drive.google.com/file/d/0B03tzGyNUd6RQXVEZnlUcDBWdEU/view?usp=sharing

Lagrange 插值多項式(陣列):
https://drive.google.com/file/d/0B03tzGyNUd6ROE1xd2E1MHRXM0E/view?usp=sharing

Lagrange 插值多項式圖形:
https://drive.google.com/file/d/0B03tzGyNUd6RYndqVXU5X1ZtUDQ/view?usp=sharing

字元的所有排列:
https://drive.google.com/file/d/0B03tzGyNUd6RT3VXSlB4RkdLcUk/view?usp=sharing

找完全數:
https://drive.google.com/file/d/0B03tzGyNUd6RNENjOC1NWXZXN28/view?usp=sharing

數字位制轉換:
https://drive.google.com/file/d/0B03tzGyNUd6RWnVlNU51bFF3VVE/view?usp=sharing

數字顛倒:
https://drive.google.com/file/d/0B03tzGyNUd6RLURhcXhUcFlGMUU/view?usp=sharing

泡沫排序法:
https://drive.google.com/file/d/0B03tzGyNUd6RU0taZDBmdzM1NjQ/view?usp=sharing

解一元二、三次方程式:
https://drive.google.com/file/d/0B03tzGyNUd6RMXNCLXI1U0JaVHc/view?usp=sharing

海龍公式:
https://drive.google.com/file/d/0B03tzGyNUd6RdFZCUDZKUVZ2Qk0/view?usp=sharing

動態正弦圖形:
https://drive.google.com/file/d/0B03tzGyNUd6RODNoN3I1eW5XNDg/view?usp=sharing

大階乘計算:
https://drive.google.com/file/d/0B03tzGyNUd6RdFZaMFhpVkswTTQ/view?usp=sharing















2017年6月6日 星期二

2017年5月11日 星期四

海龍公式

輸入三角形的三邊長,可判斷是否可構成三角形,若是,可得三角形面積…

執行檔: https://drive.google.com/file/d/0B03tzGyNUd6RdFZCUDZKUVZ2Qk0/view?usp=sharing

程式碼:
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define area(s,a,b,c) (double)s*(s-a)*(s-b)*(s-c)
int main(int argc, char** argv)
 {
float a,b,c;
printf(" Please input the sides of the triangle ==>");
scanf("%f  %f  %f",&a,&b,&c);
if((area(0.5*(a+b+c),a,b,c))<=0)
printf("It is not a triangle\n");
else
printf("Area of triangle = %f\n",pow(area(0.5*(a+b+c),a,b,c),0.5));
system("pause");
return 0;
}