MaplePrimes Questions

Dear,

I have problem that after using assume(...) and then use label such as (1.1)... then the assumptions are lost. Is it a bug?

Below is my attached worksheet (I used Maple 13 , I don't know if later version is better?)

label_and_assume.mw

Actually , the lost of assumptions will cause some problems such as make integration become unevaluated.... and will take you a hard time to debug...

Hi I'm trying to write a proc to takes a character and a string as inputs and as output tells you how many times the character shows up in the string.
I don't know what is wrong with the code


 s:=proc(Z)

local counts,C,i,L:

for C from "a" to "z" do
counts[C]:= 0:
end do:
L:=length(Z):
for i from 1 to L do
C:=Z[i];
if C >= "a" and C <= "z" then
counts[C] := counts[C] + 1
end if;
print(C,counts):

Please help me to check this procedure for solving complex DAE, I want to plot this error figures

There are some errors for the initial conditions?

restart;
with(plots);
w := 10;
L :=0.001;
R :=1;
u(t) :=exp(I*w*t) + 2* exp(I * 2 * w * t);
daesys:={diff(I3(t),t) = 1/L*u(t), I1(t) = I3(t) + 1/R * u(t), I1(0)=0, I3(0)=0};
dsys1:= map(eq -> (evalc(Re(eq)), evalc(Im(eq))), eval(daesys, {x(t) = xre(t) + I*xim(t), y(t) = yre(t) + I*yim(t)}));

Why doesn't Maple evaluate ln(x) assuming x<0 to ln(-x) instead of ln(x).  I know that it can evaluate negative operands into complex numbers, but sometime I would just like it to say ln(-x).  It seems to work OK for sqrt(x) assuming x<0. 

Ratch

Digits:=20;

p:=proc() global Digits; Digits:=Digits+5;end proc;

Digits;

Obtained 20 at the end. Which variables has also such property of "recoveriability" after proc call?

How do i properly export textof function via interface(verboseproc=2)+print(smth) for father rewritting for own needs?

I mean with formatting as print do itself?


This is what I do. 

 

f1(x):=sqrt(x);

f2(x):=x^(2);

with (plots):multiple(plot,[f2(x),x=0..1,y=0..1,filled=true,color=white], [f1(x),x=0..1,y=0..1,filled=true,color=blue,axes=boxed]);

 

My problem and question is.. it doesn't display the plot that I wanted ( a leaf) and neither does it fill it in with blue. What am I doing wrong?  

 

Hello my brothers and sisters..

 

Well, i have to say im really lost .. i have tried a lot but cant figure this out.. i cant open my math task and it only says "there was problems during the loading process" please help me guys i need this i have spent hours on this. and by the way its maple 15 on a mac.. thank you guys..

After I excute : x^2+2*x+1;   and right click on the output then I saw the CompleteSquare option in the Context Menu but after I write  assume(x>0); and then right click on the output of x^2+2*x+1; then I didn't see this option (and there are only a few options appeared in the Context Menu compared to the case before using assume()). 

Sometimes It cause some inconvenience for me since I used Context Menu on outputs from previous lines in my worksheet...

for example, how to define f(x,y)=sin(x+y) inside a triangle but f(x,y)=0 elsewhere? 

fsolve_test.mw fsolve test

hi

i want to write an integer n into all possible sums ,  i found

I'd like to hear a sound alert when Maple 15 (64bit version, on Windows 7 64bit) finishes the execution of a command.

For example, I have a very lengthy function to simplify. I use

simplify(function,size)

but it takes too long. It would be very helpful for me to hear a sound when this simplification finishes so that I can come back to see the result and go on.

Hi,

I got a worksheed with some dualaxisplots generated in a loop. As it would take some time to rightclick on each of them and export it as eps, I'm searching for a fine solution to automatically export them. For plot(); and display(); I found some nice solutions, but using dualaxisplot, I receive the following error:

Error, (in plots:-dualaxisplot) dual-axis plots are not available for the current interface or device

This...

Hi everybody,

How can i plot a vector field and an animated curve on the same plotting window ?

Regards.

lol37.

First 1781 1782 1783 1784 1785 1786 1787 Last Page 1783 of 2429