Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi,

I am really stuck in one more bit thats the least square problem.  leastsquare1.mw 

Hope someone can help me to solve this bit and get me out of this problem :(.

Least square method is successfuly implemented in MATLAB code (WRITTEN IN THIS MESSAGE AT THE END), but I couldn't do it in Maple.  I am having problem in the for loop section,  I am attaching Matlab code and  maple code ...

I have a differential that I'm solving using rk4 on maple and I want to plot the resaulting points in an interval. How do I do that?

here is what I've already done:

> f := {y(0) = 0, diff(y(x), x) = cos(5*y(x))-x};

> p := dsolve(f, y(x), numeric, method = classical[rk4], stepsize = .1);
proc(x_classical)  ...  end;

> for i from 0 by .1 to 3 do p(i) end do;
           ...

scatter2d  quantile2 scatter1d is removed?


with(stats): with(statplots): with(transform):
with(random): with(describe): with(plots):
datax:=[normald[5,1](100)]:
datay:=[normald[7,3](100)]:
scatter2d(datax,datay);
quantile2(datax,datay);
scatter1d(datax);
scatter1d[jittered](datax);

who(things) replace it?

Can you divide 2 polynomials with Real coeffs.   eg 1.87x3-2x2+5.789x- 3,2 by    1.5 x2+2x-1.4 to get the quotient and remainder? If so how?

Released today, with over 4500 additions and enhancements, Maple 16 reinforces our track record for consistent innovation and industry leadership in areas like ease of use and symbolic computing performance.

Hello,

Suppose that S1,S2,S3 are 3 blocks of a matrix S := Matrix(...). I would like to do

 

out := ArrayTools:-Concatenate(2,convert(S1,vector),convert(S2,vector),convert(S3,vector)):

but in the case when I have n blocks.

 

Thanks,

Dimitar

I am aware of how to plot the feasible region defined by a system of linear inequalities (inequal in the plots package). Also, I can use the implicitplot command to plot the feasible region defined by a single nonlinear inequality. My question is, how do I plot the feasible region defined by a system of nonlinear inequalities. For example, how would a graph the region satisfying x>=0, y<=exp(-x), and y>=x^2?

I hope someone can help me.

I'm trying to integrate the following equation:

sin(v))*sqrt(cos(t)^2+4*sin(v)*sin(t)*cos(v)*cos(t)*sin(w)+4*cos(v)^2-cos(w)^2*cos(t)^2+cos(t)^2*cos(v)^2*cos(w)^2-5*cos(t)^2*cos(v)^2)

The boundaries are
v=0..1/2*Pi
w=0..2*Pi

 

I've tried evalf and simplify, but none of those worked. Does someone know how to solve this one?

Hello,

Can someone explain to me why when "x:=vector(2):" is used in the code below, the file "test_file.c" is generated correctly, while when "x := Vector(2,symbol=v):" is used, there is an error:

Error, (in codegen/makestat) symbol or symbol::type or symbol:=expression expected in parameter list

-------------------------------------------------------------

with(LinearAlgebra):
with(codegen, C, makeproc):

#x := Vector(2,symbol=v):

I have written a 20-page program created on Maple 14 Classic Worksheet that generates holding patterns in crosswinds.  The program requires about 10 input values.  Can this be migrated to an Ipad or accessed from an Ipad?

Dear All,

 

How can I define the following commands of MATLAB in MAPLE,

 

MATLAB:

zimag=j*[0:thetas/N:thetas];

zreal(1:length(zimag))=log(R);

z=zreal+zimag

 

Also

MATLAB

For i=1:length(z)

 

Your help will be really appreciated.

 

Best Regards

A.Q

SOTON

I have two list, x1 and d, I want to make a piecewise function out of them and plot it, but I may have some other stuffs like this so I decided to write this procedure in a proc, the proc makes the input of the piecewise right, but when I want to make a function out of this and pass it to plot this does not works properly, I tried something else; first assigned a seri to a variable and passed it to the piecewise to make a function out of it this does not works either, but when...

I have program in txt,I want to copy it into the command-line maple 15 as belows:

 


How to do it. Ctrl+V is useless

code:
> MEMBER := proc(x::anything, L::list, p::evaln) local i;
> for i to nops(L) do
> if x=L[i] then
> if nargs>2 then p := i end if;
> RETURN(true)
> end if
> end do;

Hello all, I am wondering if anyone knows how to impose a finite value boundary condition to solve an ordinary differential equation? Specifically, suppose that the solution Maple obtains to an ordinary differential equation is y(x)=-2*x^2+C1*ln(x), C1 being a constant. Given that y(x) must be finite when x=0, then C1 has to be zero. Is there a way to implement this condition when setting up to solve the ODE in Maple, i.e. dsolve({ODE, ICs}, y(x), options)? Many thanks for your help!

Hi all,

I am trying to check a conditional statement in maple, I know it is true but my teacher has us do the entire assignment in maple. I am proving the alternating series test of convergence for a series and need to show that the Un's are all positive so

 

I am trying to check this statement for truth:

 

5/sqrt(x+4) > 0 for all real values x > 1

First 1597 1598 1599 1600 1601 1602 1603 Last Page 1599 of 2223