Hi i am having an issue using Math.pow its telling me that math.pow wants (double,double) and im giving it (double[] , double) is there away to use an exponent on an array
package project2;
public class project2 {
public static void main(String[]args){
double x [] = { -2.0,-1.0,0,1.0,1.5,2.5,3.0,4.0,8.0,12.0,16.0,20.0,24.0};
double f=0 , g=0 ,w=0 ;
for (int i=0; i<x.length; i++){
f(x)=Math.pow(x,3.0);