Răspuns :
#include <iostream>
#include <cmath>
using namespace std;
float f(float x)
{
return ((3*x)/4)+sqrt(6);
}
int main()
{
float x;
cout << "x="; cin >> x;
cout << f(x);
return 0;
}
#include <cmath>
using namespace std;
float f(float x)
{
return ((3*x)/4)+sqrt(6);
}
int main()
{
float x;
cout << "x="; cin >> x;
cout << f(x);
return 0;
}
function f(x:real):real;
begin
f:=((3*x)/4)+sqrt(6);
end;
var x:real;
begin
read(x);
writeln(f(x));
end.
begin
f:=((3*x)/4)+sqrt(6);
end;
var x:real;
begin
read(x);
writeln(f(x));
end.