Items tagged with range range Tagged Items Feed

Hello,

 

I have a function, lets say g(x,y,...), that depends on many other functions. But I don´t want the results that are inside certain intervals, and I need to receive the results of those functions as something like NULL when asking for a result that is inside any of those intervals. That way, g(x,y,...) would also have to result in something like NULL if any of the lesser functions are NULL fora any given values.

 

I tryied using the piecewise command, and for the intervals that I wanted, it worked, but for those I wanted to be NULL, they were understood as 0, and so G(x,y,..) continued to exist but with a very different value.

 

To clarify what I need, I will try an exemple:

 

Imagine I have the function f(x)=x

 

I want to disconsider the results for x<2 and x>6, in a way that if I try the command 'f(1)', I will receive something like NULL and know that it is outside the range.

 

In the same way, I need the plot of this function f(X) to show the function only from 2 to 6, but not existing for the delimited intervals.

 

Ad if I continue and make g(x)=f(x)+10 , I don´t want g(x) to exist if f(x) doesn´t exist, and same for the g(x) plot, which shouldn´t be shown in the intervals where f(x) don´t exist.

 

 

Thank you very much for your atention!

 

 

I have a plot of a sinusoidal function(cos_phi) which changes with incrementing values of variable k. When this function goes above 1 or below -1 I would like to have the range of k for which it occurs outputed somehow. Would anybody know how to do this?

How to create command...

March 24 2014 Lina 10

Hi,

I want to calculate a range.

eg. j=1...n-1 will use this equation

P(j,n):={((m/(2-1))(m/(2))^(j-1))/(2(m/(2))^(n)-1))} 

j=n will use other equation.

How to create the command? I keep receive errors.

 

Thank you.

Lina

 

 

Hello!

Im a regular student and Math is a really difficult topic for me, and every once in a while i run into a problen that i am unable to solve. This time i would like to ask this commmunity for some help. Many thanks in advance.

The function itself is: y = sqrt((x^2-5*x+6)/log[10]((x+10)^2))

I was able to determine the domain (X), but i am having very big trouble with finding the range (Y). Also i should be able to do it with pen on paper, but so far i have wasted 2 days and many papers on pointless scribblig.

Could anyone please explain how could i find the range of that function and provide a step by step solution? 

different ranges...

July 29 2013 goli 130

Maple is saying 'Error, Vector index out of range'. Can you see how maple executes all steps, so I can see where exactly the problem is?

Hi, 

     I'm using fsolve in a loop, as an example can we find the first 10 roots of sin(x) and store then in an array.

 restart;

x:=array(0..10):

x[0]:=0:

for i from 1 to 10 do

x[i]:= fsolve(sin(y)=0, y=x[i-1]..10 , avoid={y=x[i-1]});

end do;
 
Firstly this solve only 0,2*Pi, 3*Pi...Why does it skip Pi? also can I change the range to x[i-1]..infinity? 

I have found very little help about the Generate command of the RandomTools package.

I also have minor gripes about the syntax. And what better way to deal with these than to voice them?

This is how I was able to generate random lists and random Matrices.

A list of 10 random integers between 1 and 100:

L := RandomTools:-Generate(list(integer(range=1..100),10));

      L := [47, 8, 46, 44, 9, 77, 59, 16, 1, 70]

 

Hello All ,

I have attached my workseet for reference.

I find it strange that the solutions calculated in optimization shows a value "X" but when i try a value greater than "X" , there is still a solution available which is very irregular.Since the optimization finds the value beyond which the solution for a6 is zero/negative.

I am not sure what is causing this problem or is it just the problem with the optimization.

Hi

I've got a list of inequalities

[x > 5, 10 < x]

and I need to plot the region by

plots[inequal]( [x > 5, 10 < x], x = 4 .. 11, y = 0 .. 1);

but I don't want to specify x-range.

So how can I get the numbers from inequalities and generate something like "x = 5-1 .. 10+1"?

 

Thx :)

I have an assignment that I am suppose to be doing in maple, I am suppose to plot the function f(x)=e^(x/3)sin(2x) for abs(x)<=2.... for part of it...

Ive tried multiple things in maple such as plot(exp((1/3)*x)*sin(2*x), abs(x) <= 2) but it keeps throwing me an error, any insight on how to get tis graph plotted would be great.

I am having trouble identifying all the possible roots existing in the range specified.

In the file attached i have a non-linear set of equations that are solved for "w" value specified...but fsolve provides solutions only at certain values of "w" , does it mean there is no solution for other data points ?...or is there a way to find out all possible solutions for each value of "w"

Question_primes.mw

I am trying to evaluate integral (-1/rho)*del (p)/del (x) dy within the limits y=0 to y=delta (x). For that I first evaluated (-1/rho)*del (p)/del (x) and stored it in res2. Then I tried to integrate it w.r.t dy within limits 0 to delta (x). I wrote the following Maple lines for the purpose:

Te := proc (x, y) options operator, arrow; T[inf]+(T[w]-T[inf])*(1-y/delta[t](x))^2/(1+2*A*H/delta[t](x)) end proc

PDE := diff(P(x, y), y)-rho*g*beta*(Te(x, y)-T[inf]) = 0

 

How may I program the following with Maple?

 

(1) Define the function:

H(p) := p * c1 + p^2 * c2 + p^3 * c3  + ......

 

(2) Now construct the following expression:

 

(1-p) [ v''' + 1 ]  = H(p) [ v''' - 25 * v' + 1]

Here, v is some funciton of x.

 

(3) Now assume: v = u0 + u1 * p + u2 * p^2 + ...

and substitute this into the expression defined at the point (2).

 

I would like to set the range for a 3d plot.  For a 2d plot, I understand I can do it at the command line or by setting the axes properties after the plot's been drawn.

If I use plot3d(x*y, x=-10..10, y=-10..10) for example, how can I look at those parts of the surface for which -2 < xy < 2 for example?  I'd be happier with a command line option than a gui option but really anything would do.

 

many thanks!

Mary

1 2 Page 1 of 2