<head>
        <meta charset="UTF-8">
        <title>Folha de Produtos</title>
        <style>
            input[type=text]{
                width:60px;
            }
	    table,tr,td,th{
                border: 2px solid #000;
	    }
	    table{
                width: 300px;
		border: 1px solid #000;
            }
    </style>
    </head>
    <body>
        <h1>Folha de Notas</h1>
        <hr>
        <form action="" method="post" >
            <? $objTabelaProduto = new Matriz(5,5) ?>
        </form>
    </body>
</html>

<?php 
if (filter_input(INPUT_POST, 'calcular')) {
    $objTabelaProduto->calculaMaiorPreco();
    echo "<hr>";
    $objTabelaProduto->calculaMenorPreco();
}