andy.zhou.nuaa

269 Reputation

6 Badges

17 years, 310 days

MaplePrimes Activity


These are questions asked by andy.zhou.nuaa

Dear all:

     i want to useI[pk] := 10as a variable, but the maple show the following error message: " Error, illegal use of an object as a name" .
 

    So can anyone tell me how to solve this problem. tks very much

 

Andy

Dear all:

   suppossed i have a function as following :

f(x):=2*sin(x)*(sin(x)+I3*sin(3*x)+I5*sin(5*x))

where  x is belong to (0,Pi/2), I3,I5 is defined to I3^2+I5^2 < .232.

i have ploted some curves of f(x) . As to different I3 and I5, the curve of f(x) have different point of intersection with y=1 function, may one point or two  point or three where 0<x<Pi/2.

 dear all:

   i have wirte a programme for a defined function as follows:

  med := proc (f1, f2, f3) if f3 <= f1 and f2 <= f1 then if f3 <= f2 then f2 else f3 end if elif f3 <= f2 and f1 <= f2 then if f3 <= f1 then f1 else f3 end if elif f1 <= f3 and f2 <= f3 then if f2 <= f1 then f1 else f2 end if end if end proc

#the med function is for get the mediume number from any givend three numbers.#

  

 

1 2 3 Page 2 of 3