Write function in Scheme which accepts two arguments, x and a in this example. The function will calculate the following mathematical formula and return the result. In case you are wondering, it's a made up formula, don't try to figure out what it does.
Sample output: >... View the full answer
- if you have another formula rather then this. post a comment here. Whenever i see your comment, i'll definatly help.
- May 08, 2018 at 1:58am
- (define (formula x a) (+ (* x x) (* 3 x) (/ -10 (* 2 a)) 10))
- May 08, 2018 at 7:34pm