Difference between revisions of "Z3prima-Tocheck"

From ZCubes Wiki
Jump to navigation Jump to search
Line 19: Line 19:
  
 
A=(|3x4|@4.3)@SIN;
 
A=(|3x4|@4.3)@SIN;
 +
 +
-incorrect
 +
 
|4|.$i([SUM,SIN,COS]);
 
|4|.$i([SUM,SIN,COS]);
|4|.$i(SUM,SIN,COS)---These Commands are "😏 SORRY! 㫞㬦[h].apply is not a function" giving as result.
 
  
PMT(#1/1/2011,#2/2012) - Getting the result as "😏 SORRY! Cannot read properties of undefined (reading 'units')"
+
.i is index. .$i is removed
 +
 
 +
Try |4|.$([SUM,SIN,COS]);
 +
 
 +
 
 +
|4|.$i(SUM,SIN,COS)
 +
 
 +
.$i is removed
 +
 
 +
 
 +
 
 +
PMT(#1/1/2011,#2/2012)
 +
 
 +
- Getting the result as "😏 SORRY! Cannot read properties of undefined (reading 'units')"
 +
 
 +
PMT parameters are PMT(Rate,NoPaymentPeriods,PresentValue,FutureValue,Type)
 +
 
 +
x=2;
 +
 
 +
a=5!;
 +
 
 +
a=(a+x)*!34;
 +
 
 +
-Result is "0". Having Doubt on this.
 +
 
 +
!34 is false which equals zero
 +
 
 +
 
 +
 
 +
a=34!P!3!C!3
 +
 
 +
--Giving the result as Null. Is it work?
 +
 
 +
Try
 +
 
 +
COMBIN(PERMUT(34, 3n), 3);
  
x=2;a=5!;
+
with BigInt
a=(a+x)*!34; -Result is "0". Having Doubt on this.
 
  
a=34!P!3!C!3--Giving the result as Null. Is it work?
+
or a=34n!P!3!C!3
 +
 
 +
(Translates to  COMBIN(PERMUT(34, 3n), 3);)
  
 
Can I ignore these commands:
 
Can I ignore these commands:
* var a=2;
+
* var a=2; v:=u+a*t;var b=3;
v:=u+a*t;
+
 
var b=3;
+
Need to init  u and t and it will work.
 +
 
 
      
 
      
 
* var a=#a-x,d=#1/1/2011;
 
* var a=#a-x,d=#1/1/2011;
 +
try
 +
 +
var a=#a-x;
 +
 +
d=#1/1/2011;
 +
 +
[a,d]
 +
 +
or a
 +
 +
or d
 +
 
   
 
   
 
* [49,31,#].$(z^2)
 
* [49,31,#].$(z^2)
 +
 
* [49,31,#].$("z^2")  
 
* [49,31,#].$("z^2")  
 +
 +
Try [49,31].$(z=>z^2)
 
   
 
   
 
1..3**3.$d(SIN) -Null as Result.
 
1..3**3.$d(SIN) -Null as Result.
  
a=100..|x+y|3 - Null as Result
+
- try
 +
 
 +
(1..3**3).$d(SIN)
 +
 
 +
a=100..|x+y|3  
 +
 
 +
- Null as Result
 +
 
 +
Maybe try
 +
 
 +
a=(100..)|x+y|3
  
 
0..10@"SIN(x^2,1..10)".graph();
 
0..10@"SIN(x^2,1..10)".graph();
0..10@"SIN(x^2,1..23..10)".graph(30).sin()  - Showing the Values but not showing the Graph
 
  
SIN("x^2",1..10) - It is not giving any Result.
+
Try 0..10@"SIN(x^2,1..10)"
 +
 
 +
Not sure what graph is expected here.
 +
 
 +
 
 +
0..10@"SIN(x^2,1..23..10)".graph(30).sin() 
 +
 
 +
- Showing the Values but not showing the Graph
 +
 
 +
0..10@"SIN(x^2,1..23..10)"
 +
 
 +
is a complex structure, and graphing does not make sense
 +
 
 +
 
 +
 
 +
SIN("x^2",1..10)  
 +
 
 +
- It is not giving any Result.
 +
 
 +
Maybe
 +
 
 +
1..10@(x=>SIN(x^2))
 +
 
 +
 
  
 
((2..3)~)*34
 
((2..3)~)*34
 +
 
(2..3)*~34 - NaN as a Result.
 
(2..3)*~34 - NaN as a Result.
 +
 +
Try
 +
 +
((2..3)~)|*|34
  
 
var a=34;
 
var a=34;
Line 59: Line 150:
 
a;
 
a;
 
--Undefined as Result.
 
--Undefined as Result.
 +
 +
Try
 +
 +
var a=34;
 +
do
 +
{
 +
 +
a=2;
 +
}when(a<3)  ;
 +
a;
  
 
a=∅ ;
 
a=∅ ;
a?224:524--Null as Result.
+
 
 +
a?224:524
 +
 
 +
 
 +
Try--Null as Result.
 +
 
 +
a=null
 +
 
 +
a?224:524
 +
 
  
 
1..100⋰
 
1..100⋰
1..100⋱ - "😏 SORRY! 㫞㴶.flatten is not a function" as a Result
+
 
 +
1..100⋱  
 +
 
 +
- "😏 SORRY! 㫞㴶.flatten is not a function" as a Result
 +
 
 +
Try
 +
 
 +
(1..100)⋱
 +
 
  
 
a=⊤;
 
a=⊤;
Line 70: Line 188:
 
[[a,b],[a ∧ b,a ∨ b]] --Null as Result.
 
[[a,b],[a ∧ b,a ∨ b]] --Null as Result.
  
 +
-will check this.
  
 
a=!∅;
 
a=!∅;
(a)?4135:645 --Null as Result
+
 
 +
(a)?4135:645  
 +
 
 +
--Null as Result
 +
 
 +
-Will check
 +
 
  
 
1J<>(l.atm);
 
1J<>(l.atm);
1J<>(l.atm-1)--Null as Result
 
  
 +
1J<>(l.atm-1)
 +
 +
--Null as Result
 +
 +
-See if the conversion is correct. Do not think we can convert these units exactly as given.
  
1(kg.m2s-2)<>(N)-Null as Result
 
  
12(g.m)<>(g.mm) -It is Working. Full form of g.m,g.mm and g.s?
+
1(kg.m2s-2)<>(N)
 +
 
 +
-Null as Result
 +
 
 +
12(g.m)<>(g.mm)  
 +
 
 +
-It is Working. Full form of g.m,g.mm and g.s?
 +
 
 +
gram meter
  
 
12(g.m)<>(g.s)
 
12(g.m)<>(g.s)
 +
 
12(g.m-1/s)<>(g.cm-1)
 
12(g.m-1/s)<>(g.cm-1)
 +
 
1(kg.m2/s2)<>e  
 
1(kg.m2/s2)<>e  
1.3(kg.m2/s2)<>Jo - Null as Result
 
  
(1..100)<>USD<>EUR - "This is a test only conversion JSON
+
1.3(kg.m2/s2)<>Jo
 +
 
 +
- Null as Result
 +
 
 +
 
 +
Try
 +
 
 +
1.3(kg.m2/s2)<>J
 +
 
 +
(1..100)<>USD<>EUR  
 +
 
 +
- "This is a test only conversion JSON
 
Currency Conversion of date:2016-06-10 is used.
 
Currency Conversion of date:2016-06-10 is used.
 
This is a test only conversion JSON" as Result
 
This is a test only conversion JSON" as Result
 +
 +
Conversion tables in the system are older. Need to refresh the currency conversion tables with the latest.

Revision as of 18:08, 25 January 2022

z3prima observations-To Check
-----------------------------------
<pre>
FOR 20..30 "det(MAGICSQUARE(x))";-- It is giving the "null" as Result.

a=FOR 1..100 SIN;--It is giving the "null" as Result.

FOR "SUM(1..x)" 1...1000000000...100 -"null" as Result


Now z^3 language needs parentheses and commas. Try

FOR(20..30, "det(MAGICSQUARE(x))");

etc.

A=(|3x4|@4.3)@SIN;

-incorrect

|4|.$i([SUM,SIN,COS]);

.i is index. .$i is removed

Try |4|.$([SUM,SIN,COS]);


|4|.$i(SUM,SIN,COS)

.$i is removed


PMT(#1/1/2011,#2/2012)

- Getting the result as "😏 SORRY! Cannot read properties of undefined (reading 'units')"

PMT parameters are PMT(Rate,NoPaymentPeriods,PresentValue,FutureValue,Type)

x=2;

a=5!;

a=(a+x)*!34;

-Result is "0". Having Doubt on this.

!34 is false which equals zero


a=34!P!3!C!3

--Giving the result as Null. Is it work?

Try

COMBIN(PERMUT(34, 3n), 3);

with BigInt

or a=34n!P!3!C!3

(Translates to COMBIN(PERMUT(34, 3n), 3);)

Can I ignore these commands:

  • var a=2; v:=u+a*t;var b=3;

Need to init u and t and it will work.


  • var a=#a-x,d=#1/1/2011;

try

var a=#a-x;

d=#1/1/2011;

[a,d]

or a

or d


  • [49,31,#].$(z^2)
  • [49,31,#].$("z^2")

Try [49,31].$(z=>z^2)

1..3**3.$d(SIN) -Null as Result.

- try

(1..3**3).$d(SIN)

a=100..|x+y|3

- Null as Result

Maybe try

a=(100..)|x+y|3

0..10@"SIN(x^2,1..10)".graph();

Try 0..10@"SIN(x^2,1..10)"

Not sure what graph is expected here.


0..10@"SIN(x^2,1..23..10)".graph(30).sin()

- Showing the Values but not showing the Graph

0..10@"SIN(x^2,1..23..10)"

is a complex structure, and graphing does not make sense


SIN("x^2",1..10)

- It is not giving any Result.

Maybe

1..10@(x=>SIN(x^2))


((2..3)~)*34

(2..3)*~34 - NaN as a Result.

Try

((2..3)~)|*|34

var a=34; do {

a=2; }when(a<3) a; --Undefined as Result.

Try

var a=34; do {

a=2; }when(a<3) ; a;

a=∅ ;

a?224:524


Try--Null as Result.

a=null

a?224:524


1..100⋰

1..100⋱

- "😏 SORRY! 㫞㴶.flatten is not a function" as a Result

Try

(1..100)⋱


a=⊤; b=⊥; [[a,b],[a ∧ b,a ∨ b]] --Null as Result.

-will check this.

a=!∅;

(a)?4135:645

--Null as Result

-Will check


1J<>(l.atm);

1J<>(l.atm-1)

--Null as Result

-See if the conversion is correct. Do not think we can convert these units exactly as given.


1(kg.m2s-2)<>(N)

-Null as Result

12(g.m)<>(g.mm)

-It is Working. Full form of g.m,g.mm and g.s?

gram meter

12(g.m)<>(g.s)

12(g.m-1/s)<>(g.cm-1)

1(kg.m2/s2)<>e

1.3(kg.m2/s2)<>Jo

- Null as Result


Try

1.3(kg.m2/s2)<>J

(1..100)<>USD<>EUR

- "This is a test only conversion JSON Currency Conversion of date:2016-06-10 is used. This is a test only conversion JSON" as Result

Conversion tables in the system are older. Need to refresh the currency conversion tables with the latest.