Items tagged with undefined undefined Tagged Items Feed

Hello!

 

I'm pretty new to Maple and I can't figure out how to input angles in degrees and radians in Maple 16 and in Maple Calculator.

 

E.g. How could I type 58 degrees, 28 minutes, 18 seconds?

 

Thanks in advance for your help!

 

puckie62

Say for a complicated function f(x), there are 10 solutions. I want to check for any of the solutions, the matrix R is defined or not.

 

Is there a way to force execution like the following ones?

seq(1/i,i=0..3);

for i from 0 to 3 do
    1/i;
end do;

 

I think the problem is that, Maple stops immediately when it's undefined. But the following terms could be defined.

Or is there a way to put this check into "solve"? That's

> solve(f(x),x, "some way of making sure that the solution has to be defined for the matrix R" )

 

 

Is there a way to achieve this?

Thanks

I keep getting an error about the while. It is calling it an invalid if statement.  It may relate to semi colons, but I cannot find any errors myself. Please help.

InterpolIDW2:=proc(n,rwin,mink,p,R,IR)       

local ix,iy,i,j,i0,i1,j0,j1,k;      

local count,wgt,top,bot,hp;      

print(`n=`,n,`rwin=`,rwin,`mink=`,mink,`p=`,p);      

hp:=p/2;        

for iy from 1 to n do      

for ix from 1 to n do           

if (IR(ix,iy)=0) then                

i0:=max(1,ix-rwin);  i1:=min(n,ix+rwin);                

j0:=max(1,iy-rwin);  j1:=min(n,iy+rwin);                 

k:=add(add(IR(i,j),i=i0..i1),j=j0..j1)                                                                

while (k<mink )do                              

if(i0>1) then                                       

i0:= i0-1;                                       

k:= k+ add(IR(i0,j),j=j0..j1)                              

end if;                              

if(i0<1) then                                        

i0:=i0+1;                                        

k:= k+ add(IR(i0,j),j=j0..j1)                              

end if;                              

if(j0>1) then                                        

  j0:=j0-1;                                       

  k:= k+ add(IR(i,j0),i=i0..i1)                         

  end if;                           

 if(j0<1) then                                

 j0:= j0+1;                                         

k:= k+ add(IR(i,j0),i=i0..i1)                             

end if;                         

end do;                  

top:=0;  bot:=0;                

for j from j0 to j1 do                

for i from i0 to i1 do                      

if (IR(i,j)<>0) then                           

wgt:=1/evalf[14](((ix-i)^(2)+(iy-j)^(2))^(hp));                           

top:=top+wgt*R(i,j);                           

bot:=bot+wgt;                      

end if;                

end do;                

end do;                

R(ix,iy):=top/bot;           

end if;      

end do;      

end do;  

end proc:

So this is the errorcode I get and my code is

> r := (x1, y1, x2, y2) options operator, arrow; (sqrt((x2-x1)^2+(y2-y1)^2))^2
> hreg := (A, C, x) options operator, arrow; A*x+C
> hpconf := (Q, x1, y1, x2, y2) options operator, arrow; Q*(1/4)*ln(2.25*b*K*t/(S*r(x1, y1, x2, y2)))/(3.14*K*b)


> he1 := (x, y, C) options operator, arrow; hreg(A1, C, x)+hpconf(Q1, x, y, xp1, yp1)+hpconf(Q2, x, y, xp2, yp2)+hpconf(Q3, x, y, xp3, yp3)+hpconf(Q4, x, y, xp4, yp4)
> C1 := solve(he1(-75, 0, C) = 20, C);


> plot3d(he1(x, y, C1), x = -75 .. 75, y = -75 .. 75, style = surfacecontour, axes = box);

I have defined all the constants, and squareboxes shouldn't be needed for the plot, right?

 

Dear Maple Users,

I'm beginner in Maple.

I have this system of Pde:

with lambda experimental parameter and n,c,v dependent variables. I write this on Maple but I read on internet that the solution "float(undefined)" is an error.

I will insert this initial condition: c(x,0)=0,n(x,0)=0.4

Thanks everybody

Hallo guys,

I am newbie in Mapple, i could not solve the problem yet, here is my little function. I want to estimate beta with the Maximum Likelihood Estimation with Weibull: 

> MaximumLikelihoodEstimate(Weibull(beta, eta), F1); F1 := Vector([1500, 1750, 2250, 4000, 4300, 5000, 7000]);
print(`output redirected...`); # input placeholder
[beta = HFloat(HFloat(undefined)), eta = HFloat(HFloat(undefined))

]

 

May someone help me why i just get HFloat(undefined)  ?

 

Kind regards

Just came across this

Press esc twice then enter.  Maple becomes unresponsive. 

 

 

Sqlite Connector...

October 08 2013 cloz54 25

Hi, again:

Is there a way to connect Maple with Sqlite?

Thanks in advance

C.L.

 

I am dealing with second order linear differeantial equations for RLC and forced RLC circiuts.

I am having trouble with plotting a solution curve in the phase plane.

 

> restart;

with(plots); with(DEtools);

L := 10; R := 20; C := 1/100;

de1 := diff(x(t), t) = y(t);

de2 := L*(diff(y(t), t))+R*y(t)+x(t)/C = 0;

 

DEplot({de1, de2}, [x(t), y(t)], t = 0 .. 5, [[x(0) = 10, y(0) = 0]], stepsize = 0.5,

Hy, I am trying to design a game with maple. For that I simulated the 6 rolls with the random function. Now I'd like to display them on 6 different buttons. I desgined the buttons, but I can only manage to get a fixed expression on them (like "dice"), but no variable. My idea is to take the element of a list (6 rolls in one list) and display it on the button. Can anybody help me please? Thanx!

How do I find all words beginning with "FL" and ending in "S" ?

Hey,

i got some linear optimization problem which i solved via maximize from the simplex library and i'd like to know if there's some way to generate only the final simplex tableau.

DOES ANYONES HAS THE SLIGHTEST IDEA OF HOW I COULD MODEL AND SUMILATE THE WAVE PATTERN OF A REGISTERED EARTHQUAKE??? FOR INSTANCE I AM STUDYING THE EARTHQUAKE EFFECTS OF THE NOVEMBER QUAKE IN GUATEMALA OF LAST YEAR. I WOULD LIKE TO MODEL THE MOVEMENT OF THAT QUAKE OVER A GIVEN AREA NEAR THE EPICENTER.

ANY HINTS OF HOW I COULD EVEN START TO MAKE THE MODEL AND SIMULATE??

Hello, I'm currently trying to solve this set of ODE's, but the way I have formulated the problem seems to be hard to process. Is there any simpler way of doing this, because it takes Maple a few minutes to solve 10 steps and I need more than a 100.Thank you in advance!l := 1.34*.75;Omega[p] := sqrt(g/l);v := .75;f[p] := .35*v^3-1.59*v^2+2.93*v;bmin := 0.157e-1;ci0 := y1(0) = 0, (D(y1))(0) = v;u0 := 0+v/Omega[p]+(-1)^0*bmin;p1 := diff(y1(t), t, t)+Omega[p]^2*(u0-y1(t)) = 0;k[1...

Hello,

This method works in 2d... but in 3d I get a HFloat undefined output when I try and substitute the actual values in to the function. If anyone could have look through the programming and see why this is, it would be really helpful!

Thanks,

Rach:)

The_Whole_Program_I.mw

1 2 Page 1 of 2