求解下这个一元二次方程求解过程谢谢拍给照

方程|LOFTER(乐乎) - 让兴趣,更有趣
LOFTER for ipad —— 让兴趣,更有趣
下载移动端
关注最新消息
&nbsp&nbsp被喜欢
&nbsp&nbsp被喜欢
{list posts as post}
{if post.type==1 || post.type == 5}
{if !!post.title}${post.title|escape}{/if}
{if !!post.digest}${post.digest}{/if}
{if post.type==2}
{if post.type == 3}
{if !!post.image}
{if post.type == 4}
{if !!post.image}
{if !!photo.labels && photo.labels.length>0}
{var wrapwidth = photo.ow < 500?photo.ow:500}
{list photo.labels as labs}
{var lbtxtwidth = Math.floor(wrapwidth*(labs.ort==1?labs.x:(100-labs.x))/100)-62}
{if lbtxtwidth>12}
{if !!labs.icon}
{list photos as photo}
{if photo_index==0}{break}{/if}
品牌${make||'-'}
型号${model||'-'}
焦距${focalLength||'-'}
光圈${apertureValue||'-'}
快门速度${exposureTime||'-'}
ISO${isoSpeedRatings||'-'}
曝光补偿${exposureBiasValue||'-'}
镜头${lens||'-'}
{if data.msgRank == 1}{/if}
{if data.askSetting == 1}{/if}
{if defined('posts')&&posts.length>0}
{list posts as post}
{if post_index < 3}
{if post.type == 1 || post.type == 5}
{if !!post.title}${post.title|escape}{/if}
{if !!post.digest}${post.digest}{/if}
{if post.type == 2}
{if post.type == 3}
{if post.type == 4}
{if post.type == 6}
{if drlist.length>0}
更多相似达人:
{list drlist as dr}{if drlist.length === 3 && dr_index === 0}、{/if}{if drlist.length === 3 && dr_index === 1}、{/if}{if drlist.length === 2 && dr_index === 0}、{/if}{/list}
暂无相似达人,
{if defined('posts')&&posts.length>0}
{list posts as post}
{if post.type == 2}
{if post.type == 3}
{if post.type == 4}
{if post.type == 6}
this.p={ currentPage:1,pageNewMode:true,isgooglead3:false,ishotrecompost:false,visitorId:0, first:'',tag:'方程',recommType:'new',recommenderRole:0,offset:20,type:0,isUserEditor:0,};2015意甲回顾:米兰双雄夏窗砸重金
涨知识,原来蚯蚓钓鱼有那么多技巧
2015意甲回顾:尤文上海捧起超级杯
  201...
钓鱼用“盐”会事半功倍,这是钓鱼大师说过的一句
2015意甲回顾:深圳上演米兰德比
  2015...
这名男子冲浪时不幸遭鲨鱼袭击
  大海一...苹果/安卓/wp
积分 595, 距离下一级还需 205 积分
权限: 自定义头衔, 签名中使用图片
道具: 彩虹炫, 涂鸦板, 雷达卡, 热点灯, 金钱卡, 显身卡, 匿名卡, 抢沙发下一级可获得
权限: 隐身
购买后可立即获得
权限: 隐身
道具: 金钱卡, 彩虹炫, 雷达卡, 热点灯, 涂鸦板
开心签到天数: 2 天连续签到: 1 天[LV.1]初来乍到
本帖最后由 shfujim 于
20:59 编辑
2xy + 2λx = 0
x^2 + 2λy = 0
x^2 + y^2 &#8722; 1 = 0
用R解这个方程怎么做呢?先谢谢乐
载入中......
R刚多了一个BB package恰可解你的问题
Title: Solving and Optimizing Large-Scale Nonlinear Systems
Date/Publication:
library(BB)
本帖被以下文库推荐
& |主题: 828, 订阅: 13
学生,很普通的学生
lamda 是已知常数吧!
可以用newton raphson method
求解非线性联立方程
epoh 发表于
lamda 是已知常数吧!
可以用newton raphson method
求解非线性联立方程lamda 是拉格朗日乘子,也是未知的。是用拉格朗日乘子法求最大值的。这个能求么?
学生,很普通的学生
喔,你给的是微分后的方程.
Maximize the objective function : f(x,y)
subject to a constraint g(x,y)=c&&or g(x,y)=&c
matlab有很多范例可参考.
epoh 发表于
喔,你给的是微分后的方程.
Maximize the objective function : f(x,y)
subject to a constraint g(x,y)=c&&or g(x,y)=谢谢,不过我写文章的时候,如果注明是用MATLAB的话,会有版权问题的。尤其是投外文的杂志。我看看那个开源的与MALAB类似的Scilab里面有没有类似的吧。谢谢
学生,很普通的学生
你可考虑free software Octave
Numerical Methods Library就有OPT_LAGRANGE()
[XMIN, LAMBDAMIN, FMIN] = OPT_LAGRANGE(F, GRADF, G, JACG, X0)
computed the minimum of the function FUN subject to`G(X) = 0'
with the lagrange multiplier method.
Function GRADF defines the gradient vector of F.
Function G represents equality-constrained and
function JACG defines its jacobian matrix.
F and G accept a real vector input and return a real
vector. F, GRADF, G and JACG can also be inline object.
Parameters
F evaluated function.
GRADF F's gradient function.
G equality-constrained function : 'G(X) = 0'.
X0 initial point.
XMIN computed solution of min(FUN).
LAMBDAMIN vector of Lagrange multipliers on XMIN.
FX value of FUN(X) with X computed solution.
So fine, thanks a lot!!
学生,很普通的学生
R刚多了一个BB package恰可解你的问题
Title: Solving and Optimizing Large-Scale Nonlinear Systems
Date/Publication:
library(BB)
shfujim&- function(x) {
n &- length(x)
F &- rep(NA, n)
F[1] &- 2*x[1]*x[2]+2*x[3]*x[1]
F[2] &- x[1]^2+2*x[3]*x[2]
F[3] &- x[1]^2+x[2]^2-1
ans &- BBsolve(c(0,0,0), fn=shfujim)& &
#x=x[1]=0.8164965
#y=x[2]=0.5773502
#lambda=x[3]=-0.5773502
热心帮助其他会员
总评分:&论坛币 + 10&
R中没有直接的函数解微分方程吗?
&nbsp&nbsp|
&nbsp&nbsp|
&nbsp&nbsp|
&nbsp&nbsp|
&nbsp&nbsp|
&nbsp&nbsp|
如有投资本站或合作意向,请联系(010-);
邮箱:service@pinggu.org
投诉或不良信息处理:(010-)
论坛法律顾问:王进律师}

我要回帖

更多关于 一元二次方程求解 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信