Elektrine lite

← Feed

@lpbkdotnet@mstdn.social

2026-09-23 14:09 UTC

I think I might have got something wrong. This doesn’t look like the curve I was trying to plot… https://m.youtube.com/watch?v=EGAFd_04E88

Replies (1)

  • @lpbkdotnet@mstdn.social 2026-09-24 11:04

    sooo... I worked out what was wrong. I had forgotten that in python math.sin(x) takes radians, not degrees. I should have been doing math.sin(math.radians(x)) instead Now everything is all nice and curvy

    Open ##4834545