1) как вы понимаете приведенное в начале параграфа высказывание к.ф. Гаусса,
"недостатки математического образования с наибольшей отчетливостью проявляются в чрезмерной точности численных расчетов"
2)как определить цену деления для приборов с цифровыми индикаторами? приведите премеры
<?phpif (isset($_GET['a'])) $string_a=htmlentities($_GET['a']);if (isset($_GET['b'])) $string_b=htmlentities($_GET['b']); $isEmpty=false;if ((empty($string_a))&&(empty($string_b))) $isEmpty=true; if ($isEmpty==false){ $a = (int)$string_a; $b = (int)$string_b; $c = $a+$b;}else{ $a = 1; $b = 1;}?><!DOCTYPE html><html lang="ru"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Программа сложения двух чисел</title> </head> <body> <form action="index.php"> <input name="a" type="text" value="<?php echo $a;?>"><br> <input name="b" type="text" value="<?php echo $b;?>"><br> <input type="submit" value="Сложить два числа"><br> </form><?phpif ($isEmpty==false){ echo $a." + ".$b." = ".$c;}?> </body></html>
#include <string>
#include <ctype.h>
using namespace std;
int main() {
freopen("D:\\input.txt", "r", stdin);
freopen("D:\\output.txt", "w", stdout);
char s[10001];
string newtext = "";
int c = 0;
gets_s(s);
for (int i = 0; s[i] != '\0'; i++) {
if (s[i] == 'e' && s[i + 1] == 'n' && s[i + 2] == 'd') {
c += 3;
newtext += s[i];
newtext += " ";
newtext += s[i + 1];
newtext += " ";
newtext += s[i + 2];
break;
}
c++;
newtext += s[i];
newtext += " ";
}
cout << c << endl << newtext;
}