Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

plot a multiple rule function in mathematica

How can I write the code for a function (complex contour) similar to this in Mathematica: enter image description here

like image 558
asd Avatar asked Aug 08 '26 14:08

asd


1 Answers

I am not exactly sure what c is, but I assumed it was a number between 0 and 1 meaning the height of the incoming straight line. So maybe somehting like this would suit your needs?

c = 0.7;
t0 = ArcSin[c];
PolarPlot[If[Abs[t] < t0, Abs[Sin[t0]/Sin[t]], 1], {t, -\[Pi], \[Pi]}]
like image 176
FelixCQ Avatar answered Aug 10 '26 10:08

FelixCQ



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!