| 查看: 341 | 回复: 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) ....... |
» 猜你喜欢
退学或坚持读
已经有23人回复
国家基金申请书模板内插入图片不可调整大小?
已经有9人回复
免疫学博士有名额,速联系
已经有14人回复
面上基金申报没有其他的参与者成吗
已经有4人回复
多组分精馏求助
已经有6人回复
huang1024rui
金虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 1061.7
- 红花: 1
- 帖子: 74
- 在线: 20.8小时
- 虫号: 2856391
- 注册: 2013-12-08
- 专业: 医学图像数据处理与分析
2楼2016-06-08 00:14:27













回复此楼