Processing math: 100%
Ask Your Question
0

Using solve() to find an unknown which is a limit of integration?

asked 11 years ago

boyfarrell gravatar image

Is it possible to use the solve() function to find an unknown which is a limit of integration? A trivial example would be,

x0mx+cdx=10

where x is the unknown (m and c are both known).

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 11 years ago

tmonteil gravatar image

updated 11 years ago

For such an easy example, Sage is able to do it in the following way:

sage: var('x,c,m,t')
(x, c, m, t)
sage: f(x) = m*x + c

sage: solve([f.integral(x,0,t) == 0], t)
[t == -2*c/m, t == 0]

sage: solve([f.integral(x,0,t) == 10], t)
[t == -(c + sqrt(c^2 + 20*m))/m, t == -(c - sqrt(c^2 + 20*m))/m]
Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 11 years ago

Seen: 525 times

Last updated: May 24 '13