## Critical Point and plotting diagram...

Asked by:

Hi every body,

I have a function "p(v,T)" which I evaluated its critical point. after calculating when I want to plot diagram of "p-v" for some values of "T" around critical value of "T" I expect the shape of diagram for "T" bigger and smaller than critical value of "T" be different. but it not happened. Are here anyone can help me? The function "p(v,T)" is in the file. if you want calculate critical point and check I am right or wrong. Thanks criticalpoint.mw

## How to draw a plot in my situation?...

Asked by:

Hi! I have the system of differential equations

restart; with(plots); with(DEtools);

a := 1;

deq1 := u(s)*(diff(varphi(s), s, s))+2*(diff(u(s), s))*(diff(varphi(s), s))+sin(varphi(s)) = 0;

deq2 := diff(u(s), s, s)-u(s)*(diff(varphi(s), s))^2-cos(varphi(s))+a*(u(s)-1) = 0;

sol := dsolve({deq1, deq2, u(0) = 1, varphi(0) = (1/4)*Pi, (D(u))(0) = 0, (D(varphi))(0) = 0}, {u(s), varphi(s)}, numeric)

which is perfectly solved, but I need to convert it to Cartesian coordinates and draw a plot, so what I tried is

x := u(s)*sin(varphi(s));

y := -u(s)*cos(varphi(s));

plot([x, y, s = 0 .. 20])

But I'm getting an error "Warning, expecting only range variable s in expressions [u(s)*sin(varphi(s)), -u(s)*cos(varphi(s))] to be plotted but found names [u, varphi]"

I don't know why is this happens if I have a solution. For example, I can get solution for 2 seconds:

sol(2)

[s = 2., u(s) = 2.33095721668252, diff(u(s), s) = 1.02513293353371, varphi(s) = .213677391510693, diff(varphi(s), s) = -.242430995691885]

## Convert polygons into polyhedron...

Asked by:

Hello!

I crwated a polyhedron from by grouping vertices to faces, and faces to a shell. My goal is to convert the obtained object into a polyhedron, which behaves similarly as e.g. Archimedean solids generated by Maple. Is it possible? Thank you in advance!

Bests,

Andrzej

## why do i get inconsistent plot with the same expre...

Asked by:

hi, learners of maple like me, i was handling a project,but i came across this problem,and i began to doubt the accuracy of maple-plot,,,

very simply expression,result3,changing with the parameter f,

i first plot the f from 100 to 5000,

than i need to watch closer,

so i change the define domain of parameter f, plot f from 100 to 1000,

and the result of plot definitely  differs from the previous one.

low vally in the first figure (f in the scale of 100-1000),disappears! that's insane...

you can see below,

anyone see it, can you give me some clue? i really do not understand this. why ,why why,,

 (1)

Download test.mw

## Stewart Gough Reverse Kinematics

by: Maple 2017

A question was raised recently on Stewart Gough platforms.  I decided to tidy up some old code to show platform position and leg lengths for any given displacement.

 Hexapod Setup Data

 Procedures

 (1)

 (2)

 (3)

Rotation Matrices

 >

 (4)

Download Reverse_Kinematics_Stewart_Gough_Platform.mw

## How to plot functions given implicitly....

Asked by:

I want(ed) to plot a surface gievn by f(x,y,z),g(x,y,z),h(x,y,z) where k(x,y,z) =0. I suspect that is not possble but I thought I might ask.

thanks

## How do I plot four second order curves in the same...

Asked by:

[[1000, 20], [2000, 25], [3000, 24], [4000, 23], [5000, 24]];
[[1000, 20], [2000, 25], [3000, 24], [4000, 23], [5000, 24]]
data1 := [[1000, 20], [2000, 21], [3000, 32], [4000, 23], [5000, 23]]; 'data1';
data1
a*x^3+b*x^2+c*x+d;
3      2
a x  + b x  + c x + d
x;
x
Equn1 := CurveFitting[LeastSquares]([[1000, 20], [2000, 25], [3000, 24], [4000, 23], [5000, 24]], x, curve = a*x^3+b*x^2+c*x+d);
plot(Equn1,x= 1000..5000)

Least Squares Approximation

Calculate a least squares approximation using specified data points.

Theoretical Curves for the Two-Stroke Engines and Four-Stroke Engines Brake Power Vs Brake Efficiency

List of Data Points:

 >
 (1)
 >
 (2)

Fitting Curve:

 >
 (3)

Independent Variable:

 >
 (4)

Least Squares Curve:

 >
 > plot(Equn1,x= 1000..5000)
 >

 >
 (5)

Least Squares Fit of Data by a Specified Curve

List of Data Points:

 >
 (6)

Fitting Curve:

 >
 (7)

Independent Variable:

 >
 (8)

Least Squares Curve:

 >
 (9)

 (10)

Download LeastSquareApproximation_2nd_and_3rd_Order.mw

The above command plots one curve alright. I want four such curves to go in the same figure using command like

plot(Equn1,Equn2,Equn3,Equn4,view(x=1000..5000)

I am not getting by the above command what I want. Can any one help. A shortcut method is required for me to repeat many times.

Thanks for help.

Ramakrishnav V

## Rotate 2-D plot around x-axis...

Asked by:

Hello

I have question. How can I rotate this 2-D plot and create 3-D plot?

plot(exp(-(x-3)^2*cos(4*(x-3))),x=1..5)

Thank you.

## get approximately function of plot...

Asked by:

hi my friend. i want to find a approximately function of this plot. how i can get this. and i have numerical value in this excel

## can you color a certain part of a 2d plot, for ins...

Asked by:

Dear community,

I'm new to maple and was wondering if you could help me out.

I have this curve where I want to make a line that goes from x=0.5 up to its value on the curve in this case 1.60 and then all the way to the y-axis so there is an area under the curve which I can color if that's even possible?

I have the following in maple:

k := 2.5;
2.5
Ca0 := 1;
1
v := 20;
20
Ca := Ca0*(1-x);
1 - x
Fa0 := Ca0*v;
20
Cb := Ca0*x;
x
ra := k*Ca*Cb;
2.5 (1 - x) x
plot(1/ra, x = 0 .. 1);

thank you for your help

Best Regards

Saad

## Plot points in a plot component...

Asked by:

I can not understand why the following statement works perfectly:
with (plots);
P1: = plot (f (x), x = xmin .. xmax, y = ymin .. ymax, color = "green");
P2: = plot (orddir, x = xmin .. xmax, y = ymin .. ymax, color = "blue");

Plots [display] (plottools [line] ([ascf, ymin], [ascf, 10]), color = red;
Plot ([5, y, y = 0 .. 10]);
P3: = implicit plot (x = ascf, x = xmin .. xmax, y = ymin .. ymax, color = red, linestyle = 3, thickness = 2);
P4: = plot (points, x = xmin .. xmax, y = ymin .. ymax, style = point, symbol = circle, symbolsize = 20, color = "black");
P5: = plot (h, x = xmin .. xmax, y = ymin .. ymax, color = "yellow");
Display ({p1, p2, p3, p4, p5}, axes = normal, scaling = unconstrained, title = "Parallel, vertice, focus, direction and axis of symmetry", gridlines = true);

While in the following
Points: = [F, V, A, B];
with (plots):
P1: = plot (f (x), x = xmin .. xmax, y = ymin .. ymax, color = "green");
P2: = plot (yd, x = xmin .. xmax, y = ymin .. ymax, color = "blue");
P3: = implicitplot (x = xv, x = xmin .. xmax, y = ymin .. ymax, color = red, linestyle = 3, thickness = 2);
P4: = plot (points, x = xmin .. xmax, y = ymin .. ymax, style = point, symbol = circle, symbolsize = 20, color = "black");

Do (% Plot0 = display ({p1, p2, p3, p4}, axes = normal, scaling = unconstrained, title = "Parallel, vertices, focus, direction and axis of symmetry", gridlines = true));

P4 does not print anything. In thanking you for the kind attention, I cordially greet you. Carmine Marotta ..

## Bug in contourplot?...

Asked by:

Hi everyone,

as a very basis example I've tried to get the equipotential lines of an 1/r² potential in the x-y-plane using contourplot. However, I obtained the following very strange result. Do you get the same mistake or is there something wrong on my end?

Thanks in advance,
Sören

 >
 >
 >
 >
 >
 >

Download contourplot.mw

## i cant draw a plot ...

Asked by:

hi
i want to draw a plot with to column-numerical that i imported from excel (i import one of the, for x axis and another for y axis)

## How to plot a complex electromagnetic wave in 3D?...

Asked by:

I have a complex function for both the electric and magnetic fields for 2 laser pluses colliding they are only 2 dimensions z,t;

Where a, are real constants and Z is the initial offset for the pluses,

I would like to plot them together with there real and imaginary parts on two axes and then extended along the z direction, if possible I would like to animate them. To hopefully get a moving plot like this except it's a laser pluse not a continuous wave,

## How to put the independent variable on the vertica...

Asked by:

Hi!

If somebody could help me it would be awesome!

I would like to be able to switch the independent variable onto the vertical axis!

If that is not possible, what i'm trying to do is modelise in a function a set of points, but with multiple values for the same x, but not more than one for the y, so the best option would be to switch the variables, to have x dependant of y. My graphic has to be vertical though, so I can't just switch the points.

Thank you a lot

Charlotte

 1 2 3 4 5 6 7 Last Page 3 of 175
﻿