Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Wow-Company

    (@wpcalc)

    Hello.

    You can create a calculator that will result in only one line of expression.
    The quadratic equation has several steps for solution

    Thread Starter calc4673

    (@calc4673)

    Hi, the line of code I have tried is as follows:
    (-field_2+Math.sqrt(field_2*field_2 – 4*field_1*field_3))/(2*field_1)

    Could you tell me which one is the one you say?, is because mine does not work.

    Plugin Author Wow-Company

    (@wpcalc)

    Can you send the link to the page with the calculator?

    Thread Starter calc4673

    (@calc4673)

    At the moment I have not published it because it does not work, but, I cannot find the error.

    Plugin Author Wow-Company

    (@wpcalc)

    You put a hyphen instead of a minus sign in the formula. Formula must be:
    (-field_2+Math.sqrt(field_2*field_2 – 4*field_1*field_3))/(2*field_1)

    Thread Starter calc4673

    (@calc4673)

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘I would like to create an ecuation calculator’ is closed to new replies.