MaplePrimes Questions

Search Questions:

How to make maple sheet background transparent?

and change word color ?

 

A simple (?)  int and too many levels of recursion

 

J := Int(cos(2*x)/(1+2*sin(3*x)^2), x = 0 .. Pi);

Int(cos(2*x)/(1+2*sin(3*x)^2), x = 0 .. Pi)

(1)

evalf[30](J);

-0.321451052376028387436461558651e-32

(2)

value(J);

Error, (in csgn) too many levels of recursion

 

 

 

The workaround I know (for J = 0) it is not very simple.
Can you find an easy one?

 

 

Download int-too-many-levels-of-recursion.mw

how can the graphic as .EPS

f(x,y)=sin(x)*cos(x) , -1<x,y<1

Hello again, I posted a thread here earlier and received some great responses. I've made some progress in Maple since then but once again I've ended up on a question where I am completely stuck. I am only meant to solve this one in maple as the answer is written below the question. The question is:

I realise this is alot to ask for but I'm studying from afar and I don't have as many options for help as other students at the moment. I have managed to solve a), and I know how to solve b) the traditional way (pen and paper), but I have no idea how to do it in maple. My solution for a) is attached below. c) and d) strictly rely on the answer from b) so I'd greatly appreciate if I could have some help with it so I atleast could attempt the others on my own. This is the final question I have so once I'm done with this I'll pretty much be a master Maple... or not.. :P

I have commented the maple document so it is easier to understand what I've done and what I want help with. Also, I very much apologise if something that I write don't make sense, English is not my native language.

 

Linear-Algebra-Transformations.mw
 

restart

with(LinearAlgebra)

 

(1)

NULL

A1 := `<|>`(`<,>`(-1, 0, 0), `<,>`(0, -1, 0), `<,>`(0, 0, 1))

Matrix(%id = 18446746871508175558)

(2)

A2 := `<|>`(`<,>`(cos(`&theta;__2`), 0, sin(`&theta;__2`)), `<,>`(0, 1, 0), `<,>`(-sin(`&theta;__2`), 0, cos(`&theta;__2`)))

Matrix(%id = 18446746871401683174)

(3)

A3 := `<|>`(`<,>`(1, 0, 0), `<,>`(0, cos(`&theta;__3`), sin(`&theta;__3`)), `<,>`(0, -sin(`&theta;__3`), cos(`&theta;__3`)))

Matrix(%id = 18446746871463678670)

(4)

NULL

A := A1.A2.A3

Matrix(%id = 18446746871403608414)

(5)

NULL

"#`How to define domain of  theta__2` and `theta__3` in maple to 0<=theta<=Pi"? ""

"#`How to solve angles ``theta__2` and `theta__3` as such that T: (1,2,0)  implies  (0,-1,2)"?  How to find T(0,-1,2)?""

Download Linear-Algebra-Transformations.mw

 

 

Suppose that we want to solve second order a PDE by separation of variables method.

Let solution is Summation(X(x).T(t)),

Let X(x):= nPix/l;

And we want to find T(t) by numerical methods. After finding T(t) by numerical methods,

How to differentiate to Summation(X(x).T(t)) with respect to t?   

Briefly; I mean that

How to find derivative of u(t) after finding numerically as follows?

 

restart:
ode:=diff(u(t),t,t)+diff(u(t),t)-6*u(t)=0:
ICs:=u(0)=1,D(u)(0)=0:
dsolve({ode,ICs},numeric);

 

I am using the Jeffery's prior for Binomial models, i.e. a beta prior distribution of beta(0.5, 0.5).

If we see n failure free trails, it is easy to know the posterior distriution is beta(0.5, 0.5+n).

Now I want to solve (plot..actually) the required n for specifced posterior confidence level and a bound.

I am using maple sources code as in the picture. But it takes very long time to plot n, given c=0.95, p=10^(-10)..10^(-7). Any idea to speed up the plots? Thanks!

 

 

Hello, I just started working in Maple and I am struggling with a question that I found in my book. The question goes as follows:

Consider the set of vectors T = {v1, v2, v3​​​​, v4} in ℝwith

v= (2,5,-2,0), v2 = (-2,-4,b,4), v3 = (-1,2,-2,-5), v= (b,2,5,3)

Find all values of b, such that T is a linearly independent set

I am supposed to first solve it by hand and then in maple. I can solve it by hand but I have no clue how to do it in maple.The only thing I've done so far is create a matrix that contains the vectors in the set S as column entries.

I know that the columns of A are linearly independent if  det A ≠ 0. This is where my near non-existent knowledge in Maple stops me...

The answer is for all {2}

I appreciate any tips...

 

 

Hi maple users

I'm about to do an assignment on the Joukowski transformation, where I have modelled and airfoil resembling the NACA-64015 airfoil. The parameters of the circle in z-plane are as follows: r=1.1241, x=-0.1241, y=0.0, where r is the radius of the circle, and x and y is the parameters used to offset the center of the circle. The problem is that I can't seem to plot the airfoil with contuours showing the fluid flow. I would therefore like to know if any of you guys has solved this before? Any help is much appreciated.

I have a function as below,


 

``

restart

II := 11:

Wij := Matrix(12, 12, {(1, 1) = -.745909803077121, (1, 2) = -0.674461080069867e-2, (1, 3) = .834708547865408, (1, 4) = 0.877385723822038e-2, (1, 5) = -0.908081081472752e-1, (1, 6) = -0.239340836231797e-2, (1, 7) = 0.191800718112554e-2, (1, 8) = 0.418141771959862e-3, (1, 9) = 0.146623811902983e-3, (1, 10) = -0.588304624666211e-4, (1, 11) = -0.556596641532947e-4, (1, 12) = 0.483545553955535e-5, (2, 1) = -0.150780560642874e-2, (2, 2) = 0.867791918452209e-3, (2, 3) = 0.153733767594070e-2, (2, 4) = -0.204845456630398e-1, (2, 5) = -0.637707566405370e-4, (2, 6) = 0.212481474445345e-1, (2, 7) = 0.230866935460358e-4, (2, 8) = -0.263384023057254e-2, (2, 9) = 0.173129262456175e-4, (2, 10) = 0.145986418012667e-2, (2, 11) = -0.615768525233225e-5, (2, 12) = -0.455559328816086e-3, (3, 1) = 1.07234104621714, (3, 2) = 0.971025800610391e-2, (3, 3) = -1.19283486996676, (3, 4) = -0.126396150015806e-1, (3, 5) = .118988853710128, (3, 6) = 0.340933797889320e-2, (3, 7) = 0.190278053641238e-2, (3, 8) = -0.565664886428382e-3, (3, 9) = -0.503156502649439e-3, (3, 10) = 0.979522657647879e-4, (3, 11) = 0.113002768409814e-3, (3, 12) = -0.121533604250274e-4, (4, 1) = 0.245302677746526e-2, (4, 2) = 0.611598278493220e-3, (4, 3) = -0.251651574609684e-2, (4, 4) = 0.278857618849383e-1, (4, 5) = 0.108022265014592e-3, (4, 6) = -0.320168363280661e-1, (4, 7) = -0.325097140040140e-4, (4, 8) = 0.480517189034762e-2, (4, 9) = -0.193985210422571e-4, (4, 10) = -0.190626072415250e-2, (4, 11) = 0.739266431705442e-5, (4, 12) = 0.619688407885468e-3, (5, 1) = -.332680012459335, (5, 2) = -0.308899427286697e-2, (5, 3) = .359841697913305, (5, 4) = 0.403401520601850e-2, (5, 5) = -0.200704409346196e-1, (5, 6) = -0.104338164548124e-2, (5, 7) = -0.748747318317741e-2, (5, 8) = 0.123603846422314e-3, (5, 9) = 0.587068975361258e-3, (5, 10) = -0.290076105262677e-4, (5, 11) = -0.191603816451559e-3, (5, 12) = 0.373388286597686e-5, (6, 1) = -0.103361884660837e-2, (6, 2) = -0.295276339713243e-2, (6, 3) = 0.108951918505810e-2, (6, 4) = -0.479183265920926e-2, (6, 5) = -0.592008998858512e-4, (6, 6) = 0.102437161326541e-1, (6, 7) = 0.859907872385912e-5, (6, 8) = -0.266521683446180e-2, (6, 9) = -0.383709478639487e-5, (6, 10) = 0.266632726737390e-3, (6, 11) = -0.148469080898987e-5, (6, 12) = -0.101665157432172e-3, (7, 1) = 0.703379342372258e-2, (7, 2) = 0.176251183163216e-3, (7, 3) = -0.145630485079540e-2, (7, 4) = -0.233067786529769e-3, (7, 5) = -0.922702754264408e-2, (7, 6) = 0.364384299428906e-4, (7, 7) = 0.417281143846606e-2, (7, 8) = 0.324111696921334e-4, (7, 9) = -0.484660014401307e-3, (7, 10) = -0.128619131156994e-4, (7, 11) = -0.412616528382663e-4, (7, 12) = 0.7982985444e-6, (8, 1) = 0.974187082179976e-4, (8, 2) = 0.155548383221531e-2, (8, 3) = -0.123838922170996e-3, (8, 4) = -0.249773787243565e-2, (8, 5) = 0.221867864063737e-4, (8, 6) = 0.480516696280202e-3, (8, 7) = -0.359606407557896e-5, (8, 8) = 0.433976774887701e-3, (8, 9) = 0.811301081325245e-5, (8, 10) = 0.727673884033783e-4, (8, 11) = -0.3022512840e-6, (8, 12) = -0.468064718553966e-4, (9, 1) = -0.682570264341669e-3, (9, 2) = -0.587007804372093e-4, (9, 3) = -0.666643577308233e-3, (9, 4) = 0.662778988863377e-4, (9, 5) = 0.125271290023062e-2, (9, 6) = -0.232225466973706e-5, (9, 7) = -0.410694230883052e-3, (9, 8) = -0.106713819648935e-4, (9, 9) = 0.366616746138017e-3, (9, 10) = 0.217010277855600e-5, (9, 11) = 0.135713097667273e-3, (9, 12) = 0.320410261333838e-5, (10, 1) = -0.101818162719231e-4, (10, 2) = -0.157599695320146e-3, (10, 3) = 0.929732652373664e-5, (10, 4) = -0.189234110745728e-3, (10, 5) = -0.859354584213451e-5, (10, 6) = 0.214578509593470e-4, (10, 7) = 0.613328774334630e-5, (10, 8) = 0.117712820070324e-3, (10, 9) = -0.213534503887478e-5, (10, 10) = 0.179089799811260e-3, (10, 11) = 0.546912773241878e-5, (10, 12) = 0.273197376236470e-4, (11, 1) = -0.108150650095191e-3, (11, 2) = 0.568807678432329e-5, (11, 3) = 0.416808900313591e-3, (11, 4) = -0.132889420052041e-5, (11, 5) = -0.136041936047118e-3, (11, 6) = -0.673784027004257e-5, (11, 7) = -0.942090825967484e-4, (11, 8) = 0.222185688977502e-5, (11, 9) = -0.113443667198581e-3, (11, 10) = 0.6962003263e-6, (11, 11) = 0.361765818744130e-4, (11, 12) = -0.5344899574e-6, (12, 1) = 0.112445517997156e-5, (12, 2) = 0.741957037817598e-4, (12, 3) = 0.420901487126838e-5, (12, 4) = 0.763065573748303e-4, (12, 5) = 0.136237864072227e-5, (12, 6) = 0.239279022456648e-4, (12, 7) = -0.171222080223248e-5, (12, 8) = -0.577109791933568e-4, (12, 9) = -0.3869218336e-7, (12, 10) = -0.715889637469861e-4, (12, 11) = -0.491358853466192e-5, (12, 12) = -0.419960052327950e-4})

Wij := Matrix(12, 12, {(1, 1) = -.745909803077121, (1, 2) = -0.674461080069867e-2, (1, 3) = .834708547865408, (1, 4) = 0.877385723822038e-2, (1, 5) = -0.908081081472752e-1, (1, 6) = -0.239340836231797e-2, (1, 7) = 0.191800718112554e-2, (1, 8) = 0.418141771959862e-3, (1, 9) = 0.146623811902983e-3, (1, 10) = -0.588304624666211e-4, (1, 11) = -0.556596641532947e-4, (1, 12) = 0.483545553955535e-5, (2, 1) = -0.150780560642874e-2, (2, 2) = 0.867791918452209e-3, (2, 3) = 0.153733767594070e-2, (2, 4) = -0.204845456630398e-1, (2, 5) = -0.637707566405370e-4, (2, 6) = 0.212481474445345e-1, (2, 7) = 0.230866935460358e-4, (2, 8) = -0.263384023057254e-2, (2, 9) = 0.173129262456175e-4, (2, 10) = 0.145986418012667e-2, (2, 11) = -0.615768525233225e-5, (2, 12) = -0.455559328816086e-3, (3, 1) = 1.07234104621714, (3, 2) = 0.971025800610391e-2, (3, 3) = -1.19283486996676, (3, 4) = -0.126396150015806e-1, (3, 5) = .118988853710128, (3, 6) = 0.340933797889320e-2, (3, 7) = 0.190278053641238e-2, (3, 8) = -0.565664886428382e-3, (3, 9) = -0.503156502649439e-3, (3, 10) = 0.979522657647879e-4, (3, 11) = 0.113002768409814e-3, (3, 12) = -0.121533604250274e-4, (4, 1) = 0.245302677746526e-2, (4, 2) = 0.611598278493220e-3, (4, 3) = -0.251651574609684e-2, (4, 4) = 0.278857618849383e-1, (4, 5) = 0.108022265014592e-3, (4, 6) = -0.320168363280661e-1, (4, 7) = -0.325097140040140e-4, (4, 8) = 0.480517189034762e-2, (4, 9) = -0.193985210422571e-4, (4, 10) = -0.190626072415250e-2, (4, 11) = 0.739266431705442e-5, (4, 12) = 0.619688407885468e-3, (5, 1) = -.332680012459335, (5, 2) = -0.308899427286697e-2, (5, 3) = .359841697913305, (5, 4) = 0.403401520601850e-2, (5, 5) = -0.200704409346196e-1, (5, 6) = -0.104338164548124e-2, (5, 7) = -0.748747318317741e-2, (5, 8) = 0.123603846422314e-3, (5, 9) = 0.587068975361258e-3, (5, 10) = -0.290076105262677e-4, (5, 11) = -0.191603816451559e-3, (5, 12) = 0.373388286597686e-5, (6, 1) = -0.103361884660837e-2, (6, 2) = -0.295276339713243e-2, (6, 3) = 0.108951918505810e-2, (6, 4) = -0.479183265920926e-2, (6, 5) = -0.592008998858512e-4, (6, 6) = 0.102437161326541e-1, (6, 7) = 0.859907872385912e-5, (6, 8) = -0.266521683446180e-2, (6, 9) = -0.383709478639487e-5, (6, 10) = 0.266632726737390e-3, (6, 11) = -0.148469080898987e-5, (6, 12) = -0.101665157432172e-3, (7, 1) = 0.703379342372258e-2, (7, 2) = 0.176251183163216e-3, (7, 3) = -0.145630485079540e-2, (7, 4) = -0.233067786529769e-3, (7, 5) = -0.922702754264408e-2, (7, 6) = 0.364384299428906e-4, (7, 7) = 0.417281143846606e-2, (7, 8) = 0.324111696921334e-4, (7, 9) = -0.484660014401307e-3, (7, 10) = -0.128619131156994e-4, (7, 11) = -0.412616528382663e-4, (7, 12) = 0.798298544439708e-6, (8, 1) = 0.974187082179976e-4, (8, 2) = 0.155548383221531e-2, (8, 3) = -0.123838922170996e-3, (8, 4) = -0.249773787243565e-2, (8, 5) = 0.221867864063737e-4, (8, 6) = 0.480516696280202e-3, (8, 7) = -0.359606407557896e-5, (8, 8) = 0.433976774887701e-3, (8, 9) = 0.811301081325245e-5, (8, 10) = 0.727673884033783e-4, (8, 11) = -0.302251283982269e-6, (8, 12) = -0.468064718553966e-4, (9, 1) = -0.682570264341669e-3, (9, 2) = -0.587007804372093e-4, (9, 3) = -0.666643577308233e-3, (9, 4) = 0.662778988863377e-4, (9, 5) = 0.125271290023062e-2, (9, 6) = -0.232225466973706e-5, (9, 7) = -0.410694230883052e-3, (9, 8) = -0.106713819648935e-4, (9, 9) = 0.366616746138017e-3, (9, 10) = 0.217010277855600e-5, (9, 11) = 0.135713097667273e-3, (9, 12) = 0.320410261333838e-5, (10, 1) = -0.101818162719231e-4, (10, 2) = -0.157599695320146e-3, (10, 3) = 0.929732652373664e-5, (10, 4) = -0.189234110745728e-3, (10, 5) = -0.859354584213451e-5, (10, 6) = 0.214578509593470e-4, (10, 7) = 0.613328774334630e-5, (10, 8) = 0.117712820070324e-3, (10, 9) = -0.213534503887478e-5, (10, 10) = 0.179089799811260e-3, (10, 11) = 0.546912773241878e-5, (10, 12) = 0.273197376236470e-4, (11, 1) = -0.108150650095191e-3, (11, 2) = 0.568807678432329e-5, (11, 3) = 0.416808900313591e-3, (11, 4) = -0.132889420052041e-5, (11, 5) = -0.136041936047118e-3, (11, 6) = -0.673784027004257e-5, (11, 7) = -0.942090825967484e-4, (11, 8) = 0.222185688977502e-5, (11, 9) = -0.113443667198581e-3, (11, 10) = 0.696200326268231e-6, (11, 11) = 0.361765818744130e-4, (11, 12) = -0.534489957398908e-6, (12, 1) = 0.112445517997156e-5, (12, 2) = 0.741957037817598e-4, (12, 3) = 0.420901487126838e-5, (12, 4) = 0.763065573748303e-4, (12, 5) = 0.136237864072227e-5, (12, 6) = 0.239279022456648e-4, (12, 7) = -0.171222080223248e-5, (12, 8) = -0.577109791933568e-4, (12, 9) = -0.386921833637950e-7, (12, 10) = -0.715889637469861e-4, (12, 11) = -0.491358853466192e-5, (12, 12) = -0.419960052327950e-4})

(1)

Wxy1 := add(add(h*Wij[i+1, j+1]*LegendreP(i, Zeta)*LegendreP(j, eta), i = 0 .. II), j = 0 .. JJ):

Wxy[1] := simplify(Wxy1):

Plt := plot3d(Wxy[1], Zeta = -1 .. 1, eta = -1 .. 1)

 

``

``

``


 

Download Quesions.mw

How I can normalize it in range [0,1]

Hello

I have problem to calculate a numerical integration. I guess, I can't use integration cammands correctly or singularity is the problem.
The equation has a singularity at y=0 (exp(1E-9*I*x/y)). The limits are semi_infinite.
integration:

f1 := (-(1.671130827*10^(-21)*I)*((0.6132469529e-1-.5253537767*I)*x^3+(.2894208344-2.479398027*I)*y*x^2+(0.1107017247e-1+(-.2377238011-0.2774956673e-1*I)*y^2)*x+(-.1167302837+.9999999999*I)*y^3+(0.2912028092e-1-.2494663781*I)*y)*exp(-1.732070784*10^(-15)*x*y)*((-0.6132469529e-1-.5253537767*I)*x^3+(.3115611798+2.669068985*I)*y*x^2+(-0.1107017247e-1+(-.3699321954+0.4318229002e-1*I)*y^2)*x+(.1455017102+1.246477826*I)*y^3+(0.2512356422e-1+.2152274756*I)*y)*exp(1.732070784*10^(-15)*x*y)*exp(-2.178669712*10^(-15)*y^2-3.534838336*10^(-16)*x^2+(1.000000000*10^(-9)*I)*x/y)/x)*y:

evalf(Int(f1,y=0..infinity));



Thank you
Test4_MaplePrimes.mw

 




 

I have two list in which I need to substitute variables from on elist with variables in other list in an expression.

rootElements := [[a, Integer, c, Integer, -k*a, b], [Integer, c, a, Integer, b, -k*a], [Integer, a, b, -k*a, c, Integer], [Integer, a, Integer, c, -k*a, b]];

list1 := [[a[maximum], 0, c[maximum], 0, (-k*a)[minimum], b[minimum]], [0, c[minimum], a[maximum], 0, b[maximum], (-k*a)[maximum]], [0, a[minimum], b[maximum], (-k*a)[maximum], c[maximum], 0], [0, a[minimum], 0, c[minimum], (-k*a)[minimum], b[minimum]]]


let the term be

term :=a*c/(k*a+b);


Terms := seq(applyrule([seq(rootElements[i][j] = list1[i][j], j = 1 .. nops(list1[i]))], term), i = 1 .. nops(list1));

my outputs  are

a[maximum]*c[maximum]/(k*a[maximum]+b[minimum]),# k*a should be minimum, becuae I substituted a earlier it is failing
a[maximum]*c[minimum]/(k*a[maximum]+b[maximum]),
a[minimum]*c[maximum]/(k*a[minimum]+b[maximum]),# k*a should be maximum, becuae I substituted a earlier it is failing
a[minimum]*c[minimum]/(k*a[minimum]+b[minimum]);

is there a way to substitute larger terms first[like -k*a first] and goes to smaller variable??

 I am using applyrule since algsubs cannot do for more than one substitution.Also, I would be glad if any other alternative is provided.
thank you
 

Can any one do the addition of values (in string format) x in textarea0, y in textarea1 and get the mathcontainer result in the text box2.

Thanks

Ramakrishnan V


y := GetProperty(TextArea1,value);
Do(%TextArea2 = Do(%MathContainer0,x=%TextArea0,y=%TextArea1));

``

``

``

NULL


howTogetNumericAnswerinTextArea.mw

Download howTogetNumericAnswerinTextArea.mw

 

Has there been a option included in the plots:-setoptions3d that is equivalent to the size option found in plots:-setoptions? I can't seem to find one.  I would really like to be able to set all my 3d plots to the same size. Or am I missing something?

>>> maple = pywinauto.application.Application().start(r'C:\Program Files\Maple 2015\bin.win\maplew.exe')
C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\application.py:1044: RuntimeWarning: Application is not loaded correctly (WaitForInputIdle failed)
  warnings.warn('Application is not loaded correctly (WaitForInputIdle failed)', RuntimeWarning)
>>> maple.Maple.PrintControlIdentifiers()
__main__:1: DeprecationWarning: Method .PrintControlIdentifiers() is deprecated, use .print_control_identifiers() instead.
Traceback (most recent call last):
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\application.py", line 246, in __resolve_control
    criteria)
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\timings.py", line 453, in wait_until_passes
    raise err
pywinauto.timings.TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\__init__.py", line 50, in wrap
    return method(*args, **kwargs)
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\application.py", line 585, in print_control_identifiers
    this_ctrl = self.__resolve_control(self.criteria)[-1]
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\application.py", line 249, in __resolve_control
    raise e.original_exception
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\timings.py", line 431, in wait_until_passes
    func_val = func(*args, **kwargs)
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\application.py", line 191, in __get_ctrl
    dialog = self.backend.generic_wrapper_class(findwindows.find_element(**criteria[0]))
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\findwindows.py", line 84, in find_element
    elements = find_elements(**kwargs)
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\findwindows.py", line 303, in find_elements
    elements = findbestmatch.find_best_control_matches(best_match, wrapped_elems)
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\findbestmatch.py", line 533, in find_best_control_matches
    raise MatchError(items = name_control_map.keys(), tofind = search_text)
pywinauto.findbestmatch.MatchError: Could not find 'Maple' in 'dict_keys([])'
>>> maple.Maple.print_control_identifiers()
Traceback (most recent call last):
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\application.py", line 246, in __resolve_control
    criteria)
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\timings.py", line 453, in wait_until_passes
    raise err
pywinauto.timings.TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\application.py", line 585, in print_control_identifiers
    this_ctrl = self.__resolve_control(self.criteria)[-1]
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\application.py", line 249, in __resolve_control
    raise e.original_exception
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\timings.py", line 431, in wait_until_passes
    func_val = func(*args, **kwargs)
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\application.py", line 191, in __get_ctrl
    dialog = self.backend.generic_wrapper_class(findwindows.find_element(**criteria[0]))
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\findwindows.py", line 84, in find_element
    elements = find_elements(**kwargs)
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\findwindows.py", line 303, in find_elements
    elements = findbestmatch.find_best_control_matches(best_match, wrapped_elems)
  File "C:\Users\mas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinauto\findbestmatch.py", line 533, in find_best_control_matches
    raise MatchError(items = name_control_map.keys(), tofind = search_text)
pywinauto.findbestmatch.MatchError: Could not find 'Maple' in 'dict_keys([])'
>>>

 

HW4.msim 

I did the base part of a robot in the MapleSim. I am trying to get the differential equation of the system, but the MapleSim gave me 2 different differential equations. When I use these differential equations, I could not reach to my goal. I think I need only one differential equation whose degree must be 2. The system works well, but the problem is a differential equation of the system. How can I get the correct differential equation? And also, why are there 2 different equations? Which one represents what? Thanks for answering.

 

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