Vincent Sima 6 lat temu
rodzic
commit
56bd1cd8e0
2 zmienionych plików z 15 dodań i 21 usunięć
  1. 4
    10
      ScientificFunctions.java
  2. 11
    11
      package.bluej

+ 4
- 10
ScientificFunctions.java Wyświetl plik

@@ -6,8 +6,6 @@ public class ScientificFunctions
6 6
     public static double memory = 0;
7 7
     public static boolean degMode = true;
8 8
     public static boolean radMode = false;
9
-<<<<<<< HEAD
10
-=======
11 9
     public static boolean decMode = true;
12 10
     public static boolean hexMode = false;
13 11
     public static boolean binMode = false;
@@ -15,7 +13,7 @@ public class ScientificFunctions
15 13
     public static String hexOut;
16 14
     public static String binOut;
17 15
     public static String octOut;
18
->>>>>>> 063d73dc4208e605d3684ff88c12d0e9d50875f4
16
+
19 17
 
20 18
     public static double sqr(double display) {
21 19
         System.out.println( display * display);
@@ -40,10 +38,9 @@ public class ScientificFunctions
40 38
 
41 39
     public static double setMem(double display) {
42 40
         System.out.println("Set to memory!");
43
-<<<<<<< HEAD
41
+
44 42
         return memory = display;
45
-=======
46
->>>>>>> 063d73dc4208e605d3684ff88c12d0e9d50875f4
43
+
47 44
 
48 45
     }
49 46
 
@@ -58,10 +55,7 @@ public class ScientificFunctions
58 55
         return display = memory; 
59 56
 
60 57
     }
61
-<<<<<<< HEAD
62
-=======
63
-    //Fixed trig functions to convert to radians before printing the equation.
64
->>>>>>> 063d73dc4208e605d3684ff88c12d0e9d50875f4
58
+
65 59
 
66 60
     public static double cosine(double display) {
67 61
         if (degMode == true){

+ 11
- 11
package.bluej Wyświetl plik

@@ -9,17 +9,17 @@ dependency3.from=MainApplication
9 9
 dependency3.to=ScientificFunctions
10 10
 dependency3.type=UsesDependency
11 11
 editor.fx.0.height=709
12
-editor.fx.0.width=800
13
-editor.fx.0.x=375
14
-editor.fx.0.y=29
12
+editor.fx.0.width=1123
13
+editor.fx.0.x=139
14
+editor.fx.0.y=23
15 15
 objectbench.height=198
16
-objectbench.width=510
17
-package.divider.horizontal=0.5675082327113062
16
+objectbench.width=540
17
+package.divider.horizontal=0.6004390779363337
18 18
 package.divider.vertical=0.685099846390169
19 19
 package.editor.height=439
20 20
 package.editor.width=805
21
-package.editor.x=192
22
-package.editor.y=38
21
+package.editor.x=394
22
+package.editor.y=50
23 23
 package.frame.height=709
24 24
 package.frame.width=931
25 25
 package.numDependencies=3
@@ -37,8 +37,8 @@ target1.name=ScientificFunctions
37 37
 target1.showInterface=false
38 38
 target1.type=ClassTarget
39 39
 target1.width=140
40
-target1.x=560
41
-target1.y=110
40
+target1.x=320
41
+target1.y=200
42 42
 target2.height=50
43 43
 target2.name=Console
44 44
 target2.showInterface=false
@@ -58,5 +58,5 @@ target4.name=CoreFunctions
58 58
 target4.showInterface=false
59 59
 target4.type=ClassTarget
60 60
 target4.width=120
61
-target4.x=560
62
-target4.y=220
61
+target4.x=80
62
+target4.y=240