Dmitrii_U

20 Reputation

3 Badges

4 years, 52 days

MaplePrimes Activity


These are questions asked by Dmitrii_U

Could anyone please tell me how to solve the following system of equations and inequalities numerically in Maple:

{x + y = 2 and y = 1 and x > 0} or {x^2 = 4 and x < 0 and y = 0}?

By now I have been using solve() function in similar cases, but did not manage to adopt it for the or logical connector. 

Solving the two cases separately obviously works here, but does not help in the example, for which I need this, 

Thank you in advance!

I have the following program in Maple:

with(plots);
my_array := [[.1, .1], [.3, .45], [.55, .78], [.8, .9]]; #define an array of points
my_graph := pointplot(my_array, connect = true); #plot the array on a graph, connecting points
line := plot(.7, x = 0 .. 1); #plotting a horizontal line
display(my_graph, line); #displaying on the same graph

The output looks as follows:

 

I want to add a vertical line corresponding to the intersection of these two lines. Is there a way to do it?

Page 1 of 1