cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change fraction on this matrices

SOLVED
Highlighted
Participant

How to change fraction on this matrices

I don't want to display the result as fraction.

I also changed the default to decimal but it doesn't affect.

When i click it there is no result format that could be change.

Someone have idea? (file attached below)

Screenshot_2.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: How to change fraction on this matrices

You have to be aware that using the "float" modifier in symbolic evaluations affects not only the display of the result but the precision of the whole calculation. Therefore "float" should be used with great care (or better omitted).
As Luc already wrote you can follow the symbolic evaluation by a numeric one to get float results. To be able to use those results for further calculations you have to redefine kl as shown in the picture below:

Werner_E_0-1589352516753.png

I would do the calculation without any use of the symbolic engine. Simply define two ranges from 0 to 7 and use numeric calculation:

Werner_E_1-1589352609852.png

 

Prime 6 worksheet attached

 

 

 

View solution in original post

2 REPLIES 2
Highlighted

Re: How to change fraction on this matrices

You are using symbolic evaluation (you use an arrow '->') , instead of numeric evaluation (with an equals '='). The numerical formats ONLY apply to numerical evaluation results. You can append an equals to your symbolic result to get numeric floating point results. Or you can evaluate kl numerically right away by typing kl=.

 

You can also force the symbolic evaluator to produce floating point results by defining at least one of the input values to a floating number. Just add '.0' to the end of one of the integers and see what happens. You will not be immediately happy with the result. The floating point results of the symbolic evaluation can be limited  by using the 'float' keyword, but beware! This actually truncates the result to the numer of decimals chosen.

 

Success!
Luc

Highlighted

Re: How to change fraction on this matrices

You have to be aware that using the "float" modifier in symbolic evaluations affects not only the display of the result but the precision of the whole calculation. Therefore "float" should be used with great care (or better omitted).
As Luc already wrote you can follow the symbolic evaluation by a numeric one to get float results. To be able to use those results for further calculations you have to redefine kl as shown in the picture below:

Werner_E_0-1589352516753.png

I would do the calculation without any use of the symbolic engine. Simply define two ranges from 0 to 7 and use numeric calculation:

Werner_E_1-1589352609852.png

 

Prime 6 worksheet attached

 

 

 

View solution in original post

Announcements