MaplePrimes Questions

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 stroe the x coordinate in arry A, and y in arry B

for example

A:=araat([x1,x2..,xn])

B:=ayaay([y1,y2..,yn])

how can i plot this data,

i had tried the follows expression:

plot(x,y)  or plot(x[i],y[i],i=1..n)

but they all return the wrong answer, why?

given a recursive sequence : J(n)=b*A(n)  for b=0.5 , A(0)=70% , n is integer

wrote a procedure to find J(n), for example: find J(5)=?

 

i need help with this please .

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'm creating a table of random math problems for my daughter to print out.  How do I get more columns?

a := rand(1 .. 15):
b := ["+", "-", "x", "/"]:

for i to 15 do
  print(cat(a(),b[rand(1..nops(b))()],a(),"_____")):
  print(``):
end do;

                                  13x4_____

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;

2.6_map.mw

 

I try to solve this problem,but there is an error occur.Is there a problem in the equation?

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

Dear All,

 

Can someone help me,  to write following matlab code in MAPLE  (only two highlighted lines).   I shall be very thankful to you.

 

w0=[0.01*aCM];                          %initial values
 
options=optimset('Display','off','TolFun',1e-24,'TolX',1e-18,'LargeScale','on','MaxFunEvals',5000); % Option to display output

for i=1:length(z) 

Hi
I run Maple 15 on an Acer laptop with Windows 7 and have the following problem:

When my Maple documents become "too" long, some of the vectors I have created seem to become tables instead (without me doing anything) rendering vector multiplications and additions/subtractions impossible (they'll throw an error; something like it not being possible to multiply a vector and a table. As if one of the vectors in my multiplication has become a table). Should it...

First 1746 1747 1748 1749 1750 1751 1752 Last Page 1748 of 2428