会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
scian102
博客园
首页
新随笔
联系
订阅
管理
2015年8月25日
线性方程组直接解法——高斯消去法
摘要: 我要被下标搞晕了。越来越觉得写这些没意思了。#include#include#include#define M 50void input(double a[M][M + 1], int n);void output(double x[M], int n);void main(void){ do...
阅读全文
posted @ 2015-08-25 13:05 scian102
阅读(332)
评论(0)
推荐(0)
2015年8月23日
非线性方程求根—newton迭代法
摘要: 以后在这里记下写的代码了。祝我以坚持。牛顿迭代法求非线性方程的根,迭代很简单:xn+1=xn-f(xn)/f'(xn),实现代码也很简单,如下:#include #include#includedouble f(double x);double df(double x);void main(void...
阅读全文
posted @ 2015-08-23 18:16 scian102
阅读(607)
评论(1)
推荐(0)
公告
点击右上角即可分享