July 2022 1 4 Report
Написать программу построения графика функции у= sqrt 3*x.(PascalABC)(программа не работает)

uses graphabc;
var i: integer;
x, y: real;
function f (x:real):real;
begin f:=sqrt (3*x);
end; 
Begin   line (0, 240, 620, 240); 
 line (300, 0, 300, 900); 
 for i:= -450 to 45 do   
 begin       x:= 0.03*i; 
  y:=f(x); 
 setpixel (round (300+10*x), round (240-10*y), clgreen);  
   end; 
  textout (300,10, 'y=sqrt(3x)');
End.
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2025 SCHOLAR.TIPS - All rights reserved.