Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hello everybody,

z1 := -3*i*(2+i)*(3+2*i)*(1+4*i)

zz1 := expand(z1)

zz1 := -18*i-93*i^2-90*i^3-24*i^4

(3)  subs(i^2 = -1, i^3 = -i, i^4 = 1, zz1)=72*i+69

(4)  subs(i^2 = -1, zz1)=-18*i+93-90*i^3-24*i^4    

I don't like the way in (3) to get my answer.Are there some easy ways?

 

Why is it when I integrate expressions like cos(3*x)^5*sin(3*x)^2, I get this answers in the worksheet mode :

-(1/21)*cos(3*x)^6*sin(3*x)+(1/105)*cos(3*x)^4*sin(3*x)+(4/315)*cos(3*x)^2*sin(3*x)+(8/315)*sin(3*x)

while using the Integration tutor I get:

(1/9)*sin(3*x)^3-(2/15)*sin(3*x)^5+(1/21)*sin(3*x)^7

I know they must be equivalent but it would be nice to have some concistency and also to know how Maple got the first answer.

Anyone has a clue ?

Thanks!

 

Hi, I need to maximise z = 20*x_1 + 25*x_2 subject to: x_1 + 6*x_2

Hi

I was wondering how maple deals with the powers of a piecewise function. I've a piecewise function of f of thins kind

A_eff:=proc(f)
global Enn,f_a,f_b,f_c,alpha_var, Ell_lor,w_var;

piecewise(f<f_a, (f)^(-7/6), f< f_b and f >=f_a, alpha_var[1]^(-23/2)*(f/alpha_var[1])^(-2/3), f< f_c and f >= f_b, alpha_var[1]^(-7/6)*w_var*Ell_lor(f,alpha_var[2],alpha_var[3]))

end proc:

and then I must integrate A_eff^2 over a range of frequency which begins before f_a and ends at f_c

Hi everyone. Forgive me for bad english, but it's important to solve one problem. Here is my Maple-code: >restart; define_external(WATCOM); Integral := define_external('periodic_integral','FORTRAN','eps'::float[8], 'Low_1'::float[8],'High_1'::float[8],'Under_I_1'::PROC('x'::float[8],'RETURN'::float[8]), 'WRAPPER','REPLY_1'::float[8],'LIB'="D:/Integral/Debug/Integral.dll"); eps:=10e-5: a:=0.: b:=10.: Under:=proc(x) RETURN(cos(x)*sin(x)) end proc: Reply:=0: Integral(eps,a,b,Under,'Reply'); print(Reply);

how can i solve these two massive nonlinear equations ? and by which way ?

the 1st is:-

Hi,

I am just wondering, if dealing with 'large' numbers,

which one is better? or which is approiate?

+++++++++++++++++++++++++++

restart:
a:=[12,34,56,78,100000];
t:=time():map(i->Power(i,43214342341) mod 5423524532,a);time()-t;
+++++++++++++++++++++++++++

restart:

a:=[12,34,56,78,100000];

t:=time():
for i to nops(a) do
a:=subsop(i = `mod`(Power(a[i],43214342341),5423524532),a):
od:
a;time()-t;

+++++++++++++++++++++++++++

Hi

I'm sorry about the weird subject of this topic.

Somewher in my calculation with maple I expect to find integrals of products of derivatives of a function of (say) f and M other parameters (say a vector theta) , possibly with constant (symbolic) coefficients, times f^alpha  (alpha real. Something like

Int(  N* Diff(psi(f, theta_1, .., theta_M), theta_a))* Diff(psi(f, theta_1, .., theta_M), theta_b))* f^alpha)

(N is an unknown constant)
I want, if possible to tell to maple:

I need help on turning this code into a procedure and what changes do i have to make  so it works like the gauss-seidel algorithm. I have tried many times on my own but can't seem to get my head around it. Any help would be appriciated greatly.
 

 

How can I set up the game of Pig in Maple ?   en.wikipedia.org/wiki/Pig_%28dice%29

Does anyone have any experience with such an game in Maple ?

Could anyone please explain the solution in simple terms ?

 

I am going to wander away from parallel programming in Maple, to talk about GPU programming. However I will show an example of connecting Maple to a CUDA accelerated external library, so that's close enough.  This post is not intended to be a tutorial on CUDA or OpenCL programming, but an introduction to how the technology works.

Hi,
I'm using Maple to write a report.Maple always produces quite complicated results during some steps while I only want to print the last simplified one.I need to keep those intermediate expressions because some errors will occur when reevalutes worksheet without them.
So can I hide intermediate results?Thanks.
 

I tried posting this on a similar post but didn't get a response:

I'm trying a similar thing but the intermediate voltages (in my case Va, and Vb) are not being removed.  Here are my equations:

First 1876 1877 1878 1879 1880 1881 1882 Last Page 1878 of 2219