Items tagged with function function Tagged Items Feed

hi

i have the following function

 

f[1](x):=_C2 (e)^x-_C1 (e)^(-x)+1/2 x (e)^(-x) h1+1/2 (e)^(-x) h1+_C3

with thease boundary conditions:   f[1](x))=0,diff(f[1](x),x))=1,diff(f[1](x),x),x=infinity)

i want to find cinstants C1,C2,C3 where h1 is arbitrary parametr.

i write the following code but its doesnt work correctly

s1:=simplify(subs(x=0,f[1](x))=0);
s2:=simplify(subs(x=0,diff(f[1](x),x))=1);

Hi,

I need to do this:

A:=[1,3,5,2,7];
B:=[2,5];

f(B,A)=[3,7]

Notice that the elements in A can be lists themselves. How can I define such kind of function?

TIA for the help

Hey,

 

I have a set of Matrices of the form [a,b,c,d], now I since the standard = doesnt work with matrices, but I have to instead use verify I wanted to ask how I write a function that returns true or false depending on whether a new matrix is already contained in the set. Or otherwise I want to filter the set so that I only have each matrix once.

 

Thanks!

I need to create an ellipse and an ellipsoid (ellipse in 3D) through code. How would I be able to do this? Can someone please give me an example for each?

 

Also, I will need to create a line for an ellipse and a plane for an ellipsoid that intersect. Would I be able to find the intersecting points? Would I be able to find the function for the curve line that is created when a plane intersects an ellipsoid? Also, how would I find the surface area and volume...

Hi, this may be a stupid question, but I have trouble getting it right...

I want to create a matrix from a function that uses some of the arguments of the fuction as indices, but want to carry on the other arguments, here is an example of what I have:

MyFunction:=(a,b,c,k,l)->a+b+c+k+l;

MyMatrix:=Matrix(3,3,(k,l)->MyFunction(a,b,c,k,l)); # this is working but not what I want

MyMatrix now contains a,b,c as variables but not as function parameters ...

I want to calculae the value of "Z" shape strip resistor like below. One end is AB and the other is FG,the thickness is t.
I want to use the Schwarz-Christoffel Mapping for this problem,"Z" shape to rectangle.
I have already find the map from rectangle to half plane,exp function.
But I can't find the analytic form relation from half plane to the "Z" shape.
Can you help me,please?
Thank you in advance.

 

Good morning. I know what is the function that I report the rank of the controllability matrix for time-invariant systems.?

help me please

Hi.

I have a procedure that takes multiple parameters, in which I want to fix all but one, and then define a single variable function that maps x to this remaining unspecified parameter, so I can give it to the plot() routine. I would like to define a number of such single variable functions for different values of the parameters and plot them all on the same axes.

Ideally, I would like to find a way to make the following, instead of returning 14, return 21,...

Hi,

I am trying to simplify the expression s as given below. (I am not sure why it comes up with all the vector caclulus notation in it but it should display okay when you enter it)

Because of the presence of the exponential imaginary fucntions I thought evalc might be useful but when I use it I get a huge expression with csgn appearing in it. To my knowledge csgn appears when assumptions are not correctly specified - is this so? I can't see any assumption...

Hi. I have a function defined like this: 

 

myfun := proc(a11 ......)

f := a11 * x^2 + 2*a12*x*y + a22*y^2 + 2*a13*x + 2*a23*y + a33;
printf("\n");
 printf("%a",f);

 end proc; 

 

When i call this function from my worksheet, the "f" polynomial is printed unformatted. For example the output in my worksheet is

 

x^2+6*x*y+y^2-2*2^(1/2)*x-6*2^(1/2)*y-4

 

Hallo,

I would like to parse function name of parameters (type is function) in my procedure.
I expact for the one parameter this fun::Or(name, function(name). This is exactly the same type like the second parameter in procedure rsolve

For example:
The value of the parameter fun is y(n) and I would like to parse function name y and function variable 

I have a function written that takes a column vector and returns a column vector. I would like to apply this function to a matrix and have it run on the columns of the matrix. Is there a way to do this like in Mathematica? I have tried the Map and Map2 commands but they only apply a function entry by entry. I need a way to evaluate a vector function on the first through last columns of the matrix.

I'm looking for a quick way, preferrably without using any loops to 'map' a function using several vectors.

 

In the single vector case, this is quite easy, but with multiple vectors, I'm not sure if map is the correct command to use.

 

For example:

u:=<1,1,1>;
v:=<2,3,4>;

f:=(x,y)->ln(x-y);

 

What I'd like to do is create a new vector from the map of the function onto both vectors,...

Dear All,

 

Hi. I am interested to find the pdf of this moment function: phi(t) = exp(a * b / p (e^(a*t) -1))

This is a moment of random variable Y = aX where X is a Poisson random variable with rate (a*b/p)

I want to know is it possible to find a pdf from its moment in maple?

If so how?

 

Best Regards,

Saeid

MathieuExponent...

May 27 2011 Higgsino 20

Hi,

where can I look up, how Maple calculate the function MathieuExponent. By how I mean, which algorithm is used by Maple and how is it implemented,

Thanks

First 12 13 14 15 16 17 18 Page 14 of 20