Ask Your Question

Ursula's profile - activity

2021-05-04 14:24:17 +0100 received badge  Popular Question (source)
2017-07-21 22:34:13 +0100 asked a question 3d plot in vector format: still using matplotlib?

In 2012, the best way to create a vector image in Sage from a three-dimensional plot was to call matplotlib, as the answers to Question 9057 show

Is this still the case? Or are there other work-arounds now?

2017-07-18 15:59:55 +0100 commented answer Collecting coefficients of derivatives

Note that this only collects first derivatives: to collect the second, third, etc. derivatives you'd have to do that explicitly (and know how high your derivatives go).

2017-07-10 16:45:34 +0100 asked a question Collecting coefficients of derivatives

I have a complicated expression involving derivatives of a function, and I'd like to collect all of the first, second, third, etc. derivatives. For example, my expression starts:

a1*a2*a3*x*f(x) + a1*a2*x^2*diff(f(x), x) + a1*a3*x^2*diff(f(x), x) + a2*a3*x^2*diff(f(x), x)

and I would like to rewrite that part as

    a1*a2*a3*x*f(x) + (a1*a2*x^2*+ a1*a3*x^2+ a2*a3*x^2)*diff(f(x), x)

How do I tell Sage to do this?