Re: [sage-support] Problem in running SageMath application

2022-01-14 Thread Rahul Naik
Hi, Thank you the prompt response.

I have installed sagemeth version 9.3 through Gilbert Source on my windows
10.

The problem occurs when I open SageMath Notebook and try to run the program
through code.

For example: 9+6 and run.. Its not showing any output, even the special
symbols not getting any color.

Thank you

On Sat, 15 Jan 2022, 00:08 'Justin C. Walker' via sage-support, <
sage-support@googlegroups.com> wrote:

>
>
> > On Jan 14, 2022, at 09:08 , Rahul Naik  wrote:
> >
> > Guys, I have just installed SageMath for the first time. I am unable to
> run any command . i am not even able to save the document. Please Help
>
> We are here to help, but in order to do that, it would help us to know
> what is going wrong.  You have not given us much to go on.
>
> The following might help us:
> - what version of sage?
> - how did you install it (binary package from our website; similar from a
> package manager from your OS; compile from source)?
> - what hardware and OS (including OS version)?
> - how do you start sage (command line; notebook)?
> - what commands did you try, and what were the results.
>
> HTH
>
> Justin
>
> --
> Justin C. Walker, Curmudgeon-At-Large
> Institute for the Absorption of Federal Funds
> 
> If you're not confused,
> You're not paying attention
> 
>
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/466C08F7-0B82-4F20-80B4-88041C408C27%40mac.com
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAFyaDhpG7ckrkYSy-m2QD0PRRpKXqiKQTUby59PV0h5pYPYqxg%40mail.gmail.com.


Re: [sage-support] Re: Snowman

2022-01-14 Thread slelievre
2022-01-14, iva:
>
> Does anyone know how to draw a snowman?
> [...] picture how snowman has to look like...
> I started drawing with a Sphere, but I can't get it
> like in the picture. 

Hi Iva!  What a nice seasonal project, and a good way
to learn some Sage while making something fun!

For inspiration, see this head with eyeballs and a hat
in Sage's 3D plotting shapes documentation:

  
https://doc.sagemath.org/html/en/reference/plot3d/sage/plot/plot3d/shapes.html

Feel free to ask again if you need more help!  --Samuel

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/d435faca-9660-4bf9-a960-44d4938f7db1n%40googlegroups.com.


Re: [sage-support] Re: Snowman

2022-01-14 Thread Iva Polanec
Sorry, here is the picture how snowman has to look like..I started drawing
with a Sphere, but I can't get it like in the picture.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CANeRKy54Ur3d%2B6h%3DANTSswkCm8xHASgMrzMU57BqdczxYHgWXQ%40mail.gmail.com.


Re: [sage-support] Problem in running SageMath application

2022-01-14 Thread 'Justin C. Walker' via sage-support



> On Jan 14, 2022, at 09:08 , Rahul Naik  wrote:
> 
> Guys, I have just installed SageMath for the first time. I am unable to run 
> any command . i am not even able to save the document. Please Help

We are here to help, but in order to do that, it would help us to know what is 
going wrong.  You have not given us much to go on.

The following might help us:
- what version of sage?
- how did you install it (binary package from our website; similar from a 
package manager from your OS; compile from source)?
- what hardware and OS (including OS version)?
- how do you start sage (command line; notebook)?
- what commands did you try, and what were the results.

HTH

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds

If you're not confused,
You're not paying attention




-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/466C08F7-0B82-4F20-80B4-88041C408C27%40mac.com.


[sage-support] Re: Snowman

2022-01-14 Thread Nils Bruin
In a blizzard? 

P=sage.plot.graphics.Graphics()
P.show(axes=False)

In general, though, this is not a very mathematical question, nor one for 
which a computer algebra package is going to be the best tool. Perhaps if 
you give some more context, someone will be able to give you more useful 
help.

On Friday, 14 January 2022 at 08:37:38 UTC-8 iva.po...@gmail.com wrote:

> Hey!
>
> Does anyone know how to draw a snowman?
>
> Iva
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/df5e4b5d-61c1-4c07-be53-92363f3802a6n%40googlegroups.com.


[sage-support] Problem in running SageMath application

2022-01-14 Thread Rahul Naik
Guys, I have just installed SageMath for the first time. I am unable to run 
any command . i am not even able to save the document. Please Help

Thank You!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/10dfafca-e576-4b54-a4a4-a54f98529a3dn%40googlegroups.com.


[sage-support] Snowman

2022-01-14 Thread Iva Polanec
Hey!

Does anyone know how to draw a snowman?

Iva

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/25c75eea-d40c-422d-ba4f-1fe8c51f4c03n%40googlegroups.com.


[sage-support] Re: regulator

2022-01-14 Thread mmasdeu
You could just do  R = 
K.embeddings(RealField(1000))[0](K.units()[0]).log().abs(), for instance.

On Sunday, December 26, 2021 at 9:21:18 PM UTC+1 Michael Beeson wrote:

> I want to compute the regulator of a real quadratic field Q(sqrt d)  to 
> high precision,
> accurately enough to compute the fundamental unit.  The default 
> breaks at d = 331  where fundamental unit needs more than 53 bits (the 
> precision of doubles).   The documentation says that Pari computes to a 
> higher precision than 
> SageMath.  Also somewhere it says that if you get a good enough 
> approximation to the regulator, it's trivial to refine it to high accuracy. 
>   It refers to "the tutorial"  without a link; I read the Pari-GP tutorials 
> on algebraic number theory without finding any explanation of that remark. 
>   So actually there are two questions here:  point me to an explanation of 
> refining the computation of the regulator,  and secondly,  fix the 
> following code 
> so that it doesn't print "oops"  when d = 331.
>
> gp.set_real_precision(256)  # doesn't seem to do anything
>
> def check_unit(N):
> for d in range(10,N):
> if not is_squarefree(d):
> continue
> K. = QuadraticField(d)
> G = K.unit_group()
> [x,y] = G.gen(1).value()
> x = abs(x) 
> R = K.regulator(None)
> twox = round(exp(R))
> x2 = twox/2
> y2 = round(twox/sqrt(d))/2
> print(d,x,x2,y,y2,exp(R)/2)
> if x != x2 or y != y2:
> print("oops!")
> return 
> if norm_is_negative(x,d):
>   print("norm is negative")
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/21f9a8e3-4eb9-4138-ae7a-d0ebec316576n%40googlegroups.com.