Items tagged with function function Tagged Items Feed

Can anybody tell me what error is in the following function?

F:= ([[a,b], [c,d], [e,f]]) -> (1/2) abs((c-a)(f-b)-(e-a)(d-b));

Thank you!

Dear All,

I need your help, what function in Maple must be used to find the different form of this function

f := product((p*beta[1]*(t[i]/theta[1])^(beta[1]-1)*exp(-(t[i]/theta[1])^beta[1])/theta[1])^Y[i]*((1-p)*beta[2]*(t[i]/theta[2])^(beta[2]-1)*exp(-(t[i]/theta[2])^beta[2])/theta[2])^(1-Y[i]), i = 1 .. n)

into this function

Hey everyone. Another question. I am getting a bug I have never gotten before - it's really bizarre. I have a sheet that works perfectly fine. All the functions are defined normally and they work properly. Then, when I get to the bottom of the sheet and try to define

> pathZ(r,theta):=(1- Heaviside(theta-Pi/(12)))*centralR*theta+Heaviside(theta-Pi/(12))*(centralR*Pi)/(12);

I get nothing being defined. I press enter while at that line and then it just goes...

Hi,

I have a function of n variables

y := (a,b .. n) → ....

For this function I need also n input values

y(x1,x2, ... ,xn)

The vector x has the input values ("x1,x2, ... ,xn") but how can I call them without typing them one by one?

Any ideas?

inverse of a function...

August 21 2013 samah 15
Hi I want to obtain the inverse of the following cumulative function: F(x)=1/n ∑_(i=1)^n(1-e^(-β/h (x-x_i-γh) ) )

i do not have a handbook of function properties, or properties from analysis

is there someone written a package to list which properties a function have after input a function?

Maple people:

 

The title is the question.  I defined a function in Maple, which works.  I am trying to get Maple to compute its derivatives.  I want to save the derivatives as functions.  Here is a code snippet.  The function itself works.  I have uploaded the worksheet.  Mapleprimes seems to have copied the entire worksheet into this question when I uploaded the worksheet. 

 

[begin code snippet]

a := f(x,y) = f(y,x)

how to get x and y from left side f(x,y)

and get y and x from right side f(y,x)?

how can i define a matrix as a sunction of a variable so that when i chande the independet variable,the elements of the matrix also change?

A(t):=[a[t],b[t],c[t]] ; i want to define a function like this,so that by changing the time t,the elements of the matrix also change,what should i do?

hi

I have an unkhown function as f(r) which i want to solve it at the end of calculation. How can i define it in beggining?

I want to write g as a function of sigma^2.

but

g := unapply(1/sqrt(1+3*q^2*sigma^2/Pi^2), sigma^2);

yields an error. how to do?

It's interesting that every continuous piecewise linear function can be specified by one explicit equation with absolute values​​. The procedure JoggedLine carries out such conversion.

Formal arguments of the procedure: 

A - a list of the coordinates of the vertices of the polyline or the continuous piecewise linear expression defined on the entire real axis.

B (optional) - a point on the left "tail"...

The expression below is not producing any plot, although the axes and sliders are set :

How to plot x versus theta of the following implicit function

sin(theta)-2*sin(2*x-theta+(1/3)*Pi)/sin(x+(1/3)*Pi-theta)=0

where x is the implicit function of theta

now how can I plot the relationship between x and theta(condition:-Pi<theta<Pi,-Pi<x<Pi)

For a function of one variable, I use the map command quite a bit to evaluate the function at several values of the independent variable. For example,

f:=x->x^2:

xlist:=[1,2,3]:

map(f,xlist)

How may I do something similar for a function of two variables? For example,

f:=(x,y)->x^2+y^2:

xylist:=[[1,1],[1,2],[2,1],[2,2]]:

Can the map command be used to evaluate f at each ordered pair? Maybe I'm not even using the correct data structure. Thanks!

3 4 5 6 7 8 9 Last Page 5 of 19