Ask Your Question
0

Determine domain and range of linear equation?

asked 2013-06-22 17:08:35 +0200

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 17:02:57 +0200

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 19:43:37 +0200

ppurka gravatar image

updated 2013-06-23 15:47:52 +0200

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 17:08:35 +0200

Seen: 1,733 times

Last updated: Jun 23 '13