February 23 2011
Basically i performed some calculations on maple and obtained a set A with about 8000 integer outcomes.
Im trying to create a loop that counts how many times there is an outcome of the integer 70 out of the 8000.
So far I have created the following:
if A=70 then do s=s+1 end;
But this is not working
Any help will be appreciated
If I enter the code below the end result is outputted as Pi/Pi (pi over pi). But I want an output of 1 not pi over pi. How do I get maple to return 1 ?
test:=int((1/(2*pi) + cos(k*phi)), phi=-Pi..Pi);
Hi. I am very new to Maple and there is something I can't find an answer on.
I would like to perform symbolic manipulation to help me simplify some equations. I was trying to define E to be a generic function operator, (expectation in statistics)
I have a equation y = a + b + c*d + e*f +..... something really long
I am to say R(y) = E(p*y)
How do I go about teaching Maple that my function is commutative and there are sets of rules which can be used? e.g.:
February 22 2011
how is possible to draw each line separately?
n1 := 1; n2 := 1.45; n3 := 3.5;
z0 := 120*Pi; d1 := 1; d2 := 1; d3 := 1;a := 1;
k0 := 2*Pi/lambda;
ub := sqrt(n1^2-`βb`^2); vb := sqrt(n2^2-`βb`^2); wb := sqrt(n3^2-`βb`^2);
Ub := k0*ub*d1; Vb := k0*vb*d2; Wb := k0*wb*d3;
z1 := z0/ub; z1b := z1/z0;
a0 := -tan(Vb)/(wb*ub)-tan(Ub)/(vb*wb)-tan(Wb)/(vb*ub)+tan(Ub)*tan(Vb)*tan(Wb)/wb^2;
b0 := tan(Ub...
how to convert a maple graphic created from a symbolic expression to spreadsheet?
Por example, after the command:
I vould like to get the data points calculated by Maple to generate this graph. If possible, inside a spreadsheet in order to redraw these data with Excell to get a better figure aspect...
February 22 2011
AHOY! when I compute the cube root of -8 using maple 14. It gives me the output -8^(1/3)
my input was........
I would like maple to give me the answer of -2 How do I change that? Note I need to define the cube root as a function.
I try to use threads in Maple 13 with Thread:-Create() and Thread:-Wait(). The worksheet works if I use no or just a single thread. One of the subroutines contains an fsolve command to find the zeros of some Function which involves special functions (LambertW). When I create two threads I get error messages such as `fsolve/StorePoint`, "invalid point dimension" and `fsolve/StorePoint`, "numeric exception: division by zero". Is the fsolve function not thread save? I tested, using stopwhen(...
Sorry if the question is too naïve: I'm new to Maple.
I want to find the solutions, both in the real line and in the complex plane, of the following transcendental equation:
x+s*exp(x * sigma)-mu-s=0
mu is positive (say mu=6) and I am interested in the case in which s is both positive and negative (say, s=1 and s=-1).
By plotting s*exp(x * sigma) vs. mu+s-x (x real), and also using fsolve, I can see that there are two solutions when s=1 ...
Im just on my last two questions and was wondering if you could help me again =D
So as a background to my question:
Show that dV/dt = -k * V^(2/3) given that k = 0.4836 and t is measured in minutes if the original volume of the capsule is 300 ml, how long will it take the capsule to lose half its volume?
Im doing this on maple right now and see you if guys can spot my problem or my syntax:
1. eq1 := diff(y(t), t) = -k*y(t)^(2/3)
2. dsolve(eq1, y(t)) which gives me an equation
I am using maple 14 on windows 7 and every time maple have to evaluate anything a progressbar pops up. It frezes at about 60%. I have read other post that suggest to turn off my firewall, but without any luck.
Then i tried to manually upgrade to the newest verion(14.01). I then get a "Invalid Purchase Code" msg. with the argument: "system clock has been set back". i then re-activate and maple pulls the same stunt after a restart(it askes for a restart after activasion).
of the equation x-(floor(sqrt(x)))^2-2011 = 0 with Maple? This is a problem from Lviv School Mathematical Olimpiad of the current year.
February 20 2011
Are there any plans to introduce a maple android app?
wouldn't be fun running maple on the android smartphone?
I use maplesim to construct a cart, which is controlled by a DC magnet. As the model in the document illustrated, the cart is drived by a prismatic, and there is a rigid body frame between the cart and the prismatic. This rigid body frame is used to sustain the cart....
Howcum the first of the following two statements does what the "help" says it will do, but the second statement doesn't?
Better yet, how can I make the second statement worK?
> convert(hypergeom([a, b],[e,f],1),Sum);
> convert(hypergeom([a, b, c],[e, f],1),Sum);