24小时热门版块排行榜    

查看: 347  |  回复: 1

tony123321

金虫 (正式写手)

[求助] 这样的方程如何求解

方程采取4次手动求解,如下所示,不知道有没有更好的方法?
B=[10 20 30 40];A=[100 150 200 250];alpha_01=3;alpha_02=180-2*alpha_01;

syms x
x=vpasolve(A(1)==(x+2*(x-2*B(1)*tand(alpha_01))/(2*(cosd(alpha_01)+sind(alpha_01)*tand(alpha_01)-tand(alpha_01)))*cosd(alpha_01))*(B(1)-(x-2*B(1)*tand(alpha_01))/(2*(cosd(alpha_01)+sind(alpha_01)*tand(alpha_01)-tand(alpha_01)))+(x-2*B(1)*tand(alpha_01))/(2*(cosd(alpha_01)+sind(alpha_01)*tand(alpha_01)-tand(alpha_01)))*sind(alpha_01))/2+1/2*alpha_02*pi/180*((x-2*B(1)*tand(alpha_01))/(2*(cosd(alpha_01)+sind(alpha_01)*tand(alpha_01)-tand(alpha_01)))).^2-((x-2*B(1)*tand(alpha_01))/(2*(cosd(alpha_01)+sind(alpha_01)*tand(alpha_01)-tand(alpha_01)))).^2*sind(alpha_01)*cosd(alpha_01),x)
aa=double(x)

syms x
x=vpasolve(A(2)==(x+2*(x-2*B(2)*tand(alpha_01))/(2*(cosd(alpha_01)+sind(alpha_01)*tand(alpha_01)-tand(alpha_01)))*cosd(alpha_01))*(B(2)-(x-2*B(2)*tand(alpha_01))/(2*(cosd(alpha_01)+sind(alpha_01)*tand(alpha_01)-tand(alpha_01)))+(x-2*B(2)*tand(alpha_01))/(2*(cosd(alpha_01)+sind(alpha_01)*tand(alpha_01)-tand(alpha_01)))*sind(alpha_01))/2+1/2*alpha_02*pi/180*((x-2*B(2)*tand(alpha_01))/(2*(cosd(alpha_01)+sind(alpha_01)*tand(alpha_01)-tand(alpha_01)))).^2-((x-2*B(2)*tand(alpha_01))/(2*(cosd(alpha_01)+sind(alpha_01)*tand(alpha_01)-tand(alpha_01)))).^2*sind(alpha_01)*cosd(alpha_01),x)
aa=double(x)

.......
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

huang1024rui

金虫 (小有名气)

能用图表示出来么??这样太难看了~

发自小木虫Android客户端
2楼2016-06-08 00:14:27
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 tony123321 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 一志愿山大07化学 332分 四六级已过 本科山东双非 求调剂! +3 不想理你 2026-03-16 3/150 2026-03-21 03:59 by JourneyLucky
[考研] 083200学硕321分一志愿暨南大学求调剂 +3 innocenceF 2026-03-17 3/150 2026-03-21 02:35 by JourneyLucky
[考研] 328求调剂,英语六级551,有科研经历 +4 生物工程调剂 2026-03-17 8/400 2026-03-21 02:12 by JourneyLucky
[考研] 一志愿华中科技大学,080502,354分求调剂 +5 守候夕阳CF 2026-03-18 5/250 2026-03-21 01:06 by JourneyLucky
[考研] 299求调剂 +4 shxchem 2026-03-20 5/250 2026-03-21 00:24 by 星空星月
[考研] 317求调剂 +8 申子申申 2026-03-19 13/650 2026-03-21 00:09 by 刘国森
[考研] 295求调剂 +4 一志愿京区211 2026-03-18 6/300 2026-03-20 23:41 by JourneyLucky
[考研] 材料学求调剂 +4 Stella_Yao 2026-03-20 4/200 2026-03-20 20:28 by ms629
[考研] 一志愿 南京航空航天大学大学 ,080500材料科学与工程学硕 +5 @taotao 2026-03-20 5/250 2026-03-20 20:16 by JourneyLucky
[考研] 环境工程调剂 +9 大可digkids 2026-03-16 9/450 2026-03-20 17:38 by 醉在风里
[考研] 广西大学家禽遗传育种课题组2026年硕士招生(接收计算机专业调剂) +3 123阿标 2026-03-17 3/150 2026-03-20 15:58 by 飞行琦
[考博] 招收博士1-2人 +3 QGZDSYS 2026-03-18 3/150 2026-03-20 11:58 by 呱呱呱呱叫
[考研] 求调剂 +3 暗涌afhb 2026-03-16 3/150 2026-03-20 00:28 by 河南大学校友
[考研] 288求调剂,一志愿华南理工大学071005 +5 ioodiiij 2026-03-17 5/250 2026-03-19 18:22 by zcl123
[考研] 0703化学调剂 +4 18889395102 2026-03-18 4/200 2026-03-19 16:13 by 30660438
[考研] 311求调剂 +6 26研0 2026-03-15 6/300 2026-03-18 14:43 by haxia
[考研] 268求调剂 +6 简单点0 2026-03-17 6/300 2026-03-18 09:04 by 无际的草原
[考研] 材料工程专硕274一志愿211求调剂 +6 薛云鹏 2026-03-15 6/300 2026-03-17 11:05 by 学员h26Tkc
[论文投稿] 有没有大佬发小论文能带我个二作 +3 增锐漏人 2026-03-17 4/200 2026-03-17 09:26 by xs74101122
[考研] 321求调剂 +5 大米饭! 2026-03-15 5/250 2026-03-16 16:33 by houyaoxu
信息提示
请填处理意见