Skip to main content
3-Newcomer
Jul 8, 2026 9:57 PM UTC
Solved

use the result of the quadratic function

I would like to use the result of a quadratic function for another mathematical operation. Example: F(x)=4x^2+x-3 gives the results -1.0 and 0.75. I would like to use the value 0.75 for another operation. Please give me some tips on how to write this in Mathcad.

Werner_E
Werner_EAnswer
25-Diamond I
Jul 9, 2026 7:35 AM UTC

In case you are interested in the positive solution only you could use the “assume, x>0” modifier and assign the result a variable (and you may use “x” as variable name or anything else):

But you don’t need to use Primes symbolics. Alternatively you may use the “root” function or a solve block with “find”.

You may use the root function by providing a meaningful interval for the solution

or by providing a guess value (a negative guess will give you the result -1)

You cannot add an additional constraint if you use the “root” function, but you can if you use a solve block:

Note that this examples were done in legacy Mathcad 15 and a solve block looks quite different in Prime (“Given” is not needed and you have to insert the solve block like a separate component (Menu: Math - Solve block, or Ctrl+7)

3 replies

ttokoro
21-Topaz I
Jul 8, 2026 10:19 PM UTC

 

Translate
t.t.
Werner_E
Werner_E25-Diamond IAnswer
25-Diamond I
Jul 9, 2026 7:35 AM UTC

In case you are interested in the positive solution only you could use the “assume, x>0” modifier and assign the result a variable (and you may use “x” as variable name or anything else):

But you don’t need to use Primes symbolics. Alternatively you may use the “root” function or a solve block with “find”.

You may use the root function by providing a meaningful interval for the solution

or by providing a guess value (a negative guess will give you the result -1)

You cannot add an additional constraint if you use the “root” function, but you can if you use a solve block:

Note that this examples were done in legacy Mathcad 15 and a solve block looks quite different in Prime (“Given” is not needed and you have to insert the solve block like a separate component (Menu: Math - Solve block, or Ctrl+7)

Translate
TomaszSz3-NewcomerAuthor
3-Newcomer
Jul 11, 2026 7:59 AM UTC

Thanks a lot for the help, now everything is clear

Translate