MaplePrimes Questions

Hi, I am using this code to verify if my function satisfies positiveness / negativeness under assumed ranges or not. assume(`θ_e`, 'real', 0 <><> true then print(b[1]); break else favorableDF_Exists := 1 end if; := '`θ_e`'

Hello,

although I manage to solve the following problem step by step, I don't really know how translate it properly into Maple code.

First of all, from the following equation I have to extract the derivatives dx/dy1 and dx/dy2 (because I need them later on):

f(x,y1,y2)=0

(This can be done using the implicit function theorem).

Then, I have to calculate the following derivate and set it equal to zero to get y1 as a function of y2.

dg1(x,y1)/dy1 = 0

I tried to create a gif file out of more then 200 sequantial plots. A gif file was opened yet nothing was saved into it. I was able to create a file from less than 170 frames in the the same manner.
Is there a size limit or a limit on the number of frames that gif can process?

Is there other video like formats availble in Maple?

I use dsolve on a given system of ODE

sol=dsolve({sys_ode,ics},type=numeric,stiff=true);

and when I ask Maple to compute sol(1), I would like also Maple to display all the time points and the values of the solutions at those points that was computed to get to the endpoint=1 (starting from initial values in ics).

Any suggestions!?

Many thanks!

Hi,

I am trying to construct a vector field based on a large expression. Although I put cos(phi) at the end of the expression, written in 2-D Math, the expression gets automatically simplified to cos phi, without parentheses. That causes the command VectorField not to understand the end of the expression and fail building the vector field.

If instead I define the expression in 1-D math, it works perfectly. Like this:

 

Dear MaplePrime users,  I have got a very strange problem ( for me surely)  I am not a mathematician , and not a good Maple user :(((  When you can help me in solving this problem with Maple, you  are very appreciated. Thanx.

Problem:

a, b, c, e,   are constants

X, Y, Z, M, N, R  are time dependent  variables,

X(t)=  Xo- M(t);

Y(t)= Yo - R(t) ;

N(t)= M(t) + R(t);

Z(t)= Zo - M(t) - R(t) ;

new defined parameters,  K= b/a = e/c = X / M =  Y/ R

Hi there, I got a set of discrete Data as functions of 4 variables (x1,x2,x3,x4) . I would like to interpolate the data with respect to x2 and then get a continuous function f (x1,x2,x3,x4). Finally I would like to get the partial derivative of f wrt x2. How can I sort this out? x has the range [0,x0]. s is an arbitrary function of x. g is a function of (x1,x2,x3,x4) which is formed from solving the IVP numerically. x0:= 1/2: s:=x->x^2: sol:=(x2,x3,x4)->dsolve({y''(x1)-(x3^2+s(x1)*x4^2)*y(x1)=0,y(x2)=exp(-x2),y'(x2)=1/2},numeric,output=operator,range=0..x0):

Hi
I want to find the syntax for below example:
 

e.g. a=9 and 9 is not a valid entry for parameter a, I want to print an error message like:

Value 9 has been entered for  parameter a is not valid

How can I do this?

I can calculate the probability of observing 5 heads after a 10 coin toss as:


n := 10:  p :=0.5 :  x := 5 :

ProbabilityFunction(Binomial(n, p), x);

                                0.2460937500


Now my question is how can I generalize this argument over time and with an Normal(0,1) process.

hi.

can i have a densityplot in 3d?

i want to plot a sphere.

i have a function f(r, theta) which is supposed to be the temperature of my sphere. can i plot my function f such that it is like a densityplot on my sphere? i cant seem to find the right command for this.

thanks!

I'm trying to write a program (see code below) that produces a circle with a sector identified by two radii and a small arc connecting the radii (to emphasize the angle, which I will later add a "theta" label to). The sector needs to be shaded, and I prefer not to have any axes showing; I think I can do some of this by right-clicking on the figure after it is rendered by Maple, but it seems to me that the code should be able to handle all of this as well. I will be using the resulting figure in a homework set that I am producing for a trigonometry class.

This should be a very basic question. Is there any explicit function or syntax of the commands that we can add a number to all elements of a vector or a matrix? I know with map we can do that but I doubt it is the proper one.

hi.

i have this function f(r,theta) which i want to graph in polar/cylindrical coordinates. but when i try to plot it, the coordinate system seems to be in cartesian because my horizontal axis becomes my values for r and vertical axis becomes my values for theta.

How can i plot my function f(r,theta) in polar/cylindrical coordinate such that r=0..1, and theta=0..2*Pi?

Hi, it seems I have an unusual situation and I have been unable to find a way to solve it. Hopefully someone can help. I have an overdetermined system; 14 equations, 4 unknowns. The unknowns are restricted to particular ranges (roughly 0 to 500).

Hi there,

ich want to create a Maple-package -- say Foo -- using Maple12 by using 'module()'.

This works OK for me and I can load it with

"with(Foo);"

Then a list of the (exportet) functions appears.

 

What code do I have to enter in order to display also a predefined message, ie. via printf? For example

"with(Foo)" ---> "You are proud user of the Foo-package!"

?

First 2091 2092 2093 2094 2095 2096 2097 Last Page 2093 of 2434