Hi
The problem is in scaling the arrows. I used arrow. look for plots with
arrow.
http://sage.math.canterbury.ac.nz/home/pub/138 (2d is at the bottom- no
problem, 3d is in the middle and requires jmol)
http://sage.math.canterbury.ac.nz/home/pub/142
Original credit for this idea is to Katie
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
a new video
http://www.youtube.com/watch?v=cx6cx788aHc. Hope I got it correct and sorry
to be so slow. :)
Best, Linda
On Thursday, 7 February 2013 14:08:41 UTC+1, William wrote:
On Wed, Feb 6, 2013 at 2:06 PM, Keshav Kini kesha...@gmail.comjavascript:
wrote:
LFS lfah...@gmail.com javascript
Hiya John,
When I saw this I realized that Sage could parametrize the intersection of
two surfaces given explicitly! Absolutely cool.
Thanks for your reply and Asad for your question.
var('x y z')
f(x,y)=(6 - 3*x - 2*y)/6
g(x,y)=(2 + 2*x + 9*y)/11
P1 = plot3d(f, (x, -5, 5), (y, -6, 6),
It is SO unfortunate that the sagenb.org published worksheets had to be
turned off - often a half hour of searching there yielded untold stores of
fruit.
1. It REALLY is unfortunate. I used those published worksheets ALL the
time. Without them I NEVER would have continued on with Sage.
Hiya Harald - I will try. I am really, really bad with forums. That is why
I posted the link to the public page. I think the version is 4.8. (Can't
use sagenb since no public posting.)
Here is the minimal code version I used in an example (for people like me
who don't understand all the
the fonts rather small - i used dpi=50 (I am sure you can fix
this with font size on the labels ...)
On Thursday, 31 January 2013 17:08:55 UTC+1, Harald Schilly wrote:
On Thu, Jan 31, 2013 at 4:50 PM, LFS lfah...@gmail.com javascript:wrote:
Here is the minimal code version
ok
I don't know if you are desperate (then this is a decent idea) or trying to
teach others (not so good an idea)
When desperate, I add invisible points and use show(). (Unfortunately
invisible points depend on your plot type since alpha=0 is for 2d and opacity=0
is for 3d...HINT to developers to
Thanks. If asked, I vote for opacity. It is memorable. :)
On Wednesday, 30 January 2013 10:34:04 UTC+1, P Purkayastha wrote:
On 01/30/2013 05:02 PM, LFS wrote:
I don't know if you are desperate (then this is a decent idea) or trying
to teach others (not so good an idea)
When desperate
Hi guys - I am sure that there is much more available. But actually William
you hit the nail on the head. The page I used was a small undergraduate
student project and its contents are useful and accessible. That is the
level I want - so a student or someone like me can use Sage in place of
I have to admit that I did not find very much in sage for descriptive
statistics.
I have put what I found in my sagemath page:
http://sagemath.wikispaces.com/Statistics
If anyone can add anything to this, that would be great.
I really want sage - my goal is sage as a reasonably easy to use foss
Thanks for the reply! I used everything I found on this:
http://www.sagemath.org/doc/reference/sage/stats/basic_stats.html and I had
looked at 9671 and said Argh.
kcrisman wrote On an unrelated note, I'll put in a plug for some
enterprising people to make more videos to put on LFS
Hi - I would appreciate if someone could point me to a link explaining the
difference (if there is a difference) between:
*
type 'sage.rings.real_mpfr.RealLiteral' * (Here I input x=3.)
*type 'float'* (Here I input xx=float(3))
*type 'sage.rings.real_mpfr.RealNumber'* (Here I input 1/x)
.
My
, not just
53 bits (as it would be if 1.2 was parsed to 53 bits then passed in to
RealField(1000)).
For all of the above, see RR?, RDF?, etc. for (lots!) more documentation.
- Robert
On Wed, Jan 23, 2013 at 8:59 AM, LFS lfah...@gmail.com javascript:
wrote:
Hi - I would appreciate
http://sage.math.canterbury.ac.nz/home/pub/246 (Sorry posted notebook and
not published version.)
Linda, I wasn't able to access your notebook.
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To post to this group, send email to
Hi - I am like the a total amateur with sage, but here is a page that I did
with animation - credit: Nils Brun
http://sage.math.canterbury.ac.nz/home/lfahlberg/58/ I see it is still
working. It has 5-6 plots so with the current java problems, be prepared to
click on Run a gazillion times.
The
P.S. the animation iterates 5 times and stops (you can see the code *
iterations=5*) so if the point stops moving before you get all there, just
change the number or reload. :)
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To post to this
Very badly written since I am in a hurry - IMHO:
After struggling for the last 2 weeks, I would say Excel and GeoGebra have
more functions for the statistics math classroom (e.g. RandomBetween,
CountIf). They are much more intuitive and better documented.
And it seems to me that Sage without
Thank-you. Perhaps we could add that somewhere, e.g.
http://modular.math.washington.edu/edu/2012/1062/projects/final/le-kofmehl/Math480_Quick_Reference_Statistics_Final.pdf
I tried everything on this page, everything on the forum, absolutely
everything I could find doing a search on: sage plot
Hiya, Probably I am just doing something wrong ...
I have a cubic polynomial p(x) with regular coefficients and I wanted
coefficients around e.g. (x-1). So I did p1=p.taylor(x,1,3).
I get:
x |-- 0.085*(x - 1)^3 - 0.255*(x - 1)^2 + 0.34*x + 1.23
The polynomial is correct, but look at the last
Little more: I see canterbury is using 4.8. Maybe this is fixed in version
5?
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to
Hiya Burcin,
Thanks for reply!
For my cubic polynomials p0 and p1, I did get the following to work:
p0=p.series(x==xD[0],4)
p1=q.series(x==xD[1],4)
print p0; p1
x |-- 1.0601 + 0.59497*x +
(-0.08502)*x^3
x |-- 1.5698 + 0.34008*(x - 1)
P.S. Sorry there is an error in the above post. Of course the counter
should be integer.
This is the best I could do.
x0=0.;xend=2.*pi;n=8.;h=(xend-x0)/n;
y=numpy.ones(n+1)
y=[y[j]*cos(x0+j*h) for j in [0..n]]
y
If anyone knows of an easier or more intuitive way OR how to this array to
print
Thanks indeed Juan, it did help immensely! I couldn't get array to work and
your example finally clicked for me.
In the end, I used: w=numpy.array([cos(x0+j*h) for j in range(n+1)], float)
THANKS. Linda
--
You received this message because you are subscribed to the Google Groups
sage-support
Thank you Harald. Actually, I think I do need the whole list/array with the
function evaluated - either as a list or an array. (I am working the
TriDiagonal Algorithm.). I am an in-between person. I have found that the
students make no connection between their engineering classes that often
Short letter indeed! Full of extremely useful information on so many
levels. Thank-you SO much. Linda
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this
Hiya all - Firstly Happy Holidays and a Good New Year in 2013 (no cool
dates anymore though like 20:12 20-12-2012)
Anyway - I have looked everywhere for days and days.
How do you generate a numpy array like X[j] where e.g. X[j]=cos(j) for j in
[x0,xend,step=h]. I have a count number n.
I can't
Hiya Jan, Probably you are after more sophisticated users than me (I teach
undergraduate and graduate engineering mathematics), but I did not
understand question 2. (I could never get how to download Sage so I use it
on my windows machines via the Chrome browser. Since the publisher on
How do you get sage out of a loop early?
How do you get sage to totally stop in the middle of a block?
for n in (0..2):
for m in (0..3):
p=2*m
print p
if p==2:
print 'I want out of loop'
m=4
if n==1:
print 'I want to stop Sage'
print 'Did not stop Sage'
I want to get
Thank-you both!
The 'break' did what I wanted for now and will test os._exit() in a bit.
Really appreciate your help.
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To post to this group, send email to sage-support@googlegroups.com.
To
Hiya guys!
I have a function:
def GDD(num,P):
D=GeneralDiscreteDistribution(P)
D.reset_distribution()
L=[D.get_random_element() for _ in range(num)]
return L
and then commands
P=[0.5,0.33, 0.17]
L=GDD(num,P)
I am definitely not getting random distributions within my lists L (i.e.
Hiya Dmitrii
Thanks so much for your quick reply, but I am still getting the same
problem.
I go to excel and use a RandBetween[1,1000] and just sort them according
to my probability and all is good, i.e. the histogram of the expected
values is normally distributed.
Here I keep getting
Hiya Dimitri, It might actually be working. Not sure, but when I increased
the number of sets ns, it does looks better. Still alot of repeats, but the
histogram looks better. Linda
On Sunday, 21 October 2012 12:30:13 UTC+2, LFS wrote:
Hiya Dmitrii
Thanks so much for your quick reply, but I
Hiya Dave,
What would the line of code look like to reseed it with the epoch thing
each time I call it?
Thanks so much,
Linda
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To post to this group, send email to sage-support@googlegroups.com.
Thanks Dave - If I have a moment I will try the scatter plot method to
check. That seems like a useful idea for student.
(This was just for a class lesson on testing the CLT and I am way over my
time allotment :))
Thanks to both you and Dimitri for feedback!
Linda
--
You received this message
Yes - I think Dimitri's solution is working! (I changed the published file
to his algorithm and upped the number of sets ns for the CLT and I also
seem to be now be getting good empirical data.)
Thank-you all! Linda
--
You received this message because you are subscribed to the Google Groups
Actually Dmitrii with this change it is giving me exactly the same
empirical data each time!
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send
I am not sure, but your image looks like the bottom histogram, which is the
normal distribution.
The middle histogram is from the empirical data.
Linda
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To post to this group, send email to
.
On Sunday, 21 October 2012 13:56:06 UTC+2, Dima Pasechnik wrote:
On 2012-10-21, LFS lfah...@gmail.com javascript: wrote:
--=_Part_87_6472836.1350820122321
Content-Type: text/plain; charset=ISO-8859-1
Actually Dmitrii with this change it is giving me exactly the same
empirical data each
Oh I agree Dave for several reasons (not least of all that Excel is not
free, nor is it math based).
However I have to admit that I have not been happy with any non-Excel
program for just teaching probability and statistics.
Too complicated and the kiddies will give up. It took me 4 days to get
Hiya -
I have had this experience myself even with rather simple functions and
small intervals with sage (and with various other programming and math
apps).
Feel free to ignore this ...
I am a complete ignoramus at how sage works, but my experience has been
that you should try nudging your
Oh - I wondered why they were disabled. Finally saw this.
I am wondering does disabling javascript mean no embedded GeoGebra
worksheets?
Could we have a list of safe users?
Thanks,
Linda
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send
Hopefully doing this correctly since not exactly a question. Just wanted
to make sure this group new about this.
Special Issue for Papers: Tbilisi Mathematical Journal TMJ, Symbolic
computation with Sage in mathematical education and research.* Link at
bottom of:*
Hiya - is there something new in parameter_plot?
I was using parameter_plot for both 2d and 3d plots and now something
is not working.
Thanks, Linda
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
No - because I now see it was my error. Very sorry. Should never write
in at night :)
Argh, Linda
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
the reitteration (of
the entire cycle)?
Thanks again to everyone for their support.
Linda
On Feb 8, 6:09 pm, LFS lfahlb...@gmail.com wrote:
@Nils
Got the animation to work - Really pleased! (Momentarily nothing will
publish - when it does I will add the link.)
Thanks for writing the script so simply. I
of the working code into a new
worksheet, immediately saved and published; after that no changes were
allowed to be saved :).)
@Nils
Is there a way to have a delay between iterations of the whole cycle?
Thanks!
Thank-you all for your support. Linda
On Feb 8, 6:09 pm, LFS lfahlb...@gmail.com wrote
@Nils
Got the animation to work - Really pleased! (Momentarily nothing will
publish - when it does I will add the link.)
Thanks for writing the script so simply. I was able to change things I
wanted to change.
BTW - if anyone copies and pastes the script from above, there is an
bad line break
find
things.
Best, Linda
On Feb 6, 9:39 pm, kcrisman kcris...@gmail.com wrote:
On Feb 6, 2:58 pm, Socius ant...@gmail.com wrote:
On 6 Feb, 18:57, LFS lfahlb...@gmail.com wrote:
I have to admit that I use GeoGebra for almost everything not 3d. It
is absolutely fantastic (I do videos
in-class demos and then assign similar
problems where they create worksheets themselves. (This is mostly
probability and statistics to IT engineers and we use scratch.)
and on and on i go Linda
On Feb 7, 2:22 pm, Jason Grout jason-s...@creativetrax.com wrote:
On 2/7/12 5:13 AM, LFS wrote
their probability
results).
On Feb 6, 5:31 pm, Socius ant...@gmail.com wrote:
On 5 Feb, 17:20, LFS lfahlb...@gmail.com wrote:
Hiya!
Is there a relatively simple way to get a point to animate a point
through a cycle keeping in mind my low programming skills ((like
adding a wait between iterations
Hiya!
Is there a relatively simple way to get a point to animate a point
through a cycle keeping in mind my low programming skills ((like
adding a wait between iterations?) ?
I made this video with stop animation and an animated gif but it was a
real pain.
Thanks! Both of these tips are very important to me so extra thanks.
Linda
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
Found problem. The mathjax works great if all equations are properly
input!
However in sage editor, if you have an open span tag and you edit
before the end /span tag, it will sometimes do a dreamweaver thing
of closing the spantag and reopening it. You cannot see this in the
editor.
This may
Just adding one more comment for search purposes:
If you see your equation being cut off from text field into sage
field, it means your translator is using 3 braces in a row {{{
Sage interprets {{{ as the beginning of a sage field. So check your
translation.
I had this problem using my equation
Hiya - we are looking at an array inside big left brace ...
On my wikispaces page (you have to open the + details ...), big brace
renders properly.
http://sagemath.wikispaces.com/Surface+integral+function
However
On the sagenb page, you get encoding problems: http://sagenb.org/home/pub/4147/
tags that
mathjax cannot understand (and you don't see here, but do see in the
html)).
On Jan 27, 4:04 pm, Jason Grout jason-s...@creativetrax.com wrote:
On 1/27/12 8:34 AM, LFS wrote:
Hiya - we are looking at an array inside big left brace ...
On my wikispaces page (you have to open
, Linda
On Jan 27, 7:55 pm, Jason Grout jason-s...@creativetrax.com wrote:
On 1/27/12 11:11 AM, LFS wrote:
Hiya Jason
Thanks Jason for reply!
http://test.sagenb.org/home/pub/27
Everything seems to work fine.
However, I had to go into the html and fix it a zillion times. I
highly
Thanks Jason for everything you are doing. I would really appreciate
it if you would write here when we can publish 3d plots in sagenb.
Thanks kcrisman for the confirm. At least I now know that I am not
doing it wrong.
Best Linda
On Jan 18, 1:36 am, kcrisman kcris...@gmail.com wrote:
BTW: I
Thanks so much everyone for working on this.
1. Tested again at sagenb with newly published worksheet:
http://sagenb.org/home/pub/4060/
The 3d plots are still NOT being published.
They publish on both the
4.7 http://sage.math.canterbury.ac.nz/home/pub/141/ and
4.7.1
Hiya Jason. That is what I assumed. But I need the 3d plots to
publish :) So back to canterbury and 4.7.
BTW: I cannot get mesh=True, dots=True or plot_points=[n,m] to work
with plot3d.
There is no sample at the documentation:
http://www.sagemath.org/doc/reference/sage/plot/plot3d/plot3d.html
Thanks Rych! I appreciate your testing both the animation and the 3d
plots.
I see the http://dev.math.canterbury.ac.nz/ is 4.7.1 Is this a
permanent site?
Is there a document that tells the differences between 4.7, 4.7.1 and
4.7.2? (So far I have only found that line3d doesn't work in 4.7.)
Hi - I seem to be always asking questions...
I wanted to animate flux. I found these links:
http://www.sagemath.org/doc/reference/sage/plot/animate.html and
http://wiki.sagemath.org/animate
I tried the code, but it would not evaluate. It wanted me to install
something called ImageMagick, which
Thanks Alistair!
I have been using the 4.7 notebook as it publishes 3d plots (the 4.7.2
does not), but your remark sent me back to the 4.7.2 notebook and
voila - it must have ImageMagik on that service - since I got an
animation to work!
Really appreciate all the help everyone!.
Linda
--
To
Many thanks! Linda
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
Hi
I looked around quite a bit but probably not in the right places?
I found I can define a vector function and how to get its derivative
vector function.
Is there a way to get at the component functions and/or a way to
calculate the magnitude function of rprime?
var ('t')
r=vector(t,t^2,t^3)
Thank-you for all the replies! I appreciate all the help.
== 2d plots are generated with jmol in the published worksheets;
== 3d plots are NOT generated.
== (If possible) I want my user/viewer to be able to view the
published worksheet without having to install anything (except be java
enabled).
Hi - I am a new user of sage, but I very much like the ability to do
(better than) mathematica quality mathematics and 3d plots legally :)
However, when I publish my sage worksheet so that I can link to it and
a non-sage user can view it, the 3d plots are not generated (neither
plot3d nor
68 matches
Mail list logo