请教一个方程求解问题

10 views
Skip to first unread message

azheng

unread,
Nov 14, 2007, 9:33:09 PM11/14/07
to MathematicaChina
1.99566*Tan[21.7036*x] == 0.811254*Tan[24.3534*x] - 1.7975
应该如何求解呢?请各位指教。

Fanrong Xu

unread,
Nov 15, 2007, 12:31:21 AM11/15/07
to MathematicaChina
Plot[{y = 1.99566*Tan[21.7036*x],
y = 0.811254` Tan[24.3534` x] - 1.7975}, {x, -0.1, 0.1}]


FindRoot[1.99566*Tan[21.7036*x] ==
0.811254*Tan[24.3534*x] - 1.7975, {x, -0.05}]

先画出两个函数的交点,看一下解大致落在哪儿;
然后选取某个值附近的解。


azheng 写道:
> 1.99566*Tan[21.7036*x] == 0.811254*Tan[24.3534*x] - 1.7975
> Ӧ���������أ����λָ�̡�

Fanrong Xu

unread,
Nov 15, 2007, 12:34:34 AM11/15/07
to MathematicaChina
Sorry for the code problem.

Firstly, you can plot to see where these solutions lie.
Secondly, you can find one of the roots near one point you point.

Fanrong Xu 写道:
> Plot[{y = 1.99566*Tan[21.7036*x],
> y = 0.811254` Tan[24.3534` x] - 1.7975}, {x, -0.1, 0.1}]
>
>
> FindRoot[1.99566*Tan[21.7036*x] ==
> 0.811254*Tan[24.3534*x] - 1.7975, {x, -0.05}]
>
> �Ȼ���}����Ľ��㣬��һ�1/2���������Ķ�
> Ȼ��ѡȡij��ֵ����Ľ⡣
>
>
> azheng д�#�
> > 1.99566*Tan[21.7036*x] == 0.811254*Tan[24.3534*x] - 1.7975
> > �0�8�1�7�1�7�1�7�1�7�1�7�1�7�1�7�1�7�1�7�1�5�1�7�1�7�1�7�1�7�ˁ0�8�1�7�0�9�1�7

刘俊成

unread,
May 20, 2008, 6:41:02 PM5/20/08
to Mathemat...@googlegroups.com
你要求哪个区域的解,
你可以先画出这个方程在这个区域的曲线,再求解,x=-0..53那个解是错的,没有到零点

 
在07-11-15,azheng <azh...@gmail.com> 写道:
Reply all
Reply to author
Forward
0 new messages