Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Translate the entire conversation x

Transcendental equation

ptc-6420546
1-Visitor

Transcendental equation

hi,

I want to solve the transcendebtal equation by bisection method or any other numerical method. but i am not able to get the answer. please see my attachment nd help me to solve.

1 REPLY 1
Werner_E
25-Diamond I
(To:ptc-6420546)

Why would you go through the trouble of programming a bisection algorithm yourself when Mathcad offers much better algorithms built-in.

Furthermore I am confused why you think you will get 5 roots in the range [0.1; 30]. You will just get one at approx x=1.879 and the function result will go complex soon after (approx x>1.88919).

1.png

P.S.: You function seem to fail because in ZBRAK you compare an expression which contains a function value f(x) (fc) against 0. This throws an error if f(x) is not real, which is the case for x-values greater than 1.88919.

Announcements

Top Tags