How make show("some text") be LEFT ALIGNED instead of CENTERED?
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegroups.com.
To pos
How combine text (with and without Latex) and equations when printing?
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegroups.com.
This outputs some text.
show(table(["test"]))
How change the background color?
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@goog
In SageCell this shows each element with a nice light blue background and a
TINY amount of space between them
show(table(["A", "B", "C"]))
How remove that space so that all the light blue backgrounds go together
and appear all as one piece?
Chris
--
You received this message because you
which checks.
>
> Again, sorry for the noise...
>
> --
> Emmanuel Charpentier
>
>
> Le dimanche 16 juillet 2017 18:29:46 UTC+2, Chris Seberino a écrit :
>>
>> Emmanuel
>>
>> Thank you for your reply but you solved a DIFFERENT equation. Notice
>>
Emmanuel
Thank you for your reply but you solved a DIFFERENT equation. Notice mine
has an x variable in it.
I can get your's to work but not mine.
cs
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop r
This does not solve...
var("y C")
solve( log(y) == C + log(x) + log(y-1),y)
It returns
[log(y) == C + log(x) + log(y - 1)]
Any ideas?
Thanks!
Chris
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop
I've tried lots of variations of the following to replace a product of
functions with y. They all give the error at the bottom in Sagecell. How
fix?
var("y")
f = function("f")(x)
g = function("g")(x)
eqtn = f(x) * g(x) + 4*f(x)^2 * g(x) == 0
eqtn = eqtn.substitute({f(x) * g(x) : y})
show(eqtn)
Saturday, April 8, 2017 at 3:21:17 PM UTC-5, saad khalid wrote:
>
> I am a student and I definitely agree with Chris Seberino here. I don't
> think it is the job of software (or, rather, it is not good CAS design) to
> try and teach people mathematics in this way. I think that the CA
I have no doubt you know about group theory and math in general more than
me. I have no doubt
your answer is defensible and accurate.
What I'm concerned about is the young students and what they expect to see
when
they type factor( ... ).
cs
On Friday, April 7, 2017 at 9:56:31 AM UTC-5, pro
in the symbolic ring 3*(2*x+1) is immediately expanded again. Try
> yourself:
>
> sage: 2*(1+3*x)
> 6*x + 2
>
> But see also https://trac.sagemath.org/ticket/21067
>
> Regards,
>
> On Thursday, April 6, 2017 at 5:47:28 PM UTC+2, Chris Seberino wrote:
>>
>> Why fac
No
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Why factor(6*x+3) doesn't give 3*(2*x+1) ?
Thanks!
cs
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegroups.com.
To post to thi
> you will be able to use the very powerful tools specifically for
> polynomials, rather than the symbolic ring.
>
>
> On Tuesday, November 29, 2016 at 5:55:48 PM UTC, Chris Seberino wrote:
>>
>> I'm trying to get Sage to do simplification of algebra equations.
I'm trying to get Sage to do simplification of algebra equations. After I
expand some polynomial products I see identical terms on both
sides of the equation.
How make Sage eliminate those? the simplify and full_simplify don't seem
to do it.
--
You received this message because you are su
Shouldn't the 2 lines below work in SageCell? It gives an error because
the implicit multiplication isn't set. Why?
implicit_multiplication(10)
4 5
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop recei
On Wednesday, November 19, 2014 8:48:07 AM UTC-6, Jakob Kroeker wrote:
>
>
> Even if it is expectable that in some cases (which?) solve may not return
> all solutions, it should be explicitly pointed out;
> Especially it should be stated that an empty list does not necessarily
> imply there are
Emmanuel
Any way to make Sage act like it can't find the solution (emit question
back to user) INSTEAD of emitting the empty set?
"I can't find the solution" and "There is no solution" are NOT the same
thing?
> cs
>>
>
--
You received this message because you are subscribed to the Google Gro
I didn't *need* to have 0.04. This is just a command that actually came up
in real work.
I didn't want to alter it in any way lest it may be a genuine bug.
cs
On Monday, November 17, 2014 6:48:04 AM UTC-6, Emmanuel Charpentier wrote:
>
> Why 0.04 ? Th notebook says :
>
> S=(5^( x -1) == (0.04)^
If you ask Sage to do something it can't, like solve a quintic polynomial
equation, it will spit the question back at you.
If Sage did that I'd be fine. However, Sage spit back the empty set which
is the WRONG answer and far different yes?
On Sunday, November 16, 2014 12:54:20 PM UTC-6, RRoge
command in subject line should return 1/5 not empty set right??? What gives?
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegrou
I've been searching the Internet and can't find examples of plots of
functions of THREE
variables like f(x, y, z).
I'd like to use a different color at each point in space to denote the
function value.
Is that possible in Sage? Are there examples somewhere?
(All the examples I saw were for 2
On Friday, July 12, 2013 5:01:11 PM UTC-5, William wrote:
>
> On Fri, Jul 12, 2013 at 2:41 PM, Chris Seberino
> >
> wrote:
> > bug found in solve function? solve( x * (x + 2) == 143, x) returns [x
> ==
> > 11, x == -13]
> >
> > See here...new S
bug found in solve function? solve( x * (x + 2) == 143, x) returns [x ==
11, x == -13]
See here...new Sage session...
% sage
--
| Sage Version 5.2, Release Date: 2012-07-25 |
| Type "notebook()" for the
Oh wow that is soo awesome. Someone read my mind.
I've been selling Sage to my students with a slightly inadequate server but
Sage Cell Server will dispense with the need for passwords,
memory issues and more.
Their impressions of Sage are about to go up tenfold.
A thousand thank yous.
Chris
Sage notebooks are great but take a lot of RAM (I assume) partially because
they need to remember all the history
of the current session.
Is it possible to trade history for responsiveness/memory by somehow
running the notebook server
to accept single commands and then forget the results?
I'm e
On Monday, September 24, 2012 9:36:36 PM UTC-5, P Purkayastha wrote:
>
>
> What has been observed however is that not all worksheets get closed
> and there are often many worksheets that remain open in the background.
> From a performance point of view, all that these worksheets do is eat
>
you need for 10 people
to be able to hit the server all at the same time comfortably?
cs
On Monday, September 24, 2012 8:31:16 PM UTC-5, kcrisman wrote:
>
>
>
> On Monday, September 24, 2012 8:32:23 PM UTC-4, Chris Seberino wrote:
>>
>> Notebook server very slow. What ar
Students leave their notebooks open so server has a TON of notebooks
openis that a problem?
(I'm thinking about performance mainly.)
cs
--
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@goog
Notebook server very slow. What are typical bottlenecks? I have ver5.2 and
1Gb RAM
cs
--
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 ema
I logged into Sage as admin and noticed there were a ton of open
worksheets.
(I have a lot of users.)
I can't delete active worksheets. If I selected one or more and press the
"Delete" button, nothing happens?
cs
--
You received this message because you are subscribed to the Google Groups
SOLVED...
I have 64 bit hardware but I installed 32 bit Ubuntu. (Sorry, I'm a newbie
to 64 bit stuff and didn't even know there was a separate Ubuntu flavor.)
When I installed the 32bit Sage binary it worked.
One suggestion is to perhaps add a check to see if user trying to run the
64 bit b
On new 64 bit Ubuntu 12.04, I tried compiling from source and got this
error...
(I know predefs.h exists because I can see the file here:
/usr/include/i386-linux-gnu/bits/predefs.h .)
In file included from /usr/include/stdio.h:28:0,
from ../../../src/libgcc/../gcc/tsystem.h:87
> That's odd, it doesn't even give a location where the ")" was
> unexpectedly found. Was there any more output than that?
>
>
No that was it verbatim. This is a 64 bit machine. That is the only thing
different I can see from what I've used before.
(This is an HP computer.)
cs
--
You rec
I just installed Ubuntu 12.04 and tried to install Sage ver5.2
When I try to run Sage for the first time I get this...
% sage
--
| Sage Version 5.2, Release Date: 2012-07-25 |
| Type "notebook()" for the b
>
> Great! Did you base your previous, wrong Apache config on some material
> from the Sage website / wiki / etc.? If so, can you tell us where it is,
> so we can fix it?
>
>
> I don't think this bug was from a Sage page.
If I see it in some docs I'll let you know however.
cs
--
You rece
SOLVED!
I'm posting this in case it helps anyone else out there trying to use Sage
with Apache.
The problem with an Apache config issue. The line below is wrong...
> Redirect / https://sage.phil4.com
>
>
It should be this:
Redirect / https://sage.phil4.com/
(Notice the / at the end now.)
I've been successfully proxying older versions of Sage behind Apache2 using
SSL.
The same script doesn't work with Sage 5.2 for some reason.
Here is my Apache code below (Code below redirects all to HTTPS.)
The new problem is that when I try to log in as adminSage tries to go to
https://sage
On Monday, June 18, 2012 4:16:50 PM UTC-5, Oleksandr Kazymyrov wrote:
>
> Hi,
>
> I haven't the problem on Ubuntu 12.04:
>
> Oleksandr
I fixed the problem. Today when I tried vector I got a DIFFERENT error
message about a Fortran library missing. When I manually installed
glibfortran3 it sta
I installed Ubuntu 12.04 about 2 weeks ago along with Sage 5.
I just now tried using vectors for the first time and got this error...
sage: vector( [-1,2] )
---
AttributeErrorTraceback (most recent
Ug! Please accept my apology.
cs
On Jan 21, 3:25 am, Keshav Kini wrote:
> Er, have you perhaps sent this to the wrong list?
>
> -Keshav
>
>
> Join us in #sagemath on irc.freenode.net !
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, se
I am proxying my Django app behind Apache. I created a 404.html in my
template directory but when I try to test it I get the following error
that appears to come from Apache...
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your requ
I had it turned on but I guess it doesn't get triggered for x (x -1).
Any way to change the behavior or
does that require a patch to Sage?
On Dec 15, 1:37 am, Jason Grout wrote:
> On 12/15/11 1:31 AM, Chris Seberino wrote:
>
> > I know Sage has some issues with a variable in fro
I know Sage has some issues with a variable in front of parens when
using implicit multiplication. Why did that make the first give the
wrong answer when using implicit multiplication? How is sage
interpreting it?
sage: solve(3 + x (x-1)==5,x)
[x == 3]
sage: solve(3 + x*(x-1)==5,x)
[x == 2, x ==
On Sep 7, 7:49 am, kcrisman wrote:
> > If I select a number using an interact widget, it would be nice to see
> > a plot of a 1D real number line with the selected point appear as a
> > big colored dot. Plots of solutions to inequalities like x > 1 would
> > be icing on the cake and involve the
Sage can do great 2D and 3D plots.
What about baby 1D plots that would be really nice for the kids?
If I select a number using an interact widget, it would be nice to see
a plot of a 1D real number line with the selected point appear as a
big colored dot. Plots of solutions to inequalities like
This slider will display the corresponding numbers as the slider is
moved
@interact
def _(a=slider(1, 2, 0.2)):
print "test"
The problem is the numbers have too many digits for my taste...
e.g. 1.00, 1.20, 1.40, etc.
How truncate or round or format?
How get last login time of a Sage notebook user?
cs
--
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
UR
Does Sage do quotas or other protections in case users's calculation
takes too long?
I'm having nightmares of students crashing Sage servers or tying them
up with simple little commands like so...
2^(2^(2^123456789))
and
def f(x):
while True:
pass
f(x)
cs
--
To post to this grou
On Sep 2, 6:49 pm, Jason Grout wrote:
> Type pretty_print_default() in an input cell and press shift-enter. All
> future output will be typeset automatically.
>
> Can you try to put pretty_print_default() in the init.sage and see if
> that works?
Jason
Thankfully that works great. There is o
On Sep 2, 3:20 pm, William Stein wrote:
> Unfortunately, I don't think there is support for this feature at present.
> If there were, it would likely be implemented via the Settings link in
> the notebook for a given user.
Just to make sure we are talking about the same thing
So there is n
How make typesetting be the default in all notebooks?
(i.e. I don't want users to have to check the Typeset checkbox all the
time.)
Sincerely,
Chris Seberino
P.S. I tried googling for it but could not find the answer.
--
To post to this group, send email to sage-support@googlegroups.c
Anyone know of any examples of doing quizzes and/or practice problems
in Sage notebook worksheets? I'm imagining something where the
worksheet asks a question and students can type in their answers to
see if they are right or not.
Links to example worksheets would be very much appreciated if such
On Aug 22, 12:35 pm, William Stein wrote:
> > Also, I think "f(x)" is more explicit than "f (x)".
>
> > I never use "f (x)" in Python code and wonder why it is even allowed
> > in Python instead of raising an exception.
>
> Wow, that's almost as bad as "I didn't put any cheese on the eggs for
>
On Aug 22, 10:28 am, v...@ukr.net wrote:
> It seems to me that interpreting the "f (x)" as "f*x" could easily
> confuse the people who are new to Python and Sage. They will read (or
> maybe have already read) some book on Python and the will try to apply
> their new knowledge in Sage, but instea
On Aug 22, 8:06 am, Simon King wrote:
> But apparently other people find it practical to be able to
> write 2x instead of 2*x.
The preference comes from years of using Mathematica. Also, I think a
space looks cleaner and it is easier to type (no shift needed! :).
Chris
--
To post to this grou
On Aug 22, 3:32 am, Simon King wrote:
> On 22 Aug., 04:37, Chris Seberino wrote:
>
> > ...
> > sin (pi) # rare, sin(pi) more likely
> > f (3, 4) # rare, f(3, 4) more likely
>
> Likelihood is a not a good guideline, IMHO. I prefer rigour.
Implicit mult
On Aug 22, 12:52 am, Maarten Derickx
wrote:
> I don't think your proposal will be an enhancement. For two reasons.
>
> 1. x (x) an x*(x) have the same amount of characters.
Some people prefer implicit multiplication. It is already a feature
of Sage.
> 2. currently the python and sage expression
On Aug 21, 1:03 pm, Simon King wrote:
> If you have an object that is directly followed by parentheses, then
> in Python, which is the underlying language of Sage, it means
> function evaluation. Hence, when you write f(x) then you normally do
> NOT want to multiply f and x, but typically f is
I want "x (x)" to return x^2. It doesn't seem to work with any
implicit_multiplication level. What does the following error mean?
Does it mean this will get fixed in a future version?
sage: x (x)
/usr/local/sage-4.7/local/lib/python2.6/site-packages/IPython/iplib.py:
2073: DeprecationWarning: S
awesome! thanks!
cs
On Jul 30, 2:08 am, Jason Grout wrote:
> On 7/29/11 11:40 PM, Chris Seberino wrote:
>
> > Instead of downloading a published worksheet, is it possible to copy
> > it to a user's account if it is on the SAME SERVER?
>
> > If all students must
Instead of downloading a published worksheet, is it possible to copy
it to a user's account if it is on the SAME SERVER?
If all students must download published worksheets, I fear the less
tech-savvy will make mistakes that I'll need to address.
Chris
--
To post to this group, send email to sag
> Yes, as I said it starts automatically but it must have no descriptive
> comment above the cell. That is a worksheet with only one naked cell
> and no description in it.
> That's why I suggested to start a new worksheet from scratch.
R
OK I verified your solution. I have no clue how you figur
On Jun 24, 11:59 pm, Jason Grout wrote:
> sage: implicit_mul('diff(f,x)(3)', level=10)
> 'diff(f,x)*(3)'
>
> which is definitely not what I intended.
Jason
Would you agree a good robust solution to your issue would be for an
implicit_mul level that *ONLY* converted spaces to multiplication? I
ried to mangle something but I
failed. Still not sure what I should watch out for...
sage: n( sin( ( sin( .5 ) ) ) )
0.461269555033181
sage: n( sin( ( sin( .5 ) cos( sin(.1) ) ) ) )
0.459150207292798
cs
On Jun 24, 7:57 am, Jason Grout wrote:
> On 6/24/11 2:17 AM, Chris Seberino wrote:
>
I love implicit_multiplication(True) but I noticed it doesn't work
between parens!?
How make this work?...
sage: (1 + 2) (3 + 4)
---
TypeError Traceback (most recent call
last)
/home/seb/ in (
On Jun 22, 4:26 am, Rolf wrote:
> Works with me, and you will see my enhancement to the code. The two
> variable thing.
Rolf
Thanks. Does your version automatically start up when you upload the
worksheet?
Your version works like mine but doesn't start automatically for me
like mine still.
cs
On Jun 21, 7:56 am, kcrisman wrote:
> For clarification, this creates a "raw" string. You should also be
> able to use \\tan, which "escapes" the \ so that it doesn't have a
> special meaning to Python.
I imagine similar issues are going to happen for Latex commands that
begin with n and r the
On Jun 21, 7:58 am, kcrisman wrote:
> Let us know if this helps. I agree it is suboptimal.
Since there may be other inconsistencies between browsers, it seems
safer to just have all students use Firefox. That is fine with me. I
had other unrelated browser incompatibility issues with some onl
On Jun 21, 9:09 am, Rolf wrote:
> This question may sound somehow out of place, but maybe you can offer
> some help.
> Where in the documentation did you find something about this fancy
> notation to include variables into your html()?
I found it on one of the published worksheets not in officia
http://phil4.com/public/Trig2.sws works perfectly in Firefox but has
issues in Chrome and
Internet Explorer.
The slider of interact widget didn't work for one student in Internet
Explorer.
The html text was messed up for students using Chrome. It seems
multiple lines were on top of each other.
On Jun 20, 10:41 am, kcrisman wrote:
> Type "%auto" on a line by itself at the beginning of a cell to
> automatically evaluate the cell when the worksheet is first opened.
kcrisman
That works one one! Thanks! I made a little worksheet that %auto
still doesn't seem to work on...
http://phil4
I display some Latex commands in HTML on the small worksheet below...
http://phil4.com/public/Trig.sws
Notice all the trig functions are fine except for tan.
Is there a problem with Latex commands that begin with \t for some
reason?
Sincerely,
Chris
--
To post to this group, send email to sa
How delete published worksheet if you already deleted the copy in your
account folder?
Normally I could just "unpublish" a worksheetbut since I deleted
the original version, I can't do that!?!?
Sincerely,
Chris
--
To post to this group, send email to sage-support@googlegroups.com
To unsubs
t just the other
> day.
>
> What server are you using? Or, if local, what version? This could
> conceivably be related to the recent updating of the sagenb.org family
> of servers.
>
> On Jun 20, 11:15 am, Chris Seberino wrote:
>
> > When I try to type a URL for
When I try to type a URL for a worksheet to upload, I can't type.
Instead, the browse popup appears and I'm forced to browse for a local
file!!!
Was the typing in the text field disabled somehow?
cs
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this g
I created a little worksheet called
http://phil4.com/public/sage/Scientific_Notation.sws
to illustrate the problem.
The single cell with code has this...
%hide
%auto
@interact
def _(exponent=(-6..6)):
html('The Number: $%f$'%(5 * 10**exponent))
html('In Scientific Notation: $5 \cdot 10^{%d}$
Nevermind. I found out about $HOME/.sage/init.sage
cs
On Jun 13, 11:54 pm, Chris Seberino wrote:
> How configure notebook server to have ALL new worksheets for ALL users
> run some customizations?
>
> e.g. I want implicit_multiplication(True) to be global as well as
> var(&
How configure notebook server to have ALL new worksheets for ALL users
run some customizations?
e.g. I want implicit_multiplication(True) to be global as well as
var("a b c d e f g h z")
and var("alpha beta gamma delta omega")
cs
--
To post to this group, send email to sage-support@go
cked and when I log into PayPal, it stays in SSL mode.
However, when I log into eBay, it jumps OUT of SSL mode. Godaddy
seems to do some pages with SSL and some without SSL.
Whenever these sites drop down to unencrypted, aren't they also
insecure since eBay and Godaddy are sending cookies in t
Sage notebooks docs here:
http://www.sagemath.org/doc/reference/sagenb/notebook/notebook.html
suggest creating a notebook object to manage notebook server in a
script like so...
nb = sagenb.notebook.notebook.Notebook(tmp_dir()+'.sagenb')
Is this notebook handle necessary tied to my existing not
I wrote the script below to automatically add accounts to my notebook
server.
I ran it as follows $SAGE_DIR/sage-python XXX YYY ZZZ
for some values of XXX, YYY and ZZZ. When I tried to login with value
in XXX for username and in YYY for password Sage notebook server did
not recognize that account
Is it correct that if one uses SSL for a notebook server than ALL the
pages MUST be under SSL?
The reason I'm asking is that the notebook server appears unable to
handle Apache configs that try to switch from SSL to unencrypted after
login.
In other words, notebook is brittle when it comes to att
Notebook documentation mentions a boolean switch called "secure" for
SSL.
When I try to turn it on my notebook server, I get an error about a
domain Sage needs.
How exactly does this switch work and how does Sage want to do SSL?
In my limited experience, when I want SSL protection, I set up an
A
Apache proxy in front of Sage notebook server works perfect until I
turn on SSL.
Different Apache configs give different Sage errors.
Is there something special required to do Sage with Apache SSL proxy?
cs
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe fr
On May 27, 3:34 pm, Berkin Malkoc wrote:
> It is in the
> reference:http://www.sagemath.org/doc/reference/sagenb/notebook/notebook.html
Thank you. Those docs appear to be for a Sage session.
I actually need it to work from a Django web application unrelated to
Sage!?!?
In other words, my ques
How set up new accounts in a Python script? (instead of the notebook
web form?)
I would like to automate this process if possible.
Thanks!
cs
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegro
Suppose different students sign into the same Sage server at different
times.
Won't that cause EVERY STUDENT's notebook to be in memory bogging down
the server?
I've been rebooting but maybe the smartest thing is to either...
1. Make students sign out? (Some will forget!!)
2. Autokill after 1 h
:
> On 5/26/11 12:35 AM, Chris Seberino wrote:
>
> > My students authenticate themselves by signing into a classroom web
> > app unrelated to Sage.
>
> > Possible to integrate Sage notebook server with this classroom web app
> > so students
> > DO NOT have to aut
My students authenticate themselves by signing into a classroom web
app unrelated to Sage.
Possible to integrate Sage notebook server with this classroom web app
so students
DO NOT have to authenticate a SECOND TIME with Sage login page?
Chris
--
To post to this group, send email to sage-suppor
On Dec 14, 3:42 pm, Jason Grout wrote:
> To get a better idea of what you are asking, what would you want to do
> with those values? Run a calculation and give output? Or store those
> values later to be graded somehow by an instructor? Something else?
Do you know of where I can find lots of
How have forms in Sage notebooks where users can enter values? I'm
thinking of making user friendly Sage notebooks with lots of
interactive components. I can imagine users needing to enter values
in addition to moving sliders with the mouse.
(Yes they can just use cells but adding a form field i
OK thanks for your help. I think I got it. The effect of RealField
is like creating a new number type. I need to make sure all my real
are of the right type. It appears integers are fine as is.
Here is working code...
def test(big):
my_pi = RealField(big)(pi)
ten= RealF
On Dec 13, 1:09 pm, kcrisman wrote:
> I think you would have to let k be in that RealField, wouldn't you?
> Or at least f(k). That might be part of the issue. If you put the
> whole sum in RealField, the precision will be that of 1.0, I
> suppose (?) ...
How do you put k in the RealField?
In a previous post I was told to use RealField if I wanted very high
degrees of accuracy.
I'm still now sure I'm using RealField right and would appreciate any
help debugging my puzzle.
sage: constant = 100*sqrt(pi/log(10.0))
sage: f(k) = 10^(-k^2/1.0)
sage: N = 1
sage: RealField(10)(
On Dec 13, 2:47 am, Simon King wrote:
> sage: 2*sum(10^(-k^2/d) for k in range(1,2))
> 2.02019722722490674759723772962542922944721452394745083...e-1
> So there is a small progress in the summation! But I have no idea
> whether at the end of the day the small progress will be eno
I wanted to confirm that a certain infinite sum agrees with a certain
number to thousands of digits of accuracy. I know this is true from a
fascinating formula at the top of page 2 of the paper referenced
here:
http://arxiv.org/abs/math.GM/0409014/
The following one liner outputs the error in the
a for calculus.
Anyone know of such a project or if NSF or anyone else would be
interested in funding development of such Sage interactive textbooks?
Sincerely,
Dr. Chris Seberino
ch...@phil4.com
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group,
I have a dedicated Xen Ubuntu virtual machine with 0.5 Gb RAM and
Intel Xeon 2.27GHz CPU. The bandwidth is pretty good. (linode.com is
my hosting provider.)
Why even with just 3 people we sometimes get the green bar while Sage
processes the calculuation? I often tell students that means they
n
> On Oct 9, 7:24 pm, Jason Grout wrote:
Oh wait. I see your point now. *I* didn't have to install VMWare
because I probably installed it a long time ago. I assumed that meant
you didn't need to install VMWare anymore. Yeaa video would be
nice for that extra step too.
cs
--
To post to
1 - 100 of 134 matches
Mail list logo