Please help!
<5 p> Calculating the rate of change of
using this function (^ 2 ^ 3 + 3 ^ 2) ^ 4 -2 ^ 4) ^ 2 + (3 ^ 4 - (6 ^ 2 + 3) ^ 4) ^ 3) ^ 3
This is what I came to ID:
def function (x, n): return (n * (Function (2.0, 3.0)) + (Function (3.0, 2.0)), 4.0) - (Function (2.0, 4.0)), 2.0 + (Function (2.0) (Function (3.0, 4.0)) - ((function (6.0, 2.0)) + (function (3.0, 1.0)), 4.0), 3.0), 3.0), 35994405888.0)
And after saving and running it I receive this message:
Traceback (most recent call final): F (Function (2.0, 3.0)) + (function (3.0, 2.0)), "C: \ user \ jonathan cohen \ desktop \ school \ cic 106 \ lab2.py", line 83, & lt; module & gt; (Function (3.0, 4.0)) - (function (3.0, 1.0)), 4.0 () () (- (function (2.0, 4.0), 2.0) + ((function (3.0, 4.0)) - ((function (6.0, 2.0)), 3.0), 35994405888.0 Type Type: Unsupported Operation Type (for): 'Tupal' and 'Float'
(function (a, b), c)
one is 2 - function (a, b)
and c
.
(assuming that function ()
calculates its first parameter, second.)
Comments
Post a Comment