I want to create a function or procedure to compute the sin formula using taylor method. can you help me pls thnx

thnks , still finding trouble how to implement the power of n with borland pascal.

thnks , still finding trouble how to implement the power of n with borland pascal.

why you haven't tried to do your own function?

function power(n,pow:integer):integer;
var i:integer;
begin
result:=n;
for i:=1 to pow do
result:=result*n;
end;

best regards,

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.