cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

use of root() with 3 parameters - how to?

JBlackhole
16-Pearl

use of root() with 3 parameters - how to?

to all

i wnat to use the root() optin to solve a "simple" 2nd order equation. The 1st pass works fine but I now would like to set it up so that root() give me a set of x values for a set of given parameters. Please see attahce dmcad sheet

the equaqtion is as follwos

a(A,B,t)x^2 + b(A,B,t)x + c = 0

I can solve it if I set values for say A and t

Thanks

Regards

JXB

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:JBlackhole)

Turn the call of root into a function with arguments A and t and use that function vectorized. This should do what you are asking for:

1.png

View solution in original post

2 REPLIES 2
Werner_E
25-Diamond I
(To:JBlackhole)

Turn the call of root into a function with arguments A and t and use that function vectorized. This should do what you are asking for:

1.png

Thanks. Much appreciated. Learnt something today!

Announcements

Top Tags