User Portlet User Portlet

Discussions
All the following methods do the trick: In[504]:= A = {3, 9/2, 4}; GCD @@ A Apply[GCD, A] GCD[A /. List -> Sequence] GCD[Sequence @@ A] Out[505]= 1/2 Out[506]= 1/2 Out[507]= 1/2 ...
Thank you for the neat line of code.
Very clever and useful hack. Thank you for the code.
See here: https://community.wolfram.com/groups/-/m/t/440741 Edit: I have a solution of myself: Sum[UnitBox[k (x - T j)], {j, -10, 10}] UnitBox gives a top hat centered at 0, width 1. The `k` makes it with a shorter width. The `T`...
thank you, that's it.
Thank you for your help on this problem. Your code works great, except the x-axis is logarithmic, similar to a Bode plot. I found that if you remove the ScalingFunctions statement, you will get the x-axis linear, and the y-axis linear in 10 decibel...
Hello, I get an answer of 0.5 using the code I attached to your earlier post. Are you sure you are setting the limits of integration correctly? In your first posting they are not set right.
Just as the documentation states: > `FullForm` is your friend! a + b + c + d // FullForm (* Out: Plus[a,b,c,d] *) This already gives the basic idea on what to do ...