MaplePrimes Questions

Hi

I want to simulate taking a card from to decks at the same time, and by doing it sufficiently many times, show that the probability is 1-(1/e).

I've implemented this in Python, but i'm new to maple. Here is what I've done so far.

 

randomDeck:=proc(n::integer)

  local deck:= [seq(1..52)];
local randomDeck:=[];

Hi,

I need to model the MapleSim ground as a hard ground. For example when the robot swing leg hits the ground, it should not have negative vertical position. Basically, the robot will move on a surface.

Thanks...

I would like to find a general solution for a problem. Now, I have written a fonction main(a1,a2,N1,N2) where a1 and a2 are two parametre symbolic, and N1 and N2 are two integers.

the function main(a1,a2,N1,N2)   can calculate every result with a paire of N1,N2 precisely given. but, I need the result for whatever N1 and N2. which means, I need a result in fonction of a1,a2,N1,N2 but not a single answer with N1 and N2 given.

How can I do this? thanks a lot.

Hi.

 

1) I am new to Maple TA and would like to ask a question about question respository. I go to: Class_Homepage >> Content_Manager >> Question_Repository >> Questions >> New Question. I then creare a (multiple-choice) question. In the end I click "submit". Where are these questions stored and how can they be accessed?

 

When I go to the repository, I do not see any questions there. 

When...

working_nonlinear.mw helo guys having problem in plotting graph. Please help me out

I want to find the parameters m to the  equation x^4 -(3*m+2)*x^2 + 3*m+3 = 0 has four distinct solutions and all of them were less than 2. I tried

eq:= x^4 -(3*m+2)*x^2 + 3*m+3:

sol:=[solve(eq=0,x)]:

d:=discrim(eq,x):

solve([d>0,sol[1]<2,sol[2]<2,sol[3]<2,sol[4]<2],m):

allvalues(%);

How to reduce my code?

Hi,

 

I need to expand a function of the form {[1]}.{[2]}.({[2, 3]}-{[3, 2]}).({[1, 3]}-{[3, 1]}), where '.' is for non-commutative multiplication. I need to get  {[1]}.{[2]}.{[2,3]}.{[1,3]} - {[1]}.{[2]}.{[2,3]}.{[3,1]} - ... (the order of matters).

 

Maple has a command 'expand', but that only works for normal products. eg. {[1]}*{[2]}*({[2, 3]}-{[3, 2]})*({[1, 3]}-{[3, 1]}).

 

Any help appreciated!

I am dealing with second order linear differeantial equations for RLC and forced RLC circiuts.

I am having trouble with plotting a solution curve in the phase plane.

 

> restart;

with(plots); with(DEtools);

L := 10; R := 20; C := 1/100;

de1 := diff(x(t), t) = y(t);

de2 := L*(diff(y(t), t))+R*y(t)+x(t)/C = 0;

 

DEplot({de1, de2}, [x(t), y(t)], t = 0 .. 5, [[x(0) = 10, y(0) = 0]], stepsize = 0.5,

Maple people:

 

The title is the question.  I defined a function in Maple, which works.  I am trying to get Maple to compute its derivatives.  I want to save the derivatives as functions.  Here is a code snippet.  The function itself works.  I have uploaded the worksheet.  Mapleprimes seems to have copied the entire worksheet into this question when I uploaded the worksheet. 

 

[begin code snippet]

Does anyone know if Maple has a counterpart to the Wolfram Lightweight Grid Manager that can be used with Maple 14 or Maple 16?

Hi

 

In earligere versions of maple (14 and 15) I yoused this code (program) to plot the area between functions, but it does not work in maple 17 (or 16).

integralplot2:=proc(f1,f2,a,b,{[color, colour] := blue,transparency := 0.5,numpoints:=500})     

local mingr,maxgr,variable,p,c,n,pts1,pts2,polys,i,xkoor,ytop,ybottom,yvals,plotf1,plotf2;          

if evalf(a)<evalf(b) then       

Hi

i want to find the eigenvalues of this system of two equations with two unknowns:

2.097*k = .9525000000*k^.35-2.2225*b/k^.65+.2 and

(2.097-2.0955/k^.67)*b = -.2

How i can do this in Maple?

Any help will be appreciated

I would like to determine the sign of a derivative of a function where I would make some restrictions on parameters and variables (e.g. larger zero). If a sign is not unambiguously possible, I would like Maple to give me an expression (threshold) for when the derivative is positive or not.

I would be very thankful for any hints!

(Notice: I am a Maple beginner!)

Best,

Max

Hello,

 

I would like to know if it is possible to redefine a function.

 

Let's say I have assigned one variable the following value:

e:=f(x,y,t) where f(x,y,t)

 

Later after some calculations I find that f(x,y,t) no longer depends on the parameter y so should be f(x,t).

 

Is it possible to pass the changes to "e" without having to actually rewrite the expression of "e"?

 

First 1563 1564 1565 1566 1567 1568 1569 Last Page 1565 of 2434