Ask Your Question
0

Determine domain and range of linear equation?

asked 2013-06-22 10:08:35 -0500

bxdin gravatar image

I was able to determine obtain this easily with, Wolfram Alpha: http://www.wolframalpha.com/input/?i=...

Is it possible with Sage 5.9?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-06-23 10:02:57 -0500

tmonteil gravatar image

Though it is not created for that purpose, you can use interval arithmetics:

sage: f(x) = abs(x) - 4
sage: a = RIF(-infinity,infinity) ; a
[-infinity .. +infinity]
sage: a.parent()
Real Interval Field with 53 bits of precision
sage: f(a)
[-4.0000000000000000 .. +infinity]

Here you get the exact result, but note that in general, you will only get an interval that contains the image of the function.

edit flag offensive delete link more
0

answered 2013-06-22 12:43:37 -0500

ppurka gravatar image

updated 2013-06-23 08:47:52 -0500

Whoops! Stupid answer deleted. :-/

edit flag offensive delete link more

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: 2013-06-22 10:08:35 -0500

Seen: 913 times

Last updated: Jun 23 '13