- T4_01_Introduccion_VHDL HDL fue diseñ ado en base a los principios de la programación estructurada. La idea es definir la interfaz de un modulo de hardware mientras deja invisible sus detalles internos. La entidad (ENTITY) en VHDL es simplemente la declaración de las entradas y salidas de un modulo mientras que la arquitectura (ARCHITECTURE) es la descripción detallada de la estructura interna del modulo o de su comportamiento.
- floodfill Flood fill by color in opengl
- habernate-Page-Pagination java的habernate 分页设计在jsp页面是实现显示效果
- Dicom viewer C# winform 医学影像信息Dicom图片文件查看器(C# WinForm medical image information Dicom picture file viewer)
- 神奇的种子V053 EA马丁策略
- strained silicon germenium nanostucture useful paper on strained silicon
文件名称:NewTon
介绍说明--下载内容来自于网络,使用问题请自行百度
Newton迭代法,用Newton迭代法求方程,(内附题目)
#include<stdio.h>
#include<math.h>
#define N 100
#define PS 1e-4
#define TA 1e-4
float Newton(float (*f)(float),float(*f1)(float),float x0 )
{
float x1,d=0
int k=0
do
{
x1= x0-f(x0)/f1(x0)
d=(fabs(x1)<1?x1-x0:(x1-x0)/x1)
x0=x1
k++ -Newton iterative method, using Newton iteration method of equation# include <stdio.h># Include <math.h># Define N 100# define PS 1e-4# define TA 1e-4 float Newton (float (* f) (float), float (* f1) (float), float x0) {float x1, d = 0 int k = 0 do {x1 = x0-f (x0)/f1 (x0) d = (fabs (x1) < 1? x1-x0: (x1-x0)/x1) x0 = x1 k++
#include<stdio.h>
#include<math.h>
#define N 100
#define PS 1e-4
#define TA 1e-4
float Newton(float (*f)(float),float(*f1)(float),float x0 )
{
float x1,d=0
int k=0
do
{
x1= x0-f(x0)/f1(x0)
d=(fabs(x1)<1?x1-x0:(x1-x0)/x1)
x0=x1
k++ -Newton iterative method, using Newton iteration method of equation# include <stdio.h># Include <math.h># Define N 100# define PS 1e-4# define TA 1e-4 float Newton (float (* f) (float), float (* f1) (float), float x0) {float x1, d = 0 int k = 0 do {x1 = x0-f (x0)/f1 (x0) d = (fabs (x1) < 1? x1-x0: (x1-x0)/x1) x0 = x1 k++
(系统自动生成,下载前可以参看下载内容)
下载文件列表
newton.c
实验15 Newton迭代法.doc
实验15 Newton迭代法.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.