<!DOCTYPE html>
<html>
<head>
<title>
piano inclinato
</title>
<style>
.risultato{
border: solid, black, 3px;
}
</style>
</head>
<body>
<form id="form1" class="form1">
<p>scegli incognita</p>
<input type="radio" id="incognita1" name="incognita" value="Fe" required/><label for="Fe">Fe</label>
<input type="radio" id="incognita2" name="incognita" value="P" required/><label for="P">P</label>
<input type="radio" id="incognita3" name="incognita" value="h" required/><label for="h">h</label>
<input type="radio" id="incognita4" name="incognita" value="L" required/><label for="L">L</label>
<br>
<br>
<input type="button" value="procedi" id="button1" onclick="input();"/>
<br>
</form>
<form id="form2" class="form2" style="display: none;">
<br>
<p>inserisci dati</p>
<input type="text" placeholder="Fe" id="forzaEquilibrante" name="forzaEquilibrante" required/><br>
<input type="text" placeholder="P" id="peso" name="peso" required/><br>
<input type="text" placeholder="h" id="altezza" name="altezza" required/><br>
<input type="text" placeholder="L" id="lunghezza" name="lunghezza" required/><br>
<br>
<br>
<p>assicurati di inserire i valori in Newton o metri</p>
<br>
<br>
<input type="button" value="calcola" onclick="calcolo();"/><br>
</form>
<br>
<br>
<p class="risultato" id="risultato" style="display: none;">risultato:</p>
</body>
</html>