Faber

15 Reputation

One Badge

2 years, 205 days

MaplePrimes Activity


These are questions asked by Faber

Why do I get 2 wrong answers here?

I see that they are all false but the last answer is close enough for my purposes

restart

  with(RealDomain)

 

"`f__1`(x):=6.-sqrt(-x^(2)+8*x+9.)" = proc (x) options operator, arrow, function_assign; 6.-RealDomain:-sqrt(-RealDomain:-`^`(x, 2)+8*x+9.) end procNULL

  l__ength := solve(10 = int(f__1(x), x = 0 .. l), l) = 8.855609656, -.4725737205, 6.810993084NULL

10 = int(f__1(x), x = 0 .. l__ength[1]) = 10 = 16.02268001"(->)"false

10 = int(f__1(x), x = 0 .. l__ength[2]) = 10 = -1.586294894"(->)"false``

10 = int(f__1(x), x = 0 .. l__ength[3]) = 10 = 10.00000001"(->)"false 

 

NULL

Download Not_working.mw

Page 1 of 1