write my assignment 6258

Please only do the second problem. Problem 1 is for reference.

This is a Java exercise.

1. Define (code) the following two classes: 

  • Attachment 1
  • Attachment 2

( a ) Sinc Function which implements Wit ) = Asin / {It) . It has amplitude A and period I as data(private ) . It requires a constructor and methods to get and set the values of the data, as well as aImethod that returns the result Vit ! ( public methods !*1/4) Cosine Function which implements Wit ! = Acus [ It ] . It has amplitude A and period I as data( private ) . It requires a constructor and methods to get and set the values of the data, as well as aInethad that returns the result Vit ! ( public methods ) .Hint . In order to implement IT . wall have to call Math. IT. In order to implement sin! I ). You have tocall Math. sin[ I].

 
"Not answered?"
Get the Answer