, 0, pi)
(6.2831854397961235, 1.849638380505561e-07)
sage: N(2*pi)
6.28318530717959
Do:
numerical_integral?
for more info on the numerical_integral function.
BFJ
On Feb 7, 1:02 am, Santanu Sarkar sarkar.santanu@gmail.com
wrote:
How one can find integral abs(cos(x+y)) where x varies from 0
I'm not sure why nothing appears and no warning or error is raised. It
may have to do with the type of v[1]. Try this:
{{{
M = matrix(3,[1,-1,-1,-1,3,1,-1,1,3]); v=M.eigenvalues();
x,y,z = var('x,y,z')
Q=implicit_plot3d(x^2+y^2+z^2==RDF(1/v[1]), [x,-3,3], [y,-3,3],
[z,-3,3], opacity=0.5); Q
}}}
I was going to suggest this too, but the RIF behaves differently than
you might naively expect intervals of real number to behave. For
example, union means convex hull:
sage: a = RIF(0,1)
sage: b = RIF(2,3)
sage: a.union(b).endpoints()
(0.000, 3.00)
Also, it seems from
The part of the reference manual under Pi Axis is relevant:
Pi Axis:
sage: g1 = plot(sin(x), 0, 2*pi)
sage: g2 = plot(cos(x), 0, 2*pi, linestyle = --)
sage: (g1+g2).show(ticks=pi/6, tick_formatter=pi) # show their sum,
nicely formatted
On Nov 30, 3:36 pm, David Joyner wdjoy...@gmail.com
It seems to me that the issue might be that Sage doesn't understand
how Hom(ZZ^3, ZZ^1) is a (free) module over ZZ. If you could coerce it
into that category, then the object H = Hom(ZZ^3, ZZ^1) would have
generators induced by those of ZZ^3 and ZZ^1 and then specifying a map
in Hom( ZZ^3, Hom(
expressions to a
desired level of accuracy
sage: N(S[0][x].subs(tau0=0.5, tau1=5.0), digits=25)
1.198947636399185334710182
-BFJ
On Mar 16, 5:32 pm, Jose Guzman n...@neurohost.org wrote:
Hi everybody again.
Does anybody if it is possible to use the result of the function solve
to insert
I'm using @interact to make a demo for my calculus students involving
area minimization:
@interact
def _(s=slider(-10,-0.1,0.1,default=-2.5,label='slope')):
html('Try to minimize the area of the triangle whose hypotenuse
passes through (2,3)')
G=line([(0,-2*s+3), (-3/s+2,0)])
,
especially combinatorial functions that are defined recursively (like
the fibonacci example given and profiles in the post above).
-BFJ
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send
I'm trying to figure this out still. Is there a file somewhere that
records which worksheets are displayed in the notebook interface;
somehing besides just the content of the directory
$HOME/.sage/sage_notebook/worksheets/
?
-BFJ
On Feb 12, 12:28 pm, BFJ [EMAIL PROTECTED] wrote:
Hi all,
I
can be addressed in Sage without modifying
jsMath, I don't know.
-BFJ
On Jan 24, 4:56 pm, bill.p [EMAIL PROTECTED] wrote:
I find the warning messages that appear at the top of the notebook
saying
that JsMath isn't available annoying. There's an awful lot of disk
space full
of the JsMath stuff
.., work perfectly. It seems to be only SFAElementary that has a
problem.
Thanks,
BFJ
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit
That was fast!
Thanks for looking into the problem. I'll be doing more extensive
calculations over the next couple of weeks (I'm porting some Maple
code). I'll let you know if I run into any other problems. I'm excited
about the prospect of a 17-fold performance increase.
Thanks very much,
--
12 matches
Mail list logo