[sage-support] Connection among the vertices on a plane or hyperplane

2013-03-04 Thread Asad Akhlaq
Hi, I am solving a problem where I want know that whether certain vertices on a hyperplane are connected to each other or not (i.e there exists an edge between two vertices). Say in a 2D plane, if I have 3 or more vertices (points), how can I decide that if all or some of these vertices are

Re: [sage-support] Re: Maxima-in-Sage versus plain Maxima

2013-03-04 Thread Michael Orlitzky
On 03/04/2013 11:10 AM, Jeroen Demeyer wrote: > Fair enough, but what if I want the "domain: real" behaviour in Sage? In > other words, what should do to have (abs(cos(t))^2).simplify() return > "cos(t)^2"? > > sage: maxima('domain: real;') > real > sage: var("t") > t > sage: assume(t, "real") > s

Re: [sage-support] sage vs matlab

2013-03-04 Thread David Kirkby
On 4 March 2013 17:51, Dan Aldrich wrote: > I've been using Sage for about 3 years now. One thing that hit me was when I > got into the 3rd year Electrical Engineering classes, my Matlab usage was > increasing because professors wanted all homework done in Matlab not Sage. This is not surprising,

[sage-support] Re: Open ID problem on sagenb.org

2013-03-04 Thread agan014
Hi Jason, Thanks for your quick response. I did try both the url's but the same problem occurs. It seems that yesterdays worksheets are under the account aniruddh_gandhi and I can't access this from either url. Cheers, Aniruddh. On Tuesday, March 5, 2013 11:21:26 AM UTC+13, Jason Grout wro

[sage-support] Re: Open ID problem on sagenb.org

2013-03-04 Thread Jason Grout
On 3/4/13 4:15 PM, agan014 wrote: I created an account on sagenb.org yesterday and used open id (google) to log in. Now when I try to login using the same credentials, I an not being logged into the same account. Probably a problem with my google open id being linked to different accounts. C

Re: [sage-support] sage vs matlab

2013-03-04 Thread Rogério Brito
Hi, Luis. On Mon, Mar 4, 2013 at 1:55 PM, Luis Finotti wrote: > Since this is not my area (and I have not used MATLAB) I thought I should ask > in case some > have experience with both. Please, don't take my word too seriously, as I am a very light user of these things, but, as a last resort, y

[sage-support] Open ID problem on sagenb.org

2013-03-04 Thread agan014
I created an account on sagenb.org yesterday and used open id (google) to log in. Now when I try to login using the same credentials, I an not being logged into the same account. Probably a problem with my google open id being linked to different accounts. Could some sagenb admin help out sinc

[sage-support] Re: sage vs matlab

2013-03-04 Thread Jason Grout
On 3/4/13 1:54 PM, Luis Finotti wrote: On Monday, March 4, 2013 2:42:48 PM UTC-5, Dr. David Kirkby wrote: I think Sage would have a hard job breaking into the MATLAB strongholds in engineering. It is used to control a lot of instruments and data collection. Agilent, who are p

[sage-support] Re: derivative solution within an interval

2013-03-04 Thread Emmanuel Charpentier
Le samedi 2 mars 2013 17:00:15 UTC+1, Emmanuel Charpentier a écrit : [ An idiocy ... ] [ Snip... ] > Since s1 is  irst-degree equation in t, this is the only real > nonnegative maximum (it is easy to show that there is no negative > maximum). > Now, try brute force via the to_poly_solve solver

Re: [sage-support] sage vs matlab

2013-03-04 Thread Luis Finotti
On Monday, March 4, 2013 2:42:48 PM UTC-5, Dr. David Kirkby wrote: > > > I think Sage would have a hard job breaking into the MATLAB > strongholds in engineering. It is used to control a lot of instruments > and data collection. > > Agilent, who are probably the world's premier test equipment

Re: [sage-support] sage vs matlab

2013-03-04 Thread David Kirkby
On 4 March 2013 16:55, Luis Finotti wrote: > Dear all, > > I will give a couple of informal talks on Sage. A question that will > certainly be asked is how Sage compares with MATLAB, probably in regards of > performance and functionality in modeling and other applied math > applications. I think

[sage-support] Re: sage vs matlab

2013-03-04 Thread LFS
I know this is probably not so important in the grand scheme of things but I was helping my DIL (daughter in law) with numerical maths class (electrical engineer) and at every step I found Matlab/Octave with their "major" commands obscured what was happening. For example, she needed to approxim

Re: [sage-support] sage vs matlab

2013-03-04 Thread Dan Aldrich
I've been using Sage for about 3 years now. One thing that hit me was when I got into the 3rd year Electrical Engineering classes, my Matlab usage was increasing because professors wanted all homework done in Matlab not Sage. Scipy have a decent library of signal processing functions. Matlab w

[sage-support] sage vs matlab

2013-03-04 Thread Luis Finotti
Dear all, I will give a couple of informal talks on Sage. A question that will certainly be asked is how Sage compares with MATLAB, probably in regards of performance and functionality in modeling and other applied math applications. (It seems that MATLAB is widely used here.) Since this is

Re: [sage-support] Re: Maxima-in-Sage versus plain Maxima

2013-03-04 Thread William Stein
On Mon, Mar 4, 2013 at 8:10 AM, Jeroen Demeyer wrote: > Fair enough, but what if I want the "domain: real" behaviour in Sage? In > other words, what should do to have (abs(cos(t))^2).simplify() return > "cos(t)^2"? > > sage: maxima('domain: real;') Use the maxima that the sage symbolics use: wst

Re: [sage-support] Re: Maxima-in-Sage versus plain Maxima

2013-03-04 Thread Jeroen Demeyer
Fair enough, but what if I want the "domain: real" behaviour in Sage? In other words, what should do to have (abs(cos(t))^2).simplify() return "cos(t)^2"? sage: maxima('domain: real;') real sage: var("t") t sage: assume(t, "real") sage: (abs(cos(t))^2).simplify() abs(cos(t))^2 -- You received th

[sage-support] Re: Maxima-in-Sage versus plain Maxima

2013-03-04 Thread kcrisman
On Monday, March 4, 2013 9:26:47 AM UTC-5, Jeroen Demeyer wrote: > > It seems that Maxima in Sage doesn't do some simplifications that plain > Maxima does, why is this and how can this be fixed? > > > Distributed under the GNU Public License. See the file COPYING. > Dedicated to the memory of

[sage-support] Maxima-in-Sage versus plain Maxima

2013-03-04 Thread Jeroen Demeyer
It seems that Maxima in Sage doesn't do some simplifications that plain Maxima does, why is this and how can this be fixed? ;;; Loading #P"/release/sage-5.7-sage.math.washington.edu-x86_64-Linux/local/lib/ecl/sb-bsd-sockets.fas" ;;; Loading #P"/release/sage-5.7-sage.math.washington.edu-x86_64-Lin

Re: [sage-support] Re: Random Permutation

2013-03-04 Thread Martin Albrecht
Why not use shuffle()? On Monday 04 Mar 2013, Simon King wrote: > Hi Gary, > > On 2013-03-04, GaryMak wrote: > >> sage: Permutations(50).random_element() > >> [11, 4, 30, 48, 49, 36, 22, 16, 27, 6, 44, 33, 13, 50, 9, 35, 15, 12, > >> 26, 45, 1, 18, 2, 40, 19, 10, 28, 7, 37, 46, 25, 29, 34, 41, 3

[sage-support] Re: Random Permutation

2013-03-04 Thread Simon King
Hi Gary, On 2013-03-04, GaryMak wrote: >> sage: Permutations(50).random_element() >> [11, 4, 30, 48, 49, 36, 22, 16, 27, 6, 44, 33, 13, 50, 9, 35, 15, 12, >> 26, 45, 1, 18, 2, 40, 19, 10, 28, 7, 37, 46, 25, 29, 34, 41, 38, 24, 8, >> 20, 32, 21, 14, 23, 31, 47, 43, 17, 3, 39, 5, 42] > > I have a

[sage-support] Re: Random Permutation

2013-03-04 Thread GaryMak
On Saturday, March 5, 2011 5:42:21 AM UTC, Jason Grout wrote: > On 3/4/11 11:38 PM, Santanu Sarkar wrote: > > How one can generate random permutation over the set > > A={1,2,...,50}? > > > > > I think this does it: > > sage: Permutations(50).random_element() > [11, 4, 30, 48, 49, 36, 22, 16, 27,