Download this file
13 lines (10 with data), 132 Bytes
| func f(x)
f=sin(x)
end
ROOT 1, 5, 1000, 1e-6, rs, er USE f(x)
if er = 0
print "Root = "; rs
else
print "No root found"
fi
end
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.