Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I've been trying to implement numeric integration by using different methods of Int, for example _d01ajc, but when I use it, the following error comes up:

W := -16*(x - 1/2)*x*(t + 2*w)*(ln((m^2 + w*x*(-1 + x))/m^2)*ln(-1/(w*(t + w)*x^2 - w*(t + w)*x + m^2*t)) + ln(-x*w^2*(-1 + x))*ln((x^2 - x)*w + m^2) + ln(1/m^2)*ln((t + w)*(-1 + x)) + ln(-1/(x*w))*ln(m^2) + dilog(x*w^2*(-1 + x)/(w*(t + w)*x^2 - w*(t + w)*x + m^2*t)) - dilog(x*w*(-1 + x)*(t + w)/(w*(t + w)*x^2 - w*(t + w)*x + m^2*t)))/t^3 + 8*(x - 1/2)*((t + w)*x - t/2)*(-t*(w*x^2 + m^2 - w*x)*(t + w)*ln((x^2 - x)*w + m^2) + w*(x*w*(-1 + x)*(t + w)*ln((t + w)/w) + m^2*t*ln(m^2)))*(2*w*x + t)/(w*(t + w)*(w*(t + w)*x^2 - w*(t + w)*x + m^2*t)*t^3*x) + (16*x^2 - 8*x)/(t*w*(-1 + x)) + (2*t*x + 2*w*x - t - 2*w)*(2*w*x + t - 2*w)*(1 - 2*x)*ln((t*x + (-1 + x)*w)/((-1 + x)*w))/(((-1 + x)^2*w^2 + w*t*x*(-1 + x) + m^2*t)*t^2) + (-1 + 2*x)*(2*m^2 + w*x - w)*(2*w*x^2 + 2*m^2 - 3*w*x + w)*ln(m^2/(m^2 + w*x*(-1 + x)))/(w^2*(-1 + x)^2*((-1 + x)^2*w^2 + w*t*x*(-1 + x) + m^2*t)) + (-1 + 2*x)*(2*m^2 + w*x - w)*(2*w*x^2 + 2*m^2 - 3*w*x + w)*ln(m^2/(m^2 + w*x*(-1 + x)))/(w^2*(-1 + x)^2*(w*(t + w)*x^2 - w*(t + w)*x + m^2*t)) + (2*w*x + t)*((t + w)*x - t/2)*(x - 1/2)*ln(w^4/(t + w)^4)/(t^2*(w*(t + w)*x^2 - w*(t + w)*x + m^2*t)) - 8*(x - 1/2)*((-2 + 2*x)*w + t)*((-1 + x)*w + (x - 1/2)*t)*((t*x + (-1 + x)*w)*w^2*(-1 + x)^2*ln((t*x + (-1 + x)*w)/((-1 + x)*w)) + (-(t*x + (-1 + x)*w)*((x^2 - x)*w + m^2)*ln((x^2 - x)*w + m^2) + ln(m^2)*m^2*w*(-1 + x))*t)/((t*x + (-1 + x)*w)*w*(-1 + x)*t^3*((-1 + x)^2*w^2 + w*t*x*(-1 + x) + m^2*t)) + 16*(x - 1/2)*(ln(1/m^2)*ln((t*x + (-1 + x)*w)*(-1 + x)*w/((-1 + x)^2*w^2 + w*t*x*(-1 + x) + m^2*t)) + ln((x^2 - x)*w + m^2)*ln(1/((-1 + x)^2*w^2 + w*t*x*(-1 + x) + m^2*t)) + ln((-1 + x)^2*w^2)*ln((x^2 - x)*w + m^2) - dilog((t*x + (-1 + x)*w)*(-1 + x)*w/((-1 + x)^2*w^2 + w*t*x*(-1 + x) + m^2*t)) + dilog((-1 + x)^2*w^2/((-1 + x)^2*w^2 + w*t*x*(-1 + x) + m^2*t)))*(t*x + 2*(-1 + x)*w)/t^3

f3 := (mm, ss, tt, ww) -> Int(eval(W, [s = ss, t = tt, w = ww, m = mm]), x = 0 .. 1, _d01ajc)

A3 := evalf(f3(1, 3, -2, -1))

Error, (in evalf/int) number expected for float[8] parameter, got 0.+0.*I

What's wrong?

How is the matrix of the affinity of base the plan of equation x+2*y-z=1, of direction u <1,0,-1>and of ratio 2 determined? Thank you.

restart; with(LinearAlgebra); with(plots); with(SolveTools); eq1 := m1*m2*x^4+(c1*m2+c2*m1+c2*m2)*x^3+(c1*c2+k1*m2+k2*m1+k2*m2)*x^2+(c1*k2+c2*k1)*x+k1*k2

m1*m2*x^4+(c1*m2+c2*m1+c2*m2)*x^3+(c1*c2+k1*m2+k2*m1+k2*m2)*x^2+(c1*k2+c2*k1)*x+k1*k2

(1)

m1 := 2;
m2 := 4;
c1 := 1;
c2 := 0;
k1 := 3;
k2 := 2;

2

 

4

 

1

 

0

 

3

 

2

(2)

eq1

8*x^4+4*x^3+24*x^2+2*x+6

(3)

``

sol1 := evalf(solve(8*x^4+4*x^3+24*x^2+2*x+6 = 0))

-0.2293604281e-1+.5263956354*I, -.2270639572+1.627879522*I, -.2270639572-1.627879522*I, -0.2293604281e-1-.5263956354*I

(4)

assign(sol1)

Error, invalid left hand side in assignment

 

NULL

``

Download complex_numbers.mw

Has anyone come across this artical?

https://jdc.math.uwo.ca/roots/

Massive graphing, they said that this was created partially in the wolfram lanuage. We can't them get a leg up on us Maple code. Help me understand this in our native Maple tounge.

Hi,

I am trying to learn how to apply initial conditions to pdes with maple.  I have figured out how to do it with odes, but when assigning initial values to derivatives, I get weird results.  I have attached my Maple file, with the error, and a link to the document I am using as motivation for my analysis.

Test_1D_Wave_Equation.mw

https://personal.math.ubc.ca/~ward/teaching/m316/lecture21.pdf

Can I specify a unit for a symbol using the Units package, so that when I substitute a value for that symbol into an expression, the units for the value are already known?

Dear all

How can I show using maple that the function g(x,y,z) =f(x,y,z)- 4 2^1/2 is strictly positive

strictly_positive_function.mw

thank you for your help 

cyclebasis.mw contains a computation of a graph on 14 vertices which has a two-cycle.  I was expecting CycleBasis to find this two-cycle, but it does not.  Anybody know why not?

I was also expecting CycleBasis to work on the original directed graph, but it did not, for reasons that I do not understand.

I think the issue is that the writer of this package had a different mental model of what graphs were; I freely admit that I am a novice with regard to graphs.

Comments welcome.

Ive got new "problems" with my math book. This time it is about differentiating like Gottfried Wilhelm Leibniz (https://en.wikipedia.org/wiki/Gottfried_Wilhelm_Leibniz), and his Leibniz notation.  (https://en.wikipedia.org/wiki/Leibniz%27s_notation).

dx/dy. Now that does sound like its just f'(x), of function f(x). But now they wanted something else i cannot produce. I could do the examples, and try to work it out like, but "im here to learn maple, not how to get my hands filthy with ink, and scratch on the paper when i make mistakes"... :P 

It says: Determine the differential that is being asked. 

No matter what i do, there wont be any solution that looks like the one given by the book. 

I would like to be good at this, while a lot of old books do still have the Leibniz notation. So it is eccential to be good at this if you want to really study the origins of math and science. 

Thank you!

Greetings,

The Function

I used to have this kind of code without problem:

myModule := module()
    option package;
    export myFunc;
    # local i;
    myFunc := proc()
        [seq(i, i in 1..10)]
    end proc;
end module;

But after upgrading to the latest version of Maple 2021, I get a warning

Warning, (in myModule:-myFunc) `i` is implicitly declared local |myModule.mpl:5|

I have to uncomment the local i declaration for the warning to go away. Has the behavior of seq changed in Maple 2021?

I have a function with 3 variables fr2, fr3, and fr4. I want to find how this function varies with these variables in such a way that fr2+fr3+fr4 = 0.5.  All three variables are non-negatives. Please help me in generating a sensitivity report as fr2, fr3, and fr4 each varies across 0 to 0.5 in increments of 0.01 subject to their sum is equal to 0.5

Thank you.

The function is fn1 = 1.150000000*10^11*fr3 + 1.150000000*10^11*fr4 - 1.374950000*10^10 - 1.549500000*10^10*fr2

sensitivity_help.mw

How to know the internal procedures of Maple for instance : taylor or laurent ? Thank you.

Dear I have 

Vectors of locations points 

X=[ 1 , 2] ; 

Y =[ 6 , 7 ] 

I would like to point of the point of this grid a vertical bars with different given length...how can I do this using maple or matlab 

how to export my data in sheet excel for this file 

 

Nnew.mw  

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