Hello
I’ve a problem with this semplification .. I have this expression:
6 + c (3 + c)
as a result, I want the expression:
6 + 3c + c^2
What can I do ?
Thanks
Galasi
Hello
I’ve a problem with this semplification .. I have this expression:
6 + c (3 + c)
as a result, I want the expression:
6 + 3c + c^2
What can I do ?
Thanks
Galasi
Hello Galasi,
You can expand your expression using
Expand[6 + c (3 + c)]
Cheers,
Xavier
It Works! ![]()
Very Thanks
I get the output:
total = [ 2
6 + 3 c + c]
after executing with jlink:
String total = ml.evaluateToOutputForm("Expand[6 + c (3 + c)]", 0);
System.out.println("total = ["+total+"]");
I think there is a problem interpreting the exponential in the correct way..
Thanks again
Galasi
Sorry ..
I solved this way:
String total = ml.evaluateToInputForm("Expand[6 + c (3 + c)]", 0);
Thanks
G