Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi,

I am trying to define a system of units so that I get results in the units I want.

Specifically; I want to use energy in MeV (or eV, if I have to) and masses*c^2 in MeV (or eV) as well. Related, I need ScientificConstants like Planck's h in MeVs etc.

So I say

AddSystem('Accelerator','MeV','meter','second');
UseSystem('Accelerator');

which is accepted. I even get energies converted to MeV if I enter one in a different unit and use

How do I plot the imaginary or real part of a complex valued function

e.g.

E:=y^2+x^2=1

I tried:

E1:=eval(E,{y=y1+I*y2,x=x1+I*x2})

implicitplot3d(E1,x1=-3..3,x2=-3..3,y1=-3..3)

but which does not work

The Single Variable Calculus Approximate Integration Tutor (and the function ApproximateInt) work fine for the built-in example of sin(x) from 0 to Pi.  But if you change it to sin(Pi*x) from 0 to 1 then plot options are ignored.  And if you ask to integrate sin(3.1415926*x) from 0 to 1, then it works again.  Is there a work-around?

I'm pretty new to Maple and have the following question about Maple plots. Why does Maple plot a vertical line for the undfined x values?

 

Hello everyone!

I came here before once because of a problem I had with Maple and I really loved how well treated I was so I come here asking for help with another problem. An error is showing up on two of my programs on Maple (which I've included on the message). I don't even know what "invalid left hand assignment" means in my case so I have no idea how to solve the problem. I've searched about my problem, but nothing helped me much.

I'm trying to implement...

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...

Dear Development Team,

obviously this is an acient topic, but I can only repeat the wish to be able to specify the size of a plot in a Document by adding a parameter like "size = [640, 480]" to the plot command or to plots[display]. This would allow to specify plot size and easily create plots having the same size withouzt having to manually drag the plot window.

I do not understand why this feature was never implemented, as this was asked very, very often and it should not be soooo difficult....

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       

Hello I have the following system of equations and I want to solve for rho1 and z1

E := (1/2)*(1/rho1^2+1/rho1^2)-1/sqrt(z1^2+rho1^2)-1/sqrt((R-z1)^2+rho1^2)-1/sqrt(z1^2+rho1^2)-1/sqrt((R-z1)^2+rho1^2)+1/R+1/sqrt((2*rho1)^2+(R-2*z1)^2);

Er1 := diff(E, rho1);

Ez1 := diff(E, z1);

solve([Er1, Ez1], {z1, rho1});

The system is a function of R.

The solve command spits out Kernel lost after some time. So my question is how can I solve it ?

First 1453 1454 1455 1456 1457 1458 1459 Last Page 1455 of 2235