hi. i write a program consists a for loop in which cycle 'i', x[i] and hz[i] is calculated.
now i want to plot hz[i] correspond to each x[i].
this code is working but how to brief them?
hhz := piecewise(x < X[1], hz[1], X[1] < x and x < X[2], hz[2], X[2] < x and x < X[3], hz[3], X[3] < x and x < X[4], hz[4], X[4] < x and x < X[5], hz[5], X[5] < x and x < X[6], hz[6], X[6] < x and x < X[7], hz[7], X[7] < x and x < X[8...
how is possible to draw each line separately?
n1 := 1; n2 := 1.45; n3 := 3.5;
z0 := 120*Pi; d1 := 1; d2 := 1; d3 := 1;a := 1;
k0 := 2*Pi/lambda;
ub := sqrt(n1^2-`βb`^2); vb := sqrt(n2^2-`βb`^2); wb := sqrt(n3^2-`βb`^2);
Ub := k0*ub*d1; Vb := k0*vb*d2; Wb := k0*wb*d3;
z1 := z0/ub; z1b := z1/z0;
a0 := -tan(Vb)/(wb*ub)-tan(Ub)/(vb*wb)-tan(Wb)/(vb*ub)+tan(Ub)*tan(Vb)*tan(Wb)/wb^2;
b0 := tan(Ub...
how can i solve two coupled differential equations like these:
s1 := diff(n[D](t), t) = a-b*n[D](t)^2-c*n[D](t)-e*n[D](t)*n[T](t);
s2 := diff(n[T](t), t) = b*n[D](t)^2-c*n[D](t)-e*n[D](t)*n[T](t);
why
dsolve({s1, s2,n[T](0)=0})
gives error?
if i have a saved single plot without any programing codes,
how is possible to add a verical text for it's vertical axis label?
why isn't possible to copy a whole plot in maple 13 and paste it in another locationof that page or another new blank tab, whereas in maple 12 was possible!?
if i have ten "hz", each displayed with hz[i] was calculated before,
then want to make a continues expression and plot it,
i use this form and it answered me correcctly.
piecewise(x <><><><><><><><><>
why dont any of maples 11, 12, or 13 work properly in windows seven?
for example: when i click on "open a file" or "save" botton, and then it opens a window, the respective window dont show "up one level" or "create new folder" and "details" bottons above it.
how is possible to join dots in a scatter plot after plotting, and make a line from a dotted plot?
who know how can i solve or plot a two unknowns equation in MATLAB like implicitplot in maple?
hi.
anyone know how can i merge a lot of function in a piece wise comment?
and plot merged one.
for example in x axis for each 1 cm of length, we have one function till 10 cm and i want to plot all of these functions in one combined diagram.
why doesn't "coeff" command work on this equation?
f=zin-z2(z3(z1(zin+I*z1*tan(beta1*d1))+I*z3*(tan(beta3*d3))(z1+I*zin*tan(beta1*d1)))
+I*z2*(tan(beta2*d2))(z3*(z1+I*zin*tan(beta1*d1))+I*z1(zin+I*z1*tan(beta1*d1))*tan(beta3*d3)))/(z2(z3(z1+I*zin*tan(beta1*d1))
+I*z1(zin+I*z1*tan(beta1*d1))*tan(beta3*d3))+I*z3(z1(zin+I*z1*tan(beta1*d1))+I*z3*(tan(beta3*d3))(z1+I*zin*tan(beta1*d1)))*tan(beta2*d2))
a0 := coeff(f, zin, 2);
b0 := coeff(f, zin, 1);
c0 := coeff(f, zin, 0);
how is it possible to identify the independent variable that maximize(or minimize) a function?
is it important to know the kind of the function?
Is it possible to specify the independent variable that maximize a function just via it's plot?
hi friends!
I have a 2*2 matrix(namely Mcell), whose elements vary as a complex function of "nu".
for each cycle of a "for" loop, h[j] := abs(Re(Mcell[2, 2])), whose diagram is periodic and has many crosses with y=1.
i just wanted the first two points(their difference) and used
L := Roots(h[j]-1, nu = 1 .. something, numeric); and
w[j] := L[2]-L[1];
in a "for" loop.
i check the answer, they are all true(w gets 20 values in 20 iterations).
how can i plot 20 pairs of (x,y) data,displaying both dots and one of available commands of CurveFitting Package in one diagram?
for example if we have L:=[1,2,...,20]: and w:=[23,24,25,...,42]:
plot dots:[1,23],[2,24],...,[20,42](but without writing these 20 pairs manual!) together with a fitting line in one diagram.
how can i get the inetersection point (a real number of x axis) of a complex plot and a real plot? and how to assign them respectively to an array?
for example the junctions of lines:
d1:=(sec(I*(x^2-2)))(exp(I*x)*sin(2*x)+cos(I*(2*x-3))); and
d2:=0.5; by plot([d1, d2], x = -5 .. 5);