ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 07 Apr 2021 20:03:54 +0200Is there a built-in way to integrate a vector or differential form field on an embedded submanifold of Euclidean space?https://ask.sagemath.org/question/56533/is-there-a-built-in-way-to-integrate-a-vector-or-differential-form-field-on-an-embedded-submanifold-of-euclidean-space/**Reasons for asking:** I'm doing calculations related to some problems in electromagnetism, and want to be able to compute fluxes, circulations, and similar integrals of vector fields over submanifolds of R^3. Ideally, I'd just define the surface or region of interest, then pass the (existing) field and domain to some built-in function to compute the relevant integral. Does such a thing exist at present?perfectly_oddWed, 07 Apr 2021 20:03:54 +0200https://ask.sagemath.org/question/56533/Quadratic optimization subject to boundary constraintshttps://ask.sagemath.org/question/37673/quadratic-optimization-subject-to-boundary-constraints/ Hello, I was wondering if Sagemath can be used to optimize a quadratic function
y = b_0 + b_1*x_1 + b_11*x_1^2 + b_2*x_2 + b_22*x_2^2 + ... + b_k*x_k + b_kk*x_kk^2
subject to boundary constraints
1 <= x_i <= 9, i = 1, ..., k
Thanks,
T.S. Lim
T.S. LimTue, 23 May 2017 11:12:40 +0200https://ask.sagemath.org/question/37673/