@ -1,3 +1,3 @@
|
||||
String formula = ask("Enter formula:");
|
||||
plot(formula);
|
||||
plotname("Cool graph!");
|
||||
String formula = symat.ask("Enter formula:");
|
||||
symat.plot(formula);
|
||||
symat.plotname("Cool graph!");
|
@ -1,6 +1,9 @@
|
||||
public class HelloWorld {
|
||||
public static void main(String[] args) {
|
||||
print("Hello world");
|
||||
String message = "Hello World!";
|
||||
int x = 5;
|
||||
print(message);
|
||||
symat.notify(message + " X is " + x + ".");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,162 +1,6 @@
|
||||
void notify(String msg) {
|
||||
SyMAT_Functions.notify(msg);
|
||||
}
|
||||
Object ask(String msg) {
|
||||
return SyMAT_Functions.ask(msg);
|
||||
}
|
||||
Object factorial(int n) {
|
||||
return SyMAT_Functions.factorial(n);
|
||||
}
|
||||
Object diff(String fun,String var) {
|
||||
return SyMAT_Functions.diff(fun,var);
|
||||
}
|
||||
Object integrate(String fun,String var) {
|
||||
return SyMAT_Functions.integrate(fun,var);
|
||||
}
|
||||
Object rad(double num) {
|
||||
return SyMAT_Functions.rad(num);
|
||||
}
|
||||
Object deg(double num) {
|
||||
return SyMAT_Functions.deg(num);
|
||||
}
|
||||
Object subs(String fun,String var) {
|
||||
return SyMAT_Functions.subs(fun,var);
|
||||
}
|
||||
void plot(String fun) {
|
||||
SyMAT_Functions.plot(fun);
|
||||
}
|
||||
void plot() {
|
||||
SyMAT_Functions.plot();
|
||||
}
|
||||
void plotname(String fun) {
|
||||
SyMAT_Functions.plotname(fun);
|
||||
}
|
||||
Object plotname() {
|
||||
return SyMAT_Functions.plotname();
|
||||
}
|
||||
void xlim(int min, int max) {
|
||||
SyMAT_Functions.xlim(min,max);
|
||||
}
|
||||
void plotclr() {
|
||||
SyMAT_Functions.plotclr();
|
||||
}
|
||||
void drawdot(int x, int y) {
|
||||
SyMAT_Functions.drawdot(x, y);
|
||||
}
|
||||
Object simplify(String expr) {
|
||||
return SyMAT_Functions.simplify(expr);
|
||||
}
|
||||
Object vpa(String expr) {
|
||||
return SyMAT_Functions.vpa(expr);
|
||||
}
|
||||
Object readfile(String path) {
|
||||
return SyMAT_Functions.readfile(path);
|
||||
}
|
||||
void savefile(String data,String path) {
|
||||
SyMAT_Functions.savefile(data,path);
|
||||
}
|
||||
Object mtimes(double[][] a, double[][] b) {
|
||||
return SyMAT_Functions.mtimes(a,b);
|
||||
}
|
||||
Object mpower(double[][] a, int b) {
|
||||
return SyMAT_Functions.mpower(a,b);
|
||||
}
|
||||
Object add(double a...) {
|
||||
return SyMAT_Functions.add(a);
|
||||
}
|
||||
Object subtract(double a...) {
|
||||
return SyMAT_Functions.subtract(a);
|
||||
}
|
||||
Object times(double a...) {
|
||||
return SyMAT_Functions.times(a);
|
||||
}
|
||||
Object divide(double a...) {
|
||||
return SyMAT_Functions.divide(a);
|
||||
}
|
||||
Object mod(double a...) {
|
||||
return SyMAT_Functions.mod(a);
|
||||
}
|
||||
Object rand(int min, int max) {
|
||||
return SyMAT_Functions.rand(min,max);
|
||||
}
|
||||
Object rand(int min) {
|
||||
return SyMAT_Functions.rand(min,1);
|
||||
}
|
||||
Object rand() {
|
||||
return SyMAT_Functions.rand(0,1);
|
||||
}
|
||||
Object randb() {
|
||||
return SyMAT_Functions.randb();
|
||||
}
|
||||
void sleep(int x) {
|
||||
SyMAT_Functions.sleep(x);
|
||||
}
|
||||
void pause(int x) {
|
||||
SyMAT_Functions.pause(x);
|
||||
}
|
||||
Object perms(double a...) {
|
||||
return SyMAT_Functions.perms(a);
|
||||
}
|
||||
Object md5sum(String a) {
|
||||
return SyMAT_Functions.md5sum(a);
|
||||
}
|
||||
Object save(String a, String b) {
|
||||
return SyMAT_Functions.save(a,b);
|
||||
}
|
||||
Object load(String a) {
|
||||
return SyMAT_Functions.load(a);
|
||||
}
|
||||
Object powermod(String a,String b,String m) {
|
||||
return SyMAT_Functions.powermod(a,b,m);
|
||||
}
|
||||
Object powermod(double a,double b,double m) {
|
||||
return SyMAT_Functions.powermod(a,b,m);
|
||||
}
|
||||
Object gcd(long a,long b) {
|
||||
return SyMAT_Functions.gcd(a,b);
|
||||
}
|
||||
Object solve(String a, String b, int c) {
|
||||
return SyMAT_Functions.solve(a,b,c);
|
||||
}
|
||||
Object solve(String a) {
|
||||
return SyMAT_Functions.solve(a,"x",0);
|
||||
}
|
||||
Object printa(Object a) {
|
||||
return SyMAT_Functions.printa(a);
|
||||
}
|
||||
Object sec(double a) {
|
||||
return SyMAT_Functions.sec(a);
|
||||
}
|
||||
Object csc(double a) {
|
||||
return SyMAT_Functions.csc(a);
|
||||
}
|
||||
Object cot(double a) {
|
||||
return SyMAT_Functions.cot(a);
|
||||
}
|
||||
Object asec(double a) {
|
||||
return SyMAT_Functions.asec(a);
|
||||
}
|
||||
Object acsc(double a) {
|
||||
return SyMAT_Functions.acsc(a);
|
||||
}
|
||||
Object acot(double a) {
|
||||
return SyMAT_Functions.acot(a);
|
||||
}
|
||||
Object sech(double a) {
|
||||
return SyMAT_Functions.sech(a);
|
||||
}
|
||||
Object csch(double a) {
|
||||
return SyMAT_Functions.csch(a);
|
||||
}
|
||||
Object coth(double a) {
|
||||
return SyMAT_Functions.coth(a);
|
||||
}
|
||||
Object filedialog() {
|
||||
return SyMAT_Functions.filedialog();
|
||||
}
|
||||
Object textbox() {
|
||||
return SyMAT_Functions.textbox();
|
||||
}
|
||||
Object browser() {
|
||||
return SyMAT_Functions.browser();
|
||||
}
|
||||
import net.apocalypselabs.symat.Functions;
|
||||
Functions symat = new Functions();
|
||||
public static final double E = java.lang.Math.E;
|
||||
public static final double PI = java.lang.Math.PI;
|
||||
public static final double SQRT1_2 = java.lang.Math.sqrt(0.5);
|
||||
public static final double SQRT2 = java.lang.Math.sqrt(2);
|
@ -0,0 +1,11 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Notepad</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Notepad</h1>
|
||||
<p>
|
||||
The Notepad is a window that automatically remembers what you type. Save reminders, code snippets, and more.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
After Width: | Height: | Size: 290 B |
After Width: | Height: | Size: 285 B |
After Width: | Height: | Size: 294 B |
After Width: | Height: | Size: 346 B |
After Width: | Height: | Size: 265 B |
After Width: | Height: | Size: 246 B |
After Width: | Height: | Size: 260 B |
After Width: | Height: | Size: 266 B |
After Width: | Height: | Size: 426 B |
After Width: | Height: | Size: 363 B |
After Width: | Height: | Size: 330 B |
After Width: | Height: | Size: 514 B |
After Width: | Height: | Size: 218 B |
After Width: | Height: | Size: 216 B |
After Width: | Height: | Size: 218 B |
After Width: | Height: | Size: 221 B |
After Width: | Height: | Size: 189 B |
After Width: | Height: | Size: 162 B |
After Width: | Height: | Size: 163 B |
After Width: | Height: | Size: 174 B |
After Width: | Height: | Size: 317 B |
After Width: | Height: | Size: 227 B |
After Width: | Height: | Size: 301 B |
After Width: | Height: | Size: 366 B |
After Width: | Height: | Size: 335 B |
After Width: | Height: | Size: 364 B |
After Width: | Height: | Size: 357 B |
After Width: | Height: | Size: 366 B |
After Width: | Height: | Size: 373 B |
After Width: | Height: | Size: 340 B |
After Width: | Height: | Size: 351 B |
After Width: | Height: | Size: 267 B |
After Width: | Height: | Size: 290 B |
After Width: | Height: | Size: 285 B |
After Width: | Height: | Size: 246 B |
After Width: | Height: | Size: 313 B |
After Width: | Height: | Size: 182 B |
After Width: | Height: | Size: 197 B |
After Width: | Height: | Size: 278 B |
After Width: | Height: | Size: 292 B |
After Width: | Height: | Size: 476 B |
After Width: | Height: | Size: 253 B |
After Width: | Height: | Size: 395 B |
After Width: | Height: | Size: 253 B |
After Width: | Height: | Size: 241 B |
After Width: | Height: | Size: 207 B |
After Width: | Height: | Size: 333 B |
After Width: | Height: | Size: 295 B |
After Width: | Height: | Size: 417 B |
After Width: | Height: | Size: 460 B |
After Width: | Height: | Size: 364 B |
After Width: | Height: | Size: 479 B |
After Width: | Height: | Size: 437 B |
After Width: | Height: | Size: 299 B |
After Width: | Height: | Size: 516 B |
After Width: | Height: | Size: 321 B |
After Width: | Height: | Size: 433 B |
After Width: | Height: | Size: 432 B |
After Width: | Height: | Size: 435 B |
After Width: | Height: | Size: 421 B |
After Width: | Height: | Size: 312 B |
After Width: | Height: | Size: 368 B |
After Width: | Height: | Size: 408 B |
After Width: | Height: | Size: 277 B |
After Width: | Height: | Size: 235 B |
After Width: | Height: | Size: 302 B |
After Width: | Height: | Size: 385 B |
After Width: | Height: | Size: 351 B |
After Width: | Height: | Size: 372 B |
After Width: | Height: | Size: 431 B |
After Width: | Height: | Size: 383 B |
After Width: | Height: | Size: 448 B |
After Width: | Height: | Size: 437 B |
After Width: | Height: | Size: 381 B |
After Width: | Height: | Size: 469 B |
After Width: | Height: | Size: 315 B |
After Width: | Height: | Size: 379 B |
After Width: | Height: | Size: 407 B |
After Width: | Height: | Size: 426 B |
After Width: | Height: | Size: 412 B |
After Width: | Height: | Size: 164 B |
After Width: | Height: | Size: 172 B |