<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package integral;

import java.io.Serializable;

public class Sin implements Function&lt;Double, Double&gt;, Remote {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4168978228769350283L;
	private Domain&lt;Double&gt; domain;
	
	public Sin(Domain&lt;Double&gt; domain) {
		super();
		this.domain = domain;
	}
	public Double value(Double x) throws RemoteException {
		System.out.println("Argument x = " + x);
		return Math.sin(x);
	}
	public Domain&lt;Double&gt; getDomain() throws RemoteException {
		return domain;
	}
}
</pre></body></html>