MaplePrimes Questions

hi

I am a mechanical engineer student and i am trying to learn mapleSim, but i am having some dificulties.
I am first trying to model an heat exchanger from a domestic water heater. I have found on maples website a costum component and i am trying to do a similar one to start.
The component that i am talking about is this one:

http://www.maplesoft.com/applications/view.aspx?SID=35160


The problem is that after i put my own equations, parameters,...

Hi, I tried to export my answers into an excel file, but my numbers are all complex numbers.

It says "cannot export an rtable with complex values". How can I go about it?

Please advice. Many thanks.

How can several expression statements be not displayed during and after an execution process of "then"conditional statement (I mean "If.....then...")?
For example:

if .... then
exp1:
exp2:
exp2:
....... 

end if;

each expression above can consist of various commands in its body.All my exp statements were finished by ":"
but, they...

Hi,

I just noticed something rather peculiar (well, to me, at least). When I compute the limit

limit((1-1/x)^(-x),x=-infinity)

as is, I get the expected result of exp(1).

 

However, if I load the RealDomain package prior to computing the limit,

with(RealDomain):

limit((1-1/x)^(-x),x=-infinity)

I get that the limit is undefined. 

Any ideas as to why that is the case? Thanks!

Hi,

I'd like to take the second derivative of the following function (see below), but I keep ending up with an

Error, (in content/polynom) general case of floats not handled

The range of the equation that I want to look at is from 0 to 1 and I know that it "blows up" around 0.09 for EQ1 but not EQ2.

The commands that I've tried are diff(%,FIO2) and Diff(%,FIO2).  I'm probably missing something obvious, so hopefully someone can tell me...

Can anyone explain the rationale behind plot command, which generates the same graph differently for an identical function?

> restart;
> with(plots); with(plottools);
m := 4;
k := 20;
omega[n] := sqrt(k/m);
T[n] := evalf(2*Pi/omega[n]);
td := 0.5*T[n];
ratio := evalf(td/T[n]);
p3 := 4*sin(Pi*t/td);
dur := evalf(2*Pi);

enc := u(0) = 0, D(u)(0) = 0;
eq := m*(diff(u(t), t, t))+k*u(t) = p3;
sol := unapply(rhs(dsolve([eq, enc])), t);

I have a function 

f:=x->(x^2 + 2*m*x + m + 1)/(x -1);
Now I want to define a function as simplify(diff(f(x),x)), i did 
g:=x->simplify(diff(f(x),x)). Then, i could not calculate g(3). Please help me. Thank you.

http://aw.twi.tudelft.nl/~koekoek/askey/ch3/par28/par28.html

Which function represent phi in 3.28.1

Hi,

I would like to ask, what is the way to use the Direct Search (or other similar package) to solve not a static optimization problem for, say f(x_1,x_2), but the dynamic one, say for f(x_1(t),x_2(t),t)?

I think there must be the way of adapting the algorithm for that.

Any ideas welcome.

Best

Want create my own geometric distribution with rather only natural values i.e. without zero:

c:=Distribution(PDF=(t->PDF(Geometric(p),t-1)));
But such form is luck to calculate even Mean value:

simplify(Mean(c)) fails. How to apply to get even Mean(F(c)) for complicated enough F?

In which context runs subj? Why all time when i start debugging with 'stoperror' it stops at 'interface' call i.e. in debugger

interface('prettyprint')

doesn't return 3 as worksheet returns. It return interface('prettyprint') i.e. symbol.

I have a matrix with values of interest from .04<4 and I want to round all the terms that are ~10^-10 and lower to zero.  Is there an easy way to do this?  fnormal only works for lists!

Hello experts in Maple,

I'm going to solve IVP numerically by this command bellow:

var:={u(t),v(t),w(t)}: 
dsys1 :=diff(u(t),t)=-(Gamma+AM*cos(q*t+phi))*u(t)+(Delta-AM*sin(q*t+phi))*v(t)+Omega*w(t), diff(v(t),t)=-(Delta+AM*sin(q*t+phi))*u(t)-(Gamma-AM*cos(q*t+phi))*v(t), diff(w(t),t)=-0.5-2*Gamma*w(t)-Omega*u(t):
dsol1 :=dsolve({dsys1,ini1},numeric,method=lsode,var, abserr=1e-9, relerr=1e-8,output=listprocedure):
dsolu:=subs(dsol1,u(t)):dsolv:=subs(dsol1,v(t)):dsolw:=subs(dsol1,w(t)):...

The following example shows some typical computations with Householder- or reflextion matrices. Why are the second and third variants only slightly better than the first one? Could we get a real speedup without rtable/NAG/BLAS/etc. tricks?

 

$ maple15
    |\^/|     Maple 15 (X86 64 LINUX)
._|\|   |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2011
 \  MAPLE  /  All...

I'm writing a maplet and I would like to put in my MathMLViewer two equations. Each equation in different line. How can I do this using MathML[Export]() while setting the value of MathMLViewer ?


First 1763 1764 1765 1766 1767 1768 1769 Last Page 1765 of 2434