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
 All Forums
 Origin Forum
 Origin Forum
 Equation Solving

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
kdoyle84 Posted - 11/09/2009 : 12:52:50 PM
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?
1   L A T E S T    R E P L I E S    (Newest First)
fisher_zhang Posted - 11/09/2009 : 10:57:46 PM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000