Items tagged with plot

Feed

For the PDE, I can't seem to plot T' as the y-axis, it gives me the error, "Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct". Anyone knows what seem to be the problem? I am open to all ideas and would appreciate any help:)

fyp3.mw

i need to find the graph of exp(v(r)) from 0 to 2e6.

i obtained the graph of v(r) by taking log but how to obtained in exp form

graph_of_exp_form_of_u(r).mw 

I apologise if this information is available on the support pages or on these forums already.

I have found the general solution to a differential equation and now need to plot multiple solution curves that correspond to a different value of a constant.

For example if I had y(x) = x + k, how would I go about plotting this for all the different values of k.

Many Thanks. 


 

restart

G := 6.6743*10^(-8); 1; R := 1336599.126346; 1; rho := 2.2450*10^14; 1; c := 2.9799*10^10; 1; a := 1/(8/3*(6.67*10^(-8)*Pi*rho/c^2))^.5

0.6674300000e-7

 

1336599.126346

 

0.2245000000e15

 

0.2979900000e11

 

4715700.713/Pi^.5

(1)

y(x) = rho*c((1-(x/a)^2)^(1/2)-(1-(R/a)^2)^(1/2))^2/(3*(1-(R/a)^2)^(1/2)-(1-(x/a)^2)^(1/2))

y(x) = 0.1993516000e36/(3*(1-0.8033593953e-1*Pi^1.0)^(1/2)-(1-0.4496840993e-13*x^2*Pi^1.0)^(1/2))

(2)

``


 

Download y(x).mw

I want to have a display() function that plots a certain expression that I already have defined, but then I also want to include a variable number of pointplots into the same graph. I basically want the user to define a set of x and y coordinates into two different arrays in the start of the Maple Worksheet, then later down the worksheet, I want to plot these x,y coordinates as a pointplot, for each point.

But for example, if there are 5 points, I would define the pointplots as p1,p2,p3,p4,p5, which I already have a loop to do automatically depending on however many points that has been defined in the previous arrays. But when I want to plot these in a display() function, I have to write display(p1,p2,p3,p4,p5) individually, and I can't therefore seem to find a way to make it like display(p1,...,pn). I want the display to add more pointplots depending on how many points are defined in the arrays.

Can anyone help me? Sorry if it was difficult to understand, I can explain further if you didn't understand.

Hello.

In maple you can use the interactive menu and choose what axes you want to look at the plot, ie. I choose Z axes and see the plot from above, can i do this by using syntax as a plot option?

 


 

restart; with(plots); with(Student[Precalculus]); with(LinearAlgebra)

S1 := x^2+y^2 = 4;

x^2+y^2 = 4

 

z = 2-x

 

F := Vector(3, {(1) = cos(z), (2) = x^2, (3) = 2*y}, attributes = [vectorfield, coords = cartesian[x, y, z]])

(1)

F := VectorCalculus:-Curl(F)

F := Vector(3, {(1) = 2, (2) = -sin(z), (3) = 2*x}, attributes = [vectorfield, coords = cartesian[x, y, z]])

(2)

g := [diff(rhs(S2), x), diff(rhs(S2), y)]

[-1, 0]

(3)

intergrand := -F[1]*g[1]-F[2]*g[2]+F[3]

2+2*x

(4)

``

Integrasjons område er projeksjonen på z=0 planet, her sirkel med radius=2

Intersection := lhs(S1) = rhs(S2);

x^2+y^2 = 2-x

 

{x = x, y = (-x^2-x+2)^(1/2)}, {x = x, y = -(-x^2-x+2)^(1/2)}

(5)

X := solve(rhs(Y[1, 2]))

-2, 1

(6)

plot3d([lhs(S1), rhs(S2)], x = X[1] .. X[2], y = rhs(Y[2, 2]) .. rhs(Y[1, 2]), color = [red, green]);

 

plot3d([lhs(S1), rhs(S2)], x = X[1] .. X[2], y = rhs(Y[2, 2]) .. rhs(Y[1, 2]), color = [red, green])

 

``


 

Download stokes_start.mw

here is my homework, i am new to maple and need some help!

Consider the logistic equation:

dP/dt = 3/100 * (P(M - P)),

with seasonally varying population constraint

M(t) = 20 + 1.54sin(pi t / 6)

use maple to plot the solution curve for P(0) = 25

Hallo

I'm trying to plot several periods of this 2π-periodic function f (x) = 3x, x ∈]-π; π] with the following code which I got from an older post.

However, when using uneven multipla of PI as x it just gives me a verticle line. Can anyone shed some light to this or perhaps give a better solution?

Thanks in advance

Best regards

Thomas

 

 

Hello everyone,

The problem resides in the argument "l" (small l) in the function "ratio", more precisely in the function "expi" then "riskexpjs" then in "ratio", so after try-outs I noticed that, then maple couldn't execute the function plot as decribed in the script.

Best regards,

   Consider a surface of the unit sphere about the origin, intersecting the volume of the cube [-a..a,-a..a,-a..a] 0<a<1.  What is the best Maple method to plot this surface with a direct mapping, that is without use of implicit plotting over a volume or rejecting grid points?

Hi,

I'm attempting to plot the distribution of the fractional part of a sequence of real numbers in the interval (0,1], where the fractional part of a real number x is given by <x>=x-[x], where [x] is the floor function.

In particular, I'm attempting to plot <log(n)> and <n^a> where n is a natural number and 0<a<1.

I know that I can use frac() to obtain the fractional part of the expressions.

However, I'm not sure how to plot a two-dimensional plot where the x-axis consists of a range for n and the y-axis in the inteval [0,1). I found an example of what I'm trying to do here on page 1.

Does anyone have any tips on how to do this?

Good morning Maple Expert,

 

I would like to explain the concept of piecewise curves in 2D & 3D to my students with plots.In this regard I request the associated expetrs in Maple to provide the appropriate Maple commands to get piecewise curves in 3D space.

 

With warm regards.

 

Mr.M.Anand

Associate Professor in Mathematics.

Hyderabad Institute of Technology and Management

i want to have plot int.  but i get error 

"Error, (in type/EvalfableProp) too many levels of recursion"

how can i draw this plot

please help me . thank you

I'm trying to plot contours in Maple, but the 2d contour plot output is not pretty. I tried the following command:

contourplot(-(1/2)*y^2-(1/2)*x^2-(1-.3)/sqrt((x+.3)^2+y^2)+((-1)*.3)/sqrt((x-1+.3)^2+y^2), x = -1.5 .. 1.5, y = -1.5 .. 1.5, axes = boxed)

and the plot is so much uglier than the 3d one:

contourplot3d(-(1/2)*y^2-(1/2)*x^2-(1-.3)/sqrt((x+.3)^2+y^2)+((-1)*.3)/sqrt((x-1+.3)^2+y^2), x = -1.5 .. 1.5, y = -1.5 .. 1.5, view = -2 .. -1.3, axes = boxed)

Is there any way I can get the same detail in the 2d one as there is in the 3d one.

Thanks in advance!

Hello! I am facing the problem to making the grahp of system of ODEs in the attached file from eta=-1..1. Please see the attachment and fixed it. I will be waiting your positive response.

new_graph_exact.mw

With my best regards and sincerely.

Muhammad Usman

School of Mathematical Sciences 
Peking University, Beijing, China

Email: muhammadusman@pku.edu.cn

Mob #: 0086-13001903838
5 6 7 8 9 10 11 Last Page 7 of 175