I am a bit confused right now. My code looks as follows:
double pc = 0.125;
double po = 0.2;  
double product = pc*Math.log(pc/po);
System.out.println(product);
I would expect the result to be -0,025514997 instead it outputs -0.4700036292457356
Where is the problem???
                        
prints
proving that a) there's something wrong with your question -
pc * Math.log(pc / po)results in-0.05875045365571695not-0.4700036292457356and b) that you need to uselog10to get base 10 logs.