Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
float V9(float x)
{
return pow(cos((x*x + atan(sqrt(fabs(x - 1.8 / pow(sin(pow(x*x + 1.5, 5)), 2) + pow(pow(x, 3.5), 1/3.0)), 5);
}
// nan если не существует
Відповідь:
#include <iostream>
#include <cmath>
using namespace std;
float func(float x){
float V9;
V9 = pow(cos((x * x + atan(sqrt(abs(x - 1.8 / pow(sin(pow(x*x + 1.5, 5)), 2) + pow(pow(x, 3.5), 1/3.0)), 5);
return V9;
int main(){
float x;
cout << "Enter x: ";
cin >> x;
cout << "V9 = " << func(x) << endl;
return 0;
Пояснення:
var a,b: integer;
is7: boolean;
begin
readln(a);
b: =0;
is7: =false;
while a < > 0 do
b: =b+a mod 10;
if a mod 10 = 7 then
is7: =true;
a: =a div 10;
end;
wrtieln('сумма цифр: ', b);
write('цифра 7 ');
if is7 then writeln('есть') else writeln('нет');
readln;
end.
пусть [a,b] - область и a< =b
var
a,b,x: real;
readln(a,b,x);
if (a< =x) and (x< =b) then
writeln('принадлежит')
else
writeln('не принадлежит');
Популярные вопросы