First time here? Check out the FAQ!

Ask Your Question
0

Determine domain and range of linear equation?

asked 11 years ago

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?

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
1

answered 11 years ago

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.

Preview: (hide)
link
0

answered 11 years ago

ppurka gravatar image

updated 11 years ago

Whoops! Stupid answer deleted. :-/

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: 1,854 times

Last updated: Jun 23 '13