声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 2239|回复: 1

[mathematica] 请问多项式展开时为什么出现这样的错误提示?

[复制链接]
发表于 2008-4-19 21:34 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
Part::partd:
Part specification x[[1]] is longer than depth of object
Part::partd:
Part specification x[[5]] is longer than depth of object
多项式为:
f1=a*(X[[2]]-X[[1]])+X[[4]]+k*(x[[1]]-e*x[[5]])^3;
其中x[](i=1,2,3,4,5)为五元一次多项式。

[ 本帖最后由 无水1324 于 2008-4-22 11:09 编辑 ]
回复
分享到:

使用道具 举报

发表于 2008-4-22 22:56 | 显示全部楼层
原帖由 Anaiad 于 2008-4-19 21:34 发表
Part::partd:
Part specification x[[1]] is longer than depth of object
Part::partd:
Part specification x[[5]] is longer than depth of object
多项式为:
f1=a*(X[[2]]-X[[1]])+X[[4]]+k*(x[[1]]-e*x[[5 ...


多项式是不是应该这样写?
f1=a*(X[2]-X[1])+X[4]+k*(x[1]-e*x[5])^3;
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-5-3 18:42 , Processed in 0.113987 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表