Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Signals {
- double offsetValue=0, amplitude=0;
- double y=0;
- double getY(int x)
- {
- y = (amplitude*x) + (offsetValue*Math.cos(x));
- return y;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement