Compute Sine
Examples in
Go
package main
import (
"fmt"
"math"
)
func main() {
fmt.Printf("%.2f", math.Sin(math.Pi))
}
package main
import (
"fmt"
"math"
)
func main() {
fmt.Printf("%.2f", math.Sin(math.Pi))
}