Question: Write a function called cubic ( ax , i ) that calculates f = a , + a , x + a , x
Write a function called cubicax i that calculates f a ax a x a xwhere the arguments of the function are given by aD array x and f Use for loops when possible. Write a suitable main to Illustrate how to call the function. The main should input a and x from the keyboard and then print out f
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
