Skip to content

Instantly share code, notes, and snippets.

View aravindc26's full-sized avatar

Aravind Chintalapalli aravindc26

View GitHub Profile
@hzm-s
hzm-s / mixin.go
Last active April 13, 2022 10:50
mixin with golang
package main
import "fmt"
// 料理を作るI/F
type Cooker interface {
Cook() string
}
// 塗るI/F
@aravindc26
aravindc26 / AreaUnderCurve.java
Created September 1, 2012 00:30
integeration
package test.areaundercurve;
public class AreaUnderCurve {
public double getAreaUnderCurve(Term[] equation, int limit1, int limit2){
double ret =0.0;
if(limit1 == limit2) return ret; //when limits are equal the area under the curve is equal
//Write your code here
int i;