misvanrooij

20 Reputation

4 Badges

11 years, 55 days

MaplePrimes Activity


These are questions asked by misvanrooij

Hi,

I have a file with arbitrary points which I want to connect with a surface. I have seen similar problems on this site but I can't fix my problem with the answers that are given, mainly because my points are just plain vectors. Can anybody help me? 
These are my points/vectors:

v1 := `<,>`(15, 6, 14.89);
v2 := `<,>`(15, 8, 14.72);
v3 := `<,>`(15, 10, 14.79);
v4 := `<,>`(15, 12, 14.95);
v5 := `<,>`(15, 14, 15.17);
v6 := `<,>`(15, 16, 15.43);
w1 := `<,>`(15/2, 4, 9.78);
w2 := `<,>`(15/2, 6, 9.95);
w3 := `<,>`(15/2, 8, 9.85); 
x1 := `<,>`(15*(1/3), 4, 8.71);
x2 := `<,>`(15*(1/3), 6, 8.44);
y1 := `<,>`(15/4, 4, 8.31); 

I can only plot the different points with 

with(plots);
pointplot3d({v1, v2, v3, v4, v5, v6, w1, w2, w3, x1, x2, y1}, scaling = CONSTRAINED, symbolsize = 20, color = red, axes = normal, labels = ["L/h", "n", "kg/m"]);

I hope someone can help me!

Hi,

I have written a for-end loop and put all the outcomes of the loop in a matrix and now I want to plot these results but for some reason maple won't plot the matrix in a correct way. If I copy-paste the matrix into an new file maple plots it correct. What is the reason that maple won't plot it in my original file?

Here is my file. 

restart;
Parameters
L := 20; Q := 20; n := 8; h := 3; EAv := 1;
Mat := Matrix(10, 2, storage = sparse);
a := 1;
loop L1
for L1 from .6 by .1 to 1.5 do
L1 := L1;
L2 := 2*L1;
L3 := 1.6*L2;
L4 := (1/2)*L-L1-L2-L3;
alfa1 := evalf(arctan(h/L1));
alfa2 := evalf(arctan(h/L2));
alfa3 := evalf(arctan(h/L3));
alfa4 := evalf(arctan(h/L4));
F4 := (1/2)*Q*L4;
F3 := (1/2)*Q*L3+(1/2)*Q*L4+F4;
F2 := (1/2)*Q*L2+(1/2)*Q*L3+F3;
F1 := (1/2)*Q*L1+(1/2)*Q*L2+F2;
w1 := evalf((1+sin(alfa1)^3)*F1*L1/(EAv*sin(alfa1)^2*cos(alfa1)));
w2 := evalf((1+sin(alfa2)^3)*F2*L2/(EAv*sin(alfa2)^2*cos(alfa2)));
w3 := evalf((1+sin(alfa3)^3)*F3*L3/(EAv*sin(alfa3)^2*cos(alfa3)));
w4 := evalf((1+sin(alfa4)^3)*F4*L4/(EAv*sin(alfa4)^2*cos(alfa4)));
kkm := (w1-w2)^2+(w2-w3)^2+(w3-w4)^2; Mat(a, 1) := L1;
Mat(a, 2) := kkm;
a := a+1
end do;

with(plots);
pointplot(Mat);

 

Hi,

I have this set of equations but maple won't solve the three variables and it gives an 

Error, (in solve) cannot solve for an unknown function with other operations in its arguments. This are the equations with unknowns, alfa1, alfa2, and alfa3.

eq1 := 3*(1+sin(alfa1)^3)(30/tan(alfa1)+60/tan(alfa2)+60/tan(alfa3))/(sin(alfa1)^2*cos(alfa1)*tan(alfa1)) = 3*(1+sin(alfa2)^3)(30/tan(alfa2)+60/tan(alfa3))/(sin(alfa2)^2*cos(alfa2)*tan(alfa2));

eq2 := 3*(1+sin(alfa1)^3)(30/tan(alfa1)+60/tan(alfa2)+60/tan(alfa3))/(sin(alfa1)^2*cos(alfa1)*tan(alfa1)) = (90*(1+sin(alfa3)^3))/(sin(alfa3)^2*cos(alfa3)*tan(alfa3));

eq3 := 3/tan(alfa1)+3/tan(alfa2)+3/tan(alfa3) = 25/2;

solutions := [solve({eq1, eq2, eq3, alfa1 > 0, alfa2 > 0, alfa3 > 0}, {alfa1, alfa2, alfa3})];

Can anyone help?

 

Page 1 of 1