In the command line you can give a command with administrative powers
by writing sudo before it, for examle
sudo mkdir /myfolder
will create a folder in the system root (something which requires
admin powers). You must be carefull when using sudo, since you could
damage your system if you give a
One last thing, Is there some way to calculate the correlation index
(R^2) of the fit in sage?
thanks!
Oscar
On Aug 29, 12:15 pm, Oscar Lazo wrote:
> Thank you very much, that worked perfect. Though I must say I expected
> not having to determine the period myself. I thought find_fit would do
>
Thank you very much, that worked perfect. Though I must say I expected
not having to determine the period myself. I thought find_fit would do
that for me. This way all it does is refine my estimate. But thanks
again.
Oscar.
On Aug 29, 2:05 am, Yann wrote:
> On Aug 29, 4:50 am, Oscar Gerardo Lazo
ahh that may explain it
also i found a way to get the last itteration out of the loop
by setting
for...
ak=...
ad=ak
print ak
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegro
On Aug 29, 2010, at 09:33 , andrew ewart wrote:
well it is printing out the h as expected so that indentation is
correct
also the heavy indentation is to allow for puting in 2 for loops based
around the function f, testing if its squarefree and monic wrt z1
although i am confused when i looke
well it is printing out the h as expected so that indentation is correct
also the heavy indentation is to allow for puting in 2 for loops based
around the function f, testing if its squarefree and monic wrt z1
although i am confused when i looked it up in sage that f.is_squareefree()
is listed but
okay, i got that now, but then how do i take the final ak (adegree) out of
the loop and recognise that ak from further on
--
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
Following up...
On Aug 29, 2010, at 04:39 , andrew ewart wrote:
From the following code
S = GF(5)
R.=PolynomialRing(S, 2, "z");
f = z2-z1^2+1
T.=PolynomialRing(S)
[snip]
i want this to print the ak after degree itterations but at the moment
it only prints a0 and ignores the for loop
how can
On Aug 29, 2010, at 04:39 , andrew ewart wrote:
[snip]
def factor_bivar(f):
[snip]
for k in xrange(0, degree):
ak=ak-s*fay
print ak
It's very hard to tell with the "extreme" indenting you are using, but
it ap
>From the following code
S = GF(5)
R.=PolynomialRing(S, 2, "z");
f = z2-z1^2+1
T.=PolynomialRing(S)
def factor_bivar(f):
q = S.cardinality()
fx0 = T(f(x,0))
fac = fx0.factor()
l = len(list(fac))
On Aug 29, 4:50 am, Oscar Gerardo Lazo Arjona
wrote:
> Hello!
>
> I have tried to fit some data about an harmonic oscillator to a sine
> function, but without success.
>
> Well, the find_fit command does return the values of constants, but they
> don't fit the data at all!
>
> I've attatched a wor
11 matches
Mail list logo