-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogs_exercise3.log
40 lines (37 loc) · 1.74 KB
/
logs_exercise3.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
The randomly generated two arrays are:
array1 = [[ 5.07759305 -2.49463737 9.89982017]
[-5.6024645 9.2346966 0.88389849]
[-2.06051948 -5.15260576 -2.32286417]
[ 9.54201641 8.67122382 9.11616036]
[-1.27688737 9.00337789 -1.31719941]],
array2 = [[ 4.08744375 8.32187641 6.724662 ]
[ 2.61771123 0.89707741 9.66642115]
[ 3.62616832 -1.76711849 3.95523614]
[-7.62616903 -9.61832733 -8.38985001]
[ 8.3109571 4.73336627 5.4453436 ]]
The cross product of two arrays is equal to:
[[-9.91606731e+01 6.31986105e+00 5.24517917e+01]
[-3.29951204e+01 -2.31672824e+01 1.10852342e+01]
[ 7.62727543e+00 1.58153348e+01 7.32664190e-02]
[ 1.16149344e+02 -3.28974579e+01 -6.78624782e+01]
[-6.04436325e+01 5.46277420e+01 4.47669318e+01]
[ 5.47445193e+01 4.12875655e+01 -8.43693200e+01]
[ 8.84735412e+01 5.64695723e+01 -2.91996133e+01]
[ 3.80873591e+01 2.53642348e+01 -2.35863456e+01]
[-6.89760943e+01 -5.37445961e+01 1.24311695e+02]
[ 4.61022807e+01 3.78533866e+01 -1.03267684e+02]
[-1.53189436e+01 4.36172041e+00 3.91359775e+00]
[-4.77234684e+01 1.38372615e+01 1.16395885e+01]
[-2.44845488e+01 -2.73255351e-01 2.23253978e+01]
[ 2.08875216e+01 4.27105422e-01 -1.94758917e+01]
[-1.70627419e+01 -8.08498792e+00 3.30698921e+01]
[-1.75525106e+01 -2.69050425e+01 4.39643418e+01]
[ 7.56417999e+01 -6.83736740e+01 -1.41388326e+01]
[ 5.04060734e+01 -4.68419628e+00 -4.83051908e+01]
[ 1.49319471e+01 1.05347067e+01 -2.56500187e+01]
[ 4.06766715e+00 2.38044597e+01 -2.69003106e+01]
[ 7.15062439e+01 3.20265752e+00 -4.74268996e+01]
[ 8.82120724e+01 8.89488345e+00 -2.47137102e+01]
[ 3.32828382e+01 2.74004331e-01 -3.03913524e+01]
[-8.82062452e+01 -6.67708226e-01 8.09428024e+01]
[ 5.52612734e+01 -3.99409728e+00 -8.08706631e+01]]