allen

5 Reputation

2 Badges

13 years, 173 days

MaplePrimes Activity


These are questions asked by allen

what should i do to get display buttons in maplet as an input in TextField? so that everytime i click on a button in maplet, the value of that button will show up in TextField as an input, such as if i click on a  Button("1") , the number 1 will show up in the TextField. thanks in advance.

i have this unfinished procedure to multiply two matrices 

multmatrix:= proc(A:matrix)

local m,n,i,j,r,c,t,a;

m:=linalg[rowdim](A);

n:= linalg[coldim](A);

i:=linalg[rowdim](B);

j:=linalg[coldim](B);

K:=array(1..m,1..n);

H:=array(1..i,1..j);

i have a procedure like this

> palindrome:=proc(n)

   option cache;

   uses ST = StringTools;

   if length(n) :: even or odd

   and modp(n,11) <> 0 then

   return false;

   else

   return ST :- IsPalindrome(convert(n,'string'));

   end if;

   end proc;

> palindrome("mom");

   error, (in palindrome...

i have a differential equation like below

with(DynamicSystems):

sys1 := diff(y(t), t) = (800-y(t))*y(t)/(100+y(t))-450

with(DETools):

ivs3:=[y(0)=100,y(0)=250,y(0)=800]:

DEplot(sys1,y(t),t=0..1000,ivs3);

i tried to plot this diff equation but received an error message:

Warning, plot may be incomplete, the following error(s) were issued:

create the function f(x)=(x2,x=<0), (2x, 0<x<1), (2sin(Pi.x/2),x>=1). how do you find derivative in one command and integrate f(s)ds from -1 to 2.

 


 

1 2 Page 1 of 2