牛拉法 源代码

汇集 牛拉法 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。

收录资源 500 份 全站深度检索
源码文件

%本程序的功能是用牛顿-拉夫逊法进行潮流计算 n=input('请输入节点数:n='); nl=input('请输入支路数:nl='); isb=input('请输入平衡母线节电号:isb='); pr=input('请输入误差精度:pr='); B…

源码文件

%本程序的功能是用牛顿-拉夫逊法进行潮流计算 n=input('请输入节点数:n='); nl=input('请输入支路数:nl='); isb=input('请输入平衡母线节电号:isb='); pr=input('请输入误差精度:pr='); B…

源码文件

syms x1 x2 xk xk2 gk gk2 Gk Gk2 g G i ni zhuan n fx f=x1^2+x2^2+x1*x2; g=jacobian(f); G=jacobian(g); x1=3;x2=-1; gk=subs(g);…

源码文件

/*求函数y=x1^2+3*x2^2-4x1的极小值*/ #include"stdio.h" #include"math.h" #define N 50 /*a[N]表示梯度,b[N][N]表示Hesse矩阵*/ void function(…

源码文件

#include #include #define eps 0.00001 /* 容许误差 */ float f(float x) /* 定义函数f(x) */ { return((-3*x+4)*x-5)*x+6; } float f1…

源码文件

# Microsoft Developer Studio Project File - Name="牛顿法" - Package Owner= # Microsoft Developer Studio Generated Build File, Format…

源码文件

# Microsoft Developer Studio Generated Dependency File, included by 牛顿法.mak .\StdAfx.cpp : \ ".\StdAfx.h"\ ".\牛顿法.cpp" …

源码文件

// 牛顿法.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include"math.h" #include"iostream.…