Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FUNKCJA GRANICA:
- clf()
- A=input("Podaj parametr A: ")
- GRANICA=input("Podaj granicę: ")
- x=linspace(-180,180,40)
- y=cosd(A*x)
- plot(x,y)
- xtitle("Wykres ograniczonej funkcji y","oś X", "oś Y")
- OGR=y
- OGR(y>=GRANICA)=GRANICA
- plot(x,OGR, "red")
- legend("cos(A*x)", "Granica")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement