Відповідь:
#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;
}
Пояснення:
===== PascalABC.NET =====
type
Node = auto class
public
data: integer;
left, right: Node;
end;
procedure Add(var root: Node; x: integer);
begin
if root = nil then
begin
root := new Node(x, nil, nil);
exit
end;
if root.data > x then
Add(root.left, x)
else if root.data < x then
Add(root.right, x)
end;
procedure Postfix(root: Node);
begin
if root = nil then exit;
Postfix(root.left);
Postfix(root.right);
Print(root.data)
end;
begin
var s := Seq(51, 25, 73, 15);
var R: Node;
R := nil;
foreach var x in s do
Add(R,x);
Add(R, 31);
Add(R, 93);
Postfix(R);
end.
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 если не существует