I am trying to produce a worksheet that will give me the two roots of a quadratic equation.

This is what I have:

As you can see, It's not giving me the right answers. What do I do?

Thanks,

Paul

I have been solved a optimization problem by

Hi,

when i tried to solve the following equation, i received ""Warning, solutions may have been lost"":

See attached. I have stared at this long enough to the point I need some FRESH eyes on this. Why does MAPLE return FALSE on the last 2 statements

Write a procedure that determines the solutions of a quadratic equation from inputs a, b and c by using the discriminant and the quadratic formula. The quadratic equation procedure should be able to solve all cases: invalid input, linear case, real and complex roots. The procedure should also plot the given equation.

Question :

Write a procedure that determines the solutions of a quadratic equation from inputs , and by using the discriminant and the quadratic formula.

The quadratic equation procedure should be able to solve all cases: invalid input, linear case, real and complex roots. The procedure should also plot the given equation.

I dont understand how to do this can someone please please do it this for me urgently required.

If I run the below code which finds the optimal portfolio weights given a portfoliotarget return G then I get a nice solution:restart: with(Optimization): with(LinearAlgebra): n := 4: C := 10000: G := .1*C: X := Vector[column]([seq(x[i], i = 1 .. n)]):ER := Vector[column]([0.5e-1, -.20, .15, .30]):Q := Matrix([[0.8e-1, -0.5e-1, -0.5e-1, -0.5e-1], [-0.5e-1, .16, -0.2e-1, -0.2e-1], [-0.5e-1, -0.2e-1, .35, 0.6e-1], [-0.5e-1, -0.2e-1, 0.6e-1, .35]]):

You must be logged into your Facebook account in order to share via Facebook.

Click the button below to share this on Google+. A new window will open.

You must be logged in to your Twitter account in order to share. Click the button below to login (a new window will open.)

Please log-in to your MaplePrimes account.

Wrong Email/Password. Please try again.