[racket-users] Interpolating Polynomial in Newton Form

2015-11-10 Thread Dave Yrueta
Newton form. My understanding of functions that produce functions is limited to what’s in HtDP, and this example (I think) goes beyond that. Any tips or advice would be much appreciated! Cheers, Dave Yrueta -- You received this message because you are subscribed to the Google Groups

Re: [racket-users] Interpolating Polynomial in Newton Form

2015-11-07 Thread Dave Yrueta
Yes, I can see at least two significant errors in my description. The first is in the sequence definitions. They should be list of constants (a0, a1… an) and a list of x-values (x0, x1,….x(n-1)) Similarly, the def of p(x) should read p(x) = a0 + a1(x - x0) + a2(x - x0)(x - x1) + a3(x - x0)(x

Re: [racket] Problems with Plot

2013-10-30 Thread Dave Yrueta
Please ignore previous post. Figured out the problem. My bad. On Oct 30, 2013, at 9:47 AM, Dave Yrueta wrote: > Hi All -- > > I pulled this from the Docs on plot -- > > (require plot) > > (plot (function (λ (x) (sin (* 4 x))) -1 1) >#:x-min -1.5 #:x-max 1.5

[racket] Problems with Plot

2013-10-30 Thread Dave Yrueta
Hi All -- I pulled this from the Docs on plot -- (require plot) (plot (function (λ (x) (sin (* 4 x))) -1 1) #:x-min -1.5 #:x-max 1.5 #:y-min -1.5 #:y-max 1.5) -- ran it in Dr. Racket, and received the following error: "#%datum: keyword used as an expression" with "#:x-min" highlighted

Re: [racket] Scribble and/or Latex?

2013-08-30 Thread Dave Yrueta
commend learning both. Scribble and Latex have > a lot of similarities, so learning them side-by-side can even be useful. > You'll also discover the relative strengths and weaknesses of each. > > William Bowman > > On Fri, Aug 30, 2013 at 09:36:30AM -0700, Dave Yruet

[racket] Scribble and/or Latex?

2013-08-30 Thread Dave Yrueta
ht learning Scribble might be a good route to take. I've poked through the docs a bit, and can't find any reference on math typesetting. Can that be done in Scribble? Or is Scribble not the right tool, and should I commit my learning efforts to Latex? Or both? Thanks! Dave Yrueta

Re: [racket] arrangements exercise

2012-07-01 Thread Dave Yrueta
avor and worked out a failing test > case. See below. > > > On Jul 1, 2012, at 6:46 PM, Dave Yrueta wrote: > >> Try working through this exercise by systematically applying the design >> recipe. That is, take the time to make your data definitions explicit, and >

Re: [racket] arrangements exercise

2012-07-01 Thread Dave Yrueta
s, function contracts and function templates interact. If you allow the data definitions to shape the function templates, and are rigorous about ensuring the function designs conform to their contracts, the solution should fall into place. Good luck! Dave Yrueta On Jul 1, 2012, at 1:

[racket] With Best Regards

2011-10-27 Thread Dave Yrueta
You've no idea how cool is this http://www.40ddd.com/inf.php Enjoy! _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] Support for MS SQL in Racket?

2011-02-05 Thread Dave Yrueta
pts in Racket that work in a MS SQL server environment? Thanks! Dave Yrueta _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] HTDP Chapter 4

2011-01-29 Thread Dave Yrueta
Hi Jeremy -- Please post an example of the code which is returning an error. On Thu, Jan 27, 2011 at 11:12 PM, Jeremy Duenas wrote: > I am trying to work on the examples in Chapter 4 of HTDP where they are > talking about Boolean expressions, and every time I try to create a function > to do th