MaplePrimes Questions

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

How to do this? Please help me. Thanks.

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 ?

I will appreciate your insightful comments.

 

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

 

 

 

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 .
 

Download Q20210103.mw


Maple Worksheet - Error

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

Download Q20210103.mw

 

here is my try

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

new.mw

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

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

This type of shell is as follows.

 

 

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?

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) ?

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.

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?

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

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.
 

I have the following function:

f:=t->862.979774+1825.011621/([1+1.54943476*e^(-677.0138344*t)]^(131537/203808))

Is there any way Maple can calculate the indefinite integral of f(t)? I have tried integrating f(t) in a range t=tmin..tmax numerically using dsolve/numeric and plotting the numeric integral and I am satisfied with the result, but I would much prefer an analytic integration so that I obtain some function y(t) that I can later use which will be the indefinite integral of f(t).

So far, I have tried unsuccessfully to obtain an indefinite integral of f(t) using int and dsolve. Thanks in advance.

First 200 201 202 203 204 205 206 Last Page 202 of 2173