DJJerome1976

385 Reputation

12 Badges

12 years, 275 days

MaplePrimes Activity


These are questions asked by DJJerome1976

Why does the iscont( ) function declare that the square root function is continous over Riscont_error.mw
 

iscont(sqrt(x), x = -infinity .. infinity)

true

(1)

``


 

Download iscont_error.mw

 

I am able to generate random polynomials with non-zero coefficents, and define sets of all the positive divisors of the leading coefficient and the constant terms. My question is this, how may I apply the rational zeros theorem to generate the set of all possible rational zeros of the polynomial. I basically need to form all the possible quotients (positive and negative) with numerator in one set and denominator in the other set, ignoring duplicates. The attached worksheet has what I've done so far.rational_zeros.mw
 

attempt := 1; while attempt > 0 do q := randpoly(x, coeffs = rand(-9 .. 9), degree = 3, dense); if nops(q) = 4 then attempt := -2 end if; attempt := attempt+1 end do; q

5*x^3+3*x^2-4*x-8

(1)

NumberTheory[Divisors](coeff(q, x, 3))

{1, 5}

(2)

NumberTheory[Divisors](coeff(q, x, 0))

{1, 2, 4, 8}

(3)

``


 

Download rational_zeros.mw

 

I am generating a lot of random graphs in Maple, and I need to generate the LaTeX code for these graphs. It has been working very well, until now, when I got to weighted graphs. The LaTeX code does not create the weights. I know I can modify the code to add the weights, but my question is two-fold: why aren't the weights automatically generated? is it possible to have the weight automatically generated, how? Nothing in the documentation appears to address these issues.

 

An example of what I attempting to do is in the attached worksheet.

Thanks!

graph.mw

Hi,

I use the plots:-shadebetween( ) command quite a bit to visualize volume under a surface over a planar rectangular region. Is there a way, using this same command, to see said volume over a non-rectangular region? For example, the region bounded above by z = x^2 + y^2, having a triangle base 0<=x<=1, 0<=y<=x. If this command does not allow for this, is there some other solution?

Thanks!

How do I get Maple to reduce/simplify the following difference quotient to its lowest terms? Basically I need Maple to rationalize the numerator. Any suggestions on how to do this?

f := proc (x) options operator, arrow; sqrt(2*x+1) end proc

proc (x) options operator, arrow; sqrt(2*x+1) end proc

(1)

expand((f(x+h)-f(x))/h)

(2*x+2*h+1)^(1/2)/h-(2*x+1)^(1/2)/h

(2)

simplify((f(x+h)-f(x))/h)

((2*x+2*h+1)^(1/2)-(2*x+1)^(1/2))/h

(3)

rationalize((f(x+h)-f(x))/h)

((2*x+2*h+1)^(1/2)-(2*x+1)^(1/2))/h

(4)

``


 

Download rationalize.mw

1 2 3 4 5 6 7 Last Page 2 of 11