给出到不共线三点的距离,求这个点的坐标、随机生成浮点数
摘要:
给出到不共线三点的距离,求这个点的坐标(公式是用 maple 求的):# include <stdio.h># include <string.h># include <math.h># define TRUE 1# define FALSE 0const double ERR = 0.05;typedef char BOOL;typedef struct { double x; double y;}Point;Point s1, s2, s3; /* station */double d1, d2, d3; /* dista... 阅读全文
posted @ 2012-06-05 17:53 getgoing 阅读(598) 评论(0) 推荐(0) 编辑