Items tagged with quadratic quadratic Tagged Items Feed

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

This is what I have:

Maple Worksheet

 

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, I have read the help files, and many posts in MaplePrime. However, I am struggling to understand how to properly extract a number from a list. I would like to extract only the positive, or the maximum solution of a quadratic expression.I have uploaded the .mw file. (1) (2) (3) (4) With no brackets around A it does no work, Error, incorrect number of extra arguments in select If I extract the positive value I get a list, (5...

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.

 

 

This is the Classroom Tips & Techniques article for the May, 2011 Maplesoft Reporter, which, after publication, finds...

If I run the below code which finds the optimal portfolio weights given a portfolio
target 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]]):

Page 1 of 1