The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Equation Solving
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

kdoyle84

USA
1 Posts

Posted - 11/09/2009 :  12:52:50 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I've just started using Origin, and I wanted to know if there was an easy way to solve self-consistent equations in the program.

For example, I need to find the solutions of x for the equation:

ax=tan(bx)

for given values of a and b. Any suggestions?

fisher_zhang

China
Posts

Posted - 11/09/2009 :  10:57:46 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

In 8.1, you can find the numerical solution in this way:

New a book

1. Initial guess the x range and resolution, for example
col(1)={-10:0.1:10}

2. Write the equation in the form f(x) = 0
col(2)=tan(b*x) - a*x

3. Highlight the second column and use xf "levelcrossing"

Note that the roots were obtained by linear interpolation within each interval, you must specify the resolution by yourself. In 8.2 we may consider to provide a tool that will find roots by using binary search which means that the interval will be divided in half until or the root is found to a present precision.


Fisher
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000