Hi all,

I am trying to plot:

```
f(x) = 8csc(x) + 8csc(75-x)
plot(f, 0, 75)
```

But the plot is different from the textbook, can anyone explain why?

t

Hi all,

I am trying to plot:

```
f(x) = 8csc(x) + 8csc(75-x)
plot(f, 0, 75)
```

But the plot is different from the textbook, can anyone explain why?

t

The problem is that your textbook assumes angles are expressed in degrees, whereas Julia assumes radians.

Julia supports degrees as well, but you need to use a special funciton name.Try this:

```
f(x) = 8cscd(x) + 8cscd(75-x)
```

3 Likes