MaplePrimes Questions

How do I create 3D polygone by a list of points using maple.?

I convert following differential equation to the s domain: restart: with(inttrans): > DV:=diff(y(t),t$2)+3*diff(y(t),t)+2*y(t)=diff(x(t),t): > x:=t->10*exp(-3*t): > laplace(DV,t,s); As solution I get: s^2*laplace(y(t),t,s)-D(y)(0)-s*y(0)+3*s*laplace(y(t),t,s)-3*y(0)+2*laplace(y(t),t,s) = -30/(s+3) It's not really a Maple problem but I don't understand why the right hand side of the equation is -30/(s+3) . When I transform the right hand side of the differential equation manual to the laplace domain I would do it as: diff(x(t),t) = s*X(s) = s * 10 /(s+3)
Is there a way to solve following equation in maple? I have already tryied intsolve and dsolve without succes. DV:=diff(y(t),t)+5*int(cos(t-tau)*y(tau),tau=0..t)=10; Thank you, Pieter

I create a continous random variable having an arbitrary pdf and characterize the corresponding distribution:

pdf := piecewise(a <= x and x <= b, 1, 0): f := unapply(pdf, x): R := Statistics:-RandomVariable(Statistics:-Distribution(PDF = f)): `assuming`([map(apply, [Statistics:-MGF, Statistics:-CGF, Statistics:-PDF, Statistics:-CDF, Statistics:-Moment], R, t)], [a < b]) ;

Hello,

I have a big problem with the plot command :

I have tried to do a densityplot with cylindrical coords, but it doesn't work, it seems that maple can't do it. Do you have any suggestion to do this ?

So I decided to switch to plot3d - contourplot even if i would rather like densityplot. The problem is that i can't show the whole plot : maple only shows me a quarter of what i want :

contourplot( f (r,alpha), r=0..5, alpha = 0..2*Pi, coords=cylindrical );

where is the rest of the function ?

gerald

thanks for your help !

Hello,

I'd like to create a multiple variables function with a procedure, the problem is that the number of vars depends on the parameter n :

f:=(x1, x2, ..., xn) -> ...

how to define this function ?

 

I ve tried to do this, but i doesn't work :

var:=seq(d[i],i=1..n)
f:=(var)-> ...

even with a array instead of the seq, it doesn't work ... i'm desperate

 

thanks !

I've been trying to solve Project Euler's first problem: If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. I've come up with: natural:=proc(n); local i,s; s:=0; for i from 1 to n do if irem(i,3)=0 or irem(i,5)=0 then s:=s+i fi od; return s; end; but I also get the error message: "Error, unexpected `local` declaration in procedure body" Could you please tell me where I've gone wrong? Thanks in advance

Hi everybody:

Concerning exporting a worksheet as RTF (Maple12, win XP) I note two things: a) if you use inline output things such as equal sign, arrow with "at 5 digits" text, etc. appear slightly higher than the rest of the expression. also some part of the output is chopped off. b) the labels don't export.

Are these things consistent with what you could currently expect from maple or am I missing something?

thanks

Dimitrios

I am interested in finding out, just curious,  how many registered users does Mapleprimes have. Thanks!

Why is "unapply" used to create functions out of solutions to equations? Thanks in advance !

Hi,

I am new to maple. I want to solve the 8 quadratic equations with 8 variables. I try with the solve for 4 equations it gives the solution after a long time. But I didn't get the solution. Please give me suggestions. To finish it earlier.

Hi all!

Hi, I am new to Maple.

It is strange to me that when gamma and gamma1 (not GAMMA) are used in an expression, the "simplify" command gives wrong result in Maple 10.  If gamma and gamma1 are replaced by alpha and beta, it is ok. Also it is fine in Maple 8. Any idea?  The expression is copied below.

I am planning on using Maple 12 on my MacBook (Macintosh). According to Maplesoft home page,  one of the requirements is that   Java™ Runtime Environment 1.4.2 or higher should be installed on the MacBook. How can I check this on my MacBook and if I don't have this installed where can I get it ? Thanks !! and a happy new year!!

Q).A certain sum of money(say x) lent out at a certain rate of interest compounded anually becomes three times of itself in eight years. Find in how many years will the principal sum(x)  become twenty-seven times at the same compund interest rate.

 

First 2174 2175 2176 2177 2178 2179 2180 Last Page 2176 of 2433