Adri van der Meer

Adri vanderMeer

1350 Reputation

18 Badges

14 years, 185 days
University of Twente (retired)
Enschede, Netherlands

My "website" consists of a Maple Manual in Dutch

MaplePrimes Activity


These are replies submitted by Adri van der Meer

Copy the lprint output

   with(Physics):
lprint( Physics[`*`](Physics[`*`](Physics[`*`](Physics[`^`](v(t), 2)))) );
v(t)^2
lprint(Physics[`^`](v(t), 2));
v(t)^2


Copy the lprint output

   with(Physics):
lprint( Physics[`*`](Physics[`*`](Physics[`*`](Physics[`^`](v(t), 2)))) );
v(t)^2
lprint(Physics[`^`](v(t), 2));
v(t)^2


@Markiyan Hirnyk This is Maple 14

Zeros.mw

@Markiyan Hirnyk This is Maple 14

Zeros.mw

@samiyare In that case you can minimize the quantity (eq1)^2 + (eq2)^2

@samiyare In that case you can minimize the quantity (eq1)^2 + (eq2)^2

@Markiyan Hirnyk


ArtNX 's question was: "How to extract the grid points from the plot structure?"

@Markiyan Hirnyk


ArtNX 's question was: "How to extract the grid points from the plot structure?"

See this question for copy-pastable input.
Use Worksheet mode, not document mode.

eqn2.mw

@ambitiousad this works for me (Maple 14)

Adri

eqn2.mw

@ambitiousad this works for me (Maple 14)

Adri

@acer pointed out that salha has to be substtituted in sols to get the final solution. All commands has to be ended wih a colon, because all output exceeds limit of 1000000, so you don't want to see it.
Then you can substitute numerical values for the parameters:

salpha := solve ( subs( s1, {eq2,eq4} ), {seq(alpha[i],i=aind)} );
answer := subs( salpha, sols):
# for example
eval( answer[3], {mu0=evalf(Pi*4*e-7), mu2=1.05, mu3=1000, Rm=16.25e-3, Rr=13.255e-3,
Rs=16.95e-3, Ro=18.45e-3, Np=3) };

(not all values provided)

@acer pointed out that salha has to be substtituted in sols to get the final solution. All commands has to be ended wih a colon, because all output exceeds limit of 1000000, so you don't want to see it.
Then you can substitute numerical values for the parameters:

salpha := solve ( subs( s1, {eq2,eq4} ), {seq(alpha[i],i=aind)} );
answer := subs( salpha, sols):
# for example
eval( answer[3], {mu0=evalf(Pi*4*e-7), mu2=1.05, mu3=1000, Rm=16.25e-3, Rr=13.255e-3,
Rs=16.95e-3, Ro=18.45e-3, Np=3) };

(not all values provided)

@xiao2788 So you can use a Matrix if all rows (calculated lists) have the same length, say 5.

r := Matrix(80,5):  # initialization
for i to 80 do
for j to 5 do
r[i,j] := ....
end do
end do:

@xiao2788 So you can use a Matrix if all rows (calculated lists) have the same length, say 5.

r := Matrix(80,5):  # initialization
for i to 80 do
for j to 5 do
r[i,j] := ....
end do
end do:
First 7 8 9 10 11 Page 9 of 11