Ask Your Question

thetha's profile - activity

2024-01-31 19:28:09 +0100 received badge  Popular Question (source)
2024-01-31 19:28:09 +0100 received badge  Notable Question (source)
2023-09-14 05:37:13 +0100 received badge  Famous Question (source)
2023-09-09 06:36:51 +0100 received badge  Famous Question (source)
2023-07-01 14:37:10 +0100 received badge  Notable Question (source)
2022-11-27 05:00:08 +0100 received badge  Famous Question (source)
2022-07-24 15:29:42 +0100 received badge  Famous Question (source)
2022-03-09 15:20:15 +0100 received badge  Notable Question (source)
2021-11-05 15:23:19 +0100 received badge  Notable Question (source)
2021-10-19 21:38:20 +0100 received badge  Famous Question (source)
2021-08-03 03:54:02 +0100 received badge  Notable Question (source)
2021-07-29 23:58:02 +0100 received badge  Famous Question (source)
2021-03-18 03:20:32 +0100 received badge  Notable Question (source)
2021-03-10 11:59:35 +0100 received badge  Notable Question (source)
2020-12-29 16:35:25 +0100 received badge  Notable Question (source)
2020-12-15 20:21:04 +0100 received badge  Popular Question (source)
2020-12-11 10:57:12 +0100 received badge  Notable Question (source)
2020-11-04 14:37:19 +0100 received badge  Notable Question (source)
2020-10-19 04:48:18 +0100 received badge  Popular Question (source)
2020-09-11 18:04:07 +0100 received badge  Notable Question (source)
2020-08-18 16:40:08 +0100 received badge  Popular Question (source)
2020-08-07 21:51:07 +0100 received badge  Popular Question (source)
2020-07-28 15:31:01 +0100 received badge  Popular Question (source)
2020-06-18 19:09:50 +0100 received badge  Popular Question (source)
2020-06-02 17:59:50 +0100 received badge  Notable Question (source)
2020-04-28 00:04:57 +0100 received badge  Popular Question (source)
2019-12-18 08:45:00 +0100 received badge  Famous Question (source)
2019-12-05 12:31:30 +0100 received badge  Notable Question (source)
2019-07-30 09:11:52 +0100 received badge  Notable Question (source)
2019-07-13 15:08:30 +0100 received badge  Notable Question (source)
2019-04-25 12:07:23 +0100 received badge  Organizer (source)
2019-04-25 11:06:52 +0100 asked a question plotting multiple functions from a for loop

This solution: https://ask.sagemath.org/question/902... is not working any more

The error is:

Error in lines 3-3
Traceback (most recent call last):
  File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1188, in execute
    flags=compile_flags) in namespace, locals
  File "", line 1, in <module>
  File "/ext/sage/sage-8.7_1804/local/lib/python2.7/site-packages/sage/misc/decorators.py", line 492, in wrapper
    return func(*args, **options)
  File "/ext/sage/sage-8.7_1804/local/lib/python2.7/site-packages/sage/plot/plot.py", line 1956, in plot
    G = _plot(funcs, (xmin, xmax), **kwds)
  File "/ext/sage/sage-8.7_1804/local/lib/python2.7/site-packages/sage/plot/plot.py", line 2224, in _plot
    legend_label=legend_label_entry, legend_color=legend_color_entry, **options_temp)
  File "/ext/sage/sage-8.7_1804/local/lib/python2.7/site-packages/sage/misc/decorators.py", line 492, in wrapper
    return func(*args, **options)
  File "/ext/sage/sage-8.7_1804/local/lib/python2.7/site-packages/sage/plot/plot.py", line 1941, in plot
    G = funcs.plot(*args, **original_opts)
TypeError: plot() takes exactly 1 argument (17 given)
2019-04-07 00:10:33 +0100 asked a question Point -> Vector to a point

Hello everyone,

If i have point in 3D

A=point3d((4,3,2),size=10,color='red',opacity=.5)

How to create a vector from the origin to the point. I know i could define the vector. But I would rather have a point, for plotting reasons

And i would like to plot the Point and the Vector, with automatic labeling of the coordinates.

I have managed to do this like:

from sage.plot.plot3d.shapes2 import frame3d
F=frame3d([0,0,0],vector([10,10,10]),color='red')
A=points((4,3,2),size=10,color='red',opacity=.5)
B=point([(4,3,8)],size=10,color='red',opacity=.5)

t = var('t')
p = vector([4,3,2])
q = vector([0,0,0])
vec=parametric_plot3d(p*t+q, (t,0,1))



#vectB=vector(B.xdata[1],B.ydata[1],B.zdata[1])
e=0.2
eps=vector([4+e,3+e,2+e])
T_A = text3d('A',eps)
#T_B = text3d('B',B)
F+A+T_A+B+vec

Is there any better, way to do it?

Here is the file: https://share.cocalc.com/share/a3f14e...

2019-04-06 19:52:46 +0100 asked a question Line,Plane, Points 3D, Intersection,

Is there a tutorial on -analytical geometry(vectors) : plane line 2D circle in 3D, plot chains of vectors, basicaly the everything what this thing can do: https://www.geogebra.org/3d?lang=de well allmost everything in vector geometry for python or sagemath.

Maybe someone saw a book or tutorial on this

I can not find anything on this.

I have managed to plot points

from sage.plot.plot3d.shapes2 import frame3d 
F=frame3d([0,0,0],vector([10,10,10]),color='red')
A=point3d((4,3,2),size=10,color='red',opacity=.5)
e=0.2
eps=vector([4+e,3+e,2+e])
T = text3d('A',eps)
F+A+T

I didnt manage to label, point A(4,3,2), to to do it? I would rather not put the coordinates as a string. Is there something like in c++ "The point is %d"

Is there a better way to plot? I need the frame, since the plot 3d is not accepting, text, or maybe i am wrong?

Would there by a natural way to plot x,y,z axes?

Here is the Code https://share.cocalc.com/share/a3f14e...

2019-03-29 08:22:45 +0100 received badge  Popular Question (source)
2019-03-09 09:50:25 +0100 asked a question Save to GDrive

Is it possible to sync, save to gdrive?

2019-02-13 15:20:11 +0100 asked a question exponential equation solve problem
b=4*3^(2*x-1)==5*4^(x+2)
show(b)
solve(b,x)

The Solution is:

[4^(x + 2) == 4/5*3^(2*x - 1)]

Should the solve alg. solve for x?

2019-02-13 11:33:40 +0100 asked a question 2D Points, best paractive to store Points
sage: from sage.plot.point import Point
sage: P = Point([1,2],[2,3],{'alpha':.5})
sage: P
Point set defined by 2 point(s)
sage: P.options()['alpha']
0.500000000000000
sage: P.xdata
[1, 2]

Why is this not working:

sage: P = Point([1,2],[2,3])

Why do I need this alpha Parameter?

2019-01-28 16:18:48 +0100 answered a question run geogebra in the sagemath cloud

Well its working now ! :D Awesome just download the portable version, unzip it! Thats All

2019-01-23 20:01:42 +0100 commented answer SageMath export to latex Document

SageMath is much better then jupyter,..in my opinion.

2019-01-21 15:34:40 +0100 commented answer SageMath export to latex Document

That the workflow i am trying to avoid. I am working a math tutor. I and I use cocal its the online version of sagemath. It very easy to use for students. Sagemath i mean. Latex not so much

2019-01-21 14:55:12 +0100 asked a question Import Functions defined in files

How to load a file with - functions? Is there any documentation on this?

What happens if there are some variables also defined in this file.

2019-01-21 14:44:40 +0100 asked a question Difference between def and lambda Function declaration

Here is an example. Is There any difference? https://share.cocalc.com/share/a3f14e...

2019-01-21 14:40:20 +0100 asked a question Acces other cells from within other cells

Is it possible? For example, i have a function in 1 cell. Is it possible to access it from other cell?