490 Reputation

12 Badges

14 years, 283 days

MaplePrimes Activity

These are questions asked by DJJerome1976

I have an n x n matrix. I am trying to write a procedure that will randomly choose a row (column) in the matrix, and replace another row (column) with the entries of the chosen row (column). So, the end result will be another n x n matrix that has two identical rows (columns). How could one do this?


I am trying to build a procedure to check to see if an nxn matrix is elementary. I am working with the standard definition of an elementary matrix, a square matrix that is formed by performing exactly one row operation on the corresponding identity matrix. It could also be interpreted as a matrix that is exactly one row operation from becoming the identity matrix. Does anyone have any idea how this might be done?


I have two simple implicitly defined curves: 0.5y^2-x-3 = 0 and x+y=1. I would like to plot these curves implicitly and shade the region enclosed by them. I've tried using the plots:-implicitplot( ) as shown, but I can't get just the enclosed region to be shaded. I know how to acheive this using the explicit equations. I am looking for an implicitplot solution, assuming there is one.


implicitplot([.5*y^2-x-3 = 0, x-y = 1], x = -5 .. 8, y = -5 .. 5, filledregions = true, coloring = [red, white])





I recently got a question answer regarding drawing a weighted digraph. That got me thinking about more "complicated" networks, i.e., electrical networks. Is it possible to draw the following electrical network in Maple? I know it can be done quite easily in MapleSim, but how about Maple?

I am trying to create the image shown below in Maple.

I am able to created the nodes and edges fairly easily. I would like to know how to add the labels to each edge, formatted as shown, and more importantly, have the edges decorated with the arrows, also as shown. I've tried playing around with digraphs, but I'm not really getting the desired look. I've attached my attempt and welcome any suggestions as to how to improve what I've done so far, as well as achieve my goal.

1 2 3 4 5 6 7 Last Page 3 of 15