Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I am trying to find all real solutions of the system equations 
sol := solve(And(g'(x)=0,g''(x)<>0),x)   assuming real;
I tried

restart; fprime := x-> x^6-(3/2)*x^5+2*x^4+(5/2)*x^3-7*x^2+2:
f := unapply(simplify(int(fprime(x), x)), x):
g := unapply(expand(f(x^2+2*x)), x):
sol := solve(And(g'(x)=0,g''(x)<>0),x)   assuming real;
evalf(sol);

I don't get only real solutions. How can I get only real solutions?


 

restart

with(Statistics)

seq(sum((binomial(2*k, k)/4^k)^d, k = 1 .. infinity), d = [3, 4, 5, 6])

MeijerG([[1], [2, 2, 2]], [[3/2, 3/2, 3/2, 1], []], -1)/Pi^(3/2), MeijerG([[1], [2, 2, 2, 2]], [[3/2, 3/2, 3/2, 3/2, 1], []], -1)/Pi^2, MeijerG([[1], [2, 2, 2, 2, 2]], [[3/2, 3/2, 3/2, 3/2, 3/2, 1], []], -1)/Pi^(5/2), MeijerG([[1], [2, 2, 2, 2, 2, 2]], [[3/2, 3/2, 3/2, 3/2, 3/2, 3/2, 1], []], -1)/Pi^3

(1)

``

``


 

Download sum(binomial_with_higer_dim).mw

 The result does not seem to terminate whem I use evalf([%]).  The result should be like this:

(1/8)hypergeom([1,3/2,3/2,3/2],[2,2,2],1), (1/16)hypergeom([1,3/2,3/2,3/2,3/2],[2,2,2,2],1),(1/32)hypergeom([1,3/2,3/2,3/2,3/2,3/2],[2,2,2,2,2],1), (1/64)hypergeom([1,3/2,3/2,3/2,3/2,3/2,3/2],[2,2,2,2,2,2],1)

Thanks in advance.

 

 

I called an external function for Gauss elimination written in C in Linux. I successfully compiled and used following command in maple worksheet.

mygauss:=define_external('main',LIB="/home/user/Desktop/gauss.so"):

it gave the following output

 

cannot dynamically load executable

###############

The C code is attached gauss1.txt.

 

 gauss1.txt

 

Hello. Found on this forum a program that rolls a cube. Is it possible to supplement the program with notation for vertices (A,B,C,D,A',B',C',D') and so that they move with the cube? Thanks!

cuberoll_(1).mw

n__a := Vector[row](10, [-35., -13., -19., 38., -47., -31., 81., 46., -80., -58.]), Vector[row](10, [36., 76., -74., -63., 87., -88., 25., 9., -92., -94.]), Vector[row](10, [71., 5., 83., 1., -99., 64., 65., 50., -29., -7.]), Vector[row](10, [75., -2., 95., -25., 77., -62., 98., -43., 96., 12.]), Vector[row](10, [47., 5., 25., -95., 8., 4., 51., -67., 89., -53.]), Vector[row](10, [-15., 92., -69., -77., -33., 69., 11., 19., -55., 21.]), Vector[row](10, [-48., 74., 27., -49., 49., -63., 51., 29., -67., -25.]), Vector[row](10, [-38., -24., 16., -24., -63., -87., 95., -12., 77., 40.]), Vector[row](10, [-80., -28., 83., -66., -25., -34., -11., 96., -70., 97.]), Vector[row](10, [48., -63., 81., -28., -1., 64., 34., 93., 13., 43.])

im trying to convert each vector in this list into a set making a list of sets. Also if you know a way to make a list of lists that might be useful

When i run seq(x__i, i = 1 .. 4) i get xi,xi,xi,xi instead of x1,x2,x3,x4.

please help i have no idea why its doing that.

How I can convert attached maple code into series form to the latex format.

I want to convert to this format series form) not for certain M and N.

 

 

Hi, all i am unable to plot the graphs ,can any one help me to overcome the error in plotting the graphs.I am using the maple 13. I am attaching the codes

restart:
with(plots):
with(IntegrationTools):
d1:=0.2:L1:=0.2:L2:=0.2:B1:=0.7:B:=1:beta:=0.01:
d2:=0.6:m:=0.1:k:=0.1: 

h:=z->piecewise( z<=d1,    1,
                z<=d1+L1,   1-(gamma1/(2))*(1 + cos(2*(Pi/L1)*(z-d1-L1/2))), 
                z<=B1-L2/2,  1 ,          
                z<=B1,  1-(gamma2/(2))*(1 + cos(2*(Pi/L2)*(z - B1))),
                z<=B1+L2/2,  1-(gamma2/(2))*(1 + cos(2*(Pi/L2)*(z - B1))),
                 z<=B,    1):
                
A:=(-m^2/4)-(1/(4*k)):
S1:=(h(z)^2)/(4*A)-ln(A*h(z)^2+1)*(1+h(z)^2)/(4*A):
b1:=evalf((1/S1)):               
c1:=evalf(Int(b1,z=0..1)):

plot([seq(eval(c1,gamma2=j),j in[0,0.02,0.06])],gamma1=0.02..0.1,legend = [gamma2 = 0.0, gamma2 = 0.02,gamma2 =0.04],linestyle = [solid,dash,dot],color = [black, black,black],axes=boxed); 
 

Hi. what is reason maple unable to integral in answer of dsolve? when I try to use dsolve for solve my equation in answer of maple there are expressions of integral that isnot calculated

&int;(-625 R^2 ro (-2 cp3 x1 lambdaopt+sin((pi t)/10) cp2+(16 cp2)/5) (-cos((pi t)/10)+cos(2 pi)+((-t/5+4) x1+(8 t)/25-32/5) pi) lambdaopt pi b11 (e)^(-((16+5 sin((pi t)/10)) cp1)/(10 lambdaopt x1))+625 (-R^2 k11 (cos((pi t)/10))^3+k11 R^2 (cos(2 pi)-((t-20) (x1-8/5) pi)/5) (cos((pi t)/10))^2+((32 sin((pi t)/10) R^2 k11)/5+(281 R^2 k11)/25+4 lambdaopt^2 (a11 x1+a13 x3)) cos((pi t)/10)-(32 k11 R^2 (cos(2 pi)-((t-20) (x1-8/5) pi)/5) sin((pi t)/10))/5+(281 (x1-8/5) (R^2 k11+(100 lambdaopt^2 (a11 x1+a13 x3))/281) pi t)/125) x1^2)&DifferentialD;t

Hi,

I'm trying to solve an expression with only one unknown variable, but for some reason solve and fsolve are unable to return a solution.

The expression I'm trying to solve is:

p := k*T*m__hhw*(ln(1+exp(E__fv-E__hh0)/(k*T))+ln(1+exp(E__fv-E__hh1)/(k*T)))/(Pi*h__bar^2*L__z) = 0.3e25

where all variables are predefined and am trying to solve for E__fv. However, when I use solve, I get the error: "Warning, solutions may have been lost", and when I try to use fsolve, it simply returns the expression as an answer and I am unable to find the numerical value for E__fv. Any helps or tips are appreciated.

If it helps, the defined variable values are:

k = 1.3806E-23;

T = 300;

h__bar = 1.05456E-34

L__z = 6E-9

m__hhw = 3.862216E-31;

E__hh0 = 3.012136E-21

E__hh1 = 1.185628E-20

 

A similar expression in the previous line was able to solve correctly and return a numerical value, so I'm not sure why solve/fsolve can't solve this one.

Similar solved expression:

solve(0.3e25 = m__cw*k*T*ln(1+exp(E__fc-E__c0)/(k*T))/(Pi*h__bar^2*L__z), E__fc);
                          -42.88488490
 

Hai, any one can help me to rectify my error

 I have evaluate the codes in maple and got different answer.

restart:
epsilon:=0.2:z:=0.9:m:=10:k:=0.8:
A:=(-m^2/4)-(1/(4*k)):
h(z):=1+epsilon*sin(2*Pi*z):
S1:=(h(z)^2)/(4*A)-ln(A*h(z)^2+1)*(1+h(z)^2)/(4*A):  
g1:=evalf((1/S1));

g1 := 8.821345336-11.12386331*I

but in mathematica i am getting  answer as (27.8647 + 35.2042 I)

ClearAll;
\[Epsilon] = 0.2;
h[z_] = 1 + \[Epsilon]*Sin[2*Pi*z];
m = 10;
k = 0.8;
A = -(m^2/4) - (1/4 k);
S1[z_] = (h[z]^2/4*A) - ((1 + h[z]^2)/4*A)*
    Log[(A*h[z]^2) + 1] /. {z -> 0.9}

 

Hi all, I want to evaluate the integral G2. I am using the evalf command, but maple is unable to evaluate it. What am I missing here?

 

G2 := -.5*(int(Re(-(0.8823529412e-2*(-16.19435640-30.82287308*exp(-.2960360476-(1.*I)*theta)))*exp(.1480180238-(1.*I)*(.5*theta-0.6282080040e-1*ln(-1.*sin(-.3926990818+.5*theta)/sin(.3926990818+.5*theta))))*(-.5*cos(.3926990818+.5*theta)*sin(-.3926990818+.5*theta)+.5*sin(.3926990818+.5*theta)*cos(-.3926990818+.5*theta))/sqrt(-1.*sin(.3926990818+.5*theta)*sin(-.3926990818+.5*theta))-0.1764705882e-1*sqrt(-1.*sin(.3926990818+.5*theta)*sin(-.3926990818+.5*theta))*(1.017602550-3.872635115*exp(-.2960360476-(1.*I)*theta))*exp(.1480180238-(1.*I)*(.5*theta-0.6282080040e-1*ln(-1.*sin(-.3926990818+.5*theta)/sin(.3926990818+.5*theta))))-0.1764705882e-1*sqrt(-1.*sin(.3926990818+.5*theta)*sin(-.3926990818+.5*theta))*(-16.19435640-30.82287308*exp(-.2960360476-(1.*I)*theta))*(-0.6282080040e-1-(0.6282080040e-1*I)*(.5*cos(-.3926990818+.5*theta)/sin(.3926990818+.5*theta)+.5*sin(-.3926990818+.5*theta)*cos(.3926990818+.5*theta)/sin(.3926990818+.5*theta)^2)*sin(.3926990818+.5*theta)/sin(-.3926990818+.5*theta))*exp(.1480180238-(1.*I)*(.5*theta-0.6282080040e-1*ln(-1.*sin(-.3926990818+.5*theta)/sin(.3926990818+.5*theta)))))*(-.5-.5*cos(2.*theta))+.5*Im(-(0.8823529412e-2*(-16.19435640-30.82287308*exp(-.2960360476-(1.*I)*theta)))*exp(.1480180238-(1.*I)*(.5*theta-0.6282080040e-1*ln(-1.*sin(-.3926990818+.5*theta)/sin(.3926990818+.5*theta))))*(-.5*cos(.3926990818+.5*theta)*sin(-.3926990818+.5*theta)+.5*sin(.3926990818+.5*theta)*cos(-.3926990818+.5*theta))/sqrt(-1.*sin(.3926990818+.5*theta)*sin(-.3926990818+.5*theta))-0.1764705882e-1*sqrt(-1.*sin(.3926990818+.5*theta)*sin(-.3926990818+.5*theta))*(1.017602550-3.872635115*exp(-.2960360476-(1.*I)*theta))*exp(.1480180238-(1.*I)*(.5*theta-0.6282080040e-1*ln(-1.*sin(-.3926990818+.5*theta)/sin(.3926990818+.5*theta))))-0.1764705882e-1*sqrt(-1.*sin(.3926990818+.5*theta)*sin(-.3926990818+.5*theta))*(-16.19435640-30.82287308*exp(-.2960360476-(1.*I)*theta))*(-0.6282080040e-1-(0.6282080040e-1*I)*(.5*cos(-.3926990818+.5*theta)/sin(.3926990818+.5*theta)+.5*sin(-.3926990818+.5*theta)*cos(.3926990818+.5*theta)/sin(.3926990818+.5*theta)^2)*sin(.3926990818+.5*theta)/sin(-.3926990818+.5*theta))*exp(.1480180238-(1.*I)*(.5*theta-0.6282080040e-1*ln(-1.*sin(-.3926990818+.5*theta)/sin(.3926990818+.5*theta)))))*sin(2.*theta), theta = 0. .. .7853981635))

Hello, and thank you for your time!
I can´t seem to find the way to simplify the result of this vector´s norm. I need to find the final value of it.
Any idea to do it simpler?

I use indices of Table

6,6,3,3,3

but it return 3,6

how to keep [3,3,3,6,6]?

any other method for indices?

any non hash table which map value to value?

Why doesn't

f:=ln(s + 2)^2 + 2*polylog(2, -1 - s) + 2*polylog(2, (1 + s)/(s + 2))

simplify to zero assuming s>0?

First 543 544 545 546 547 548 549 Last Page 545 of 2097