number of digits after comma using printf?...

Hi, i'm new on this site. I want to know how to set an output un-scientific number but we can set the number of digit "after comma" as we want?

The best i can do is using this:

`printf("%f\n",something)`

So, for example i want to calculate

`123456789/123`

It gives me:

1003713.732000 (only gives 6 digits after comma)

I don't want the output looks like this:

But, for example i want the result has 9 digits after comma and gives me:

1003713.731707317

Solve Diffusion equation (PDE) using Laplace with ...

Hello everyone,

I should solve the diffusivity equation using Maple. The equation and BSc are as follow:

pde := W*diff(C(z, t), z \$ 2) - diff(C(z, t), t \$ 1) = 0

bc[1] := C(x, 0) = 0;
bc[2] := D[1](f)(0, t) = VMK*D[1](f)(t)/ZRTWA;
bc[3] := C(infinity, t) = 0;

The equation should be solved using Laplace method. Can anyone please help me ?

using the Physics package version:

Physics:-Version();
The "Physics Updates" version in the MapleCloud is 899 and is the same as the version installed in this computer, created 2021, January 2, 19:51 hours Pacific Time.

I end up with:

Latex:-Settings(useimaginaryunit=i,
usecolor = false,
powersoftrigonometricfunctions= computernotation,
leavespaceafterfunctionname = true,
cacheresults = false
);

resluting in an error:

Error, module does not export `ModuleApply`

Maybe some changes in the interface in the latest version?

thanks

RE: incomplete substitution...

Hello there,

First of all, happy new year to you and those around you!

One question: would you teach me how to replace the 'Zs/Z_AB' expression in the last term of the expression 'eq_5_m5'?

In other words, I wanted to see the 'desired' expression, but the 'subs()' command repalced the first occurance of the 'Zs/Z_AB' expression.

(Perhaps, this applet behind of this edit box does not like the Microsoft Edge browser)

Maple Worksheet - Error

Failed to load the worksheet /maplenet/convert/Q20210103.mw .

Maple Worksheet - Error

Failed to load the worksheet /maplenet/convert/Q20210103.mw .

how to produce point plot...

here is my try

for ploting points of data ( d(n(, sum(n))

new.mw

How to make a drawing according to special rules i...

Hello. I have certain requirements for drawings. Please tell me, is it possible to implement them when plotting in Maple? Thanks.
Drawing width 15 cm
Be sure to frame and mesh. The thickness of the frame and serifs on the axes is 0.5 pt. Mesh thickness 0.25 pt. The length of the serifs is 1.2 mm.
The thickness of the graph itself is 1 pt
Axis names 10 pt

plot convex or concave shell ...

Is there a similar function as (cylinderplot) to plot convex or concave toroidal shell segments?

This type of shell is as follows.

How to use Arrays instead of big Lists when the li...

Recently, I encountered warnings and errors when size of my list is big. Maple says use array instead of list because of ... . When the list is just a list of numbers or a list of lists of the same size, I can rewrite it as an array, but how about a list like the following?

`[seq([[0,0],0],i=1..10)]`

This is just an example. So the elements of this list are lists containing a vector (a point in the plane) and a number (a property of this point). One idea is to use two arrays, a two dimensional array for recording the vectors, and one 1-dimensional array for recording the numbers and keep in mind that the i-th number of the second array is related to the i-th vector (row) in the first array. But is there any possibility to have this data recorded similar to when we are using lists, i.e. similar to the above code?

Graph of paraboloidal surfaces...

How can I get the follow graph of paraboloidal surfaces (ξ=1,η=2) with the coordinate vectors ξ, η0 , φ0 as shown in the picture.

Realation between cartesian coordinates and paraboloidal :

x=1/2 (ξ2 - η2), y=ξ η cos(φ), z=ξ η sin(φ)

I wrote the following code:

Student:-VectorCalculus

S1 := PositionVector([1/2*(-eta^2 + 1), eta*cos(phi), eta*sin(phi)], cartesian[x, y, z]):

LH := PlotPositionVector(S1, eta = -2 .. 0, phi = 0 .. 2*Pi, coordcurve = [eta = -2, tangent = true, binormal = true, vectornum = 1], scaling = constrained)

S2 := PositionVector([1/2*(xi^2 - 4), 2*xi*cos(phi), 2*xi*sin(phi)], cartesian[x, y, z]):

LG := PlotPositionVector(S2, xi = -1 .. 1, phi = 0 .. 2*Pi, coordcurve = [xi = 1, tangent = true, vectornum = 1], scaling = constrained)

And I got the two paraboloidal surfaces with the vectors separently.How can I get only one graph with these two surfaces as shown in the picture (with ξ=1, η=2) ?

Using output as input...

If I have a vector like u:=<-2+m,3+m> and then I put m:=5 (for exemple) when I repeat u it doesnot replace the value of m by 5,

instead repeats the initial expression. I would like to find a way to achieve this in order to automate calculations.

How does one use these equations containing differ...

This website suggests that the viewer write equations containing differentials and use them to plot topographical lines.

https://mathcurve.com/courbes3d.gb/topographic/topographic.shtml

I am basically familiar with equations containing derivatives, but not with equations containing differentials.

How can one employ these to draw the lines shown in the website's various plots of surfaces?

If n / i are odd, what is the sum of i? i's are al...

S := proc (n) local i; for i to n do if i <= n and type(i, divisors(n)) and type(n/i, odd) then sum(i) end if end do end proc

Solving PDE numerically and outputting time depe...

Hello!
I solved a simple PDE numerically and found that I couldn't implement a simple thing!
For example:
restart:
PDE := diff(u(x,t),t)=1/10*diff(u(x,t),x,x);
IBC := {u(x,0)=1, u(0,t)=0, D[1](u)(1,t)=0};
pds := pdsolve(PDE,IBC,numeric);
p1 := pds:-plot(t=0): p2 := pds:-plot(t=1/10):p3 := pds:-plot(t=1/2):p4 := pds:-plot(t=1):
plots[display]({p1,p2,p3,p4});
I got some spatial dependencies for different fixed t. But I want to get opposite! How to get time dependence for fixed x?
Replacing t with x results in an error.
Update.
This equation is example, really I solve this:
PDE := diff(u(x,t),t)+v*(1+k*sin(2*Pi*f*t))*diff(u(x,t),x)=a*diff(u(x,t),x,x);
IBC := {u(x,0)=T__0,u(0,t)=sin(2*Pi*f*t),u(L,t)=T__0};
So sin makes this equation nonlinear, so I need numerical procedure.