Items tagged with value value Tagged Items Feed

I have to plot a variable in a diagram which is updating itself. The Variable is the area of a various triangle and the  value has to be plotet in a view of the triangle. How to do this? 

I want to evaluate - del(psi)/del(x) analytically in MAPLE. I wrote the following lines for the purpose :

 

deltat := proc (x) options operator, arrow; lambda*x^m end proc

Gr := proc (x) options operator, arrow; g*beta*deltat*x^3/nu^2 end proc

xi := proc (x) options operator, arrow; g*beta*x/c[p] end proc

eta := proc (x) options operator, arrow; (1/4)*y*4^(3/4)*Gr^(1/4)/x end proc

psi := proc (x, y) options operator, arrow; nu*4^(3/4...

I need this quite often, but never found a nice way of getting the index of minimal or maximal value of a Vector (or a list or whatever). Is there an easier way than the following?

N := 15:
L := LinearAlgebra[RandomVector](N):
m := min(L):
for i to N do if L[i] = m then print(i); break end if end do;

Given a vector with six elements called, say, c, how do I assign the sum of its values to a name called d without having to write d=c[1]+c[2]...?

Thanks in advance.

Dear Sir/Madam,

I have a list with positive and negative values. Now I want to count the amount of values less than 0. I tried a few things from the ListTools but nothing is working. I hope you can point me in the right direction.

Kind regards,

Nine Klaassen

Master student TU Delft

Can't find what the matter in recursive occurance of this problem. Anyone knows how to sort it out, thanks

k:=20:
m:=4:
p[0] := 1:
tr := 4:

omega[n]:=sqrt(k/m):

T[n]:=(2 pi/omega[n]):

> maxpoint := proc (x)
local tr, p1;

tr := evalf(x*T[n]):
p1 := piecewise(t1 <= tr, p[0]*t1/tr, p[0]):
maximize(int(p1*sin(omega[n]*(t-t1))/(m*omega[n]), t1 = 0 .. t), t = 0 .. dur) :

Dear Maple users

The formula f = c/λ is expressing the frequency in terms of the velocity of light  c and the wavelength λ. Lets say given not just one wavelength, but a whole list af wavelengths. The values have units attached. I wonder if there is an elegant way to have Maple calculate the all the frequencies, eventually delivering them in a new list?

I want the units of the output reduced to SI-units,...

I tried to solve a non linear coupled boundary value problem in MAPLE using DSolve command. The code is :

alias(eta = e, theta = t)

Eq[1] := 5*(diff(F(e), `$`(e, 3)))+(m+3)*F(e)*(diff(F(e), `$`(e, 2)))-(2*m+1)*(diff(F(e), e))^2-(4*m+2)*H(e)-(m-2)*e*(diff(H(e), e)) = 0

Eq[2] := diff(H(e), e) = t(e)

Eq[3] := 5*(diff(t(e), `$`(e, 2)))/Pr-(m+3)*F(e)*(diff(t(e), e))-5*m*(diff(F(e), e))*t(e) = 0

BCs := [F(0), (D(F))(0), (D(F))(infinity), t(0)-1, t(infinity), H(infinity)]

Hi there. 

I'm making some 2D contour plots and am desperate to know what the values are which are assigned to the different contour levels. e.g., a red band must be reading value 120 (say) and an orange one 80, but how can I get this and show it on a legend in the plot? It's crucial to the value of the plot. 

Many thanks for any help!

David

well first of all this site was very useful for doing my homework, but there is still something I didnt find on it and im sure other people may find it useful.

 

I have a system of 5 ode's and 6 initial conditions that ive solved successfully and plotted the graphs i need:  Position VS Time

          Speed VS Time

The only thing I initially know is the final position, which i can read on the first graph and...

Dear Maple Users

I have encountered some strange behavior when trying to copy a vector:

In the first section I define a vector a and try to copy that vector and assign it to an variable b. Then changing the first coordinate in the copied vector b actually change the original vector as...

Hi,

I have to solve a very complex trigonometric equation which has 0,1 or 2 solutions between 0 and Pi (it depends from some parameters...).

The first problem I solved is to find the two solutions (when they exist), because at the beginning, the fsolve function returned only one solution. So, reading in your site, I solved this problem "splitting" che solutions domain in two parts in which I expect to find the two different solutions.

So for example a I wrote:

Dear MapleSim users

How can I get a display block / digital meter ? I want to display the last (or at a triggered time) the numerical value of a point/connection of a system.

I do not need the full graph of the "probe just the one value. It's mainly for debugging purpouse, to have a few check points once run.

The probes are nice but sometimes you want just a number not the full graph ;)

Does anybody have a trick ? Or could the probe plot item...

I have defined a function 'A' and written a procedure to evaluate it for various variables, as follows:

A := r*sin(m);

Aval := proc (r, m)

evalf(A);

end proc;

Aval(1, Pi);

The function defined by its variables is returned:  r*sin(m).

How can I get maple to return the numerical value of the function?

Hi!


How I can pass value directly from slider to expresion without executing whole worksheet?

wzel 

 

question.mw

1 2 Page 1 of 2