Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

How do I define a Function of functions with maple?

For example:

F(y(x),y´(x))=y(x)*y´(x).

or

F(u(x),v(x))=sin(u(x)v(x)).

 

Thanks,

Sebastián Varas K.

 

 

I have a curve which has two peaks and I need to find the width of each peak at half the height of peak's value.

What do I need to do to find the widths?

I checked the forums and only this suggestion didn't give an error message, but the results is not helping me out much.

max(flatten(Img_pigeon_HWT));

 

results in

flatten(Vector(4, {(1) = ` 1..512 x 1..768 `*Array, (2) = `Data Type: `*float[8], (3) = `Storage: `*rectangular, (4) = `Order: `*C_order}))

 

The purpose of all this is to do some edge detection upon an image.

 

I'm trying to solve a diffusion PDE with initial conditions, but can't seem to get the syntax right? Here's what I have: pde:= diff(C(r, t), t) = Di*(diff(r^2*(diff(C(r, t), r)), r))/r^2-lambda*C(r, t)+Beta Initial conditions (which I'm not sure how to define) C(r,0)=0 C(0,t)=finite C(a,t)=0 r=0 to a t>0 I can use pdsolve(pde,build) to get a reasonable solution, but when I try: pdsolve(eq, C(a, t) = 0, build) I get: Error, (in pdsolve/info) wrong extra arguments: {C(a, t) = 0}

By Maple

convert(LegendreQ(1,x),hypergeom)

hypergeom([1, 3/2], [5/2], 1/x^2)/(3*x^2)

LegendreQ(1,0.)

-1.000000000-3.141592654*10^(-15)*I

The 2F1 form suggests for me that in x=0 LegendreQ is infinite or at least undetermined. So what is the truth?

I work with LegendreQ(1,x) where x is real.

Thanks,

                      Sandor

 

Hi all,

I am doing some research where I solve three differential equations simultaneously.. The results are three optimal time paths, W(t), R(t), and H(t). I want to plug these three into an integral, and solve (to get the net present value of my initial problem). I have no problem solving the diff. equations and getting values, given initial conditions. I am getting an error in the integration. I know I am missing something in the way I set it up. Anyways, I am putting my steps here below. Thanks for taking a look!

Boy, this program sure makes me feel like an idiot.  (I am a full professor at a top university, but maple has turned me into an idiot.)

so, here's my stupid question now:

(for those of you who do statistics, this is the principal stratification problem in causal inference.  Eventually, I'll replace equations 9-11 with other conditions.

I hope to show my class this.)

Hello, I want to evaluate a double integral with fsolve as a limit. A simplified version of the problem is:

f:=(r,z)->r+z;

evalf(Int(Int(1,rbar=0..fsolve(f(r,z)=1,r)),z=0..1);

I've tried several variations of unapply and '...' but get the error:

Error, (in fsolve) z is in the equation, and is not solved for

 

I'd appreciate your advice!

 

I need to create an iterative code to find the minimum of the function

f(x)=1/2*Transpose(x)*A*x-Transpose(x)*b

where x and b are vectors in R^2 and A is a 2X2 symmetric positive definite matrix. The implications of this is that the gradient of the function is

gradf=A*x-b

and that we are indeed searching for a minimum.

This is the code I have so far, using the while command to create a loop.

Hi,

I want to compute a define integral as follows:

Hi,

I'm working on a computational physics project and prefer to use Fortran codes (compiled by MVS-9) with Maple power together.

In recent days I've changed some compiler options in MVS and unfortunatly (I don't remember the options) nothing works well as before.

For example, as I try to use a simple code like this:

Dear Mathlovers, The probleme is that i have created an animation for the mandelbrot set. The only probleme is that the axes dont rescale. Can anyone solve this. The animation is a zoom in on a point with 5 frames. Code is bottem of the post Grtz Pieter Excuse me for my bad english Code : ------ mandelbrot:=proc(x,y) local c,z,m; c:=evalf(x+y*I); z:=c; for m from 1 to 75 while abs(z)
Hello! Is it possible to transform the following expression, the way that instead of sin(x) I'd like to have cos(x) functions. Which command does this? k1*sin(x) - k2*sin(2*x) Thx!


As far as I know -- knowledge gleaned from various past mapleprimes posts I was able to read on the matter -- the recommended way to produce animated gifs is (1) to produce the animation within maple, (2) to save the relevant part of the worksheet as html, and (3) to retrieve the gif that the conversion produces (located in a folder typically named 'images' and that is attached to the html file created by conversion). It is then recommended to use other software to modify the gif -- my interest here was in selecting the number of frames per second.

How to achieve this problem of not seeing the text in  quick help?

quick help window

First 1975 1976 1977 1978 1979 1980 1981 Last Page 1977 of 2219