blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
214
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
6
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
21 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
141k
586M
star_events_count
int64
0
30.4k
fork_events_count
int64
0
9.67k
gha_license_id
stringclasses
8 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
50 values
src_encoding
stringclasses
23 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
5
10.4M
extension
stringclasses
29 values
filename
stringlengths
2
96
content
stringlengths
5
10.4M
a92d178ff7ad2082c837b38b6d4a89d193db9c89
449d555969bfd7befe906877abab098c6e63a0e8
/443/CH17/EX17.30/17_30.sce
a707d47cf8dbd31596395920f65cdc46600ebb36
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,155
sce
17_30.sce
pathname=get_absolute_file_path('17_30.sce') filename=pathname+filesep()+'17_30_data.sci' exec(filename) //Indicated power(in kW) ip=(pim*10^5*L*0.25*%pi*D^2*n)/(60000*T) //Brake power(in kW) bp=(g*W*%pi*(De)*N)/(60000*T) //Heat supplied(in kJ/min) H=Vg*CV/T //Heat equivalent of bp(in kJ/min) Hbp=bp*60 //Heat lost in jacket cooling water(in kJ/min) Hc=(Vc*dwc*Cvw)/T //Volume of air used at NTP(in m^3) Va=v*(Ta/T2)*(Pg/760) //Mass of air used(in kg/min) ma=(Va*Pa)/T //Mass of gas at NTP(in kg/min) mg=(p*10^5*V)/(R*Ta*30) //Total mass of exhaust gas(in kg/min) m=ma+mg //Heat lost to exhaus gases(in kJ/min) Hex=m*(Tex-T2)*Ceg //Heat lost by radiation(in kJ/min) Hloss=H-(Hbp+Hc+Hex) //Mechanical efficiency nm=bp/ip*100 //Indicated thermal efficiency nith=(ip*60)/H*100 printf("\n\nRESULTS\n\n") printf("\nHeat supplied:%f\n",H) printf("\nHeat equivalent of bp:%f\n",Hbp) printf("\nHeat lost in jacket cooling water:%f\n",Hc) printf("\nHeat lost to exhaust gases:%f\n",Hex) printf("\nHeat lost to radiation:%f\n",Hloss) printf("\nMechanical efficiency:%f\n",nm) printf("\nIndicated thermal efficiency:%f\n",nith)
70b549e33a4681a66e55f5ada8b4c2d44125545f
449d555969bfd7befe906877abab098c6e63a0e8
/1946/CH2/EX2.21.b/Ex_2_21_b.sce
37bcb83f85686f5586422f5a603aacf186974997
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
412
sce
Ex_2_21_b.sce
// Example 2.21.b:Multipath dispersion per unit length clc; clear; close; c=3*10^8 ;// Speed of lignt in m/s v=2*10^8;//speed of ligh in fiber in m/s Oc=75;// Critical angle in degree n1=c/v;//cORE Refractive Index n2=n1*(sind(Oc));// Cladding Refrative index d= n1-n2;// differnce in refractive index Md1=(n1/n2)*(d/c);// Md= Md1*10^9; disp(Md,"Multipath dispersion in microsecond per kilometer ")
d2eeb4f24de677b72f4a1beca397b035d2ea6918
449d555969bfd7befe906877abab098c6e63a0e8
/1859/CH8/EX8.11/exa_8_11.sce
909e036e61306b5b232a9509b67e782ba911240d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
550
sce
exa_8_11.sce
// Exa 8.11 clc; clear; close; // Given data // Taking 1div= 1 cm for CRO wave displays Mark= 0.4;// cm Space= 1.6;// cm SAC= 0.2;// signal amplitude control in V/div TBS= 10;// time base control in micro/div Amplitude= 2.15;// in cm M_S_ratio= Mark/Space;// Mark to Space raio disp(M_S_ratio,"Mark to Space raio ") T= (Mark+Space)*TBS;// in micro sec T=T*10^-6;// in sec f=1/T;// in Hz disp(f*10^-3,"Pulse frequency in kHz") Mag= Amplitude*SAC;// Magnitude of pulse voltage in volt disp(Mag,"Magnitude of pulse voltage in volt")
a4676e91c1a7d778f03dbeeea31115588db50f03
734830c483d7180158343b9b5599994878b8b197
/trip-tests/autograder_trip04.tst
8c3121d9e2d2b2608aadf908b4fd24bbcafedc39
[]
no_license
aykamko/proj61b
b53a3b569f82522144e010505859aa3ab66585bb
5f6688b70f907107512267712a325f907e5e627b
refs/heads/master
2021-01-16T22:08:56.235971
2013-12-12T09:19:39
2013-12-12T09:19:39
13,669,280
1
0
null
null
null
null
UTF-8
Scilab
false
false
77
tst
autograder_trip04.tst
java -ea trip.Main -m trip-tests/autograder_map04 <<EOF Syracuse, Tully EOF
3c06c382855be32f16b368beebe8495635aeef7e
449d555969bfd7befe906877abab098c6e63a0e8
/2882/CH10/EX10.8/Ex10_8.sce
8d7188af9babfdb68066228a2a9baf82d294b9b6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
659
sce
Ex10_8.sce
//Tested on Windows 7 Ultimate 32-bit //Chapter 10 Feedback in Amplifiers Pg no. 341 clear; clc; //Given //Figure 10.13 RL=6.8D3;//load resistance in ohms RD=6.8D3;//drain resistance in ohms Rs=400;//source resistance in ohms R1=400D3;//voltage divider resistance R1 in ohms R2=100D3;//voltage divider resistance R2 in ohms gm=5000D-6;//transconductance in Siemens //Solution RL_dash=RL*RD/(RL+RD);//total equivalent load resistance in ohms A=-gm*RL_dash;//open loop gain B=-R2/(R1+R2);//feedback factor beta Afb=A/(1+A*B);//closed loop gain printf("Gain without feedback A = %d\n ",A); printf("Gain with feedback Afb = %.2f",Afb);
b74c37a98e9cfc5bdf1e2543f25800dc992b0f03
449d555969bfd7befe906877abab098c6e63a0e8
/476/CH9/EX9.21/Example_9_21.sce
eec59750ce29f31e8e6160c53db28bb970db146b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,019
sce
Example_9_21.sce
//A Textbook of Chemical Engineering Thermodynamics //Chapter 9 //Chemical Reaction Equilibria //Example 21 clear; clc; //Given: //Reaction: CaCO3(s) --> CaO(s) + CO2(g) T = 1000; //temperature of reaction in K P = 1; //pressure in bar R = 8.314; //ideal gas constant //Function for standard free energy of the reaction function [y] = G(T) y = 1.8856*10^5 - 243.42*T + 11.8478*T*log(T) - 3.1045*10^-3*T^2 + 1.7271*10^-6*T^3 - (4.1784*10^5)/T endfunction //To calculate the decomposition pressure and temperaure at 1 bar Go = G(T); K = %e^(-Go/(R*T)); //Using eq. 9.75 (Page no. 432) p_CO2 = K; //decomposition pressure mprintf('Decomposition pressure of limestone at 1000 K s %f bar',p_CO2); //At pressure = 1 bar K = 1; Go = 0; //since K = 1 T = 1160; //assumed temperature (K) flag = 1; while(flag==1) res = round(G(T)); if(res<=0) flag = 0; else T = T+1; end end mprintf('\nDecomposition temperature at 1 bar is %i K',T); //end
2ec2619dcfc117adf80450175249373157997911
897ce6a3fd5b682122c396af7e24fa53014c7cb3
/src_script/scilab/_import/rtsx_10/InsertFrame.sci
bfe9a243e2f1294d3f7e16ad79372f07f7e4da44
[]
no_license
stub22/glue-ai-v1_friendularity
e66f5ab357eba45de2def6f7900f414e358a4125
74949dc3e9b0d08b39857735aad901915e61322d
refs/heads/master
2022-12-19T18:57:01.336831
2017-08-04T12:55:12
2017-08-04T12:55:12
284,544,364
0
0
null
2020-10-14T00:08:14
2020-08-02T21:24:34
Java
UTF-8
Scilab
false
false
1,034
sci
InsertFrame.sci
// InsertFrame.sci insert a frame to frame structure // www.controlsytemslab.com August 2012 // Create a frame using Frame() first // Example: // F = Frame(trotx(pi/2)*transl([1 0 0])),'name','{W}'); // Fs = InsertFrame(Fs, F, 2) // insert at position 2 in the chain function Fs=InsertFrame(Fs, F, fidx) nframes = size(Fs,1); // number of frames in structure if fidx<1 | fidx>nframes+1 then msg=sprintf("Frame insert location must be between 1 - %d",nframes+1); error(msg); end if F==[] then F=Frame([]); // create an unknown frame end if argn(2)<3 then // append on top fidx = nframes+1; Fs(fidx) = F; else for i=nframes:-1:fidx // push frames above fidx upwards Fs(i+1) = Fs(i); end Fs(fidx) = F; // replace old frame at fidx with new frame end endfunction function Fs=insertframe(Fs, F, fidx) Fs=InsertFrame(Fs, F, fidx); endfunction
00b9ef3da849aace64bac371b15594551e07f541
717ddeb7e700373742c617a95e25a2376565112c
/3460/CH2/EX2.1/Ex2_1.sce
ad2e74c47d29d653820c51312a25e56fa763284b
[]
no_license
appucrossroads/Scilab-TBC-Uploads
b7ce9a8665d6253926fa8cc0989cda3c0db8e63d
1d1c6f68fe7afb15ea12fd38492ec171491f8ce7
refs/heads/master
2021-01-22T04:15:15.512674
2017-09-19T11:51:56
2017-09-19T11:51:56
92,444,732
0
0
null
2017-05-25T21:09:20
2017-05-25T21:09:19
null
UTF-8
Scilab
false
false
620
sce
Ex2_1.sce
//calculate gain of circuit in decibel clc; clear all; V_in=1; //peak to peak voltage V_out=3; //peak to peak voltage Av=V_out/V_in; //but we need to find gain in decibel Adb_max=20*log10(Av); disp(+'dB',Adb_max, 'gain of the circuit in decibel is : ') //need to find cutoff point in decibels fc_point=Adb_max-3; disp('dB',fc_point,'cutoff point in decibel is : ') //find frequency at 20dB down from Adb_max down_20dB=Adb_max-20 //since decade represents a tenfold increase and roll off is 20dB/decade freq=10*1000; //frequecy is in Hz disp(+'Hz',freq,'frequency at 20dB down from Adb(max) is :' )
56a7ebdabca7eb0abc0ff91ab3e24e9bb58c1c97
449d555969bfd7befe906877abab098c6e63a0e8
/1092/CH14/EX14.4/Example14_4.sce
576eb39d309282514653eee1003b51983a921f1a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
2,422
sce
Example14_4.sce
// Electric Machinery and Transformers // Irving L kosow // Prentice Hall of India // 2nd editiom // Chapter 14: TRANSFORMERS // Example 14-4 clear; clc; close; // Clear the work space and console. // Given data N_1 = 600 ; // Number of primary turns N_2 = 150 ; // Some number of secondary turns N_3 = 300 ; // Some number of secondary turns Z_2 = 30 ; // Resistive load in ohm across N_2 Z_3 = 15 ; // Resistive load in ohm across N_3 R_2 = 30 ; R_3 = 15 ; V_p = 16 ; // Primary applied voltage in volt cos_theta = 1 ; // unity PF // Calculations // case a Z_2_prime = Z_2 * (N_1/N_2)^2 ; // Impedance reflected to the primary by load Z_2 in ohm // case b Z_3_prime = Z_3 * (N_1/N_3)^2 ; // Impedance reflected to the primary by load Z_3 in ohm // case c // Total impedance reflected to the primary in ohm Z_1 = (Z_2_prime * Z_3_prime) / (Z_2_prime + Z_3_prime) ; // case d I_1 = V_p / Z_1 ; // Total current drawn from the supply in A // case e P_t = V_p * I_1 * cos_theta ; // Total power in W drwan from the supply at unity PF // case f V_2 = V_p * (N_2/N_1) ; // Voltage across Z_2 in volt P_2 = (V_2)^2 / R_2 ; // Power dissipated in load Z_2 in W // case g V_3 = V_p * (N_3/N_1) ; // Voltage across Z_3 in volt P_3 = (V_3)^2 / R_3 ; // Power dissipated in load Z_3 in W // case h P_total = P_2 + P_3 ; // Total power dissipated in both loads in W // Display the results disp("Example 14-4 Solution : "); printf(" \n a: Impedance reflected to the primary by load Z_2 : "); printf(" \n Z_2 = %d ohm \n ",Z_2_prime ); printf(" \n b: Impedance reflected to the primary by load Z_3 : "); printf(" \n Z_3 = %d ohm \n ",Z_3_prime ); printf(" \n c: Total impedance reflected to the primary : "); printf(" \n Z_1 = %.1f ohm \n ",Z_1 ); printf(" \n d: Total current drawn from the supply : "); printf(" \n I_1 = %.1f A \n ",I_1 ); printf(" \n e: Total power drawn from the supply at unity PF : "); printf(" \n P_t = %.1f W \n ",P_t ); printf(" \n f: Voltage across Z_2 in volt :\n V_2 = %d V \n ",V_2 ); printf(" \n Power dissipated in load Z_2 :\n P_2 = %.2f W \n",P_2 ); printf(" \n g: Voltage across Z_3 in volt :\n V_3 = %d V \n ",V_3 ); printf(" \n Power dissipated in load Z_3 :\n P_3 = %f W \n",P_3 ); printf(" \n h: Total power dissipated in both loads :\n P_t = %.1f W",P_total);
49f7b1963a5ff49b3222bbe40d95fccd26630b2e
8712e7b4614b1ab648f19bcce8ca17e378876546
/Scilab Com Interface Grafica/Engine/B6_Excluir_Cargas.sce
137ce848b0803d5a686f3a1dd08910f0d5bc9aaa
[]
no_license
Diogo-Rossi/Mestrado-Diogo-Rossi
d0d476d878c729c44778ea8f364c50c5464fc751
d544d3bce094931eb96a6031aaa1ae1a833d2b04
refs/heads/master
2022-08-26T22:28:04.339221
2022-07-11T00:25:21
2022-07-11T00:25:21
236,889,761
0
0
null
null
null
null
UTF-8
Scilab
false
false
740
sce
B6_Excluir_Cargas.sce
frame_left_estr.enable ="off" // Escolha dos nós LoadstoDel = SelectNodesInMat(Cargas.user_data(:,1:2)) if ~isempty(LoadstoDel) then Labels = ["Força em X"; "Força em Y"; "Momento em Z"]; CarDir = evstr(x_mdialog("Direções das cargas",Labels,["%F";"%F";"%F"])) if ~isempty(CarDir) & or(CarDir) then DirLoad = [] for i=LoadstoDel' if or(Cargas(i).user_data(:,3)==find(CarDir)) then DirLoad = [DirLoad i] end end Cargas = DeleteItemInArrayStructure(DirLoad,Cargas) HistCargas = DeleteItemInArrayStructure(DirLoad,HistCargas) end end frame_left_estr.enable ="on" BotoesAnalise(2:3).enable = "off"; nao_calculado = 1;
ed063670260c8d8dfcdf1d8c7c2719f8ad0a98a2
2611daf17c8f8b7eebf4f956fbe248d030634499
/foo1.sce
270be63bf456802a4d8a7959ce7d178c3412ed70
[]
no_license
roopak13/scilab
17508b8c4c6a12f13dcbf05856545d90550b2448
9d1f15a88c71508e9adf5294ef6d33a7b2839a28
refs/heads/master
2021-01-10T04:28:26.740686
2016-03-28T08:19:54
2016-03-28T08:19:54
54,877,111
0
0
null
null
null
null
UTF-8
Scilab
false
false
25
sce
foo1.sce
exec("foo.sce")
414c8d3274b8db8f9fe3060882268b0d4f4d47d4
449d555969bfd7befe906877abab098c6e63a0e8
/944/CH5/EX5.35/example5_35_TACC.sce
246e58f621aaca196a0f424da4da5c6564f0bf2b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
438
sce
example5_35_TACC.sce
//example 5.35 clear; clc; //Given: Kb=0.51;//ebullioscopic constant of water [K*Kg/mol] n=155/180;//no. of moles of glucose m=n/1;//[mol/Kg] Ti=373;//Boiling point temperature of water[K] //To find the boiling point of the solution which is made by dissolving 155g of glucose in 1000g of water Tf=(Ti+Kb*m)-273;//boiling point temperature of the solution[C] printf("The boiling point of the solution is %f C",Tf);
de7e90849cccad4570d0c42ddfcb5e21f3236464
449d555969bfd7befe906877abab098c6e63a0e8
/243/CH6/EX6.1/6_01.sce
d0eb8581687ee2f27940b17fe134b2fc723bf2f3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
547
sce
6_01.sce
//Example No. 6_01 //Possible Initial guess values for roots //Pg No. 126 clear ; close ; clc ; A = [ 2 ; -8 ; 2 ; 12]; // Coefficients of x terms in the decreasing order of power n = size(A); x1 = -A(2)/A(1); disp(x1,'The largest possible root is x1 =') disp(x1,'No root can be larger than the value') x = sqrt((A(2)/A(1))^2 - 2*(A(3)/A(1))^2); printf('\n all real roots lie in the interval (-%f,%f)\n',x,x) disp('We can use these two points as initial guesses for the bracketing methods and one of them for open end methods')
405882be35704fb6185d971f241e2970eb4704db
f0f1b6e39dc4e4ab53472ba68e36550537f95470
/test/testcases/directed/tanf.tst
0c0fef3df6b41c084e2ef2903c5462214ed101bd
[ "Apache-2.0" ]
permissive
miRackModular/optimized-routines
1cfa167ba8b830478fda27329c47794250e202e9
2f9e5ce5bbaaf3bf025dc17d123388a12d8ba6b9
refs/heads/master
2020-03-16T17:38:17.640927
2018-05-10T03:02:21
2018-05-10T03:02:21
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,809
tst
tanf.tst
; tanf.tst - Directed test cases for SP tangent ; ; Copyright (C) 2007-2015, ARM Limited, All Rights Reserved ; SPDX-License-Identifier: Apache-2.0 ; ; Licensed under the Apache License, Version 2.0 (the "License"); you may ; not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writing, software ; distributed under the License is distributed on an "AS IS" BASIS, WITHOUT ; WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ; See the License for the specific language governing permissions and ; limitations under the License. ; ; This file is part of the Optimized Routines project func=tanf op1=7fc00001 result=7fc00001 errno=0 func=tanf op1=ffc00001 result=7fc00001 errno=0 func=tanf op1=7f800001 result=7fc00001 errno=0 status=i func=tanf op1=ff800001 result=7fc00001 errno=0 status=i func=tanf op1=7f800000 result=7fc00001 errno=EDOM status=i func=tanf op1=ff800000 result=7fc00001 errno=EDOM status=i func=tanf op1=00000000 result=00000000 errno=0 func=tanf op1=80000000 result=80000000 errno=0 ; SDCOMP-26094: check tanf in the cases for which the range reducer ; returns values furthest beyond its nominal upper bound of pi/4. func=tanf op1=46427f1b result=3f80396d.599 error=0 func=tanf op1=4647e568 result=3f8039a6.c9f error=0 func=tanf op1=46428bac result=3f803a03.148 error=0 func=tanf op1=4647f1f9 result=3f803a3c.852 error=0 func=tanf op1=4647fe8a result=3f803ad2.410 error=0 func=tanf op1=45d8d7f1 result=bf800669.901 error=0 func=tanf op1=45d371a4 result=bf800686.3cd error=0 func=tanf op1=45ce0b57 result=bf8006a2.e9a error=0 func=tanf op1=45d35882 result=bf80071b.bc4 error=0 func=tanf op1=45cdf235 result=bf800738.693 error=0
8148cd591932fb0fe61ffd34030bbf0a2cdc8c82
449d555969bfd7befe906877abab098c6e63a0e8
/692/CH2/EX2.26/P2_26.sce
5e434a00e2d4a55adfdadbddda75663af4791372
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
170
sce
P2_26.sce
//EXAMPLE 2.26,convolution of x & h x=[-2 0 1 -1 3]; disp(x,'x = '); h=[1 2 0 -1]; disp(h,'h = '); n=0:7; y=convol(x,h); disp(y,'The convolution of the two inputs is :')
3456d23308d5e24b75443c9371cca0d129dde7a6
449d555969bfd7befe906877abab098c6e63a0e8
/3557/CH14/EX14.11/Ex14_11.sce
d0282912639f11c5e6750d9ac84ee1784bb02ba0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
120
sce
Ex14_11.sce
//Example 14.11// a=4100;//strength (psi) b=3100;//strength (psi) i1=((a-b)/b)*100 mprintf("i1 = %f percent",i1)
c3732c81b9cfe454448106eefb6366fdc6250546
449d555969bfd7befe906877abab098c6e63a0e8
/2642/CH7/EX7.2/Ex7_2.sce
588142d2977891465e16bfcbcbceade61634f2ce
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
846
sce
Ex7_2.sce
// FUNDAMENTALS OF ELECTICAL MACHINES // M.A.SALAM // NAROSA PUBLISHING HOUSE // SECOND EDITION // Chapter 7 : THREE-PHASE INDUCTION MOTOR // Example : 7.2 clc;clear; // clears the console and command history // Given data E_BR = 120 // voltage found under blocked condition in V P = 4 // number of poles f = 50 // frequecny in Hz N_l = 1450 // speed in rpm // caclulations N_s = 120*f/P // synchronous speed in rpm s = (N_s-N_l)/N_s // slip f_r = s*f // rotor frequency in Hz E_r = s*E_BR // Rotor voltage in V // display the result disp("Example 7.2 solution"); printf(" \n Synchronous speed \n N_s = %.1f rpm \n", N_s); printf(" \n Slip \n s = %.3f \n", s); printf(" \n Rotor frequency \n f_r = %.2f Hz \n", f_r); printf(" \n Rotor voltage \n E_r = %.2f V \n", E_r);
40099c6edcdac13c62f2a7af422c2751be116faf
449d555969bfd7befe906877abab098c6e63a0e8
/2606/CH4/EX4.15/ex4_15.sce
76a06bc04550a9d9f92987167f33d387c8664f2e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
321
sce
ex4_15.sce
//Page Number: 4.17 //Example 4.15 clc; //Given //x(t)=10cos(wct+3sinwmt) //Comparing with standard equation B=3; fm=1D+3; //hz fb=2*(B+1)*fm; //(a)fm is doubled fma=2*fm; fba=2*(B+1)*fma; disp(fba,"fb with 2fm: "); //(b)fm is one halved fmb=fm/2; fbb=2*(B+1)*fmb; disp(fbb,"fb with 0.5fm: ");
322072a1fc51237fb9d151849e4bbaf944af3ba8
449d555969bfd7befe906877abab098c6e63a0e8
/1523/CH11/EX11.30/ex11_30.sce
6a9564d703b747e724fc4aedc9694245e09ed61c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
673
sce
ex11_30.sce
//Two-Port Networks : example 11.30 :(pg11.60 & 11.561) printf("\nApplying KVL to Mesh 1 \nV1 = 4I1 + (0.05)I2 - - - -(i)"); printf("\nApplying KVL to Mesh 2 \nV2 = 2I1 - 10I2 - - - -(ii)"); //substituting (i) in (ii), printf("\nV2 = -40I1 + (1.5)I2"); printf("\nZ-parameters:"); a=4;b=0.05;c=-40;d=1.5; disp([a b;c d]); dZ=(a*d)-(b*c); Y11=(d/dZ); Y12=(b/dZ); Y21=(-c/dZ); Y22=(a/dZ); printf("\nY-parameters are:"); printf("\ndZ = Z11.Z22 - Z12.Z21 = %.1f",dZ); printf("\nY11 = Z22/dZ = %.1f mho",Y11); printf("\nY12 = -Z12/dY = %.f mho",Y12); printf("\nY21 = -Z21/-dY = %.1f mho",Y21); printf("\nY22 = Z11/dY = %.1f mho",Y22); disp([Y11 Y12;Y21 Y22]);
30fe054fb243d6d554908dfa12a2912da7715c49
449d555969bfd7befe906877abab098c6e63a0e8
/2489/CH10/EX10.6/10_6.sce
c1a9c8cf2ec83a1d6c4e4d918f4f26b6c565f714
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
380
sce
10_6.sce
clc //Intitalisation of variables clear Kp= 1.78 //atm n= 0.04 //mole p= 2 //atm x= 0.041 v= 4 //lit x1= 0.0692 //CALCULATIONS y= x/p a= y/n y1= x1/v a1= y1/x //RESULTS printf ('Number of moles = %.4f moles',y) printf ('\n Fraction of dissociation = %.3f ',a) printf ('\n Number of moles = %.4f moles',y1) printf ('\n Fraction of dissociation = %.3f ',a1+0.01)
e73f9ee833061de720f9b1fe5d7add6b966244dc
8649d884372074e3fefc370ce4eff7834f5a6d06
/src/tests/PythonTests/basic.tst
dd1e0ce0b6b8a3f6c4f25fac3f9cac59fe3f2d37
[ "MIT", "MIT-Modern-Variant", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mikeob/Kernel-Dev
dd18b1cd8e527e6a668c63c1f2ff49b26162d2f7
a7511a26404bbe89fb3bdb9886180b0d79b058da
refs/heads/master
2020-04-09T07:32:30.775651
2014-04-19T07:23:56
2014-04-19T07:23:56
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
125
tst
basic.tst
= Basic Tests 10 sudo_test.py 10 login_test.py 10 getty_test.py 10 passwd_test.py 10 file_read_test.py 10 file_write_test.py
ecb5b5932bf4c04c7ceb888555bc9e04a0a23376
74c4c6d3c27c7c63edbb333b252ee3d01dbab00e
/assignment_0/scenes/molecule2/molecule2.sce
c30f6bedb017aabb9ff96b989e6ac7e0388f0928
[]
no_license
robinmamie/intro_computer_graphics
495ba4339da31727608754ea43cc865997197b0c
861f218adb61e1d553d5cbc6f3d213a9ebc31670
refs/heads/master
2022-01-17T08:03:34.603786
2019-05-31T07:03:45
2019-05-31T07:03:45
171,866,665
1
0
null
null
null
null
UTF-8
Scilab
false
false
15,624
sce
molecule2.sce
# camera: eye, center, up, fovy, width, height camera 3 0.5 0 0 0 0 0 1 0 55 500 500 ambience 0.1 0.1 0.1 background 1 1 1 depth 3 # lights: position and color light 0 0 10 0.3 0.3 0.3 light 10 10 0 0.5 0.5 0.5 # planes: center, normal, material plane 0 -1 0 0 1 0 0.2 0.4 0.2 0.2 0.4 0.2 0.0 0.0 0.0 100.0 0.05 # spheres sphere -0.336838 -0.664495 -0.23862 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere -0.27235 -0.650195 -0.315551 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.2388 -0.55147 -0.31397 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.290775 -0.489319 -0.337345 0.1045 1 0 0 1 0 0 1.0 1.0 1.0 100.0 0.0 sphere -0.317656 -0.672882 -0.407883 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.332781 -0.776145 -0.414483 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.361931 -0.813476 -0.342707 0.1045 1 0 0 1 0 0 1.0 1.0 1.0 100.0 0.0 sphere -0.31195 -0.815333 -0.48777 0.1045 1 0 0 1 0 0 1.0 1.0 1.0 100.0 0.0 sphere -0.39115 -0.622145 -0.247007 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.358906 -0.730495 -0.238688 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.305213 -0.650745 -0.178532 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.213912 -0.696395 -0.307439 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.383588 -0.637476 -0.413383 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.273106 -0.65047 -0.463914 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.153687 -0.535313 -0.283651 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere -0.111818 -0.444632 -0.283789 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.0102744 -0.458588 -0.304964 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.036957 -0.504719 -0.252645 0.1045 1 0 0 1 0 0 1.0 1.0 1.0 100.0 0.0 sphere -0.125912 -0.399532 -0.189051 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.204287 -0.328788 -0.190151 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.162968 -0.234256 -0.21002 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.231994 -0.164406 -0.232638 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere -0.210406 -0.077231 -0.252988 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.122956 -0.0495934 -0.249207 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere -0.276062 -0.0181058 -0.277395 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere -0.1123 -0.585707 -0.259589 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.1431 -0.40235 -0.337276 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.1409 -0.452401 -0.137969 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.0627308 -0.365088 -0.167876 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.255094 -0.346663 -0.242263 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.2377 -0.327069 -0.123051 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.125843 -0.212256 -0.148832 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.115118 -0.240169 -0.267495 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.298131 -0.185512 -0.233807 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.0731808 -0.0938685 -0.22817 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.103843 0.0153755 -0.263576 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.342544 -0.0377684 -0.280626 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.261487 0.0479631 -0.292864 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0227945 -0.419607 -0.38107 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere 0.120213 -0.421051 -0.405614 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.175007 -0.361032 -0.339407 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.256958 -0.375263 -0.325795 0.1045 1 0 0 1 0 0 1.0 1.0 1.0 100.0 0.0 sphere 0.131695 -0.3919 -0.506745 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.232482 -0.389907 -0.537408 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.0799946 -0.459619 -0.569033 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.0197619 -0.38475 -0.423145 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.147095 -0.490007 -0.397295 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.102338 -0.323494 -0.516095 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.264864 -0.456044 -0.523383 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.236607 -0.375469 -0.610833 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.269676 -0.336075 -0.500833 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.106738 -0.52892 -0.558858 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.00663817 -0.459207 -0.554114 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0894134 -0.440301 -0.640877 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.129563 -0.293656 -0.29747 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere 0.172739 -0.229169 -0.235938 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.102132 -0.205656 -0.162513 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.0265757 -0.174375 -0.184857 0.1045 1 0 0 1 0 0 1.0 1.0 1.0 100.0 0.0 sphere 0.202026 -0.145844 -0.292795 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.214882 -0.0583247 -0.23752 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.275658 -0.0565372 -0.162238 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.16277 0.0203255 -0.259245 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.28377 0.0232818 -0.108407 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.17102 0.100557 -0.20617 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.231589 0.102138 -0.130201 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.239426 0.179413 -0.0780881 0.1045 1 0 0 1 0 0 1.0 1.0 1.0 100.0 0.0 sphere 0.0620508 -0.283894 -0.308951 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.233239 -0.260038 -0.20397 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.26562 -0.16365 -0.328407 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.149845 -0.134362 -0.345389 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.31567 -0.116556 -0.144432 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.116226 0.019363 -0.317064 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.329283 0.0241755 -0.0496943 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.131007 0.160645 -0.223701 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.207045 0.230495 -0.104488 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.126607 -0.222981 -0.0760943 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0727071 -0.200019 0.00461836 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.119388 -0.118412 0.0493747 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.203126 -0.108237 0.0436685 0.1045 1 0 0 1 0 0 1.0 1.0 1.0 100.0 0.0 sphere 0.0681696 -0.283756 0.0702748 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.0203119 -0.33965 0.0556997 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.0798571 -0.262444 0.1734 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.108381 -0.283619 0.0700685 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.191851 -0.242644 -0.0630318 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.00423191 -0.178844 -0.0164192 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.125507 -0.328513 0.053156 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.0204494 -0.368113 -0.0135317 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.0205869 -0.397125 0.103894 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.148332 -0.234738 0.186394 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0285007 -0.213838 0.197944 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0734633 -0.325763 0.213069 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.102468 -0.240238 0.130981 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.121718 -0.240581 0.0103246 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.166062 -0.330713 0.0779748 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0651446 -0.0636184 0.0982561 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere 0.101651 0.00403173 0.161025 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.0436258 0.00155672 0.247994 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.0404557 -0.00449329 0.24215 0.1045 1 0 0 1 0 0 1.0 1.0 1.0 100.0 0.0 sphere 0.101032 0.0998007 0.116956 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.00622566 0.13562 0.0938561 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.0553057 0.177626 0.152775 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere -0.0333057 0.133213 0.00867462 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.131275 0.19722 0.103756 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.120962 0.171782 0.0155496 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere -0.00243686 -0.0783997 0.104581 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.172051 -0.0150808 0.176975 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.134651 0.147857 0.163362 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.141663 0.0971882 0.0540497 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.0469182 0.192063 0.220081 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.0011306 0.107432 -0.0528568 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.192187 0.229807 0.131119 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0863196 0.00856924 0.328982 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0367507 0.0288505 0.413063 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.00251316 0.127507 0.414851 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.061012 0.150745 0.465107 0.1045 1 0 0 1 0 0 1.0 1.0 1.0 100.0 0.0 sphere 0.103163 0.00513173 0.490888 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.198382 0.0176443 0.447713 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.184426 0.00128172 0.344863 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.0241619 -0.0121246 0.416982 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0936759 0.0492006 0.550838 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0939509 -0.0668497 0.509726 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.221964 0.0878382 0.458576 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.247195 -0.0317871 0.475694 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.222239 0.0527068 0.305469 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.207664 -0.0676747 0.326713 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0450695 0.185463 0.358819 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0316632 0.283776 0.359782 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.0821946 0.321451 0.275907 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.16497 0.308389 0.266281 0.1045 1 0 0 1 0 0 1.0 1.0 1.0 100.0 0.0 sphere 0.0694071 0.32042 0.451219 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.0900321 0.422651 0.455207 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.0236195 0.487552 0.427776 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.175557 0.453177 0.488619 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.043557 0.582083 0.432657 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.195151 0.547639 0.493913 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.12922 0.612127 0.465382 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.0982134 0.159545 0.323 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.0415557 0.299039 0.355588 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0194257 0.304814 0.504913 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.131282 0.281232 0.467582 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.0427245 0.465345 0.403163 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.226776 0.40402 0.51062 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.00573686 0.633027 0.410588 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.260876 0.570877 0.51942 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.143932 0.684933 0.468063 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0301507 0.362976 0.213206 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere 0.062807 0.41117 0.131944 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.00951812 0.485558 0.116406 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.058537 0.48597 0.0473122 0.1045 1 0 0 1 0 0 1.0 1.0 1.0 100.0 0.0 sphere 0.0717446 0.345101 0.0504747 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.105363 0.388345 -0.0373192 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.0502945 0.429939 -0.101876 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere 0.19357 0.389033 -0.0700443 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.10392 0.453245 -0.173445 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.191507 0.428633 -0.157563 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere -0.0377744 0.370401 0.225444 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.129701 0.441833 0.145144 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.118907 0.289964 0.0690373 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.00443816 0.315814 0.0364497 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.0169431 0.445408 -0.0914944 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.253451 0.361326 -0.0358755 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere 0.0802696 0.487964 -0.23477 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.0209994 0.543583 0.186463 0.106563 0.3 0.3 1 0.3 0.3 1 1.0 1.0 1.0 100.0 0.0 sphere -0.0885121 0.616802 0.1888 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.0359182 0.704871 0.209081 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.0729745 0.77864 0.18605 0.1045 1 0 0 1 0 0 1.0 1.0 1.0 100.0 0.0 sphere -0.161112 0.600714 0.263875 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.227112 0.521033 0.244281 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.273244 0.491402 0.334138 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere -0.301019 0.550252 0.175463 0.116875 0.5 0.5 0.5 0.5 0.5 0.5 1.0 1.0 1.0 100.0 0.0 sphere 0.0392945 0.695521 0.249781 0.1045 1 0 0 1 0 0 1.0 1.0 1.0 100.0 0.0 sphere 0.0267132 0.54812 0.237063 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.121375 0.621477 0.121906 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.12605 0.588408 0.328569 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.20085 0.663827 0.271988 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.189094 0.462527 0.21685 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.32185 0.435989 0.320732 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.221406 0.466858 0.382401 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.309544 0.549496 0.364663 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.268981 0.569708 0.110562 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.34825 0.493395 0.163156 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0 sphere -0.33945 0.608758 0.202344 0.0825002 1 1 1 1 1 1 1.0 1.0 1.0 100.0 0.0
fa38cb5fe504dc3b57fffd88a22123e91bafe601
449d555969bfd7befe906877abab098c6e63a0e8
/1895/CH8/EX8.4/EXAMPLE8_4.SCE
69dc1f1f8b0f99f987c1087babf1fcde7f05fda4
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,114
sce
EXAMPLE8_4.SCE
//ANALOG AND DIGITAL COMMUNICATION //BY Dr.SANJAY SHARMA //CHAPTER 7 //WAVEFORM CODING TECHNIQUES clear all; clc; printf("EXAMPLE 8.4(PAGENO 388)"); //given e_max = .001//maximum quantization error x_max = 10//maximum amplitude x_min = -10//minumum amplitude f_m = 100//bandwidth of ;input signal //calculations delta = 2*e_max//step size q = (2*x_max)/delta//quantization levels f_s = 2*f_m//sampling frequency v = log10(q) /log10(2);//number of bits in the PCM word r = v * f_s//bit rate required in the PCM signal which is greater than or equal to obtained value BW = .5*r//transmission channel bandwidth which is greater than or equal to obtained value //results printf("\n\ni.Minimum sampling rate required = %.2f Hz",f_s); printf("\n\nii.Number of bits in each PCM word = %.2f bits",v); printf("\n\niii.Minimum bit rate required in the PCM signal =%.2f bits/sec",r); printf("\n\niv.Transmission bandwidth = %.2f Hz",BW) printf("\n\nNote: In the textbook they took number of bits as approximation from 13.28 to 14 so thats why we get difference in the rest of calculations")
4b756b79b456fef755537f0e6e6d4c127de6bfb6
449d555969bfd7befe906877abab098c6e63a0e8
/1703/CH5/EX5.8/5_8.sce
74f06be50ad28657fd30a926440500cfa9116e71
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
359
sce
5_8.sce
clear clc //initialisation of variables v= 5 //ft/sec m= 60/26 i= 1/2000 h= 5.5 //ft m1= 110/31 d= 3 //ft g= 32.2 //ft/sec^2 //CALCULATIONS C= v/(sqrt(m*i)) v1= v*d/h r= (i-(v1^2/(C^2*m1)))/(1-(v1^2/(g*h))) x= 1/r //RESULTS printf ('Distance upstream = %.f ft',x) //The answer is a bit different due to rounding off error in textbook
6644298d2571e9a3a2ed20475251919bbf32f4e6
e223a3388730b3a8ab63f7565156d5bf7a65e44b
/scilab/spi.sci
e1f4bfb6f9498b657765bb4f7522b1e511bb500d
[]
no_license
YSBF/flight_control
1cfef21947c9497659eea3cf631b4de207a0a851
fc74021c2bd62819ea4f637b45936ab2edf9e7af
refs/heads/master
2020-04-15T21:47:09.796455
2018-06-07T21:28:29
2018-06-07T21:28:29
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
180
sci
spi.sci
function dout= spi(addr,din) if argn(2) == 1 ftdi('write',[2,addr,0,0]); sleep(10) dout = ftdi('read'); else ftdi('write',[3,addr,0,din]); dout = []; end endfunction
4aa8b4e2e1d5c89304af3c5d131d93c06bf14320
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set4/s_College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072.zip/College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072/CH18/EX18.6/Ex18_6.sce
6b96af6d4b03a901262bc4fa44e65eb4658ccc29
[]
no_license
hohiroki/Scilab_TBC
cb11e171e47a6cf15dad6594726c14443b23d512
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
refs/heads/master
2021-01-18T02:07:29.200029
2016-04-29T07:01:39
2016-04-29T07:01:39
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
233
sce
Ex18_6.sce
errcatch(-1,"stop");mode(2);//Example 18.6 R=8*10^5//in ohms C=5*10^-6//in Farad t=R*C disp(t,"Constant of the circuit in s=") Q=C*12 disp(Q,"Charge in columb=") q=0.632*Q disp(q,"Charge in columb when capacitance 63.2%=") exit();
9f48ce8ae8202a5d6ca0bd90a4145a25c71033bb
449d555969bfd7befe906877abab098c6e63a0e8
/1163/CH28/EX28.1/example_28_1.sce
43d9c782a3ea157a6c836598e995e80233a0080f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
929
sce
example_28_1.sce
clear; clc; disp("--------------Example 28.1---------------") tag="00000010"; // INTEGER tag Length="00000100"; // 4 bytes = 4*8=32 bits value=14; // INTEGER 14 value_bin=dec2bin(value,32); // value in binary value_hex=dec2hex(value); // value in hexadecimal tag_dec=bin2dec(tag); // tag's decimal value Length_dec=bin2dec(Length); // length's decimal value or number of bytes bytes=strsplit(value_bin,[8 16 24]); // split value into 4 bytes // convert the bytes to decimal byte1=bin2dec(bytes(1)); byte2=bin2dec(bytes(2)); byte3=bin2dec(bytes(3)); // display the format printf("\n 0%d 0%d 0%d 0%d 0%d 0%s\n",tag_dec,Length_dec,byte1,byte2,byte3,value_hex); printf(" | %s | %s |%s | %s | %s | %s|\n",tag,Length,bytes(1),bytes(2),bytes(3),bytes(4)); printf(" Tag Length Value(%d)\n",value); printf(" (integer) (4 bytes)");
ff5768c81f9f21a5b1b647133f6ce5bdb48e60d0
449d555969bfd7befe906877abab098c6e63a0e8
/1319/CH5/EX5.18/5_18.sce
700f9fcb4e617f1433b73d9dfe790187c07787d1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
676
sce
5_18.sce
// To determine Input current and voltage during SC test clc; clear; Vh=6600; Vl=250; V=400; a=Vh/Vl; // Turns ratio Rh=0.21; Rl=2.72*(10^-4); Xh=1; Xl=1.3*(10^-3); Rt=Rh+Rl*(a^2); // Equivalent resistance w.r.t the primary Xt=Xh+Xl*(a^2); // Equivalent reactance w.r.t the primary ZHeq= sqrt((Rt^2)+(Xt^2)); Ih=V/ZHeq; // Current on high voltage side Pi=(Ih^2)*Rt; // Power input printf('W.R.T High Voltage side the equivalent resistance is %g ohms and the equivalent reactance is %g ohms \n',Rt,Xt) printf('The current on the high voltage side is %g A \n',Ih) printf('Power Input on the high voltage side is %g kW \n',Pi/1000)
329e29ea048445405164e4847576ad114797e38f
4bb6dd9f678b343e01520524422976ab3c62a107
/bilinear_method.sci
1da286b8f1539819af25af3a394b5ff7b5523a86
[]
no_license
usagitoneko97/convert_analog_to_digital_filter
f61bd94a00e37b3f032c27362fd25d2ad5110812
45c213ee5409c3ddc1b5ddb2df8625437ae178e5
refs/heads/master
2020-04-16T18:39:00.924800
2019-01-15T15:54:37
2019-01-15T15:54:37
165,829,374
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,534
sci
bilinear_method.sci
clear() A = [1, 1]; f = [20, 200, 2000]; angle = [0, 0, 0]; p = [2/15, 6/15, 18/15]; t1 = 0:0.00001:0.07; //p is number of input for display t2 = 0:0.00001:0.07; t3 = 0:0.00001:0.07; //for display only xl = A(1)*cos(2*%pi*f(1)*t1 + angle(1)); yl = A(2)*cos(2*%pi*f(2)*t2 + angle(2)); z1 = A(2)*cos(2*%pi*f(3)*t3 + angle(3)); xyl = (xl+yl)/2; xz1 = (xl+z1)/2; yzl = (yl+z1)/2; xyzl = (xl+yl+z1)/3; subplot(4,2,1), plot(t2, xyl), title('xy(t)'), xlabel('t2(s)'); subplot(4,2,2), plot(t2, xyzl), title('xyz(t)'), xlabel('t2(s)'); subplot(4,2,3), plot(t2, yzl), title('yz(t)'), xlabel('t2(s)'); subplot(4,2,4), plot(t2, yl), title('y(t)'), xlabel('t2(s)'); subplot(4,2,5), plot(t2, xl), title('x(t)'), xlabel('t2(s)'); subplot(4,2,6), plot(t2, z1), title('z(t)'), xlabel('t2(s)'); wn = 2*%pi*500 dampratio = 1 s = poly(0, "s"); Hs = s^2 / (s^2 + 2*dampratio*wn*s + wn^2) disp(Hs) h_lin = syslin('c', Hs) clf();bode(h_lin, 0.01, 30000) //bilinear slss=tf2ss(h_lin); //Now in state-space form sl1=cls2dls(slss,1/80000); //sl1= output of cls2dls sl1t=ss2tf(sl1) // Converts in transfer form disp(sl1t) number = 0:0.001:1 z = exp(%i*%pi*number) tz = (0.9618571 - 1.9237143*z + 0.9618571*z^2) ./(0.9244559 - 1.9229726*z + z^2) clf();plot(number, 20 * log(abs(tz))) ld_bil = ldiv(sl1t.num, sl1t.den, 2500) //clf();plot(1:length(ld_bil), (ld_bil)) convd_bil = conv(ld_bil, xyzl) //clf();subplot(2,1,1), plot(1:length(convd_bil), convd_bil) //subplot(2,1,2), plot(t2, xyzl), title('xyz(t)'), xlabel('t2(s)'); //--------
d25a779d11ff570dddfe39714c31a5fc40577a00
449d555969bfd7befe906877abab098c6e63a0e8
/2192/CH10/EX10.4/10_4.sce
c2f3af2fdb911e95841f2ea1282096012c903b85
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
389
sce
10_4.sce
clc,clear printf('Example 10.4\n\n') I = 500 //intensity_of_lamp d=sqrt(4^2 + 3^2 ) //part(i) : Illumination below the lamp E_1=I/d^2 //as cos(theta) is 1 printf('(i)Illumination below the lamp= %.0f lux',E_1) //part(ii) : Illumination 3m away from vertical axis theta=acos(4/5) E_2= I*cos(theta)/d^2 printf('\n(ii)Illumination 3m away from vertical axis= %.0f lux',E_2)
af74fc81eb042ff09c45e9d602a6eeaa943f1f3e
449d555969bfd7befe906877abab098c6e63a0e8
/2627/CH11/EX2.18/Ex_B_2_18.sce
5a1eb167c0441bc1d57a55f754570d5b93f7dc60
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
236
sce
Ex_B_2_18.sce
//Part B Ex 2.18 clc;clear;close; format('v',7); bin='111011011000100';//given binary value dec=bin2dec(bin);//equivalent decimal value hex=dec2hex(dec);//equivalent hexadecimal value disp(hex,"Equivalent hexadecimal value is");
f18025d754dfc0adf9bffa76bbdc9c5a2de4d042
449d555969bfd7befe906877abab098c6e63a0e8
/3701/CH2/EX2.13/Ex2_13.sce
41616a10d7bbd25788faca56c8791bf0ecaaf8ed
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
447
sce
Ex2_13.sce
////given h=6.62*10**-34 //Js c=3*10**8 //m/s lembda=4560.0*10**-10 //m p=1*10**-3 //W a=0.5/100 e=1.6*10**-19 //calculation E=(h*c)/lembda N=p/E //Number of photons incedent on the surface n=N*a I=n*e //result printf("\n Photoelectric current %0.2f *10**-6 A",I*10**6)
afb6d6b7c89e14d266807fa8f05f1edaafaa667c
449d555969bfd7befe906877abab098c6e63a0e8
/542/CH17/EX17.2/Example_17_2.sci
5bd26859cf7fdd54d34164815557cae517a83d20
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,288
sci
Example_17_2.sci
//Example 17.2 clear; clc; printf("\n Example 17.2"); //(a) //For n = 1, //(P/P0)/V= (P/P0)V1+ 1/B2V1 //where V is the gas phase volume equivalent to the amount adsorbed //x = (P/Po) x = [0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40]; //y = (P/Po)/V in kg/m^3 y = [0.76 1.35 1.85 2.27 2.66 2.94 3.21 3.42]; //y1 = (P/Po)/(V*(1-P/Po)) in kg/m^3 y1 = [0.80 1.50 2.18 2.88 3.55 4.20 4.94 5.73]; plot(x,y,"o-"); plot(x,y1,"+-"); xtitle("","(P/Po)","(P/Po)/V or (P/Po)/(V*(1-P/Po))"); legend("B.E.T.","Langmuir"); //The data, which are plotted as (P /P 0)/V against P/P0 may be seen to conform to a straight line only at low values of P/P0, suggestin g that more than one layer of molecules isadsorbed. Slope = 12.56; V1 = 1/12.56; //The surface area occupied by this absorbed volume S = V1*6.02*10^(26)*0.162*10^(-18)/24; printf("\n S = %d m^2/kg",S); //(b) //P/P0/V*(1 − P/P0)= 1/V1*B2+(B2−1)/(V1*B2)*(P /P 0) //y2 = (P/Po) //x2 = 1V^2 y2 = [0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.50 0.60 0.87 0.80]; x2 = [230 183 152 129 113 96 84 73 53 37 26 20]; xset('window',1); plot(x2,y2,"o-"); xtitle("Harkins-Jura Plot","1/V^2(kg^2/m^6)","P/Po");
d29932651e37d526bc36b7dc38f41c2a662c56c5
449d555969bfd7befe906877abab098c6e63a0e8
/1208/CH8/EX8.6/Exa6.sce
b5fbce82c21fad4d1e092154ed715c55d992d9a7
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
2,600
sce
Exa6.sce
//Exa6 clc; clear; close; disp("Copra Crushing Process Account"); disp("Particulars Tons Amount Particulars Tons Amount"); disp("To Copra Used 500 200000 By sale of copra residue 175 11000"); disp("Labour 2500 By Loss 25"); disp("Electric Power 600 Sale of copra sacks 400"); disp("Sundry Mateials 100 Cost of crude oil"); disp("Repairs to Machinery 280 Rs. 646.67 per ton 300 194000"); disp("Steam 600"); disp("Factory Expenses 1320"); disp(" 500 205400 500 205400"); disp(""); disp("Refining Process Account"); disp("Particulars Tons Amount Particulars Tons Amount"); disp("To Copra oil 300 194000 By sale of by-products 45 6750"); disp("Labour 1000 By Loss 5"); disp("Electric Power 360 cost of refining oil"); disp("Sundry Mateials 2000 Rs. 768.2 per ton 250 192050"); disp("Repairs to Machinery 330"); disp("Steam 450"); disp("Factory Expenses 660"); disp(" 300 198800 300 198800"); disp(""); disp("Finishing Process Account"); disp("Particulars Tons Amount Particulars Tons Amount"); disp("To Refining Process 250 192050 By Loss 2"); disp("Labour 1500 cost of finished oil"); disp("Electric Power 240 Rs.784.68 per ton 248 194600"); disp("Repairs to Machinery 140"); disp("Steam 450"); disp("Factory Expenses 220"); disp(" 250 194600 250 198800"); disp(""); disp("Finisheed stock account"); disp(" Tons Amount Tons Amount"); disp("To finishing process 248 194600 To balance at Rs. 914.2 202100"); disp("To cost of casks 7500"); disp(" 202100 202100");
58cbb2fae070f8d89c183b20d27a7e549533ce58
449d555969bfd7befe906877abab098c6e63a0e8
/2360/CH6/EX6.40/ex6_40.sce
c061cd5f53369ddc90a5a5a755649b0052b04ef9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
645
sce
ex6_40.sce
// Exa 6.40 format('v',7);clc;clear;close; // Given data f = 2;// in kHz f = f * 10^3;// in Hz R2= 834;// in Ω C2= 0.124*10^-6;// in F XC2= 1/(2*%pi*f*C2);// in Ω R3= 100;// in Ω C4 = 0.1;// in µF C4 = C4*10^-6;// in F XC4= 1/(2*%pi*f*C4);// in Ω Z2= R2+%i*XC2;// in Ω Z3= R3;// in Ω Z4= -%i*XC4;// in Ω // The bridge balance condition Z1= Z2*Z3/Z4;// in Ω mag= abs(Z1);// magnitude of effective impedence in Ω theta= atand(imag(Z1),real(Z1));// phase angle of effective impedence in ° disp(mag,"The magnitude of effective impedence in Ω is : ") disp(theta,"The phase angle of effective impedence in ° is")
67e483878402352db4bf08b4c6bd40f85b8a0326
449d555969bfd7befe906877abab098c6e63a0e8
/24/CH31/EX31.6/Example31_6.sce
d5c196f7c63fbe5bac702d3093e978e0655b32ed
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
262
sce
Example31_6.sce
//Given that L = 53*10^-3 //in H R = 0.37 //in Ohm //Sample Problem 31-6 printf("**Sample Problem 31-6**\n") //i = io(1-e^(t/T)) //ln2 = t/T T = L/R t = T*log(2) printf("The time taken to rach the current to half of its stedy state value is %fs", t)
afe845956a19c13a13e47bef66432af48c42d19b
449d555969bfd7befe906877abab098c6e63a0e8
/3673/CH10/EX10.a.3/Example_a_10_3.sce
fe6c4252c5576aed7c569015db17cbc7a5aa42bf
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
468
sce
Example_a_10_3.sce
//Example_a_10_3 page no:465 clc; K=0.5; L1L2=36; M=K*sqrt(L1L2); t=0; //calculating the voltages V1=20*(-sind((50*t-30))*50)-6*(-sind((50*t)-30)*50); V2=-15*(-sind((50*t-30))*50)+18*(-sind((50*t)-30)*50); W=(((1/2)*4*(5*cosd((50*t)-30))^2)+((1/2)*9*(2*cosd((50*t)-30))^2)-(3*(5*cosd((50*t)-30)*2*cosd((50*t)-30))))*%i; disp(V1,"the value of V1 is (in V)"); disp(V2,"the value of V2 is (in V)"); disp(W,"the total energy stored in the system is (in W)");
4b8d38c32f3955d6cf222e36cc8fe49d88aa7e16
449d555969bfd7befe906877abab098c6e63a0e8
/1574/CH7/EX7.11/N_Ex_7_11.sce
89064f91dfb25726d2ba5de1eb2bdaefbeb7fb57
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
382
sce
N_Ex_7_11.sce
clc //Chapter7 //Example7.11 //Given ma=0.3 SNR=20// s/n ratio SNR1=10^(0.1*SNR) SNR_new=SNR+3 ma2=0.6// increased new depth of modulation Pt_Ni=SNR1*((1+(ma^2))/(ma^2)) SNR2=10*log10(Pt_Ni*((ma2^2)/(1+((ma2^2)/2)))) mprintf('a)\n New SNR for 3dB increase in input s/g is %d dBs\nb) When Modulation depth is increased to 60%c\n SNR becomes %f dBs',SNR_new,'%',SNR2)
730358e8dc589e1789768fd5dd10eed1f7671cea
449d555969bfd7befe906877abab098c6e63a0e8
/1802/CH4/EX4.11/Exa4_11.sce
06b7ba50f2c737ec0db2ee48933d1e1638950e2f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
218
sce
Exa4_11.sce
//Exa 4.11 clc; clear; close; //Given Data : format('v',5); r=0.75*10;//in mm d=1.5*10^3;//in mm ds=0.7788*r;//in mm L=4*10^-7*log(d/ds);//in H/m L=L*10^6;//in mH/km disp(L,"Inductance of line(in mH/km) :");
259bf59c96ed0f1069e3d82b3dcb1484e9e10a17
449d555969bfd7befe906877abab098c6e63a0e8
/443/DEPENDENCIES/2_5_data.sci
81e25a024a40bf140d837823346ab67a89900636
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
84
sci
2_5_data.sci
//Atmospheric pressure(in N/m^2) patm=1.013*10^5; //Change in volume(in m^3) V=1;
744698e9c73d7b3e4c227abc684d9312a4770392
99b4e2e61348ee847a78faf6eee6d345fde36028
/Toolbox Test/modulate/modulate12.sce
adf371dfe49eb22ce3d450f4e6ebb3f4f7a2e2ab
[]
no_license
deecube/fosseetesting
ce66f691121021fa2f3474497397cded9d57658c
e353f1c03b0c0ef43abf44873e5e477b6adb6c7e
refs/heads/master
2021-01-20T11:34:43.535019
2016-09-27T05:12:48
2016-09-27T05:12:48
59,456,386
0
0
null
null
null
null
UTF-8
Scilab
false
false
306
sce
modulate12.sce
//i/p arg x is a vector x=[1 2 3 4 5 7 89 8]; fc=100; fs=500; y = modulate(x,fc,fs,'amssb'); disp(y); //output // column 1 to 3 // // 1. 7.7427579 - 3.0757034 // // column 4 to 6 // // 2.8297613 3.8580359 7. // // column 7 to 8 // // 27.125469 24.868459
f7cf3a7649606a064f0af7e4c6900cf63c07ed1e
28a8d47c4d79b231f8bebc28925792a290f67e9f
/db/others/sql/dynamic_sql/test_conditions.tst
853a6302a6728f5ed00a08372d52202dd5f9f0e0
[]
no_license
ZVlad1980/doo
a1fe7d18ccfd0acf6ced7dbb33927c86a925aae8
e81be8f524b78b9a6ec06b7f83a8c13354fc6412
refs/heads/master
2021-08-17T02:03:54.553822
2017-11-20T17:21:03
2017-11-20T17:21:03
111,440,129
0
0
null
null
null
null
UTF-8
Scilab
false
false
502
tst
test_conditions.tst
PL/SQL Developer Test script 3.0 12 -- Created on 08.09.2014 by ZHURAVOV_VB declare -- Local variables here cond xxdoo_db_condition; begin cond := xxdoo_db_condition('name',anydata.ConvertVarchar2('%template%'),'like'); dbms_output.put_line(cond.as_string); cond := xxdoo_db_condition('id',anydata.ConvertNumber(1),'='); dbms_output.put_line(cond.as_string); cond := xxdoo_db_condition('creation_date',anydata.ConvertDate(sysdate),'='); dbms_output.put_line(cond.as_string); end; 0 0
7dcc769c0e9e04e292ab5a9f303648cc2c296a7a
0896434fe17d3300e03ad0250029673ebf70bacc
/sheet_2/Scilab_programs/Compare_z_and_s.sce
46fdc4cf1441857fa175ab276f60235f22a35d98
[]
no_license
TheShiningVampire/EE324_Controls_Lab
8ff1720b852bf24dca3c172082f5f898f80f69f3
9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8
refs/heads/main
2023-07-09T17:30:38.041544
2021-08-23T12:14:29
2021-08-23T12:14:29
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
443
sce
Compare_z_and_s.sce
clear close clc s = poly(0,'s'); g1 = (s-1)/(s+1); G1 = syslin('c',g1); t = 0:1:10; gs1 = csim('step' , t , G1); plot2d(t, gs1, style = 2) z = poly(0,'z'); g2 = (z-1)/(z+1); G2 = tf2ss(g2); u = ones(t); gs2 = dsimul(G2 , u); plot2d3('gnn',t,gs2) h = legend(['Continuous time', 'Discrete time' ]) xlabel('Time','fontsize',4) ylabel('Amplitude','fontsize',4) title('Step response of system with transfer function G(z)', 'fontsize',4)
2fd8db1ed918784a2310bd8fa90b7e0423f78fcb
449d555969bfd7befe906877abab098c6e63a0e8
/3035/CH4/EX4.14/Ex4_14.sce
b7248a2233f1fa99999118dfd4dd71a07ea36bcd
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
5,292
sce
Ex4_14.sce
// Variable Declaration V_r = 220000.0 //Voltage(V) P = 100.0 //Power(MW) r = 0.08 //Series resistance(ohm) x = 0.8 //Series reactance(ohm) s = 6.0*10**(-6) //Shunt susceptance(mho) pf = 0.8 //Power factor lagging l_1 = 60.0 //Transmission length(km) for case(i) l_2 = 200.0 //Transmission length(km) for case(ii) l_3 = 300.0 //Transmission length(km) for case(iii) l_4 = 500.0 //Transmission length(km) for case(iv) // Calculation Section z = complex(r,x) //Series impedance/km(ohm) y = complex(0,s) //Shunt admittance/km(mho) theta_R = acos(pf) P_R = P/3 //Active power at receiving end/phase(MW) Q_R = (P/3)*tan(theta_R) //Reactive power at receiving end/phase(MVAR) V_R = V_r/(3**0.5) //Receiving end voltage/phase(V) I_R = P*10**6/((3**0.5)*V_r*pf)*(pf - complex(0,sin(theta_R)))//Receiving end current(A) Z_c = (z/y)**(0.5) //Surge impedance(ohm) A_1 = 1 //Constant A B_1 = z*l_1 //Constant B(ohm) C_1 = 0 //Constant C(mho) D_1 = A_1 //Constant D V_S_1 = A_1*V_R + B_1*I_R //Sending end voltage(V/phase) I_S_1 = I_R //Sending end current(A) theta_S_1 = (phasemag(I_S_1)*%pi/180) - (phasemag(V_S_1)*%pi/180) //Sending end power factor P_S_1 = abs(V_S_1*I_S_1)*cos(theta_S_1)*10**-6 //Sending end power(MW) n_1 = (P_R/P_S_1)*100 //Transmission efficiency(%) reg_1 = (abs(V_S_1/A_1) - V_R)/V_R*100 //Regulation(%) Q_S_1 = V_S_1 * conj(I_S_1)*10**-6 //Sending end reactive power(MVAR) Q_line_1 = imag(Q_S_1) - Q_R //Reactive power absorbed by line(MVAR) Z_S_2 = z*l_2 Y_P_2 = y*l_2/2 A_2 = 1 + Y_P_2*Z_S_2 B_2 = Z_S_2 C_2 = Y_P_2*(2 + Y_P_2*Z_S_2) D_2 = A_2 V_S_2 = A_2*V_R + B_2*I_R //Sending end voltage(V/phase) I_S_2 = C_2*V_R + D_2*I_R //Sending end current(A) S_S_2 = V_S_2*conj(I_S_2)*10**-6 //Sending end complex power(MVA) P_S_2 = real(S_S_2) //Power at sending end(MW) n_2 = (P_R/P_S_2)*100 //Transmission efficiency(%) reg_2 = (abs(V_S_2/A_2) - V_R)/V_R*100 //Regulation(%) Q_line_2 = imag(S_S_2) - Q_R //Reactive power absorbed by line(MVAR) g_3 = (y*z)**(0.5) //propagation constant(/km) gl_3 = g_3 * l_3 cosh_gl_3 = cosh(gl_3) sinh_gl_3 = sinh(gl_3) A_3 = cosh_gl_3 B_3 = Z_c * sinh_gl_3 C_3 = sinh_gl_3/Z_c D_3 = cosh_gl_3 V_S_3 = A_3*V_R + B_3*I_R //Sending end voltage(V/phase) I_S_3 = C_3*V_R + D_3*I_R //Sending end current(A) S_S_3 = V_S_3*conj(I_S_3)*10**-6 //Sending end complex power(MVA) P_S_3 = real(S_S_3) //Power at sending end(MW) n_3 = (P_R/P_S_3)*100 //Transmission efficiency(%) reg_3 = (abs(V_S_3/A_3) - V_R)/V_R*100 //Regulation(%) Q_line_3 = imag(S_S_3) - Q_R //Reactive power absorbed by line(MVAR) g_4 = (y*z)**(0.5) //propagation constant(/km) gl_4 = g_4 * l_4 cosh_gl_4 = cosh(gl_4) sinh_gl_4 = sinh(gl_4) A_4 = cosh_gl_4 B_4 = Z_c * sinh_gl_4 C_4 = sinh_gl_4/Z_c D_4 = cosh_gl_4 V_S_4 = A_4*V_R + B_4*I_R //Sending end voltage(V/phase) I_S_4 = C_4*V_R + D_4*I_R //Sending end current(A) S_S_4 = V_S_4*conj(I_S_4)*10**-6 //Sending end complex power(MVA) P_S_4 = real(S_S_4) //Power at sending end(MW) n_4 = (P_R/P_S_4)*100 //Transmission efficiency(%) reg_4 = (abs(V_S_4/A_4) - V_R)/V_R*100 //Regulation(%) Q_line_4 = imag(S_S_4) - Q_R //Reactive power absorbed by line(MVAR) // Result Section printf('Case(i) : For Length = 60 km') printf('Efficiency , n = %.2f percent' ,n_1) printf('Regulation = %.3f percent' ,reg_1) printf('Reactive power at sending end , Q_S = %.2f MVAR' ,imag(Q_S_1)) printf('Reactive power absorbed by line , Q_line = %.2f MVAR' ,Q_line_1) printf('\nCase(ii) : For Length = 200 km') printf('Efficiency , n = %.2f percent' ,n_2) printf('Regulation = %.2f percent' ,reg_2) printf('Reactive power at sending end , Q_S = %.2f MVAR' ,imag(S_S_2)) printf('Reactive power absorbed by line , Q_line = %.2f MVAR' ,Q_line_2) printf('\nCase(iii) : For Length = 300 km') printf('Efficiency , n = %.2f percent' ,n_3) printf('Regulation = %.2f percent' ,reg_3) printf('Reactive power at sending end , Q_S = %.2f MVAR' ,imag(S_S_3)) printf('Reactive power absorbed by line , Q_line = %.2f MVAR' ,Q_line_3) printf('\nCase(iv) : For Length = 500 km') printf('Efficiency , n = %.2f percent' ,n_4) printf('Regulation = %.2f percent' ,reg_4) printf('Reactive power at sending end , Q_S = %.2f MVAR' ,imag(S_S_4)) printf('Reactive power absorbed by line , Q_line = %.2f MVAR' ,Q_line_4) printf('\nNOTE : ERROR : Calculation mistake in case(iv) efficiency in textbook')
c8dfb26e6e5a54b1d8ee49325501837da8a5c9df
449d555969bfd7befe906877abab098c6e63a0e8
/2409/CH12/EX12.18/Ex12_18.sce
156db5e5fc1c5c52d890069e315410089d2160c8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
326
sce
Ex12_18.sce
//Variable Declaration Nu=100 //Noise spectral density for uplink(dBHz) Nd=87 //Noise spectral density for downlink(dBHz) //Calculation N0CR=10**(-Nu/10)+10**(-Nd/10) //Noise to carrier ratio CNR=-10*log10(N0CR) //Combined c/N0 ratio(dBHz) //Result printf("The combined carrier to noise ratio is %.2f dBHz",CNR)
d83f5025fd9813910013bf801b9af7d2e472823b
449d555969bfd7befe906877abab098c6e63a0e8
/1862/CH15/EX15.5/C15P5.sce
3e76dd4c1d5b22e9e4102bf75302fdc67bb16113
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
545
sce
C15P5.sce
clear clc //to find surface tension of liquid // GIVEN: //refer to figure 15-15(a) on page no. 343 //upward force p = 3.45e-3//in N //length of wire d = 4.85//in cm //linear mass density mew = 1.75e-3//in Kg/m //acceleration due to gravity g = 9.7835//in m/s^2 // SOLUTION: //refer to figure 15-15(a) on page no. 343 //using equilibrium condition //surface tension of liquid Gamma = (p-(mew*(d*10^-2)*g))/(2*d*(10^-2))//in N/m //taking d in meters printf ("\n\n Surface tension of liquid Gamma = \n\n %.3f N/m",Gamma)
1738c3b89a2f5640ef53ed8bd0d3aaf6d2c8359f
39c5c468df5e2bde0147a30cf092fc8da3e7ed3e
/UFRGS/calcNumerico/area2/P2_numerico_oberdan/M8 - Minimos_Quadrados/M8-Q9-10 - minimos-quadrados-a_mais_bx_mais_c_dividido_x.sce
4c649925fd1a0511b70f83acbdf9f1160f397b32
[]
no_license
andredxc/Files
9dffc9fe5f7e923b83035d794dfa15c930cdb898
e32309b9ab548b829b04be66c2776cf9c9c6656e
refs/heads/master
2021-06-03T10:44:01.606242
2020-09-21T15:39:48
2020-09-21T15:39:48
107,410,076
0
0
null
null
null
null
UTF-8
Scilab
false
false
721
sce
M8-Q9-10 - minimos-quadrados-a_mais_bx_mais_c_dividido_x.sce
//a+ bx + c/x /** * Coloca em a os coeficientes do polinomio de GRAU ESPECIFICADO EM P que * melhor se ajuste aos pares x,y. * PARA RETAS -> p=1 * PARA PARABOLAS -> p=2... */ clear p = 1 // Ordem do polinomio a ser gerado x = [1:0.1:2.5]' //q9-10 //y = cos(x./8 + 3) // q9 y = cos(x./3 + 3) // q10 n = size(x,1) // Monta matriz simetrica de minimos quadrados for i=1:p+1 //for (i=1; i<= p+1; i++) for j=1:p+1 M = [ n sum(x) sum(1 ./x) sum(x) sum(x.^2) n sum(1 ./x) n sum(1 ./(x.^2))] end end // Monta matriz de resultado b for i=1:p+1 b = [sum(y) sum(x.*y) sum(y./x)] end a = inv(M)*b; //disp(a(3)) //q9 disp(a(1)+a(2)*2.25+a(3)/2.25) //q10
0fb4cb0bcf49bf72c3490b9aa61d228e57ccd7d3
449d555969bfd7befe906877abab098c6e63a0e8
/569/CH2/EX2.7/2_7.sci
1154951d249528109f2244745b953f9fd8533b2e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
301
sci
2_7.sci
// calculating the noise output voltage of the amplifier clc; disp('calculating the noise output voltage of the amplifier') Bw=100*10^3; Sn=7*10^-21; R=50*10^3; A=(Sn*R*Bw)^0.5; En=2*A; disp(En,'Noise voltage at input(V)='); Ga=100; Eno=En*Ga; disp(Eno,'Noise voltage at output(V)=');
95f395450f9c9bd30c24fe7dfa75ec6e517ba72b
44dccf35d0d05580e3fc20af3b7697b3c638d82d
/testcases/corner/6.sce
abc4dba438580cf90e4b16484dc16bacc87b9097
[]
no_license
surirohit/Scilab-Image-Processing-Toolbox-Unclean
213caacd69badd81ec0f99a800f44a2cf8f79b5d
3a8057f8a8d05e7efd83704a0e732bdda23fa3a0
refs/heads/master
2020-04-09T07:31:20.042501
2016-06-28T09:33:57
2016-06-28T09:33:57
60,406,367
0
0
null
null
null
null
UTF-8
Scilab
false
false
77
sce
6.sce
i = imread('test3.jpg'); corners = corner(i,'FilterSize',6); disp(corners);
add10bec283f92cec373a2cc4c65e9dd7e726c3f
449d555969bfd7befe906877abab098c6e63a0e8
/3293/CH2/EX2.7/Ex2_7.sce
b663f3b2a97a8024e9fd37659eb3fe843e6fc2e7
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
329
sce
Ex2_7.sce
//page 36 //Example 2.7 clear; clc; close; disp('A = m*n matrix over field F'); disp('X and Y are n*1 matrices over F'); disp('A*X = 0, A*Y = 0'); disp('c is a scalar') disp('So, A(cX+Y) = c*A*X + A*Y = 0'); disp('Hence, the set of all n*1 column matrices is the subspace of space of all n*1 matrices over F'); //end
2ad65a112763c5c3d8cb67418d565e210e4c4f37
449d555969bfd7befe906877abab098c6e63a0e8
/767/CH1/EX1.5.1/Ch1Exa1_5_1.sci
bb7638353461938b8fa049e8c5941725df06601d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
695
sci
Ch1Exa1_5_1.sci
// Scilab code Exa1.5.1 : Calculation of binding energy of alpha particle and express in MeV and joule : Page 36 (2011) amu = 931.49; // Atomic mass unit, MeV M_p = 1.00758; // Mass of proton, amu M_n = 1.00897; // Mass of neutron, amu M_He = 4.0028; // Mass of He nucleus, amu Z = 2; // Atomic number N = 2; // Number of neutron M_defect = Z*M_p+N*M_n-M_He; // Mass defect, amu BE_MeV = M_defect*amu; // Binding energy, MeV BE_J = M_defect*1.49239e-010; // Binding energy, J printf("\nThe binding energy (in MeV): %5.2f", BE_MeV) printf("\nThe binding energy (in J): %4.2e", BE_J) // Result // The binding energy (in MeV): 28.22 // The binding energy (in J): 4.52e-012
d17b62d55eb6df7a980b1af84aeb5ec9edcbee62
449d555969bfd7befe906877abab098c6e63a0e8
/767/CH4/EX4.5.10/Ch04Exa4_5_10.sci
93a823b18df125a3423d8422186659cbfb3a5be0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
505
sci
Ch04Exa4_5_10.sci
// Scilab code Exa4.5.10: To determine the energy of gamma ray for reaction :: P.no. 186 (2011) // H(1,2)+G = H(1,1)+ n(0,1) is the given reaction M_H_2 = 2.014735; // Mass of H-2, amu M_H_1 = 1.008142 ; // Mass of H-1, amu M_n_1 = 1.008987; // Mass of M_n_1, amu Q = -5.4; // Q-value, MeV E_g = (M_H_1*931.47+M_n_1*931.47)-(M_H_2*931.47); //Energy of the gama rays, MeV printf("\nThe energy of the gama rays : %6.4f MeV ", E_g) // Result // The energy of the gama rays : 2.2299 MeV
06883705ffa0f4145c46d836dde04197003051e1
843ddfc1f1137ace0ddbffdc051fb2b2a3e2ba6b
/P3/P302.sce
a7d94b04e6e42dddf5d497e505760464c733f58a
[]
no_license
aguadix/SIMCON
8169169577fc5e69257f6dc91558b7b320974161
5f83003937740a730c4593c241309c9da7693ddf
refs/heads/master
2022-10-27T00:34:29.074871
2022-10-24T11:24:08
2022-10-24T11:24:08
53,549,792
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,229
sce
P302.sce
clear; clc; // P302.sce s = syslin('c',%s,1); exec D:\SIMCON\pade.sci; // Sistema de primer orden con tiempo muerto K = 3; T = 2; td = 10; n = 10; G = K*pade(td,n)/(T*s+1) f = 0.087; // Frecuencia ciclos = 10; tfin = ciclos/f; dt = tfin/200; t = 0:dt:tfin; // Tiempo M = 1; omega = 2*%pi*f; u = M*sin(omega*t); // Entrada y = csim(u,t,G); // Respuesta temporal repf = repfreq(G,f) // Respuesta compleja [dB,phi] = dbphi(repf) // Magnitud y fase scf(1); clf(1); plot(t,u,t,y); xgrid; xtitle('Sistema de primer orden con tiempo muerto - Respuesta temporal a frecuencia','t','u(azul), y(verde)'); fmin = 0.001; fmax = 10; scf(2); clf(2); bode(G,fmin,fmax); xtitle('Sistema de primer orden con tiempo muerto - Diagrama de Bode'); scf(3); clf(3); xtitle('Sistema de primer orden con tiempo muerto - Diagrama de Bode'); subplot(2,1,1); gainplot(G,fmin,fmax); plot(f,dB,'ro'); subplot(2,1,2); phaseplot(G,fmin,fmax); plot(f,phi-360,'ro') scf(4); clf(4); nyquist(G,fmin,fmax,%f) plot(real(repf),imag(repf),'ro'); xtitle('Sistema de primer orden con tiempo muerto - Diagrama de Nyquist','',''); a4 = gca; a4.x_location = 'origin'; a4.y_location = 'origin'; a4.data_bounds = [-3,-3;3,3]; a4.isoview = 'on'; a4.box = 'off';
f8ba4b4a77fb5955425df889a9b4347c4ace69d4
449d555969bfd7befe906877abab098c6e63a0e8
/278/CH6/EX6.9/ex_6_9.sce
f7642129f5f6ded87899a05ce89b6b0c1d20a78b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
462
sce
ex_6_9.sce
d=50 sigmau=630 Tmax=2000 Tmin=-800 Tm=(Tmax+Tmin)/2 taum=(16*Tm)/(%pi*d^3) disp(taum,"Mean shear stress=") Tv=(Tmax-Tmin)/2 tauv=(16*Tv)/(%pi*d^3) taue=0.55*0.5*sigmau disp(taue,"Endurance limit=") sigmay=510 Ksur=0.87 Ksz=0.85 Kf=1 tauy=0.5*sigmay//yield stress in shear loading is taken as one half of yield stress in reverse bending FS=1/0.541 0==(taum/tauy)-((tauv*Kf)/(taue*Ksur*Ksz)-(1/FS))//according to Soderberg's relation disp(FS,"Factor of safety=")
3c9307bc5c6a2f456010f8be4f264c75deb46adc
449d555969bfd7befe906877abab098c6e63a0e8
/2078/CH7/EX7.8/Example7_8.sce
5de7d4e113113463ec2318f59a80ac6cfe26401c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
937
sce
Example7_8.sce
//Exa 7.8 clc; clear; close; format('v',5); //Given data : f=50;//Hz l=160;//km r=1.036/2;//cm d=2.44*100;//cm g0=21.1;//kV/cm(rms) m0=0.85;//irregularity factor mv=0.72;//roughness factor b=73.15;//cm t=26.6;//degree C del=3.92*b/(273+t);//air density factor Vd0=g0*del*m0*r*log(d/r);//kV(rms) disp(Vd0,"Critical disruptive voltage(rms) in kV : "); Vv0=g0*del*mv*r*(1+0.3/sqrt(del*r))*log(d/r);//kV disp(Vv0,"Visual Critical voltage(rms) in kV : "); Vph=110/sqrt(3);//in kV Pc_dash=d/del*(f+25)*sqrt(r/d)*(Vph-0.8*Vd0)^2*10^-5;//kW/km/phase T_Corona_loss=l*3*Pc_dash;//kW disp(T_Corona_loss,"Total corona loss under foul weather condition using Peek formula in kW : "); VphBYVd0=Vph/Vd0/0.8; K=0.46;//constant Corona_loss=21*10^-5*f*Vph^2*K/(log10(d/r))^2;//kW/km/phase T_corona_loss=Corona_loss*3*l;//kW disp(T_corona_loss,"Total corona loss under foul weather condition using Peterson formula in kW : ");
9de5dc35cb383b55ea55197e1a1441952adfb8f3
449d555969bfd7befe906877abab098c6e63a0e8
/2969/CH7/EX7.8/Ex7_8.sce
8851ef0246a5f926fca19e6e248fd9509b865d59
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,027
sce
Ex7_8.sce
clc clear //DATA GIVEN Db=0.75; //diameter of brake pulley in m d=0.05; //diameter of rope in m W=400; //dead load on the brake in N S=50; //spring balance reading in N Fc=4.2; //fuel consumption in kg/hr N=1000; //rated engine speed in R.P.M. C=43900; //calorific value of fuel used in kJ/kg n=1; //no. of cylinders k=0.5; //for 4-stroke cylinder //Brake Power, B.P.=(W-S)(pi)(Db+d)N/(60*1000) kW BP=(W-S)*(%pi)*(Db+d)*N/(60*1000); sfc=Fc/BP; //brake specific fuel consumption in kg/kWhr Mf=Fc/3600; ETAtb=BP/(Mf*C); //Brake thermal efficiency printf(' (i) The Brake specific fuel consumption, s.f.c (brake) is: %5.3f kg/kWh. \n',sfc); printf(' (ii) The Brake thermal efficiency is: %5.3f or %2.1f percent. \n',ETAtb,(ETAtb*100));
d087aa519273e0d617833aa5fa645b1a10e44899
449d555969bfd7befe906877abab098c6e63a0e8
/1460/CH11/EX11.1/11_1.sce
fc82c6ff5da6ebdbdb10c9fc94ef9c217d31a84b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
353
sce
11_1.sce
clc //initialization of variables P1=100 //lb/in^2 P2=14.7 //lb/in^2 T1=600+460 //R T2=300+460 //R area=1 //in^2 //calculations disp("From steam tables") ht1=1329.1 h2=1192.8 v2=30.53 Vel=sqrt(2*32.2*778*(ht1-h2)) wdot=area*Vel/(144*v2) //results printf("Exit velocity = %d ft/sec",Vel) printf("\n Mass flow rate = %.3f lbm/sec",wdot)
ba01fffa7e049b86a3f056e008de2036f9c74245
56ae453b5537f39dbd832dd0416f3c804aa1b937
/microdaq/macros/mdaq_is_working.sci
342ea76eb7409b5d87e881ae494e735cfce6ca00
[ "BSD-3-Clause" ]
permissive
grtwall/Scilab
38bc8bc978e715b770da61482a9ac30e0cb806d3
e44e0dc0d357a6baf875d33ddd435a29e053b7f1
refs/heads/master
2020-07-22T16:48:31.589484
2018-07-31T13:15:40
2018-07-31T13:15:40
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,487
sci
mdaq_is_working.sci
function [is_working, versions] = mdaq_is_working(func_name) // vector: [major], [minor], [Maintenance] sci_ver = getversion('scilab'); uglyfuncs = list(); // CUSTOM BLOCKS - uglyfuncs($+1) = list('mdaqBlockBuild', '5.5.2'); uglyfuncs($+1) = list('mdaqBlockAdd', '5.5.2'); uglyfuncs($+1) = list('mdaqBlock', '5.5.2'); // DSP MANAGMENT - uglyfuncs($+1) = list('mdaqDSPBuild', '5.5.2'); uglyfuncs($+1) = list('mdaqDSPSignal', '5.5.2'); uglyfuncs($+1) = list('mdaqDSPSignalRead', '5.5.2'); uglyfuncs($+1) = list('mdaqDSPStart', '5.5.2'); uglyfuncs($+1) = list('mdaqDSPStop', '5.5.2'); uglyfuncs($+1) = list('mdaqDSPTerminate', '5.5.2'); versions = 'This function is not supported in Scilab '+string(sci_ver(1))+'.'+string(sci_ver(2))+'.'+string(sci_ver(3))+.. '. Currently is only compatible with version: '; ver_str = ''; is_working = %F; for f=1:length(uglyfuncs) if func_name == uglyfuncs(f)(1) then for v=2:length(uglyfuncs(f)) ver_str = ver_str + uglyfuncs(f)(v) + ', '; func_ver = strsplit(uglyfuncs(f)(v), '.'); if func_ver(1) == 'x' then is_working = %T; elseif (func_ver(2) == 'x') if (strtod(func_ver(1)) == sci_ver(1)) then is_working = %T; end elseif (func_ver(3) == 'x') if (strtod(func_ver(1)) == sci_ver(1)) & (strtod(func_ver(2)) == sci_ver(2)) then is_working = %T; end else if (strtod(func_ver(1)) == sci_ver(1)) & (strtod(func_ver(2)) == sci_ver(2)) & (strtod(func_ver(3)) == sci_ver(3)) then is_working = %T; end end end versions = versions + ver_str; if is_working then versions = 'This function is compatible with Scilab version: ' versions = versions + ver_str; end return; end end is_working = %T; versions = 'Function ' + func_name + ' works on scilab 5.5.2 and 6.x.x versions.'; endfunction
b584f46f8f61e0468b3cbd205de841c9a61bb98c
089894a36ef33cb3d0f697541716c9b6cd8dcc43
/NLP_Project/test/tweet/bow/bow.12_17.tst
b05d0cacfab969ede6dddb5234ff25a4cf76b8b0
[]
no_license
mandar15/NLP_Project
3142cda82d49ba0ea30b580c46bdd0e0348fe3ec
1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2
refs/heads/master
2020-05-20T13:36:05.842840
2013-07-31T06:53:59
2013-07-31T06:53:59
6,534,406
0
1
null
null
null
null
UTF-8
Scilab
false
false
21,244
tst
bow.12_17.tst
12 4:1.0 15:0.029411764705882353 28:0.1 29:0.5 60:0.03125 78:1.0 256:0.2 505:0.3333333333333333 614:1.0 653:0.3333333333333333 657:1.0 1127:1.0 3267:1.0 5477:0.5 12 13:0.08333333333333333 14:0.5 15:0.029411764705882353 18:1.0 36:0.5 39:0.2 57:0.5 60:0.03125 164:1.0 180:0.5 192:1.0 218:1.0 505:0.3333333333333333 517:1.0 518:1.0 603:0.3333333333333333 660:0.09090909090909091 755:0.5 798:1.0 899:1.0 1318:1.0 1659:1.0 3377:1.0 3582:1.0 4009:1.0 4015:1.0 7633:1.0 12 39:0.2 57:1.0 421:0.5 442:1.0 1240:1.0 1962:1.0 12 1:0.13333333333333333 15:0.029411764705882353 26:0.25 30:1.0 39:0.2 57:0.5 96:0.2 210:0.5 253:0.5 343:1.0 419:1.0 439:0.5 543:1.0 633:1.0 649:1.0 1348:1.0 1503:1.0 1638:1.0 1706:1.0 1983:1.0 2010:1.0 2675:1.0 2867:1.0 3438:1.0 3805:1.0 12 12:1.0 13:0.08333333333333333 14:1.0 15:0.029411764705882353 34:1.0 57:0.5 135:1.0 210:0.5 327:1.0 706:1.0 1498:1.0 2296:1.0 6079:1.0 12 4:1.0 13:0.08333333333333333 15:0.058823529411764705 36:0.5 39:0.2 55:0.4 57:0.5 60:0.03125 87:0.16666666666666666 217:1.0 218:1.0 262:0.5 291:1.0 348:0.16666666666666666 359:0.3333333333333333 381:0.25 493:0.5 516:1.0 595:1.0 606:1.0 611:0.5 681:1.0 706:1.0 1321:1.0 2343:0.125 3400:1.0 3428:1.0 4080:1.0 5583:1.0 6349:1.0 12 1:0.13333333333333333 14:0.5 23:1.0 39:0.2 55:0.2 60:0.03125 135:1.0 160:0.5 263:0.125 704:1.0 952:1.0 1264:1.0 1809:0.3333333333333333 2084:1.0 2386:1.0 12 4:1.0 28:0.1 30:1.0 34:1.0 55:0.4 74:1.0 87:0.3333333333333333 129:0.5 151:0.5 184:1.0 198:1.0 487:1.0 490:2.0 505:0.3333333333333333 677:1.0 679:1.0 953:1.0 1817:1.0 2058:1.0 3208:1.0 3413:1.0 3870:1.0 12 1:0.13333333333333333 4:1.0 28:0.1 35:0.6666666666666666 39:0.2 96:0.2 182:1.0 254:0.08333333333333333 263:0.125 304:0.25 452:1.0 586:1.0 657:1.0 1254:0.5 1541:1.0 2555:1.0 12 13:0.08333333333333333 15:0.08823529411764706 39:0.2 75:1.0 102:0.5 134:0.5 154:1.0 160:0.5 260:0.5 653:0.3333333333333333 677:1.0 679:1.0 701:1.0 898:0.25 899:1.0 946:1.0 1247:1.0 1700:1.0 5261:1.0 6344:1.0 12 4:1.0 28:0.1 57:0.5 217:1.0 218:1.0 628:2.0 2960:1.0 5457:2.0 12 14:0.5 15:0.058823529411764705 34:1.0 37:0.5 57:0.5 96:0.4 151:0.5 227:1.0 263:0.125 772:1.0 870:1.0 946:1.0 1310:1.0 1448:1.0 2081:0.5 3803:1.0 12 1:0.06666666666666667 14:1.0 30:1.0 34:1.0 39:0.2 75:1.0 160:0.5 180:0.5 218:1.0 293:1.0 400:1.0 475:1.0 493:0.5 738:0.5 1354:1.0 1700:1.0 2062:1.0 12 15:0.058823529411764705 30:1.0 37:0.5 55:0.2 60:0.03125 95:1.0 194:1.0 256:0.2 266:1.0 359:0.3333333333333333 394:1.0 398:0.16666666666666666 429:1.0 439:0.5 468:2.0 632:1.0 1210:1.0 1321:1.0 1483:1.0 1521:1.0 1545:1.0 2062:1.0 2106:1.0 2973:1.0 3226:1.0 3896:1.0 8033:1.0 12 1:0.06666666666666667 4:1.0 13:0.08333333333333333 15:0.058823529411764705 19:0.5 37:0.5 55:0.2 60:0.03125 87:0.3333333333333333 108:1.0 207:1.0 246:0.3333333333333333 256:0.2 259:1.0 348:0.3333333333333333 452:1.0 546:0.3333333333333333 632:1.0 704:1.0 1126:1.0 1427:0.5 1573:1.0 1595:1.0 2081:1.5 2321:1.0 2335:1.0 2537:1.0 5906:1.0 12 1:0.13333333333333333 13:0.08333333333333333 39:0.2 55:0.2 130:1.0 157:1.0 183:0.5 355:0.5 409:0.1 452:1.0 635:1.0 660:0.09090909090909091 898:0.25 899:1.0 965:1.0 1037:1.0 2271:1.0 2374:1.0 4801:1.0 12 4:1.0 13:0.08333333333333333 14:0.5 15:0.058823529411764705 39:0.2 55:0.6 60:0.03125 72:0.5 246:0.3333333333333333 313:1.0 352:0.5 548:1.0 801:1.0 831:1.0 899:1.0 942:1.0 1151:1.0 1254:0.5 1321:1.0 1563:0.3333333333333333 2245:1.0 2263:1.0 5722:0.5 12 1:0.06666666666666667 4:1.0 28:0.1 35:0.3333333333333333 36:0.5 55:0.2 60:0.03125 76:0.25 96:0.4 102:0.5 180:0.5 217:1.0 218:1.0 297:1.0 336:0.5 788:1.0 1227:1.0 1234:1.0 1503:1.0 1825:1.0 2151:0.25 2371:0.3333333333333333 6647:1.0 6715:0.5 8190:1.0 12 15:0.029411764705882353 62:1.0 64:0.5 76:0.25 352:0.5 635:1.0 1195:1.0 1267:1.0 1391:1.0 1815:1.0 2263:1.0 12 1:0.06666666666666667 14:0.5 15:0.029411764705882353 29:0.5 55:0.2 64:0.5 109:1.0 198:1.0 217:1.0 218:1.0 254:0.08333333333333333 262:0.5 326:0.5 755:0.5 954:1.0 1033:1.0 1689:1.0 3351:1.0 3480:0.5 12 14:0.5 57:0.5 151:0.5 189:1.0 253:0.5 606:1.0 607:0.5 1554:1.0 2879:1.0 3456:1.0 3612:1.0 12 4:1.0 13:0.08333333333333333 15:0.029411764705882353 35:0.3333333333333333 37:0.5 39:0.2 76:0.25 80:0.3333333333333333 129:1.0 140:1.0 151:0.5 157:1.0 158:1.0 189:1.0 198:1.0 260:0.5 721:1.0 1526:1.0 1961:1.0 2068:1.0 3789:1.0 12 1:0.06666666666666667 4:1.0 15:0.058823529411764705 35:0.3333333333333333 39:0.2 55:0.4 64:0.5 76:0.5 87:0.16666666666666666 129:0.5 189:1.0 253:0.5 254:0.08333333333333333 290:1.0 291:1.0 331:1.0 332:1.0 359:0.3333333333333333 607:0.5 741:1.0 994:1.0 1508:1.0 1952:1.0 2319:1.0 2320:1.0 2851:1.0 3575:1.0 3667:1.0 5906:1.0 12 6:0.3333333333333333 14:0.5 26:0.25 30:1.0 39:0.6 74:1.0 87:0.16666666666666666 96:0.2 134:0.5 135:2.0 148:1.0 160:1.0 189:1.0 231:0.25 294:0.3333333333333333 348:0.16666666666666666 483:1.0 607:0.5 660:0.09090909090909091 693:1.0 1260:1.0 1847:1.0 2063:1.0 3714:1.0 3960:1.0 3961:1.0 6276:1.0 12 1:0.13333333333333333 4:1.0 14:0.5 15:0.058823529411764705 26:0.25 36:0.5 55:0.2 76:0.5 129:0.5 140:1.0 180:0.5 253:0.5 254:0.08333333333333333 255:1.0 256:0.2 294:0.3333333333333333 395:0.5 867:1.0 977:1.0 1130:1.0 1310:1.0 3463:1.0 3648:1.0 4314:1.0 8030:1.0 12 1:0.06666666666666667 4:2.0 12:1.0 15:0.058823529411764705 42:0.5 55:0.4 96:0.2 132:1.0 151:0.5 159:0.125 217:1.0 218:1.0 293:1.0 606:1.0 1037:1.0 1294:1.0 1458:1.0 2163:1.0 2187:0.25 3908:1.0 3958:1.0 12 4:1.0 14:0.5 15:0.058823529411764705 28:0.1 29:0.5 30:1.0 60:0.03125 64:0.5 198:1.0 199:0.5 330:1.0 381:0.25 844:1.0 1102:1.0 1379:1.0 1700:1.0 2042:1.0 2409:1.0 3700:1.0 3714:1.0 12 1:0.06666666666666667 15:0.029411764705882353 37:0.5 55:0.2 163:1.0 194:1.0 215:0.3333333333333333 263:0.125 457:0.16666666666666666 506:1.0 1094:0.3333333333333333 1130:1.0 1398:1.0 1497:1.0 12 1:0.06666666666666667 29:0.5 55:0.2 256:0.2 297:1.0 341:2.0 409:0.1 1563:0.3333333333333333 3789:1.0 12 14:1.0 15:0.029411764705882353 26:0.5 55:0.2 132:1.0 195:0.3333333333333333 294:0.3333333333333333 974:1.0 1541:1.0 1787:1.0 1849:1.0 2100:1.0 2397:1.0 2878:1.0 12 1:0.06666666666666667 5:0.2 35:0.3333333333333333 55:0.2 76:0.25 87:0.16666666666666666 147:1.0 160:0.5 207:1.0 246:0.3333333333333333 507:1.0 677:1.0 735:1.0 775:1.0 2320:1.0 2515:1.0 12 1:0.13333333333333333 4:2.0 6:0.3333333333333333 15:0.029411764705882353 18:1.0 26:0.25 39:0.2 55:0.2 87:0.16666666666666666 96:0.2 180:0.5 199:0.5 217:1.0 218:1.0 256:0.2 258:1.0 348:0.16666666666666666 439:0.5 493:0.5 742:1.0 937:1.0 1213:1.0 1321:1.0 1426:1.0 1508:1.0 1604:1.0 1996:1.0 2527:1.0 2831:1.0 2923:1.0 3013:1.0 3018:1.0 3528:1.0 5499:1.0 5567:1.0 12 14:0.5 15:0.029411764705882353 28:0.1 87:0.16666666666666666 291:1.0 294:0.3333333333333333 503:1.0 512:1.0 702:0.5 1132:0.5 1138:1.0 1787:1.0 2058:1.0 2069:1.0 3099:1.0 4011:1.0 8184:1.0 8190:1.0 12 12:1.0 15:0.029411764705882353 76:0.25 144:0.3333333333333333 228:1.0 306:1.0 920:0.5 2061:1.0 2534:1.0 12 13:0.08333333333333333 26:0.5 35:0.3333333333333333 55:0.8 60:0.03125 76:0.25 96:0.4 180:0.5 185:1.0 279:1.0 290:1.0 301:0.25 348:0.16666666666666666 359:0.3333333333333333 778:0.3333333333333333 781:0.5 787:1.0 1358:1.0 1451:1.0 1476:1.0 2220:1.0 3321:1.0 3961:1.0 12 1:0.13333333333333333 14:0.5 15:0.029411764705882353 19:0.5 30:1.0 55:0.2 160:0.5 177:0.5 180:0.5 381:0.25 416:1.0 1386:1.0 1498:1.0 2296:1.0 3612:1.0 12 1:0.2 14:0.5 39:0.2 72:0.5 76:0.25 81:0.5 130:1.0 140:3.0 184:1.0 256:0.2 266:1.0 359:0.3333333333333333 493:1.0 546:0.3333333333333333 849:1.0 1029:1.0 1436:1.0 1750:1.0 2161:1.0 2319:1.0 3027:1.0 12 15:0.058823529411764705 52:0.3333333333333333 86:0.125 87:0.16666666666666666 96:0.2 160:0.5 258:1.0 348:0.16666666666666666 388:0.5 496:1.0 569:1.0 570:1.0 660:0.09090909090909091 691:1.0 702:0.5 977:1.0 1213:1.0 1224:1.0 1326:1.0 1706:1.0 1956:1.0 3099:1.0 3597:1.0 6079:1.0 12 4:1.0 5:0.2 13:0.25 15:0.029411764705882353 39:0.2 55:0.2 60:0.03125 87:0.16666666666666666 96:0.2 129:0.5 134:0.5 159:0.125 207:1.0 258:1.0 259:2.0 359:0.3333333333333333 388:0.5 438:0.5 487:1.0 496:1.0 497:1.0 635:1.0 693:1.0 738:0.5 977:1.0 1218:1.0 1407:1.0 1706:1.0 12 13:0.08333333333333333 35:0.3333333333333333 86:0.125 87:0.3333333333333333 149:0.5 159:0.125 163:1.0 263:0.125 273:1.0 372:1.0 438:0.5 489:0.25 875:1.0 898:0.25 987:2.0 2058:1.0 12 1:0.06666666666666667 86:0.125 151:0.5 160:0.5 347:1.0 348:0.16666666666666666 349:1.0 404:1.0 439:0.5 546:0.3333333333333333 565:1.0 692:1.0 910:1.0 915:1.0 2069:1.0 3073:1.0 12 15:0.029411764705882353 30:1.0 45:1.0 86:0.125 160:0.5 404:1.0 3073:1.0 5110:1.0 12 1:0.13333333333333333 5:0.2 52:0.3333333333333333 55:0.2 88:1.0 96:0.2 109:1.0 159:0.125 608:1.0 1358:1.0 2046:1.0 2960:1.0 12 57:0.5 1266:1.0 12 15:0.029411764705882353 18:1.0 34:1.0 36:0.5 55:0.4 159:0.125 301:0.25 336:0.5 348:0.16666666666666666 389:1.0 457:0.16666666666666666 493:0.5 898:0.25 902:0.3333333333333333 937:1.0 987:1.0 2486:1.0 5499:1.0 12 12:1.0 14:1.0 15:0.029411764705882353 35:0.3333333333333333 51:0.5 52:0.3333333333333333 55:0.6 80:0.16666666666666666 96:0.2 139:1.0 141:0.5 159:0.125 222:1.0 256:0.2 342:1.0 437:0.3333333333333333 438:0.5 594:0.3333333333333333 1353:1.0 1400:1.0 1859:1.0 1893:1.0 6000:1.0 12 1:0.06666666666666667 4:1.0 12:1.0 15:0.058823529411764705 26:0.25 35:0.3333333333333333 55:0.2 60:0.03125 76:0.25 80:0.16666666666666666 96:0.2 112:1.0 135:1.0 139:1.0 154:1.0 159:0.125 166:0.3333333333333333 348:0.16666666666666666 548:1.0 568:1.0 639:1.0 649:1.0 946:1.0 1254:0.5 1310:1.0 1538:1.0 2004:1.0 2095:1.0 3202:1.0 3862:1.0 12 1:0.06666666666666667 15:0.029411764705882353 39:0.2 72:0.5 87:0.16666666666666666 173:1.0 214:0.25 348:0.16666666666666666 383:1.0 452:1.0 645:0.5 646:1.0 849:1.0 913:1.0 1424:1.0 1565:1.0 2409:1.0 12 15:0.029411764705882353 57:1.0 61:1.0 87:0.3333333333333333 167:0.3333333333333333 214:0.25 253:0.5 254:0.08333333333333333 256:0.2 348:0.3333333333333333 439:0.5 493:0.5 653:0.3333333333333333 693:1.0 738:0.5 844:1.0 919:0.5 1221:1.0 2058:1.0 3304:1.0 12 1:0.06666666666666667 12:1.0 15:0.058823529411764705 55:0.2 60:0.03125 78:1.0 87:0.16666666666666666 134:0.5 144:0.6666666666666666 161:0.2 256:0.2 259:1.0 267:1.0 278:1.0 324:1.0 342:1.0 355:0.5 439:0.5 487:1.0 505:0.3333333333333333 603:0.3333333333333333 608:1.0 621:0.5 635:1.0 692:1.0 781:0.5 1241:1.0 1818:1.0 6760:1.0 12 4:3.0 15:0.029411764705882353 24:0.5 60:0.0625 87:0.16666666666666666 134:0.5 180:0.5 231:0.25 293:1.0 297:1.0 452:1.0 531:1.0 543:1.0 656:1.0 1103:1.0 1538:1.0 1781:1.0 3330:1.0 3533:1.0 3997:1.0 8041:1.0 12 13:0.08333333333333333 15:0.029411764705882353 24:0.5 76:0.25 86:0.125 96:0.6 152:0.5 160:0.5 173:1.0 187:1.0 294:0.3333333333333333 304:0.25 399:1.0 632:1.0 691:1.0 765:1.0 766:1.0 898:0.25 973:0.5 974:1.0 1448:1.0 1706:1.0 2580:1.0 2923:1.0 3407:1.0 6051:1.0 12 1:0.06666666666666667 10:0.25 13:0.08333333333333333 15:0.029411764705882353 52:0.3333333333333333 55:0.2 60:0.03125 76:0.25 214:0.25 247:1.0 260:0.5 279:1.0 348:0.16666666666666666 457:0.16666666666666666 611:0.5 635:1.0 727:1.0 821:1.0 1103:1.0 1526:1.0 2960:1.0 6960:1.0 12 1:0.13333333333333333 4:1.0 13:0.08333333333333333 60:0.03125 72:0.5 79:0.1111111111111111 87:0.16666666666666666 96:0.2 139:1.0 180:0.5 293:2.0 348:0.16666666666666666 570:1.0 942:1.0 1236:1.0 1721:1.0 2047:1.0 2114:1.0 2343:0.125 2885:1.0 3381:1.0 3489:1.0 7060:1.0 12 1:0.06666666666666667 13:0.08333333333333333 15:0.058823529411764705 18:1.0 36:0.5 55:0.2 194:1.0 204:0.3333333333333333 215:0.3333333333333333 246:0.3333333333333333 291:1.0 306:1.0 348:0.16666666666666666 452:1.0 481:1.0 546:0.3333333333333333 635:1.0 1120:1.0 1213:1.0 1675:1.0 1983:1.0 2923:1.0 3262:1.0 3476:1.0 5994:1.0 12 1:0.06666666666666667 4:1.0 13:0.08333333333333333 57:0.5 96:0.2 253:0.5 343:1.0 496:1.0 635:1.0 1451:1.0 12 4:1.0 10:0.25 15:0.029411764705882353 18:1.0 28:0.1 29:0.5 30:1.0 39:0.2 72:0.5 87:0.16666666666666666 159:0.125 266:1.0 348:0.16666666666666666 657:1.0 1846:1.0 2052:1.0 2135:1.0 2315:1.0 2994:1.0 12 4:1.0 14:0.5 15:0.029411764705882353 52:0.3333333333333333 57:0.5 87:0.16666666666666666 96:0.2 254:0.08333333333333333 256:0.2 266:1.0 438:1.0 648:0.5 1321:1.0 2168:1.0 2285:0.3333333333333333 2841:1.0 12 1:0.06666666666666667 10:0.25 13:0.08333333333333333 37:0.5 76:0.5 194:1.0 352:0.5 565:1.0 738:1.0 1670:1.0 2063:1.0 2857:1.0 3896:1.0 4607:1.0 12 13:0.08333333333333333 14:0.5 15:0.029411764705882353 26:0.25 57:0.5 144:0.3333333333333333 159:0.125 215:0.3333333333333333 1675:1.0 1922:1.0 2422:0.5 3511:1.0 12 1:0.06666666666666667 13:0.08333333333333333 15:0.058823529411764705 37:0.5 52:0.3333333333333333 55:0.8 79:0.1111111111111111 151:0.5 177:0.5 183:0.5 184:1.0 246:0.3333333333333333 256:0.2 263:0.125 398:0.16666666666666666 452:1.0 457:0.16666666666666666 491:1.0 515:1.0 608:1.0 610:1.0 1175:1.0 1508:1.0 1774:1.0 2068:1.0 2225:1.0 2397:1.0 2519:2.0 3922:0.5 6609:1.0 12 1:0.13333333333333333 13:0.08333333333333333 37:1.0 39:0.6 55:0.2 57:0.5 87:0.16666666666666666 90:1.0 109:1.0 151:0.5 184:1.0 244:0.5 253:0.5 259:1.0 359:0.3333333333333333 398:0.16666666666666666 443:1.0 457:0.16666666666666666 491:1.0 517:1.0 608:1.0 653:0.3333333333333333 928:1.0 1203:1.0 1541:1.0 2271:1.0 2368:1.0 3922:0.5 12 13:0.08333333333333333 14:0.5 15:0.029411764705882353 39:0.4 55:0.2 57:0.5 98:1.0 477:1.0 831:1.0 1604:1.0 1916:1.0 4019:1.0 12 6:0.3333333333333333 15:0.029411764705882353 34:1.0 35:0.6666666666666666 52:0.3333333333333333 55:0.6 79:0.1111111111111111 80:0.5 86:0.125 87:0.3333333333333333 96:0.4 180:0.5 184:1.0 199:0.5 297:1.0 307:0.5 355:0.5 452:1.0 459:1.0 505:0.3333333333333333 610:1.0 1037:1.0 1680:1.0 2209:1.0 2636:1.0 12 4:1.0 12:1.0 15:0.058823529411764705 29:0.5 57:0.5 80:0.16666666666666666 96:0.2 132:1.0 159:0.125 160:0.5 198:1.0 486:1.0 794:1.0 977:1.0 1509:1.0 1965:1.0 3013:1.0 12 37:0.5 55:0.6 61:1.0 79:0.1111111111111111 87:0.5 160:0.5 199:0.5 253:0.5 254:0.08333333333333333 313:1.0 348:0.16666666666666666 359:0.3333333333333333 457:0.16666666666666666 493:0.5 505:0.3333333333333333 645:0.5 693:1.0 738:0.5 973:0.5 974:1.0 3523:1.0 12 15:0.029411764705882353 306:1.0 326:0.5 546:0.3333333333333333 920:0.5 1120:1.0 1216:1.0 2209:1.0 12 1:0.06666666666666667 14:0.5 15:0.029411764705882353 35:0.3333333333333333 55:0.4 76:0.25 87:0.16666666666666666 96:0.2 135:1.0 348:0.16666666666666666 398:0.16666666666666666 506:1.0 717:1.0 736:1.0 831:1.0 1098:0.3333333333333333 1120:1.0 1375:1.0 1747:1.0 2031:1.0 2417:1.0 3042:1.0 3643:1.0 6284:1.0 6288:1.0 6919:0.5 12 13:0.08333333333333333 15:0.029411764705882353 37:0.5 52:0.3333333333333333 55:0.2 60:0.0625 76:0.25 87:0.3333333333333333 96:0.2 149:1.0 325:1.0 594:0.3333333333333333 2910:0.5 3827:1.0 3829:1.0 7060:1.0 12 86:0.125 87:0.16666666666666666 325:1.0 348:0.16666666666666666 1094:0.3333333333333333 2020:1.0 2343:0.125 12 12:1.0 37:0.5 86:0.125 87:0.16666666666666666 96:0.2 134:0.5 159:0.125 183:0.5 586:1.0 898:0.25 2440:1.0 2494:1.0 3124:1.0 12 35:0.3333333333333333 75:1.0 80:0.16666666666666666 86:0.125 87:0.16666666666666666 159:0.125 161:0.2 183:0.5 1310:1.0 2653:1.0 4001:1.0 12 1:0.06666666666666667 6:0.3333333333333333 55:0.2 80:0.3333333333333333 86:0.125 87:0.16666666666666666 96:0.4 129:0.5 148:1.0 151:0.5 158:1.0 244:0.5 452:1.0 493:0.5 536:1.0 766:1.0 776:0.5 787:1.0 920:0.5 1996:1.0 2970:1.0 4818:1.0 12 1:0.06666666666666667 86:0.125 87:0.16666666666666666 96:0.2 159:0.125 160:0.5 199:0.5 268:1.0 348:0.16666666666666666 364:1.0 389:2.0 606:1.0 1503:1.0 4317:1.0 12 1:0.06666666666666667 15:0.029411764705882353 29:0.5 35:0.3333333333333333 86:0.125 87:0.5 102:0.5 199:0.5 254:0.08333333333333333 263:0.125 297:1.0 607:0.5 766:1.0 1471:1.0 1965:1.0 12 15:0.029411764705882353 52:0.3333333333333333 87:0.16666666666666666 108:1.0 246:0.3333333333333333 254:0.08333333333333333 260:0.5 424:1.0 12 4:1.0 6:0.3333333333333333 14:0.5 15:0.029411764705882353 26:0.25 37:0.5 39:0.2 134:0.5 135:1.0 140:1.0 149:0.5 159:0.125 253:0.5 293:1.0 314:1.0 546:0.3333333333333333 568:1.0 652:1.0 766:1.0 1051:1.0 1076:1.0 1538:1.0 1541:1.0 1580:1.0 1610:1.0 3533:1.0 5499:2.0 5883:1.0 12 60:0.03125 88:1.0 159:0.125 199:0.5 294:0.3333333333333333 635:1.0 845:1.0 1804:1.0 2040:1.0 2991:1.0 12 13:0.08333333333333333 86:0.125 96:0.2 159:0.125 218:1.0 452:1.0 487:1.0 736:1.0 2192:1.0 12 1:0.13333333333333333 12:1.0 14:1.0 15:0.08823529411764706 26:0.25 39:0.2 57:0.5 96:0.2 98:1.0 159:0.125 166:0.6666666666666666 218:1.0 231:0.25 348:0.16666666666666666 457:0.3333333333333333 496:1.0 603:0.3333333333333333 607:0.5 676:1.0 677:1.0 706:1.0 766:1.0 1463:1.0 1680:1.0 1896:1.0 2060:1.0 2663:1.0 4019:1.0 12 1:0.06666666666666667 12:1.0 15:0.029411764705882353 26:0.25 60:0.03125 87:0.16666666666666666 159:0.125 172:1.0 258:1.0 297:1.0 350:1.0 543:1.0 607:0.5 766:1.0 898:0.25 1427:0.5 1463:1.0 1896:1.0 2547:1.0 12 1:0.06666666666666667 15:0.058823529411764705 28:0.1 57:0.5 96:0.6 102:0.5 108:1.0 134:0.5 160:0.5 246:0.3333333333333333 256:0.2 306:1.0 348:0.3333333333333333 551:0.5 607:0.5 656:1.0 685:1.0 698:1.0 1120:1.0 1245:1.0 1260:1.0 1774:1.0 1981:1.0 2069:1.0 2673:1.0 2674:1.0 2841:1.0 2923:1.0 6287:1.0 6919:0.5 12 1:0.06666666666666667 13:0.08333333333333333 39:0.2 57:0.5 60:0.03125 87:0.16666666666666666 96:0.2 134:0.5 217:1.0 218:2.0 222:1.0 238:1.0 256:0.2 304:0.25 330:1.0 350:1.0 509:1.0 521:1.0 590:1.0 603:0.3333333333333333 651:1.0 704:1.0 1024:1.0 1072:1.0 12 1:0.06666666666666667 10:0.25 13:0.08333333333333333 15:0.058823529411764705 76:0.25 96:0.2 159:0.125 198:1.0 565:1.0 588:1.0 603:0.3333333333333333 633:1.0 755:0.5 831:1.0 1006:1.0 2668:1.0 8018:1.0 12 1:0.06666666666666667 18:2.0 35:0.3333333333333333 55:0.2 87:0.16666666666666666 96:0.2 129:0.5 159:0.125 160:0.5 163:1.0 185:1.0 210:0.5 256:0.2 359:0.3333333333333333 509:1.0 633:1.0 901:1.0 1102:1.0 3545:1.0 3789:1.0 12 1:0.06666666666666667 4:2.0 10:0.25 12:1.0 13:0.16666666666666666 14:1.0 15:0.029411764705882353 28:0.1 60:0.03125 86:0.125 87:0.3333333333333333 96:0.4 129:0.5 132:1.0 160:0.5 184:1.0 194:1.0 199:0.5 218:1.0 297:1.0 372:1.0 788:1.0 1185:0.5 1729:1.0 2093:0.5 12 10:0.25 13:0.08333333333333333 15:0.029411764705882353 80:0.16666666666666666 86:0.125 87:0.16666666666666666 96:0.2 929:1.0 999:1.0 1402:1.0 12 15:0.029411764705882353 28:0.1 60:0.03125 96:0.4 159:0.125 173:1.0 256:0.2 286:1.0 766:1.0 1196:1.0 1285:1.0 2347:1.0 2841:1.0 12 1:0.13333333333333333 4:1.0 14:0.5 18:1.0 36:0.5 55:0.4 57:0.5 87:0.16666666666666666 96:0.4 160:0.5 199:0.5 304:0.25 377:1.0 438:0.5 439:0.5 632:1.0 849:1.0 1059:1.0 1245:1.0 1735:1.0 2254:1.0 2923:1.0 3092:0.5 3312:1.0 4201:1.0 6349:1.0 12 1:0.06666666666666667 15:0.029411764705882353 76:0.25 96:0.2 159:0.125 198:1.0 409:0.1 536:1.0 588:1.0 633:1.0 1653:1.0 12 14:0.5 28:0.1 37:0.5 61:1.0 76:0.25 129:0.5 389:1.0 465:1.0 1120:1.0 5865:1.0 6780:1.0 12 4:1.0 14:0.5 15:0.029411764705882353 28:0.1 37:0.5 61:1.0 218:1.0 389:1.0 465:1.0 1006:1.0 1120:1.0 3135:1.0 7354:1.0 12 1:0.13333333333333333 14:0.5 15:0.029411764705882353 18:1.0 34:1.0 37:0.5 57:0.5 60:0.03125 80:0.16666666666666666 96:0.2 129:0.5 160:0.5 200:1.0 256:0.2 258:1.0 265:0.16666666666666666 293:1.0 330:1.0 359:0.3333333333333333 438:0.5 546:0.3333333333333333 651:1.0 891:1.0 1120:1.0 1245:1.0 1604:1.0 2040:1.0 2080:1.0 12 35:0.3333333333333333 37:0.5 42:0.5 96:0.2 254:0.08333333333333333 300:0.5 359:0.3333333333333333 409:0.1 2040:1.0 2818:1.0 5790:1.0 12 1:0.06666666666666667 4:1.0 14:0.5 15:0.029411764705882353 18:1.0 35:0.3333333333333333 76:0.25 160:0.5 198:1.0 214:0.25 277:1.0 348:0.16666666666666666 438:0.5 607:0.5 920:0.5 1245:1.0 2040:1.0 4001:1.0 12 13:0.16666666666666666 14:0.5 15:0.029411764705882353 18:1.0 52:0.3333333333333333 57:0.5 60:0.03125 130:1.0 144:0.3333333333333333 198:1.0 415:1.0 439:0.5 755:0.5 946:1.0 1445:1.0 1498:1.0 1565:1.0 1859:1.0 3810:1.0 6082:1.0 12 1:0.13333333333333333 4:2.0 15:0.08823529411764706 39:0.2 60:0.09375 72:0.5 87:0.16666666666666666 90:1.0 129:0.5 149:0.5 150:1.0 151:0.5 166:0.6666666666666666 192:1.0 260:0.5 266:1.0 297:1.0 348:0.3333333333333333 361:1.0 603:0.3333333333333333 635:1.0 653:0.3333333333333333 774:1.0 1037:1.0 1076:1.0 1358:1.0 1524:1.0 1565:1.0 2267:1.0 5864:1.0 12 1:0.13333333333333333 4:1.0 6:0.3333333333333333 13:0.08333333333333333 14:0.5 15:0.029411764705882353 37:0.5 39:0.2 55:0.6 78:1.0 80:0.5 102:0.5 129:0.5 148:1.0 166:0.3333333333333333 246:0.3333333333333333 326:0.5 424:1.0 443:1.0 445:1.0 452:1.0 486:1.0 496:1.0 653:0.3333333333333333 831:1.0 946:1.0 1331:1.0 1348:1.0 1359:0.5 1497:1.0 2319:1.0 2320:1.0 2609:1.0 3714:1.0 12 1:0.13333333333333333 10:0.5 12:1.0 15:0.029411764705882353 30:1.0 34:2.0 55:0.4 61:1.0 64:0.5 79:0.1111111111111111 80:0.16666666666666666 87:0.16666666666666666 135:2.0 138:0.5 148:1.0 173:2.0 215:0.3333333333333333 253:0.5 254:0.08333333333333333 293:2.0 297:1.0 457:0.16666666666666666 487:1.0 504:1.0 992:1.0 1145:1.0 1151:1.0 1288:0.5 1427:0.5 1595:1.0 1810:1.0 1957:1.0 2167:1.0 2209:1.0 2320:1.0 2552:1.0 3783:1.0 3960:1.0 6046:1.0 7221:1.0 12 1:0.13333333333333333 4:2.0 5:0.2 14:1.0 15:0.029411764705882353 26:0.25 30:1.0 52:0.3333333333333333 57:0.5 84:1.0 108:1.0 246:0.3333333333333333 254:0.08333333333333333 256:0.4 293:1.0 348:0.16666666666666666 496:2.0 611:0.5 1044:1.0 1051:1.0 1706:1.0 2063:2.0 2206:1.0 2319:1.0 2320:1.0 3515:1.0
7f2f4ea60b47cfef097a95b59421170c60e21fd5
63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa
/test/0054.tst
35dbf526928f4d9aa4a3aa7a24713a44d6edf414
[]
no_license
fmeci/nfql-testing
e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c
6b7d465b32fa50468e3694f63c803e3630c5187d
refs/heads/master
2021-01-11T04:09:48.579127
2013-05-02T13:30:17
2013-05-02T13:30:17
71,239,280
0
0
null
2016-10-18T11:01:57
2016-10-18T11:01:55
Python
UTF-8
Scilab
false
false
309
tst
0054.tst
spLiTteR jF {} FILTEr Cf { Not BitaNd ( 5.221.255.3, O, +0., ) or NOT qGA ( 464740.3e377, 0.1, ) nOT bitANd ( ) OR 6 < t } fILtEr sEK {r Or B OR NOT t } dkO BRancH FS -> Hrv gROuper QBg {MOduLE doLFdv{ } agGREGATE sUm(AfU) as S } UnGrOUPeR uJ { } grOupFILTEr cSaR {} merGeR z { ExpOrt SrrZb }
8c1b0188185f0ab3dc94f675edc4e62dae0897dc
4f670294d6de9b3dff4c0eb15980b23d1ffaa629
/macros/montage.sci
26fd974b31217cb5b5719f6d97facd6a01869d46
[]
no_license
avinashr175/FOSSEE-Image-Processing-Toolbox
49cb1352c88f9a5c7d7e984a42e3ba4ed60b059d
ff4afb9f614c2dd401d56fa8b5ad35cf5427a5cc
refs/heads/master
2020-12-02T16:17:03.873509
2017-07-10T09:21:12
2017-07-10T09:21:12
96,529,053
0
0
null
2017-07-07T10:43:02
2017-07-07T10:43:01
null
UTF-8
Scilab
false
false
2,097
sci
montage.sci
// Copyright (C) 2015 - IIT Bombay - FOSSEE // // This file must be used under the terms of the CeCILL. // This source file is licensed as described in the file COPYING, which // you should have received as part of this distribution. The terms // are also available at // http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt // Author: Sukul Bagai , M Avinash Reddy // Organization: FOSSEE, IIT Bombay // Email: toolbox@scilab.in function [out]=montage(rows,cols,varargin) //Creates a montage of same sized input images // //Calling Sequence //out = montage(1,1,img1) //out = montage(1,2,img1,img2) //out = montage(3,1,img1,img2,img3) //out = montage(2,2,img1,img2.img3,img4) //out = montage(1,5,img1,img2,img3,img4,img5) //out = montage(3,2,img1,img2,img3,img4,img5,img6) // //Parameters //rows : number of rows in montage //cols : number of columns in montage //varargin : variable number of input images // //Description //The function creates a montage with the list of images. Montage is created row-wise with images taken in order from the list. Note that the following condition should hold true:- no_of_rows*no_of_cols >= no_of_images > (no_of_rows-1)*(no_of_cols) // //Examples //img1=imread('images/lena.jpg'); //img2=imread('images/monkey.jpeg'); //out=montage(1,2,img1,img2); //Authors // Sukul Bagai , M Avinash Reddy [lhs rhs]=argn(0) for i=1:rhs-2 varargin(i)=mattolist(varargin(i)) end if rhs==3 a=raw_montage(rows,cols,varargin(1)); elseif rhs==4 a=raw_montage(rows,cols,varargin(1),varargin(2)); elseif rhs==5 a=raw_montage(rows,cols,varargin(1),varargin(2),varargin(3)); elseif rhs==6 a=raw_montage(rows,cols,varargin(1),varargin(2),varargin(3),varargin(4)); elseif rhs==7 a=raw_montage(rows,cols,varargin(1),varargin(2),varargin(3),varargin(4),varargin(5)); elseif rhs==8 a=raw_montage(rows,cols,varargin(1),varargin(2),varargin(3),varargin(4),varargin(5),varargin(6)); end dimension=size(a) for i = 1: dimension out(:,:,i)=(a(i)); end out=double(out) endfunction;
cd7a559a859b3f82f892d8d6944f450886af773d
449d555969bfd7befe906877abab098c6e63a0e8
/48/CH4/EX4.10/eg_4_10.sce
dd61d9c745d43146f07cff45594b16a748de42c5
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
44
sce
eg_4_10.sce
clc; k=[1 1 0 1; 0 1 1 1]; karmap3(k);
4205390764d96367f70286112112dc9c9e449f1d
aff46b76a63ef72594e71ad416ae8874689839ba
/transpose
0fbbd141e34fc81df2d433d48f24457f534afd43
[]
no_license
bitz1119/scilab_code
1ad6d800661d50975219325083f1dad6232ce51b
fa8501bc0f9527e776510fc2ecf04b351f4c067f
refs/heads/master
2021-05-09T19:15:18.261766
2018-04-13T19:03:00
2018-04-13T19:03:00
118,636,227
0
1
null
2020-09-30T19:32:49
2018-01-23T16:21:04
Scilab
UTF-8
Scilab
false
false
260
transpose
clc; m = input('enter row'); n = input('enter col'); a = zeros(m,n); b = zeros(n,m); disp('enter elements'); for i = 1:m for j = 1:n a(i,j) = input(''); end end for i = 1:n for j = 1:m b(i,j) = a(j,i); end end disp(a); disp(b);
bcfc0da6682c573db17acf83ac9f2e754042f527
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.2/macros/percent/%sprs.sci
dff1b5b8f074ea60becb8bb37c3463626c294939
[ "MIT", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
61
sci
%sprs.sci
function x=%sprs(a,b) // a*b^-1 a sparse, b full x=full(a)/b
2b205b320c3cf5ba693b552346180c04ef5029c9
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects/CONT/JY25NGP/ATWM1_Working_Memory_MRI_JY25NGP/ATWM1_Working_Memory_MRI_Salient_Uncued_Run1.sce
ea26a59cccdce5b97c774b4196e20c66f6c8d7f5
[]
no_license
atwm1/Presentation
65c674180f731f050aad33beefffb9ba0caa6688
9732a004ca091b184b670c56c55f538ff6600c08
refs/heads/master
2020-04-15T14:04:41.900640
2020-02-14T16:10:11
2020-02-14T16:10:11
56,771,016
0
1
null
null
null
null
UTF-8
Scilab
false
false
12,235
sce
ATWM1_Working_Memory_MRI_Salient_Uncued_Run1.sce
# ATWM1 MRI Experiment scenario = "ATWM1_Working_Memory_MRI_salient_uncued_run1"; scenario_type = fMRI; # Fuer Scanner #scenario_type = fMRI_emulation; # Zum Testen #scenario_type = trials; scan_period = 2000; # TR pulses_per_scan = 1; pulse_code = 1; #pulse_width=6; default_monitor_sounds = false; active_buttons = 2; response_matching = simple_matching; button_codes = 10, 20; default_font_size = 28; default_font = "Arial"; default_background_color = 0 ,0 ,0 ; #write_codes=true; # for MEG only begin; #Picture definitions box { height = 300; width = 300; color = 0, 0, 0;} frame1; box { height = 290; width = 290; color = 255, 255, 255;} frame2; box { height = 30; width = 4; color = 0, 0, 0;} fix1; box { height = 4; width = 30; color = 0, 0, 0;} fix2; box { height = 30; width = 4; color = 255, 0, 0;} fix3; box { height = 4; width = 30; color = 255, 0, 0;} fix4; box { height = 290; width = 290; color = 128, 128, 128;} background; TEMPLATE "StimuliDeclaration.tem" {}; trial { sound sound_incorrect; time = 0; duration = 1; } wrong; trial { sound sound_correct; time = 0; duration = 1; } right; trial { sound sound_no_response; time = 0; duration = 1; } miss; # baselinePre (at the beginning of the session) trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; }default; time = 0; duration = 9400; mri_pulse = 1; code = "BaselinePre"; #port_code = 1; }; TEMPLATE "ATWM1_Working_Memory_MRI.tem" { trigger_volume_encoding trigger_volume_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4; 6 11 292 292 399 125 9543 2992 14342 fixation_cross gabor_167 gabor_107 gabor_147 gabor_040 gabor_167 gabor_107_alt gabor_147 gabor_040_alt "1_1_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_167_107_147_040_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_090_framed blank blank blank blank fixation_cross_white "1_1_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_090_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 20 25 292 292 399 125 9543 2992 14342 fixation_cross gabor_151 gabor_121 gabor_088 gabor_073 gabor_151 gabor_121 gabor_088_alt gabor_073_alt "1_2_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_151_121_088_073_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_088_framed gabor_circ blank blank blank blank fixation_cross_white "1_2_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_088_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 34 39 292 292 399 125 9543 2992 14342 fixation_cross gabor_142 gabor_125 gabor_164 gabor_080 gabor_142_alt gabor_125_alt gabor_164 gabor_080 "1_3_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_142_125_164_080_target_position_1_2_retrieval_position_1" gabor_003_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_3_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_003_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 48 53 292 292 399 125 9543 2992 14342 fixation_cross gabor_152 gabor_004 gabor_134 gabor_073 gabor_152 gabor_004 gabor_134_alt gabor_073_alt "1_4_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_152_004_134_073_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_134_framed gabor_circ blank blank blank blank fixation_cross_white "1_4_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_134_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 62 67 292 292 399 125 9543 2992 14342 fixation_cross gabor_033 gabor_089 gabor_003 gabor_057 gabor_033 gabor_089_alt gabor_003 gabor_057_alt "1_5_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_UncuedRetriev_300_300_399_9601_3000_14400_gabor_patch_orientation_033_089_003_057_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_140_framed gabor_circ blank blank blank blank fixation_cross_white "1_5_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_140_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 76 82 292 292 399 125 11543 2992 12342 fixation_cross gabor_134 gabor_179 gabor_025 gabor_163 gabor_134_alt gabor_179 gabor_025 gabor_163_alt "1_6_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_11601_3000_12400_gabor_patch_orientation_134_179_025_163_target_position_1_4_retrieval_position_1" gabor_134_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_6_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_134_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 90 96 292 292 399 125 11543 2992 14342 fixation_cross gabor_099 gabor_036 gabor_059 gabor_174 gabor_099_alt gabor_036_alt gabor_059 gabor_174 "1_7_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_099_036_059_174_target_position_1_2_retrieval_position_1" gabor_099_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_7_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_099_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 105 111 292 292 399 125 11543 2992 12342 fixation_cross gabor_117 gabor_073 gabor_091 gabor_046 gabor_117_alt gabor_073 gabor_091 gabor_046_alt "1_8_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_UncuedRetriev_300_300_399_11601_3000_12400_gabor_patch_orientation_117_073_091_046_target_position_1_4_retrieval_position_2" gabor_circ gabor_073_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_8_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_073_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 119 124 292 292 399 125 9543 2992 12342 fixation_cross gabor_062 gabor_125 gabor_172 gabor_098 gabor_062_alt gabor_125 gabor_172_alt gabor_098 "1_9_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_062_125_172_098_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_037_framed gabor_circ blank blank blank blank fixation_cross_white "1_9_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_037_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 132 138 292 292 399 125 11543 2992 12342 fixation_cross gabor_081 gabor_033 gabor_001 gabor_113 gabor_081_alt gabor_033 gabor_001 gabor_113_alt "1_10_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_11601_3000_12400_gabor_patch_orientation_081_033_001_113_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_113_framed blank blank blank blank fixation_cross_white "1_10_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_113_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 146 152 292 292 399 125 11543 2992 14342 fixation_cross gabor_062 gabor_106 gabor_085 gabor_018 gabor_062_alt gabor_106_alt gabor_085 gabor_018 "1_11_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_062_106_085_018_target_position_1_2_retrieval_position_2" gabor_circ gabor_152_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_11_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_152_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 161 167 292 292 399 125 11543 2992 14342 fixation_cross gabor_153 gabor_017 gabor_126 gabor_036 gabor_153 gabor_017_alt gabor_126 gabor_036_alt "1_12_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_UncuedRetriev_300_300_399_11601_3000_14400_gabor_patch_orientation_153_017_126_036_target_position_2_4_retrieval_position_1" gabor_153_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_12_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_153_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 176 181 292 292 399 125 9543 2992 12342 fixation_cross gabor_099 gabor_117 gabor_160 gabor_075 gabor_099_alt gabor_117 gabor_160 gabor_075_alt "1_13_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_099_117_160_075_target_position_1_4_retrieval_position_1" gabor_054_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_13_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_054_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 189 195 292 292 399 125 11543 2992 12342 fixation_cross gabor_119 gabor_153 gabor_170 gabor_096 gabor_119 gabor_153_alt gabor_170_alt gabor_096 "1_14_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_11601_3000_12400_gabor_patch_orientation_119_153_170_096_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_033_framed gabor_circ blank blank blank blank fixation_cross_white "1_14_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_033_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 203 208 292 292 399 125 9543 2992 12342 fixation_cross gabor_142 gabor_006 gabor_180 gabor_070 gabor_142_alt gabor_006 gabor_180_alt gabor_070 "1_15_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_142_006_180_070_target_position_1_3_retrieval_position_1" gabor_142_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_15_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_142_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; }; # baselinePost (at the end of the session) trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; }; time = 0; duration = 20600; code = "BaselinePost"; #port_code = 2; };
0a8f37010098512734b17218a131d47716df2fa1
449d555969bfd7befe906877abab098c6e63a0e8
/1958/CH12/EX12.e.5/Chapter12_example5.sce
8ace7fa46be05e064f27d0215028988d9548ee0c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
477
sce
Chapter12_example5.sce
clc clear //Input data R=[12,8,3,6]//Resistances from circuit diagram 12.17 on page no.179 in ohms V=12//Voltage in V from circuit diagram 12.17 on page no.179 //Calculations Rth=((R(3)*R(1))/(R(3)+R(1)))+((R(2)*R(4))/(R(2)+R(4)))//Equivalent resistance in ohms Vth=2.74//Thevenin voltage taken from the circuit diagram 12.19(a) on page no.179 in V //Output printf('Thevenin equivalent resistance is %3.2f ohms \n Thevenin equivalent voltage is %3.2f V',Rth,Vth)
67b7142d9674d4ff859729ac6e18e9836c98cc67
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH2/EX2.21/Ex2_21.sce
47cb9d8819fd9f95cda542be30f61193bfbde959
[]
no_license
hohiroki/Scilab_TBC
cb11e171e47a6cf15dad6594726c14443b23d512
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
refs/heads/master
2021-01-18T02:07:29.200029
2016-04-29T07:01:39
2016-04-29T07:01:39
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
414
sce
Ex2_21.sce
errcatch(-1,"stop");mode(2);//Caption:Find the speed of motor //Exa:2.21 ; ; V=250;//in volts I_L1=5;//in amperes R_a=0.2;//in ohms R_f=250;//in ohms I_f=V/R_f;//in amperes I_a1=I_L1-I_f;//in amperes I_L2=50;//in amperes I_a2=I_L2-I_f;//in amperes N_1=1000;//in rpm E_2=V-(I_a2*R_a);//in volts E_1=V-(I_a1*R_a);//in volts N_2=N_1*(E_2/E_1);//in rpm disp(N_2,'speed of motor (in rpm)=') exit();
428246d19e079fa72814fc0473b31c2ce583162f
449d555969bfd7befe906877abab098c6e63a0e8
/1367/CH9/EX9.1/9_1.sce
7bf64a72f2941e1d7aea63712ef9d67458f6410c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
203
sce
9_1.sce
//Find grain diameter //Exa:9.1 clc; clear; close ; n=2^(12-1);//astm no.=12 //1 sq inch=645mm^2 d=1/sqrt((n/645)*10^4);//grain diameter in mm disp(d,"grain diameter for ASTM no. 12 (in mm) = ");
2679bcc358cfd528ef89828b3a100d29ec2316dd
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set9/s_Engineering_Mechancis-schaum_Series_Mclean_3137.zip/Engineering_Mechancis-schaum_Series_Mclean_3137/CH19/EX19.20/Ex19_20.sce
70f4a5f83ceb3e8f63359b61c01131ace1adebed
[]
no_license
hohiroki/Scilab_TBC
cb11e171e47a6cf15dad6594726c14443b23d512
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
refs/heads/master
2021-01-18T02:07:29.200029
2016-04-29T07:01:39
2016-04-29T07:01:39
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
205
sce
Ex19_20.sce
errcatch(-1,"stop");mode(2);//Initilization of variables wn=25.4 //rad/s t=0.261 //s d=0.316 //Calculations del=d*t*wn //logarithmic decay //Result printf('The rate of decay is %f',del) exit();
a6a41ce77036b6781609a9b310e4ad594f88a434
449d555969bfd7befe906877abab098c6e63a0e8
/965/CH7/EX7.3/3.sci
e5d1ff7ffd721315f88abb934c84db3730879f2b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
462
sci
3.sci
clc; clear all; disp("velocity distribution") disp("velocity distribution : u =a+b*y+c*y^2") disp("the following boundary conditions must be satisfied:") disp("at y = 0, u= 0") disp("0 =a+0+0") disp("hence a =0") disp("at y =d, du/dy = 0") disp("b+2*c*d =0") disp("b=-2*c*d") disp(" at y = d, u = U") disp("U=b*d+c*d^2") disp("U = -2*c*d*d+c*d*d") disp("c =-U/d^2") disp("b = 2*U/d") disp("u =2*U/d*y-U*y^2/d^2") disp("u/U = 2(y/d)-(y/d)^2")
142d3414420c521287a292a82c9dd9c4b5d15b3a
449d555969bfd7befe906877abab098c6e63a0e8
/2609/CH10/EX10.2/ex_10_2.sce
e260230702b555ea2777d5d12630a11e5cbd9ebb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
214
sce
ex_10_2.sce
////Ex 10.2 clc; clear; close; format('v',9); Vsat=7;//V R1=68;//kohm R2=82;//kohm VUTP=R2*Vsat/(R1+R2);//V VLTP=R2*-Vsat/(R1+R2);//V disp(VUTP,"Upper trip point(V)"); disp(VLTP,"Lower trip point(V)");
1ef28b43c89a4ff0e37351b112626df1246a658f
48b238fc8dc60bac1853048c90b77c1c4a672900
/AND_OR_XOR_MUX_DMUX_NOT/CS16B015And.tst
95cb4ae0a4f2be4e846704861ebb3beecfd69f9d
[]
no_license
vaishalikhanve/Computer-System-Design-Lab
a1ed6d4ead37c400e271cb460c314835e025c553
e89553dadffe01c6838da23c6dd802306455c1a8
refs/heads/master
2020-12-19T04:56:16.686206
2020-01-22T17:42:51
2020-01-22T17:42:51
235,627,142
0
0
null
null
null
null
UTF-8
Scilab
false
false
277
tst
CS16B015And.tst
load CS16B015And.hdl, output-file CS16B015And.out, compare-to CS16B015And.cmp, output-list a%B3.1.3 b%B3.1.3 out%B3.1.3; set a 0, set b 0, eval, output; set a 0, set b 1, eval, output; set a 1, set b 0, eval, output; set a 1, set b 1, eval, output;
0e79cf5168476b5c5f94180f6b9c662e690bc321
881e0bcc7118244a24f736786ac36140acfb885e
/yeast/results/GAssist-ADI-C.yeast-2/result1s0.tst
1f056d5a7547d267ca336864b2abcc68ae00226a
[]
no_license
woshahua/Experiment_File
3e34e5a4a622d6d260fbdf8d5ef2711712aad9bc
6a139cd3f779373799cb926ba90d978235b0de0d
refs/heads/master
2021-01-01T06:57:13.285197
2017-07-28T08:17:38
2017-07-28T08:17:38
97,557,409
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,593
tst
result1s0.tst
@relation yeast-2 @attribute Mcg real [0.11, 1.0] @attribute Gvh real [0.13, 1.0] @attribute Alm real [0.21, 1.0] @attribute Mit real [0.0, 1.0] @attribute Erl real [0.5, 1.0] @attribute Pox real [0.0, 0.83] @attribute Vac real [0.0, 0.73] @attribute Nuc real [0.0, 1.0] @attribute Class {MIT, NUC, CYT, ME1, ME2, ME3, EXC, VAC, POX, ERL} @inputs Mcg, Gvh, Alm, Mit, Erl, Pox, Vac, Nuc @outputs Class MIT CYT CYT CYT MIT MIT MIT MIT CYT CYT MIT MIT MIT MIT ME3 ME3 MIT ME1 ME3 ME3 NUC NUC CYT NUC ME3 NUC CYT NUC CYT NUC CYT CYT CYT NUC CYT NUC CYT CYT MIT ME3 CYT CYT ME2 ME1 NUC CYT MIT MIT NUC MIT ME2 ME1 NUC NUC CYT CYT ME1 EXC CYT CYT NUC CYT NUC CYT CYT NUC NUC CYT NUC CYT NUC CYT CYT NUC NUC NUC NUC CYT NUC CYT ME3 ME3 NUC CYT MIT CYT ME3 ME3 POX CYT MIT MIT MIT MIT ME3 ME3 CYT NUC ERL ME1 NUC CYT MIT MIT ME2 ME3 CYT CYT ME3 ME3 NUC NUC EXC CYT CYT ME3 MIT MIT MIT MIT NUC NUC MIT CYT MIT MIT MIT CYT MIT MIT MIT CYT MIT CYT MIT CYT EXC CYT CYT NUC NUC NUC CYT NUC NUC NUC CYT NUC CYT CYT MIT NUC CYT CYT ME2 ME1 ME3 ME3 ME3 ME3 NUC NUC NUC NUC CYT MIT CYT CYT CYT CYT CYT CYT NUC CYT NUC CYT NUC NUC NUC ME3 CYT CYT NUC NUC NUC CYT NUC CYT NUC NUC CYT CYT CYT CYT CYT CYT CYT MIT NUC NUC NUC CYT ME3 ME3 NUC CYT ME3 ME3 NUC NUC NUC CYT NUC NUC EXC ME1 NUC NUC NUC NUC NUC NUC CYT NUC NUC CYT CYT NUC CYT NUC ME2 ME1 CYT CYT CYT CYT VAC CYT VAC ME1 VAC CYT CYT CYT ME1 ME1 ME3 ME3 ME3 CYT ME1 ME1 ME1 ME1 NUC NUC CYT NUC ME3 NUC ME3 ME3 ME3 ME3 CYT MIT POX ME1 NUC ME3 CYT CYT CYT CYT NUC CYT CYT ME3 CYT CYT CYT CYT ME3 NUC NUC NUC MIT EXC MIT EXC CYT CYT MIT CYT CYT NUC NUC CYT
f9f9bb55dd26fce80a6b67095551f86f5aa84d2a
b26cbe6bc3e201f030705aaf9eb82da94def231f
/tests/Morisita_RP-023.tst
dd954356eaef896819f638d4088e4889c3f46727
[]
no_license
RP-pbm/Recurrence-plot
f86c5cd85460661b01a609f8f4281d2cda6b4e07
b5da95f9b30c1a924a002102219bf0a2ad47df2c
refs/heads/master
2022-07-24T12:11:34.163543
2022-07-09T19:32:43
2022-07-09T19:32:43
92,934,698
0
0
null
null
null
null
UTF-8
Scilab
false
false
31
tst
Morisita_RP-023.tst
../inputs/pops-31x2-sine-04.ssv
b212147c337cd3f486aa8d7f37e42eae751d1c87
b61214213da59c049ec1a018e815f4feb95bccca
/lexers/Scilab/example_ZDT1.sce
be5b72fc09950b343f61663f121a5d56be779df8
[]
no_license
Alexey-T/lexer_tests
25ab893f928fe2ac073c153e349c140fd3bd8678
3d26a98a4f9a2ae12c4074ea90b9416d75736b83
refs/heads/master
2023-08-17T13:07:10.432096
2023-08-13T06:51:15
2023-08-13T06:51:15
74,854,492
3
1
null
null
null
null
UTF-8
Scilab
false
false
3,561
sce
example_ZDT1.sce
// Copyright 2012 Manolo Venturin, EnginSoft S.P.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Multiobjective optimization of the zdt1 function clear // ZDT1 multiobjective function function f = zdt1(x) f1 = x(1); g = 1 + 9 * sum(x(2:$)) / (length(x)-1); h = 1 - sqrt(f1 ./ g); f = [f1, g.*h]; endfunction // Min boundary function function Res = min_bd_zdt1(n) Res = zeros(n,1); endfunction // Max boundary function function Res = max_bd_zdt1(n) Res = ones(n,1); endfunction // Problem dimension dim = 2; // Example of use of the genetic algorithm funcname = 'zdt1'; PopSize = 500; Proba_cross = 0.7; Proba_mut = 0.1; NbGen = 20; NbCouples = 110; Log = %T; pressure = 0.1; // Setting paramters of optim_nsga2 function ga_params = init_param(); // Parameters to adapt to the shape of the optimization problem ga_params = add_param(ga_params,'minbound',min_bd_zdt1(dim)); ga_params = add_param(ga_params,'maxbound',max_bd_zdt1(dim)); ga_params = add_param(ga_params,'dimension',dim); ga_params = add_param(ga_params,'beta',0); ga_params = add_param(ga_params,'delta',0.1); // Parameters to fine tune the Genetic algorithm. // All these parameters are optional for continuous optimization. // If you need to adapt the GA to a special problem. ga_params = add_param(ga_params,'init_func',init_ga_default); ga_params = add_param(ga_params,'crossover_func',crossover_ga_default); ga_params = add_param(ga_params,'mutation_func',mutation_ga_default); ga_params = add_param(ga_params,'codage_func',coding_ga_identity); ga_params = add_param(ga_params,'nb_couples',NbCouples); ga_params = add_param(ga_params,'pressure',pressure); // Define s function shortcut deff('y=fobjs(x)','y = zdt1(x);'); // Performing optimization printf("Performing optimization:"); [pop_opt, fobj_pop_opt, pop_init, fobj_pop_init] = optim_nsga2(fobjs, PopSize, NbGen, Proba_mut, Proba_cross, Log, ga_params); // Compute Pareto front and filter [f_pareto,pop_pareto] = pareto_filter(fobj_pop_opt,pop_opt); // Optimal front function definition f1_opt = linspace(0,1); f2_opt = 1 - sqrt(f1_opt); // Plot solution: Pareto front scf(1); // Plotting final population plot(fobj_pop_opt(:,1),fobj_pop_opt(:,2),'g.'); // Plotting Pareto population plot(f_pareto(:,1),f_pareto(:,2),'k.'); plot(f1_opt, f2_opt, 'r-'); title("Pareto front (#NbGen="+string(NbGen)+")","fontsize",3); xlabel("$f_1$","fontsize",4); ylabel("$f_2$","fontsize",4); legend(['Final pop.','Pareto pop.','Pareto front.']); // Transform list to vector for plotting Pareto set npop = length(pop_opt); pop_opt = matrix(list2vec(pop_opt),dim,npop)'; nfpop = length(pop_pareto); pop_pareto = matrix(list2vec(pop_pareto),dim,nfpop)'; // Plot the Pareto set scf(2); // Plotting final population plot(pop_opt(:,1),pop_opt(:,2),'g.'); // Plotting Pareto population plot(pop_pareto(:,1),pop_pareto(:,2),'k.'); title("Pareto Set","fontsize",3); xlabel("$x_1$","fontsize",4); ylabel("$x_2$","fontsize",4); legend(['Final pop.','Pareto pop.']);
240e8155bb049d0ea2aed4114556a3f4d4a88c56
449d555969bfd7befe906877abab098c6e63a0e8
/698/CH14/EX14.7/P7_determination_of_power_capacity.sce
8bd12432af8b1e430e2f35e83e2b4a5a5e2b6e02
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,051
sce
P7_determination_of_power_capacity.sce
clc //Example 14.7 //To determine power capacity //------------------------------------------------------------------------------ //Given Data: //number of steel disks n1=4 //number of bronze disks n2=3 //Area of contact a=2.5*(10^-3)//m^2 //Mean radius Rf=50/1000//m //coefficient of friction f=0.25 //Axial force F=350//N //speed N=400//rpm //------------------------------------------------------------------------------ //Assuming uniform wear //total number of contacting surfaces n=n1+n2-1 //Torque T=f*F*n*Rf //Power capacity P=(2*%pi*N*T)/60 //------------------------------------------------------------------------------ //Printing result file to .txt res7=mopen(TMPDIR+'7_determination_of_power_capacity.txt','wt') mfprintf(res7,'Power capacity is %0.2f kW',P*(10^-3)) mclose(res7) editor(TMPDIR+'7_determination_of_power_capacity.txt') //------------------------------------------------------------------------------ //------------------------------End of program----------------------------------
5992009eac966ae2a8a2a0e78aa75a6c1230f053
449d555969bfd7befe906877abab098c6e63a0e8
/3850/CH25/EX25.1/Ex25_1.sce
bfde0c4e1a32dd3d3c58f9d76e8dd0ed2a4f79e0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
227
sce
Ex25_1.sce
//To calculate the kinetic energy //Example 25.1 clear; clc; m=10;//mass in kg v=36;//speed in kmph E=[1/2*m*(v*10^3/3600)^2]/4.186;//formula for finding kinetic energy printf("kinetic energy=%f cal",E);
46f9753ced27ea6b9f728fcd2c45f81898c67463
e28bd20fb430c3bdacde74d5950991850ae0ca5e
/codes/dm2.sci
b76453b44d212c389a0a6ec5c0d38b8181f5f780
[]
no_license
JohnMada/dm2vibration
7b19094335f5465a19b165fbcf76a05b63bd17da
ae69057a0a02ae5d34056e64122ff9f2484f7b86
refs/heads/master
2021-01-13T03:13:17.354990
2017-01-09T02:38:11
2017-01-09T02:38:11
77,625,158
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,553
sci
dm2.sci
function u=rvla(y0, t0, t1, Eta) // reponse en vibration libre amortie // y0: vecteur des CI // t0: temps initial, inutilise // t1: intervalle de temps de simulation // Eta: facteur d'amortissement visqueux // Retourne une matrice avec en premiere ligne le deplacement et en deuxieme ligne la vitesse c = Eta*c0 // coefficient de frottement visqueux function [Y]=fonction(t, V) // fonction a fournir a ODE pour resolution de l equation diff du second ordre regissant le systeme amorti M = [[0, 1];[-k/m, -c/m]] // matrice d iteration Y = M*V endfunction [u]=ode(y0, t0, t1, fonction); endfunction function fy = iterfsd(y) // F(y) de la methode de RK pour le cas avec frottement sec dynamique // y: vecteur colonne 2x1 : // [position //vitesse] c = eta*c0 // coefficient de frottement visqueux M = [[0, 1];[-k/m, -c/m]]; fy = M*y - sign(y(2))*[0;tc/m]; // la force de frottement statique va s'opposer a la force de rappel et est donc de meme signe que le deplacement endfunction function y=rvlfs(y0, t0, t1, ts, tc, eta) // reponse en vibration avec frottement sec // y0: vecteur des CI // t0: temps initial, inutilise // t1: intervalle de temps de simulation // ts: force maximale du frottement statique // tc: force de frottement dynamique // Utilise la méthode RK4 pour calculer l'oscillation avec frottement sec // Retourne une matrice avec en premiere ligne le deplacement et en deuxieme ligne la vitesse dt = t1(2)-t1(1); // pas de temps n = length(t1); // nombre d'itérations y = zeros(2,n); y(:,1) = y0; // debut initialisation K1 = dt*iterfsd(y0); K2 = dt*iterfsd(y0+K1/2); K3 = dt*iterfsd(y0+K2/2); K4 = dt*iterfsd(y0+K3); y(:,2) = y0 + K1/6 + K2/3 + K3/3 + K4/6; // fin initialisation for i=2:n-1 yi = y(:,i); // contient y_i et dy_i/dt K1 = dt*iterfsd(yi); K2 = dt*iterfsd(yi+K1/2); K3 = dt*iterfsd(yi+K2/2); K4 = dt*iterfsd(yi+K3); y(:,i+1) = yi + K1/6 + K2/3 + K3/3 + K4/6; if (yi(2)*y(2,i+1)<= 0) // vitesse nulle (ie traverse l'axe des abscisses) if k*abs(yi(1)) < ts // frottement statique // K1 = dt*iterfss(yi); // K2 = dt*iterfss(yi+K1/2); // K3 = dt*iterfss(yi+K2/2); // K4 = dt*iterfss(yi+K3); y(:,i+1) = [yi(1);0]; // arret du mouvement end end end endfunction
e6138afef05cc9c6576d2485aa50205b5a8199ff
449d555969bfd7befe906877abab098c6e63a0e8
/3830/CH1/EX1.25/Ex1_25.sce
e853a0eadc696e57507374b335bb1721bd1bc2aa
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
362
sce
Ex1_25.sce
// Exa 1.25 clc; clear; // Given // A 0-250 range milliAmmeter Er = 2; // Percentage accuracy of Ammeter in terms of FSR I = 150; // Measurement of Ammeter in mA Ifsr = 250; // Full scale reading of milliAmmeter (mA) // Solution dV = Er/100 * Ifsr; // Error in FSR reading Lr = 100*dV/I; printf('The limiting error = %.2f percent \n',Lr);
6b9aed2091508945c30e6d0349022ef69320df0f
194d4cafa290b2fdf3aa87e18ddadcfff70a70d8
/cAQUE3.sci
10145d9614d7e66d1b9d3d4d25b56c6bb84e8856
[]
no_license
KomalT/tryout60
cc43d4a5d96b5525e691a907c7ad8c7e61004a3c
ef4cc3e641a77c2cea565035cf033536d91e29ea
refs/heads/master
2016-08-12T19:05:56.548794
2016-05-02T06:15:37
2016-05-02T06:15:37
55,436,025
0
0
null
null
null
null
UTF-8
Scilab
false
false
156
sci
cAQUE3.sci
clc;clear; //cA Vs t (que 3) function f=cA(x) f=(2+.6*x.^1.6)./(1+.5*x.^.7); endfunction x=.2:.1:1 y=intsplin(x,cA(x)) disp(y) //plot(x,cA(x))
ffaa9aecac29a7af888c58efd6100c56cf3fcfe3
449d555969bfd7befe906877abab098c6e63a0e8
/3472/CH10/EX10.23/Example10_23.sce
0b30e0564e4cf541e0d78ef05cba3196e460095b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,387
sce
Example10_23.sce
// A Texbook on POWER SYSTEM ENGINEERING // A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar // DHANPAT RAI & Co. // SECOND EDITION // PART II : TRANSMISSION AND DISTRIBUTION // CHAPTER 3: STEADY STATE CHARACTERISTICS AND PERFORMANCE OF TRANSMISSION LINES // EXAMPLE : 3.23 : // Page number 156 clear ; clc ; close ; // Clear the work space and console // Given data A_1 = 0.98*exp(%i*2.0*%pi/180) // Constant of 1st line B_1 = 28.0*exp(%i*69.0*%pi/180) // Constant of 1st line(ohms) C_1 = 0.0002*exp(%i*88.0*%pi/180) // Constant of 1st line(mho) D_1 = A_1 // Constant of 1st line A_2 = 0.95*exp(%i*3.0*%pi/180) // Constant of 2nd line B_2 = 40.0*exp(%i*85.0*%pi/180) // Constant of 2nd line(ohms) C_2 = 0.0004*exp(%i*90.0*%pi/180) // Constant of 2nd line(mho) D_2 = A_2 // Constant of 2nd line // Calculations A = A_1*A_2+B_1*C_2 // Constant B = A_1*B_2+B_1*D_2 // Constant(ohm) C = C_1*A_2+D_1*C_2 // Constant(mho) D = C_1*B_2+D_1*D_2 // Constant // Results disp("PART II - EXAMPLE : 3.23 : SOLUTION :-") printf("\nA = %.3f∠%.1f° ", abs(A),phasemag(A)) printf("\nB = %.1f∠%.f° ohm", abs(B),phasemag(B)) printf("\nC = %.6f∠%.1f° mho", abs(C),phasemag(C)) printf("\nD = %.3f∠%.1f° ", abs(D),phasemag(D))
0beb6e6d10e61be9b34195df7650dae895acff25
089894a36ef33cb3d0f697541716c9b6cd8dcc43
/NLP_Project/test/tweet/bow/bow.13_10.tst
ec4b7c1e548bbc547086a849d21082b7c7dcc14b
[]
no_license
mandar15/NLP_Project
3142cda82d49ba0ea30b580c46bdd0e0348fe3ec
1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2
refs/heads/master
2020-05-20T13:36:05.842840
2013-07-31T06:53:59
2013-07-31T06:53:59
6,534,406
0
1
null
null
null
null
UTF-8
Scilab
false
false
15,143
tst
bow.13_10.tst
13 26:0.5 39:0.16666666666666666 59:0.1 72:0.5 114:0.08333333333333333 233:0.3333333333333333 366:0.5 457:0.3333333333333333 526:0.25 1418:0.25 1477:2.0 1496:1.0 1521:1.0 2057:1.0 2461:0.3333333333333333 13 14:0.3333333333333333 41:1.0 64:0.1 91:0.0625 114:0.08333333333333333 230:0.3333333333333333 291:0.3333333333333333 594:0.3333333333333333 610:0.3333333333333333 1386:0.14285714285714285 1537:0.3333333333333333 2177:1.0 3108:1.0 13 38:0.3333333333333333 59:0.1 62:0.25 237:0.14285714285714285 273:1.0 824:1.0 976:0.5 1386:0.2857142857142857 1417:1.0 1524:1.0 1968:1.0 2245:1.0 2537:1.0 2572:0.5 3021:1.0 3113:1.0 3115:1.0 13 14:0.3333333333333333 38:0.3333333333333333 234:1.0 237:0.14285714285714285 273:1.0 448:0.14285714285714285 503:0.06666666666666667 1049:1.0 1946:1.0 13 8:0.3333333333333333 34:0.3333333333333333 38:0.6666666666666666 100:1.0 113:0.5 209:0.5 530:1.0 695:0.3333333333333333 987:1.0 1121:1.0 1524:1.0 1716:1.0 2323:0.16666666666666666 2461:0.3333333333333333 2572:0.5 13 39:0.16666666666666666 75:1.0 503:0.06666666666666667 526:0.25 602:0.5 1475:0.3333333333333333 1548:0.2 1716:1.0 1925:1.0 2323:0.16666666666666666 13 23:0.16666666666666666 39:0.16666666666666666 72:0.5 95:0.1111111111111111 120:0.1 142:1.0 188:1.0 284:1.0 386:0.5 487:2.0 824:2.0 1418:0.25 1496:1.0 1716:1.0 2323:0.16666666666666666 2461:0.3333333333333333 2604:1.0 3047:1.0 13 8:0.6666666666666666 18:1.0 38:0.3333333333333333 59:0.1 91:0.0625 239:1.0 290:1.0 1393:0.125 1477:1.0 1537:0.3333333333333333 1612:1.0 1716:1.0 2056:1.0 2323:0.16666666666666666 13 4:0.5 30:1.0 56:0.02857142857142857 62:0.25 91:0.0625 148:1.0 156:0.5 180:1.0 270:1.0 472:0.5 487:1.0 526:0.5 652:1.0 824:1.0 1485:2.0 1524:1.0 1525:1.0 1792:1.0 1975:1.0 2461:0.3333333333333333 2518:1.0 2605:1.0 3049:2.0 13 8:0.3333333333333333 23:0.16666666666666666 36:0.16666666666666666 46:0.14285714285714285 62:0.25 95:0.1111111111111111 120:0.1 142:1.0 144:0.5 216:0.5 366:0.5 423:0.5 1481:1.0 1660:0.5 1968:1.0 13 5:1.0 23:0.16666666666666666 38:0.3333333333333333 91:0.0625 191:0.1111111111111111 238:0.16666666666666666 241:1.0 290:1.0 640:1.0 778:1.0 1537:0.3333333333333333 1587:1.0 1588:1.0 1622:1.0 1762:1.0 1949:0.3333333333333333 3097:1.0 13 39:0.16666666666666666 448:0.14285714285714285 824:1.0 1412:0.16666666666666666 1418:0.25 1548:0.2 1629:1.0 2041:1.0 2123:1.0 2711:1.0 2714:1.0 2856:1.0 13 1716:1.0 1802:1.0 2323:0.16666666666666666 13 14:0.3333333333333333 39:0.16666666666666666 291:0.3333333333333333 1716:1.0 1858:1.0 2323:0.16666666666666666 13 5:1.5 15:1.0 20:1.0 48:2.0 75:1.0 94:0.3333333333333333 191:0.1111111111111111 196:0.5 216:0.5 239:1.0 291:0.3333333333333333 331:1.0 366:0.5 448:0.2857142857142857 526:0.5 532:1.0 778:1.0 817:1.0 1716:1.0 1949:0.3333333333333333 2218:1.0 2323:0.16666666666666666 13 5:0.5 8:0.3333333333333333 48:1.0 120:0.1 291:0.3333333333333333 671:0.5 1209:1.0 1537:0.3333333333333333 1609:1.0 1716:1.0 1927:1.0 2323:0.16666666666666666 2561:1.0 13 18:1.0 30:4.0 103:0.5 120:0.1 252:0.5 268:1.0 284:3.0 365:3.0 487:1.0 503:0.06666666666666667 530:1.0 751:1.0 987:1.0 1416:1.0 1418:0.25 1456:1.0 1496:1.0 1536:1.0 1667:0.3333333333333333 2031:1.0 2066:1.0 2375:0.5 2759:1.0 13 18:1.0 23:0.16666666666666666 38:0.3333333333333333 1716:1.0 1855:1.0 1856:1.0 2161:1.0 2323:0.16666666666666666 13 23:0.3333333333333333 36:0.16666666666666666 38:0.3333333333333333 42:1.0 59:0.1 62:0.25 91:0.0625 95:0.1111111111111111 142:1.0 197:1.0 290:2.0 423:0.5 526:0.5 695:0.3333333333333333 1349:0.5 1660:0.5 1716:1.0 2323:0.16666666666666666 2338:0.3333333333333333 2901:1.0 13 8:0.3333333333333333 26:0.5 30:1.0 38:0.3333333333333333 46:0.14285714285714285 59:0.1 64:0.1 135:0.1 448:0.14285714285714285 526:0.25 836:1.0 1365:1.0 1386:0.14285714285714285 1471:0.5 1716:1.0 2323:0.16666666666666666 3107:1.0 13 36:0.16666666666666666 46:0.14285714285714285 59:0.1 120:0.1 339:1.0 366:0.5 1648:1.0 13 3:1.0 290:1.0 291:0.3333333333333333 330:1.0 660:1.0 836:1.0 1245:1.0 1386:0.14285714285714285 2323:0.16666666666666666 13 5:0.5 38:0.3333333333333333 51:1.0 230:0.3333333333333333 270:1.0 473:0.5 1386:0.14285714285714285 1412:0.16666666666666666 1716:1.0 2123:1.0 2323:0.16666666666666666 13 59:0.1 120:0.1 130:0.5 188:1.0 526:0.25 1386:0.14285714285714285 1412:0.16666666666666666 1716:1.0 2323:0.16666666666666666 13 230:0.3333333333333333 291:0.3333333333333333 503:0.06666666666666667 526:0.25 1386:0.14285714285714285 1412:0.16666666666666666 1716:1.0 2323:0.16666666666666666 13 30:1.0 113:0.5 114:0.08333333333333333 144:0.5 216:0.5 252:0.5 291:0.3333333333333333 448:0.14285714285714285 1386:0.2857142857142857 1716:1.0 2323:0.16666666666666666 2375:0.5 13 72:0.5 75:1.0 94:0.3333333333333333 460:1.0 526:0.25 1386:0.14285714285714285 1716:1.0 1860:1.0 2097:1.0 2323:0.16666666666666666 13 23:0.16666666666666666 36:0.16666666666666666 39:0.16666666666666666 48:2.0 91:0.0625 229:1.0 390:0.16666666666666666 526:0.5 815:2.0 845:0.5 1081:0.3333333333333333 1496:1.0 1521:1.0 1549:1.0 1624:1.0 1716:1.0 1802:1.0 2714:2.0 13 26:0.5 36:0.16666666666666666 39:0.16666666666666666 46:0.14285714285714285 66:0.07142857142857142 91:0.0625 94:0.3333333333333333 114:0.16666666666666666 199:0.2 450:1.0 1081:0.3333333333333333 1155:1.0 1466:0.16666666666666666 1860:1.0 2452:1.0 2560:1.0 2594:1.0 13 5:0.5 39:0.16666666666666666 55:1.0 64:0.1 72:0.5 252:0.5 256:1.0 268:1.0 291:0.3333333333333333 366:0.5 473:0.5 526:0.5 531:1.0 817:1.0 881:1.0 1418:0.25 1457:1.0 1477:2.0 1573:1.0 2560:1.0 2574:1.0 13 5:0.5 8:0.3333333333333333 14:0.3333333333333333 48:1.0 125:0.07692307692307693 146:1.0 291:0.3333333333333333 320:0.5 448:0.14285714285714285 526:0.25 1213:1.0 2572:0.5 13 5:0.5 8:0.3333333333333333 38:0.3333333333333333 39:0.3333333333333333 43:0.5 56:0.02857142857142857 62:0.25 82:1.0 120:0.1 125:0.07692307692307693 156:0.5 230:0.3333333333333333 268:1.0 290:1.0 291:0.3333333333333333 365:1.0 366:0.5 526:0.5 1430:2.0 1561:0.3333333333333333 1792:1.0 1852:1.0 2097:1.0 2242:1.0 2360:1.0 13 10:0.2 23:0.16666666666666666 38:0.3333333333333333 39:0.16666666666666666 70:1.0 91:0.0625 284:1.0 398:0.5 1371:1.0 1415:1.0 13 18:1.0 23:0.16666666666666666 26:0.5 48:1.0 56:0.02857142857142857 59:0.3 62:0.25 95:0.1111111111111111 102:0.3333333333333333 114:0.08333333333333333 274:1.0 301:1.0 390:0.16666666666666666 453:0.5 526:0.25 536:0.5 663:1.0 1361:1.0 13 22:0.1111111111111111 23:0.16666666666666666 39:0.5 48:1.0 59:0.2 64:0.1 66:0.07142857142857142 74:0.5 95:0.1111111111111111 120:0.2 135:0.1 142:1.0 145:1.0 211:1.0 284:1.0 390:0.16666666666666666 526:0.75 626:1.0 751:1.0 854:1.0 894:1.0 1012:0.5 1123:1.0 1537:0.3333333333333333 2680:1.0 13 8:0.3333333333333333 36:0.16666666666666666 64:0.1 95:0.1111111111111111 120:0.1 142:1.0 209:0.25 390:0.16666666666666666 526:0.25 987:1.0 1475:0.3333333333333333 1548:0.2 1716:1.0 2572:0.5 13 18:1.0 30:1.0 48:1.0 59:0.1 120:0.1 135:0.1 146:1.0 156:0.5 258:0.5 284:1.0 369:1.0 372:1.0 526:0.5 1537:0.3333333333333333 2940:1.0 13 5:0.5 38:0.3333333333333333 91:0.0625 191:0.1111111111111111 290:1.0 612:1.0 778:1.0 1537:0.3333333333333333 1587:1.0 1588:1.0 1762:1.0 1949:0.3333333333333333 1972:1.0 3097:1.0 13 8:0.3333333333333333 14:0.3333333333333333 26:0.5 38:0.6666666666666666 59:0.2 62:0.25 91:0.0625 114:0.08333333333333333 201:0.3333333333333333 230:0.3333333333333333 460:1.0 534:1.0 846:1.0 967:1.0 1536:1.0 1689:1.0 1953:1.0 2427:1.0 2572:0.5 13 5:0.5 39:0.3333333333333333 48:1.0 526:0.25 594:0.3333333333333333 1158:2.0 1493:1.0 1529:0.5 13 39:0.16666666666666666 62:0.25 135:0.1 284:1.0 297:1.0 526:0.25 1716:1.0 2435:1.0 13 23:0.16666666666666666 91:0.125 503:0.06666666666666667 1041:1.0 1490:0.16666666666666666 2206:1.0 2572:0.5 13 1447:1.0 13 23:0.16666666666666666 56:0.02857142857142857 1418:0.25 2572:0.5 2680:1.0 13 56:0.02857142857142857 1471:0.5 1536:1.0 2572:0.5 13 59:0.1 64:0.1 102:0.3333333333333333 503:0.06666666666666667 552:1.0 692:1.0 1412:0.16666666666666666 1418:0.25 1526:1.0 1573:1.0 1624:1.0 1893:1.0 2572:0.5 13 4:0.5 23:0.3333333333333333 48:1.0 196:0.5 220:1.0 248:1.0 323:0.2 563:1.0 1050:1.0 1386:0.14285714285714285 1410:0.16666666666666666 1524:1.0 1558:1.0 1850:0.25 13 18:1.0 46:0.14285714285714285 72:0.5 172:0.5 487:1.0 831:1.0 1271:0.3333333333333333 1490:0.16666666666666666 1616:1.0 2572:0.5 13 5:0.5 18:1.0 56:0.02857142857142857 59:0.1 90:0.5 199:0.2 1074:1.0 1081:0.3333333333333333 1405:1.0 1726:0.5 13 5:0.5 23:0.16666666666666666 30:1.0 120:0.1 366:0.5 1412:0.16666666666666666 2269:1.0 2989:1.0 13 39:0.16666666666666666 268:1.0 3086:1.0 13 26:0.5 38:0.3333333333333333 39:0.16666666666666666 91:0.0625 290:1.0 503:0.06666666666666667 845:0.5 1393:0.125 13 23:0.16666666666666666 38:0.3333333333333333 48:1.0 113:0.5 526:0.5 1349:0.5 1414:1.0 1624:1.0 1667:0.3333333333333333 2572:0.5 2979:1.0 13 8:0.6666666666666666 23:0.16666666666666666 38:0.3333333333333333 46:0.14285714285714285 59:0.1 85:0.1 90:0.5 120:0.1 155:0.25 339:1.0 365:1.0 824:1.0 1349:0.5 1681:1.0 1797:1.0 2318:1.0 2572:0.5 13 5:1.0 8:0.6666666666666666 23:0.16666666666666666 38:0.6666666666666666 66:0.07142857142857142 103:0.5 144:0.5 230:0.3333333333333333 241:1.0 526:0.5 779:1.0 839:0.5 1178:1.0 1349:0.5 1414:1.0 1415:1.0 1418:0.25 1548:0.2 1680:1.0 13 23:0.16666666666666666 114:0.08333333333333333 156:0.5 237:0.14285714285714285 510:1.0 526:0.25 1230:1.0 2072:1.0 2242:1.0 2337:1.0 2767:1.0 3037:1.0 13 10:0.2 38:0.3333333333333333 39:0.16666666666666666 324:1.0 1470:0.5 2150:1.0 2946:1.0 13 8:0.3333333333333333 38:0.3333333333333333 472:0.5 503:0.06666666666666667 1548:0.2 1681:1.0 1716:1.0 1919:1.0 2158:1.0 2572:0.5 13 120:0.1 366:0.5 526:0.25 1269:1.0 1525:1.0 1573:2.0 2381:1.0 13 22:0.1111111111111111 38:0.3333333333333333 39:0.16666666666666666 56:0.02857142857142857 59:0.1 147:1.0 199:0.2 244:1.0 366:0.5 510:1.0 526:0.75 826:1.0 1475:0.3333333333333333 1516:1.0 1529:0.5 1548:0.2 2461:0.3333333333333333 13 26:0.5 120:0.1 253:1.0 526:0.25 1412:0.16666666666666666 1418:0.25 1475:0.3333333333333333 1548:0.2 2714:1.0 13 8:0.3333333333333333 14:0.3333333333333333 102:0.3333333333333333 237:0.14285714285714285 526:0.25 665:1.0 1386:0.14285714285714285 1401:1.0 1548:0.2 2762:1.0 3115:1.0 13 64:0.1 268:2.0 365:1.0 526:0.25 1418:0.25 1496:1.0 1982:1.0 2379:1.0 3111:1.0 3112:1.0 13 8:0.3333333333333333 36:0.16666666666666666 270:1.0 1667:0.3333333333333333 1716:1.0 13 5:0.5 8:0.6666666666666666 59:0.1 147:1.0 498:1.0 526:0.75 667:1.0 779:1.0 1349:0.5 1841:1.0 2318:1.0 2583:0.5 2668:1.0 13 18:1.0 38:0.6666666666666666 39:0.16666666666666666 46:0.14285714285714285 146:1.0 191:0.1111111111111111 268:1.0 320:0.5 324:1.0 386:0.5 445:1.0 526:0.25 536:0.5 611:1.0 1434:1.0 1457:1.0 2168:1.0 13 18:1.0 22:0.1111111111111111 23:0.16666666666666666 26:0.5 39:0.16666666666666666 48:1.0 59:0.4 62:0.25 67:2.0 69:0.2 120:0.1 156:0.5 301:1.0 397:0.3333333333333333 453:0.5 510:1.0 526:0.25 539:1.0 563:1.0 846:1.0 1388:1.0 1716:1.0 2144:1.0 13 23:0.16666666666666666 91:0.0625 95:0.1111111111111111 144:0.5 282:1.0 869:0.5 1412:0.16666666666666666 1682:1.0 3043:1.0 13 18:1.0 39:0.16666666666666666 91:0.0625 95:0.1111111111111111 142:1.0 146:1.0 209:0.25 291:0.3333333333333333 320:0.5 453:0.5 954:0.5 1302:1.0 1386:0.2857142857142857 1569:0.5 1716:1.0 2842:1.0 13 8:0.3333333333333333 18:1.0 38:0.3333333333333333 198:0.5 291:0.3333333333333333 1349:0.5 1386:0.14285714285714285 1466:0.16666666666666666 1477:1.0 1716:1.0 1953:1.0 1977:1.0 13 18:1.0 39:0.16666666666666666 64:0.1 72:0.5 135:0.1 156:0.5 284:1.0 291:0.3333333333333333 526:0.25 987:1.0 1681:1.0 1734:1.0 2224:1.0 2323:0.16666666666666666 2371:1.0 2572:0.5 13 39:0.16666666666666666 48:1.0 270:1.0 961:1.0 962:1.0 1475:0.3333333333333333 1716:1.0 1855:1.0 13 14:0.3333333333333333 39:0.3333333333333333 75:1.0 291:0.3333333333333333 987:1.0 1681:1.0 1682:1.0 1914:1.0 1935:1.0 2242:1.0 2572:0.5 13 23:0.16666666666666666 36:0.16666666666666666 56:0.02857142857142857 111:1.0 191:0.1111111111111111 209:0.25 216:0.5 397:0.3333333333333333 473:0.5 815:1.0 1481:1.0 1490:0.16666666666666666 1524:1.0 1716:1.0 1850:0.25 13 919:1.0 1097:1.0 13 59:0.1 495:1.0 767:1.0 799:1.0 1412:0.16666666666666666 2031:1.0 2493:1.0 2857:1.0 13 23:0.16666666666666666 26:0.5 39:0.16666666666666666 102:0.3333333333333333 413:1.0 839:0.5 1850:0.25 1881:0.5 2154:1.0 2163:1.0 2608:1.0 2854:1.0 13 5:0.5 120:0.1 282:1.0 413:1.0 1412:0.16666666666666666 13 8:0.3333333333333333 75:1.0 85:0.1 113:0.5 156:0.5 323:0.4 987:1.0 1518:1.0 1653:1.0 1654:0.5 1718:0.3333333333333333 2669:1.0 13 22:0.1111111111111111 38:0.3333333333333333 59:0.1 700:0.5 1536:1.0 1777:1.0 13 14:0.3333333333333333 39:0.16666666666666666 59:0.1 62:0.25 64:0.1 839:0.5 1008:1.0 1457:1.0 1477:1.0 1919:1.0 2901:1.0 13 8:0.3333333333333333 14:0.3333333333333333 23:0.16666666666666666 38:0.3333333333333333 59:0.1 62:0.25 64:0.1 130:0.5 170:1.0 230:0.3333333333333333 237:0.14285714285714285 526:0.25 839:0.5 939:1.0 1412:0.16666666666666666 1466:0.16666666666666666 1475:0.3333333333333333 1536:1.0 1714:1.0 1850:0.25 1919:1.0 2328:1.0 2668:1.0 3109:1.0 13 23:0.16666666666666666 36:0.16666666666666666 38:0.6666666666666666 64:0.1 90:1.0 91:0.125 94:0.3333333333333333 125:0.07692307692307693 199:0.2 221:0.5 237:0.14285714285714285 417:1.0 448:0.14285714285714285 460:1.0 503:0.06666666666666667 602:0.5 671:0.5 740:1.0 845:0.5 1681:1.0 1797:1.0 1855:1.0 2285:1.0 13 18:1.0 48:1.0 205:0.3333333333333333 320:0.5 1412:0.16666666666666666 1475:0.3333333333333333 1529:0.5 1548:0.2 13 39:0.16666666666666666 48:1.0 390:0.16666666666666666 1366:1.0 1548:0.2 1640:1.0 1642:1.0 2485:1.0 13 5:0.5 8:0.3333333333333333 30:1.0 366:0.5 376:0.5 526:0.25 815:1.0 1386:0.2857142857142857 2441:1.0 2752:1.0 13 5:0.5 100:1.0 156:0.5 241:1.0 397:0.3333333333333333 1448:1.0 13 72:0.5 353:0.1111111111111111 845:0.5 1386:0.14285714285714285 1885:1.0 13 82:1.0 1848:1.0 2519:1.0 13 8:0.3333333333333333 23:0.16666666666666666 36:0.16666666666666666 38:0.3333333333333333 86:1.0 156:0.5 230:0.3333333333333333 526:0.25 1386:0.14285714285714285 1574:1.0 1612:1.0 1717:1.0 2375:0.5 13 39:0.16666666666666666 544:1.0 1177:1.0 1414:1.0 1425:1.0 13 5:1.0 10:0.2 38:0.3333333333333333 56:0.02857142857142857 366:0.5 571:0.3333333333333333 1389:2.0 1773:1.0 13 14:0.3333333333333333 46:0.14285714285714285 48:1.0 56:0.02857142857142857 113:0.5 845:0.5 1089:1.0 1386:0.14285714285714285 1417:1.0 1419:1.0 1624:1.0 2220:1.0 13 113:0.5 216:0.5 358:1.0 423:0.5 839:0.5 1893:1.0 2041:1.0 2219:1.0 13 73:0.25 113:0.5 216:0.5 358:1.0 423:0.5 526:0.25 839:0.5 1227:1.0 1832:1.0 1893:1.0 13 14:0.3333333333333333 38:0.3333333333333333 1386:0.14285714285714285 1477:1.0 1620:1.0 1667:0.3333333333333333 1782:1.0 13 38:0.3333333333333333 72:0.5 290:1.0 1386:0.14285714285714285 1393:0.125 13 4:0.5 5:0.5 38:0.3333333333333333 39:0.16666666666666666 62:0.25 114:0.08333333333333333 125:0.07692307692307693 209:0.25 239:1.0 270:1.0 397:0.3333333333333333 503:0.06666666666666667 530:1.0 745:1.0 977:1.0 1221:1.0 1414:1.0 1415:1.0 1430:1.0 1436:1.0 1437:1.0 1569:0.5 2056:1.0 13 5:0.5 39:0.16666666666666666 48:1.0 397:0.3333333333333333 1418:0.25 1448:1.0
7f3b8241a6b6828bd080d00c0ed1180aebfbf06a
36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd
/Scout 1v1 Dave_.sce
717031eda6f32defe18db6f6f2fa1bd11292e2c2
[]
no_license
Ahmad6543/Scenarios
cef76bf19d46e86249a6099c01928e4e33db5f20
6a4563d241e61a62020f76796762df5ae8817cc8
refs/heads/master
2023-03-18T23:30:49.653812
2020-09-23T06:26:05
2020-09-23T06:26:05
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
28,689
sce
Scout 1v1 Dave_.sce
Name=Scout 1v1 Dave_ PlayerCharacters=Scout BotCharacters=Scout.bot IsChallenge=true Timelimit=30.0 PlayerProfile=Scout AddedBots=Scout.bot PlayerMaxLives=0 BotMaxLives=0 PlayerTeam=1 BotTeams=2 MapName=kovaim1.map MapScale=1.0 BlockProjectilePredictors=false BlockCheats=true InvinciblePlayer=false InvincibleBots=false Timescale=1.0 BlockHealthbars=false TimeRefilledByKill=3.0 ScoreToWin=1000.0 ScorePerDamage=1.0 ScorePerKill=0.0 ScorePerMidairDirect=0.0 ScorePerAnyDirect=0.0 ScorePerTime=0.0 ScoreLossPerDamageTaken=0.5 ScoreLossPerDeath=0.0 ScoreLossPerMidairDirected=0.0 ScoreLossPerAnyDirected=0.0 ScoreMultAccuracy=false ScoreMultDamageEfficiency=false ScoreMultKillEfficiency=false GameTag=Team Fortress 2, TF2 WeaponHeroTag=Scout DifficultyTag=4 AuthorsTag=1337Noooob, Dave_ BlockHitMarkers=false BlockHitSounds=false BlockMissSounds=true BlockFCT=false Description=Duel vs. a Scout bot in close quarters GameVersion=1.0.5 [Aim Profile] Name=High Skill MinReactionTime=0.25 MaxReactionTime=0.35 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=10.0 TrackSpeed=5.0 TrackError=2.0 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=35.0 ShootFOV=15.0 VerticalAimOffset=0.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Aim Profile] Name=Default MinReactionTime=0.3 MaxReactionTime=0.4 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=15.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=40.0 ShootFOV=15.0 VerticalAimOffset=0.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Bot Profile] Name=Scout DodgeProfileNames=Short Strafes Close;Long Strafes Close;Mimic;ADAD DodgeProfileWeights=3.0;3.0;1.0;1.0 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=0.8;0.2;0.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=High Skill;High Skill;Default;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=true CharacterProfile=Scout SeeThroughWalls=false [Character Profile] Name=Scout MaxHealth=125.0 WeaponProfileNames=Scattergun;TF2 Pistol;LG QC;;;;; MinRespawnDelay=1.0 MaxRespawnDelay=5.0 StepUpHeight=16.0 CrouchHeightModifier=0.5 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=8.0 MovementType=Base MaxSpeed=400.0 MaxCrouchSpeed=133.0 Acceleration=3000.0 AirAcceleration=16000.0 Friction=8.0 BrakingFrictionFactor=2.0 JumpVelocity=270.0 Gravity=1.0 AirControl=0.5 CanCrouch=true CanPogoJump=false CanCrouchInAir=true CanJumpFromCrouch=false EnemyBodyColor=X=255.000 Y=0.000 Z=0.000 EnemyHeadColor=X=255.000 Y=255.000 Z=255.000 TeamBodyColor=X=0.000 Y=0.000 Z=255.000 TeamHeadColor=X=255.000 Y=255.000 Z=255.000 BlockSelfDamage=false InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=false AirJumpCount=1 AirJumpVelocity=270.0 MainBBType=Cylindrical MainBBHeight=65.0 MainBBRadius=10.0 MainBBHasHead=true MainBBHeadRadius=8.0 MainBBHeadOffset=-8.0 MainBBHide=false ProjBBType=Cylindrical ProjBBHeight=65.0 ProjBBRadius=10.0 ProjBBHasHead=true ProjBBHeadRadius=8.0 ProjBBHeadOffset=-8.0 ProjBBHide=true HasJetpack=false JetpackActivationDelay=0.2 JetpackFullFuelTime=4.0 JetpackFuelIncPerSec=1.0 JetpackFuelRegensInAir=false JetpackThrust=6000.0 JetpackMaxZVelocity=400.0 JetpackAirControlWithThrust=0.25 AbilityProfileNames=;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=0.9 RespawnInvulnTime=0.0 BlockedSpawnRadius=0.0 BlockSpawnFOV=0.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.5 AllowBufferedJumps=true BounceOffWalls=false LeanAngle=0.0 LeanDisplacement=0.0 AirJumpExtraControl=1.0 ForwardSpeedBias=1.0 HealthRegainedonkill=0.0 HealthRegenPerSec=0.0 HealthRegenDelay=0.0 JumpSpeedPenaltyDuration=0.0 JumpSpeedPenaltyPercent=0.0 [Dodge Profile] Name=Short Strafes Close MaxTargetDistance=500.0 MinTargetDistance=100.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.2 MaxLRTimeChange=0.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.1 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.1 MaxJumpTime=0.3 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=Long Strafes Close MaxTargetDistance=500.0 MinTargetDistance=100.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.5 MaxLRTimeChange=1.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.1 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.1 MaxJumpTime=0.3 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=Mimic MaxTargetDistance=1245.901611 MinTargetDistance=373.770477 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.2 MaxLRTimeChange=0.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.5 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Mimic TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=ADAD MaxTargetDistance=2500.0 MinTargetDistance=750.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.2 MaxLRTimeChange=0.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.16 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.1 MaxCrouchTime=0.2 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Weapon Profile] Name=Scattergun Type=Hitscan ShotsPerClick=10 DamagePerShot=10.5 KnockbackFactor=1.0 TimeBetweenShots=0.625 Pierces=false Category=FullyAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=false HeadshotMultiplier=2.0 MagazineMax=666 AmmoPerShot=1 ReloadTimeFromEmpty=2.0 ReloadTimeFromPartial=2.0 DamageFalloffStartDistance=0.1 DamageFalloffStopDistance=1024.0 DamageAtMaxRange=3.0 DelayBeforeShot=0.0 HitscanVisualEffect=None ProjectileGraphic=Ball VisualLifetime=0.1 WallParticleEffect=None HitParticleEffect=None BounceOffWorld=false BounceFactor=0.5 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.7 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=0.8 RecoilNegatable=false DecalType=1 DecalSize=3.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=300.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=false AimPunchAmount=0.0 AimPunchResetTime=0.2 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=false MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=6 CancelReloadOnKill=false FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=103.0 ADSFOVScale=Clamped Horizontal ADSAllowUserOverrideFOV=false Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=100.0 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=false DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=false DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=0.0 BlockedByWorld=false SpreadSSA=0.0,0.1,0.0,0.0 SpreadSCA=0.0,0.1,0.0,0.0 SpreadMSA=0.0,0.1,0.0,0.0 SpreadMCA=0.0,0.1,0.0,0.0 SpreadSSH=0.0,0.1,0.0,0.0 SpreadSCH=0.0,0.1,0.0,0.0 SpreadMSH=0.0,0.1,0.0,0.0 SpreadMCH=0.0,0.1,0.0,0.0 MaxRecoilUp=4.0 MinRecoilUp=4.0 MinRecoilHoriz=0.0 MaxRecoilHoriz=0.0 FirstShotRecoilMult=1.0 RecoilAutoReset=true TimeToRecoilPeak=0.05 TimeToRecoilReset=0.35 AAMode=0 AAPreferClosestPlayer=true AAAlpha=0.05 AAMaxSpeed=1.0 AADeadZone=0.0 AAFOV=30.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=false VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.175 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=true PBS0=0.0,0.0 PBS1=2.0,0.0 PBS2=2.0,45.0 PBS3=2.0,90.0 PBS4=2.0,135.0 PBS5=2.0,180.0 PBS6=2.0,225.0 PBS7=2.0,270.0 PBS8=2.0,315.0 PBS9=0.0,0.0 [Weapon Profile] Name=TF2 Pistol Type=Hitscan ShotsPerClick=1 DamagePerShot=22.0 KnockbackFactor=1.0 TimeBetweenShots=0.17 Pierces=false Category=FullyAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=false HeadshotMultiplier=2.0 MagazineMax=12 AmmoPerShot=1 ReloadTimeFromEmpty=1.25 ReloadTimeFromPartial=1.25 DamageFalloffStartDistance=146.0 DamageFalloffStopDistance=1024.0 DamageAtMaxRange=8.0 DelayBeforeShot=0.0 HitscanVisualEffect=None ProjectileGraphic=Ball VisualLifetime=0.1 WallParticleEffect=None HitParticleEffect=None BounceOffWorld=false BounceFactor=0.5 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.7 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=0.8 RecoilNegatable=false DecalType=1 DecalSize=3.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=300.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=false AimPunchAmount=0.0 AimPunchResetTime=0.2 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=false MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=12 CancelReloadOnKill=true FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=103.0 ADSFOVScale=Clamped Horizontal ADSAllowUserOverrideFOV=false Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=100.0 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=false DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=false DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=0.0 BlockedByWorld=false SpreadSSA=2.0,1.6,0.0,2.0 SpreadSCA=2.0,1.6,0.0,2.0 SpreadMSA=2.0,1.6,0.0,2.0 SpreadMCA=2.0,1.6,0.0,2.0 SpreadSSH=2.0,1.6,0.0,2.0 SpreadSCH=2.0,1.6,0.0,2.0 SpreadMSH=2.0,1.6,0.0,2.0 SpreadMCH=2.0,1.6,0.0,2.0 MaxRecoilUp=0.0 MinRecoilUp=0.0 MinRecoilHoriz=0.0 MaxRecoilHoriz=0.0 FirstShotRecoilMult=1.0 RecoilAutoReset=false TimeToRecoilPeak=0.05 TimeToRecoilReset=0.35 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.05 AAMaxSpeed=1.0 AADeadZone=0.0 AAFOV=30.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=false VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.175 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=false PBS0=0.0,0.0 [Weapon Profile] Name=LG QC Type=Hitscan ShotsPerClick=1 DamagePerShot=7.0 KnockbackFactor=2.0 TimeBetweenShots=0.05 Pierces=false Category=FullyAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=false HeadshotMultiplier=2.0 MagazineMax=0 AmmoPerShot=1 ReloadTimeFromEmpty=0.5 ReloadTimeFromPartial=0.5 DamageFalloffStartDistance=100000.0 DamageFalloffStopDistance=100000.0 DamageAtMaxRange=7.0 DelayBeforeShot=0.0 HitscanVisualEffect=None ProjectileGraphic=Ball VisualLifetime=0.05 WallParticleEffect=None HitParticleEffect=None BounceOffWorld=false BounceFactor=0.0 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.7 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=100.000 Y=65.000 Z=-80.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=4.0 RecoilNegatable=false DecalType=0 DecalSize=30.0 DelayAfterShooting=0.0 BeamTracksCrosshair=true AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=0.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=60.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=true AimPunchAmount=0.0 AimPunchResetTime=0.1 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=true MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=0 CancelReloadOnKill=false FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=72.099998 ADSFOVScale=Quake/Source ADSAllowUserOverrideFOV=true Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=0.0 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=false DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=false DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=0.0 BlockedByWorld=false SpreadSSA=1.0,1.0,-1.0,0.0 SpreadSCA=1.0,1.0,-1.0,0.0 SpreadMSA=1.0,1.0,-1.0,0.0 SpreadMCA=1.0,1.0,-1.0,0.0 SpreadSSH=1.0,1.0,-1.0,0.0 SpreadSCH=1.0,1.0,-1.0,0.0 SpreadMSH=1.0,1.0,-1.0,0.0 SpreadMCH=1.0,1.0,-1.0,0.0 MaxRecoilUp=0.0 MinRecoilUp=0.0 MinRecoilHoriz=0.0 MaxRecoilHoriz=0.0 FirstShotRecoilMult=1.0 RecoilAutoReset=false TimeToRecoilPeak=0.05 TimeToRecoilReset=0.35 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.05 AAMaxSpeed=1.0 AADeadZone=0.0 AAFOV=30.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=false VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.095 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=false PBS0=0.0,0.0 [Map Data] reflex map version 8 global entity type WorldSpawn String32 targetGameOverCamera end UInt8 playersMin 1 UInt8 playersMax 16 brush vertices -576.000000 0.000000 256.000000 448.000000 0.000000 256.000000 448.000000 0.000000 -768.000000 -576.000000 0.000000 -768.000000 -576.000000 -16.000000 256.000000 448.000000 -16.000000 256.000000 448.000000 -16.000000 -768.000000 -576.000000 -16.000000 -768.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -576.000000 272.000000 -768.000000 448.000000 272.000000 -768.000000 448.000000 272.000000 -784.000000 -576.000000 272.000000 -784.000000 -576.000000 0.000000 -768.000000 448.000000 0.000000 -768.000000 448.000000 0.000000 -784.000000 -576.000000 0.000000 -784.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -576.000000 272.000000 272.000000 448.000000 272.000000 272.000000 448.000000 272.000000 256.000000 -576.000000 272.000000 256.000000 -576.000000 0.000000 272.000000 448.000000 0.000000 272.000000 448.000000 0.000000 256.000000 -576.000000 0.000000 256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 448.000000 272.000000 256.000000 464.000000 272.000000 256.000000 464.000000 272.000000 -768.000000 448.000000 272.000000 -768.000000 448.000000 0.000000 256.000000 464.000000 0.000000 256.000000 464.000000 0.000000 -768.000000 448.000000 0.000000 -768.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -592.000000 272.000000 256.000000 -576.000000 272.000000 256.000000 -576.000000 272.000000 -768.000000 -592.000000 272.000000 -768.000000 -592.000000 0.000000 256.000000 -576.000000 0.000000 256.000000 -576.000000 0.000000 -768.000000 -592.000000 0.000000 -768.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -592.000000 704.000000 256.000000 -576.000000 704.000000 256.000000 -576.000000 704.000000 -768.000000 -592.000000 704.000000 -768.000000 -592.000000 272.000000 256.000000 -576.000000 272.000000 256.000000 -576.000000 272.000000 -768.000000 -592.000000 272.000000 -768.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 448.000000 704.000000 256.000000 464.000000 704.000000 256.000000 464.000000 704.000000 -768.000000 448.000000 704.000000 -768.000000 448.000000 272.000000 256.000000 464.000000 272.000000 256.000000 464.000000 272.000000 -768.000000 448.000000 272.000000 -768.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -576.000000 704.000000 -768.000000 448.000000 704.000000 -768.000000 448.000000 704.000000 -784.000000 -576.000000 704.000000 -784.000000 -576.000000 272.000000 -768.000000 448.000000 272.000000 -768.000000 448.000000 272.000000 -784.000000 -576.000000 272.000000 -784.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -576.000000 704.000000 272.000000 448.000000 704.000000 272.000000 448.000000 704.000000 256.000000 -576.000000 704.000000 256.000000 -576.000000 272.000000 272.000000 448.000000 272.000000 272.000000 448.000000 272.000000 256.000000 -576.000000 272.000000 256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -576.000000 720.000000 256.000000 448.000000 720.000000 256.000000 448.000000 720.000000 -768.000000 -576.000000 720.000000 -768.000000 -576.000000 704.000000 256.000000 448.000000 704.000000 256.000000 448.000000 704.000000 -768.000000 -576.000000 704.000000 -768.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -576.000000 96.000000 -384.000000 -320.000000 96.000000 -384.000000 -320.000000 96.000000 -512.000000 -576.000000 96.000000 -512.000000 -576.000000 0.000000 -384.000000 -320.000000 0.000000 -384.000000 -320.000000 0.000000 -512.000000 -576.000000 0.000000 -512.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 192.000000 96.000000 0.000000 448.000000 96.000000 0.000000 448.000000 96.000000 -128.000000 192.000000 96.000000 -128.000000 192.000000 0.000000 0.000000 448.000000 0.000000 0.000000 448.000000 0.000000 -128.000000 192.000000 0.000000 -128.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 entity type PlayerSpawn Vector3 position -64.000000 0.000000 -736.000000 entity type CameraPath UInt32 entityIdAttachedTo 5 UInt8 posLerp 2 UInt8 angleLerp 2 entity type Effect Vector3 position 0.000000 256.000000 0.000000 String64 effectName internal/misc/reflectionprobe entity type Target Vector3 position 320.000000 256.000000 320.000000 Vector3 angles -135.000000 30.000000 0.000000 String32 name end entity type PlayerSpawn Vector3 position -64.000000 0.000000 224.000000 Vector3 angles 180.000000 0.000000 0.000000 entity type PlayerSpawn Vector3 position 416.000000 0.000000 -256.000000 Vector3 angles 270.000000 0.000000 0.000000 entity type PlayerSpawn Vector3 position -544.000000 0.000000 -256.000000 Vector3 angles 90.000000 0.000000 0.000000
9cd7027fbd1e033cf28b35f8b7066a02093589e1
449d555969bfd7befe906877abab098c6e63a0e8
/2753/CH1/EX1.13/ex1_13.sce
f284ae9741ba41c67b0d88803d04cf3ff037e1c3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
500
sce
ex1_13.sce
//Example 1.13: clc; clear; close; //given data : e=1.6*10^-19;// electron charge in coulombs k=1.38*10^-23;//Boltzmann constant in m^2-kg/s^2-K^-1 T=300;//in Kelvin Vt=(k*T)/e;//in V I=240;//in mA eta=2;// Ve=0.8;//in V V=0.7;//in V Id=I*exp((V-Ve)/(eta*Vt));//in mA format('v',5) disp(round(Id),"(i) Current is ,(mA)=") Ir=(I/((exp(Ve/(eta*Vt)))-1))*10^6;// format('v',4) disp(round(Ir),"(ii) reverse saturation current is ,(nA)=") //reverse saturation current is calculated wrong in the textbook
cd2b3467a53069f06d9812f4acaddd25b4527fad
c1b09af5e1f499c770a324ad24f44ea90f005860
/nand2tetris/projects/01/And4Way.tst
51d63ebb49b2e78bbb5b75e2cf10ef99567b70de
[]
no_license
kaiyasa/hw-hydra
fb83ce0d9ce1e9282a2bc8334e1d78557b1a991d
8dcf03e11be7903665a6c790af9c9a60809c2c2b
refs/heads/master
2021-01-18T23:49:31.731469
2016-08-01T00:54:41
2016-08-01T00:54:41
43,467,830
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,076
tst
And4Way.tst
load And4Way.hdl, output-file And4Way.out, compare-to And4Way.cmp, output-list a%B3.1.3 b%B3.1.3 c%B3.1.3 d%B3.1.3 out%B3.1.3; set a %B0, set b %B0, set c %B0, set d %B0, eval, output; set a %B0, set b %B0, set c %B0, set d %B1, eval, output; set a %B0, set b %B0, set c %B1, set d %B0, eval, output; set a %B0, set b %B0, set c %B1, set d %B1, eval, output; set a %B0, set b %B1, set c %B0, set d %B0, eval, output; set a %B0, set b %B1, set c %B0, set d %B1, eval, output; set a %B0, set b %B1, set c %B1, set d %B0, eval, output; set a %B0, set b %B1, set c %B1, set d %B1, eval, output; set a %B1, set b %B0, set c %B0, set d %B0, eval, output; set a %B1, set b %B0, set c %B0, set d %B1, eval, output; set a %B1, set b %B0, set c %B1, set d %B0, eval, output; set a %B1, set b %B0, set c %B1, set d %B1, eval, output; set a %B1, set b %B1, set c %B0, set d %B0, eval, output; set a %B1, set b %B1, set c %B0, set d %B1, eval, output; set a %B1, set b %B1, set c %B1, set d %B0, eval, output; set a %B1, set b %B1, set c %B1, set d %B1, eval, output;
d826a2b7bd7e52350a150f8eb98018b50adae04c
449d555969bfd7befe906877abab098c6e63a0e8
/2297/CH6/EX6.12/Ex6_12.sce
c8d02b21c4a8b4e61a9747ae9c4634c4ff9feb36
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,413
sce
Ex6_12.sce
//Example 6.12// emf clc; clear; close; format('v',7) disp("part (a) generator ") kva=4;//kVA v=110;//volts re=3;//syncronous reacrance in ohms ip=((kva*10^3)/(sqrt(3)*v));//phase current in Amperes ep=v/(sqrt(3));//phase voltage in volts e1=ep+%i*(ip*3);//line voltage in volts e11=sqrt((real(e1)^2)+imag(e1)^2);//line voltage per phase in volts pf=0.8;//power factor e12=(sqrt((real(e1)*pf)^2+(((imag(e1)*sqrt(1-pf^2))+imag(e1)))^2));// e13=(sqrt((real(e1)*pf)^2+(((imag(e1)*sqrt(1-pf^2))-imag(e1)))^2));// disp(e11,"emf when the armature current is full load unit pf is,(V)=") disp(e12,"emf when the armature current is full load 0.8 pf (lag) is,(V)=") disp(e13,"emf when the armature current is full load 0.8 pf (lead) is,(V)=") disp("part (b) motor") kva=4;//kVa v=110;//volts re=3;//syncronous reacrance in ohms ip=((kva*10^3)/(sqrt(3)*v));//phase current in Amperes ep=v/(sqrt(3));//phase voltage in volts e1=ep-%i*(ip*3);//line voltage in volts e11=sqrt((real(e1)^2)+imag(e1)^2);//line voltage per phase in volts pf=0.8;//power factor e12=(sqrt((real(e1)*pf)^2+(((imag(e1)*sqrt(1-pf^2))-imag(e1)))^2));// e13=(sqrt((real(e1)*pf)^2+(((imag(e1)*sqrt(1-pf^2))+imag(e1)))^2));// disp(e11,"emf when the armature current is full load unit pf is,(V)=") disp(e12,"emf when the armature current is full load 0.8 pf (lag) is,(V)=") disp(e13,"emf when the armature current is full load 0.8 pf (lead) is,(V)=")
71d84eb54c0fe1f942ec1e5c61297ef5d646d699
449d555969bfd7befe906877abab098c6e63a0e8
/2288/CH1/EX1.21.9/ex1_21_9.sce
294802c08535d7fd35684d194a01053588424d67
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
364
sce
ex1_21_9.sce
// Exa 1.21.9 clc; clear; close; // Given data n = 1; lembda = 1.54;// in Å theta = 21.7;// in degree //Formula 2*d*sin(theta) = n*lembda; d = (lembda*n)/(2*sind(theta));// in Å h = 1; k = 1; l = 1; // Formula d = a/(sqrt( ((h)^2) + ((k)^2) + ((l)^2) )); a = d*(sqrt( ((h)^2) + ((k)^2) + ((l)^2) ));// in Å disp(a,"Lattice constant in Å is");
4b0a02849b7d1f246a327ff716521b80c49fb4e9
449d555969bfd7befe906877abab098c6e63a0e8
/1943/CH6/EX6.7/Ex6_7.sce
eca79643c9fac85a54ad3a3dd69b4ef70cbc66fd
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,394
sce
Ex6_7.sce
clc clear //Input data tg2=160;//The temperature to which the flue gases are cooled in degree centigrade ta1=35;//The ambient temperature of the air in degree centigrade wa=1167;//The mass flow rate of air in kg/s Vg=13;//The inlet velocity of the flue gases in m/s U=30;//The overall heat transfer coefficient in W/m^2K Cpg=1.10;//The specific heat of the flue gas in kJ/kgK Cpa=1.005;//The specific heat of the air in kJ/kgK R=0.287;//Real gas constant in kJ/kgK wg=1250;//The mass flow rate of gas in kg/s tg1=450;//The temperature at the inlet of flue gas in degree centigrade P=101.325;//Atmospheric temperature in kPa pi=3.1414;//Mathematical constant Di=0.06;//The inner diameter of the tube in m Do=0.065;//The outer diameter of the tube in m //Calculations vg1=(R*(273+tg1))/P;//Specific volume of the gas in m^3/kg ta2=[(wg*Cpg*(tg1-tg2))/(wa*Cpa)]+ta1;//The temperature of the heated air in degree centigrade t1m=(75-125)/log(75/125);//The mean temperature of the inlet and exit temperature in degree centigrade Q=wg*Cpg*(tg1-tg2);//The rate of heat transfer in the economiser in kW Ao=[Q/(U*t1m)]*10^3;//The outer area in m^2 n=[(wg*(vg1/Vg)*(4/pi)*(1/Di^2))];//The number of coils needed in the economiser l=Ao/(n*pi*Do);//The length of one coil in m //Output printf('(a)The length of the tubes = %3.2f m\n (b) The number of tubes = %3.0f ',l,n)
98b9837a42802828e36da50cebdc5e194d263247
449d555969bfd7befe906877abab098c6e63a0e8
/564/DEPENDENCIES/16_16data.sci
df2d8eee4f88b64d785a24217973f03220cf0763
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
77
sci
16_16data.sci
a=100;//in mm t=2;//in mm E=70000;//N/mm^2 T0=10;//in K alpha=0.01;//mm/k
194a504cf82240e29506d6acc127ef7804987eea
f934e15695c77d0a1015c230c5ed65c4f16a2425
/convol&corr/convolution_without_using_convol.sce
8d8eb1513a1294e059f3d6eb599758b60ddfaea9
[]
no_license
manasdas17/Scilab-for-Signal-Processing-
6efc5adb507243c7302f7b4f3f12d12060112038
5f6e6ce941c0a11212a83674b5d35d97a2cf4396
refs/heads/master
2021-01-10T07:49:58.006357
2016-04-07T07:45:26
2016-04-07T07:45:26
55,673,271
0
0
null
null
null
null
UTF-8
Scilab
false
false
699
sce
convolution_without_using_convol.sce
//By Manas,FOSSEE,IITB x = input('Enter x: '); h = input('Enter h: '); Ni = length(x); Nh = length(h); y = zeros(1,Ni+Nh); t = zeros(1,Nh); for i = 1:Ni+Nh-1 if i<=Ni t(1)= x(i); for j = 1:Nh y(i) = y(i) + h(j)*t(j); end for k = Nh:-1:2 t(k) = t(k-1); end else t(1)= 0; for j = 1:Nh y(i) = y(i) + (h(j)*t(j)); end for k = Nh:-1:2 t(k) = t(k-1); end end end subplot(311);plot2d3(x); subplot(312);plot2d3(h); subplot(313);plot2d3(y);
5757ab2113b367ce551766a67839c8ff00c5864c
449d555969bfd7befe906877abab098c6e63a0e8
/881/CH15/EX15.3/exa15_3.sce
e1c9ba3cbbf45fc89280d8015c3baa9ce4e3344e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
224
sce
exa15_3.sce
clc; //Example 15.3 //Page No620 //solution P=10; Ac=0.2; disp("Substituting into equation 15-12 yields "); Pcap=P*Ac; disp('uW',Pcap,"Pcap = "); pcap=10*log10(Pcap*10^-6/0.001); disp('dBm',round(pcap),"Pcap(dBm)");
866db0b17233ecb0c960421f51b9a1a2e22e6151
1b3c63cb7f854378c5f1991637692ae2bf8265ac
/estim/estim.sci
5f4fa2949fa56b1f22c8f1767a0569774f2690e7
[]
no_license
FOSSEE-Internship/FOSSEE-Control-Systems-Toolbox
9900107267e5f508f77858d128e01293966e9e10
2878a38e4e55806b1777f9da2e0395f321e1c952
refs/heads/master
2020-12-02T18:20:34.659219
2017-10-26T12:26:57
2017-10-26T12:26:57
96,516,803
0
1
null
2017-10-26T13:44:56
2017-07-07T08:24:44
Scilab
UTF-8
Scilab
false
false
2,707
sci
estim.sci
function [ae,be,ce,de,ts]=estim(sys,l,sensors,known) //Return state spaces of a state estimator for a given estimator gain. // //Calling Sequence //[ae,be,ce,de]=estim(sys,l) //[ae,be,ce,de]=estim(sys,l,sensors,known) // //Parameters //sys:lti model //l :state feedback matrix. //sensors : Indices of measured output signals y,if omitted all outputs are measured. //known : Indices of known input signals u (deterministic) to sys. All other inputs to sys //are assumed stochastic.Default known=[] //[ae,be,ce,de]:state spaces of the estimator //Description //estim(sys,l)produces a state estimator est given the plant state-space model sys and the //estimator gain L.All inputs of sys are assumed stochastic and all outputs are measured // The estimator est state-spaces are returned. //For a continuous system dx/dt=Ax+Bw,y=Cx+Dw //estim uses the following equation to generate plant output // _ _ // estimate y and a state estimate x. // _ _ _ // dx/dt=Ax+L(y-Cx) // _ // | y | |C| _ // | _ |= | | x // | x | |I| // // //Author //Ayush Kumar [lhs,rhs]=argn(0); [a,b,c,d]=abcd(sys); [nx]=size(a,1); [ny,nu]=size(d); //error checking if rhs<2 || rhs>4 then error(msprintf(gettext("%s : wrong number of input arguments "),"estim")) end, if typeof(sys)~="state-space" then error(msprintf(gettext("%s : state-space model expected "),"estim")) end if or(size(l)<>[nx,ny]) then error(msprintf(gettext("%s :l should have as many rows as states and as many columns as measured output "),"estim")) end if rhs==2 then sensors=[1:ny]; end, if rhs==2 || rhs==3 then known=[]; end, ts=sys(7); nsens = length(sensors); nknown = length(known); [nl,ml] = size(l); if (ml~=nsens) then error(msprintf(gettext("%s:sensors length and l matrix no of columns should be same","estim"))) end, if (nl~=nx) then error(msprintf(gettext("%s :A and l should have same number of rows"),"estim")) end b = b(:, known); c = c(sensors, :); d = d(sensors, known); inputs = [1:nsens] + nu; states = [1:nx] + ny; //pause m = length (known); n = size(a,1); p = length (sensors); //state spaces of the estimator ae = a-l*c; be = [b-l*d,l]; ce = [c;eye(nx,nx)]; de = [d, zeros(p, p); zeros(n, m), zeros(n, p)]; //dss(ae,be,ce,de,ts) endfunction
556f9c728a30e262127a71e0e4c1b4773900fb28
449d555969bfd7befe906877abab098c6e63a0e8
/1964/CH5/EX5.25/ex5_25.sce
2a413bb2ba3335c27e3f6ffd49f4206fa4b98ed1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,039
sce
ex5_25.sce
//Chapter-5, Example 5.25, Page 185 //============================================================================= clc clear //INPUT DATA L=6;//inductance in millihenry R2=50;//resistance in ohms R1=40;//resistance in ohms C=4;//capacitance in uf V=100;//voltage in volts f=800;//frequency in hz //CALCULATIONS Xl=(2*%pi*f*L*10^-3);//inductive reactance in ohms Xc=1/(2*%pi*f*C*10^-6);//capacitive reactance in ohms Y1=inv((R1)+(%i*Xl));//admittance of branch1 in mho Y2=inv((R2)-(%i*Xc));//admittance of branch2 in mho I1=V*(Y1);//current in branch 1 I2=V*(Y2);//current in branch 2 I=I1+I2;//total curremt in A theta=(atan(imag(I1)/real(I1))-atan(imag(I2)/real(I2))); theta=theta*180/%pi;//angle in degrees mprintf("Thus total current taken from supply is %2.2f\n",abs(I)); mprintf("phase angle between currents of coil and capacitor is %2.2f degrees",theta); //=================================END OF PROGRAM======================================================================================================
38b59a0e7901bb1b8c7e147db3fb3605b7d8688b
449d555969bfd7befe906877abab098c6e63a0e8
/1364/CH8/EX8.5.1/8_5_1.sce
12121640e0b19487620f7e3962914e99b9ae57f1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
362
sce
8_5_1.sce
clc //initialisation of variables a= 0.25 //ft v= 1.2 //oises u= 10 //ft/sec g= 32.2 //ft/sec^2 s= 0.9 d= 6 //in //CALCULATIONS q= -2*u*v*30.5/(a*454*g) Q= %pi*u*(d/24)^2/2 R= u*s*30.5^2/(4*v) //RESULTS printf (' quantity flow = %.2f ft^3/sec',q) printf (' \n shear stress in the oil = %.2f lbf/ft^2',Q) printf (' \n Reynolds number = %.f ',R)
87a06b88aa386e044b3bce38768e48b9fd7efa49
9f9364e082d4bc2f7ee5cbd7a489642615821873
/src/testCases/test3-7.tst
1ce28d418b414f079e39868935be1dada2282a53
[]
no_license
abrageddon/DLX-Opt
4602617f83ddf8cb0fea83fecd2faa362849dfcd
20038078f11a7ae67e7ab336e551e23966551290
refs/heads/master
2021-01-01T05:49:33.218016
2013-03-14T06:08:45
2013-03-14T06:08:45
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
687
tst
test3-7.tst
main array[2][3] a; array[3][2] b; array[2][2] c; var i, j, k; { let i <- 0; while i < 2 do let j <- 0; while j < 3 do let a[i][j] <- call inputnum(); let j <- j + 1 od; let i <- i + 1 od; let i <- 0; while i < 3 do let j <- 0; while j < 2 do let b[i][j] <- call inputnum(); let j <- j + 1 od; let i <- i + 1 od; let i <- 0; while i < 2 do let j <- 0; while j < 2 do let c[i][j] <- 0; let k <- 0; while k < 3 do let c[i][j] <- c[i][j] + a[i][k] * b[k][j]; let k <- k + 1 od; call outputnum(c[i][j]); let j <- j + 1 od; let i <- i + 1 od }.
c730aaf130cef0c6ebcb77f9f5a7839440685044
449d555969bfd7befe906877abab098c6e63a0e8
/147/CH7/EX7.1/Example7_1.sce
e5b7ce9b91bbb04025d232ee0ff94ed79a385ffd
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
241
sce
Example7_1.sce
close(); clear; clc; k = 1.38*10^(-23); T = 25+273; //K q = 1.6*10^(-19); Vt = k*T/q; //error will be less than 1 % if //e^(vd/Vt) > 101 vd = Vt*log(101); mprintf("(7.1) can be approximated as id*Io*e^(vd/Vt) for vd > %0.4f V",vd);
698b0c71840a50b1f096beadbe3cc435b5e825d9
72d7c10733e74eafb60961874dedea7fa2a43569
/2.Basics/unit_impulse.sce
dbc5694827c7b5c6dea9bf3ce2c6bfcab6b1b317
[]
no_license
AkshayNachappa/Scilab-Workshop
8dc448c41a2e768f3d93bbed928705445b9c007b
056436f38a1f3aad7d1e3669595718839108c40e
refs/heads/master
2023-01-02T00:20:19.968404
2020-10-20T17:04:44
2020-10-20T17:04:44
297,102,650
2
2
null
2020-10-20T17:04:46
2020-09-20T15:12:27
Scilab
UTF-8
Scilab
false
false
272
sce
unit_impulse.sce
close ; clear all; clc; t=-5:1:5; a=[zeros(1,5) 1 zeros(1,5)]; k=input('enter the amplitude'); b=k*a; subplot(2,1,1); plot2d(t,b); xtitle('impulse response', 'amplitude', 'time'); subplot(2,1,2); plot2d3(t,b); xtitle('impulse response', 'amplitude', 'time');
43484ac3685352a831e3941375040f31994a7dda
449d555969bfd7befe906877abab098c6e63a0e8
/45/CH12/EX12.6/example_12_6.sce
a7606bb045eaa60ccb900f2afa507b65c7968a4f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
358
sce
example_12_6.sce
//Example 12.6 clc; clear; I=10/(3*10^3); printf("Current each input digital voltage must be capable of supplying is =%f mA\n",I*1000) ful_scale_voltage = 0 ; for i=1:5 op_v(1,i)= 10/2^i; ful_scale_voltage = ful_scale_voltage + op_v(1,i); end V_A=ful_scale_voltage * (2*1000)/(1000+(2*1000)); printf("\n Output voltage Va = %f V",V_A);
3caedf6a88faddca07791ff210965d28381c8544
449d555969bfd7befe906877abab098c6e63a0e8
/2360/CH3/EX3.14/ex3_14.sce
9cf5fd98f09d7eef3fd1a808dcdbeb360e59e9f3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
962
sce
ex3_14.sce
// Exa 3.14 format('v',7);clc;clear;close; // Given data // Case (i): When voltmeter having a sensitivity of 500 Ω/V R1 = 20;// in k ohm R2 = 25;// in k ohm Vdc = 250;// in V V = (Vdc/(R1+R2))*R2;// in V Vrange = 150;// in V S = 500;// in ohm/V R_V = S*Vrange;// in ohm R_V = R_V * 10^-3;// in k ohm Req = (R2*R_V)/(R2+R_V);// in k ohm V = (Req/(Req+R1))*Vdc;// in V voltmeter first disp("Case (i): When voltmeter having a sensitivity of 500 Ω/V") disp(" The voltmeter will reads : "+string(V)+" V"); // Case (ii): When voltmeter having a sensitivity of 1000 Ω/V S = 10000;// in ohm/V R_V = S*Vrange;// in ohm R_V = R_V * 10^-3;// in k ohm Req = (R2*R_V)/(R2+R_V);// in k ohm V = (Req/(Req+R1))*Vdc;// in V Voltmeter second disp("Case (ii): When voltmeter having a sensitivity of 1000 Ω/V") disp(" The voltmeter will reads : "+string(V)+" V"); disp("Thus the second voltmeter reads more accurately.")
c6b221260779bc46bebf18f87cff81b5e88fb5f9
449d555969bfd7befe906877abab098c6e63a0e8
/1499/CH5/EX5.6/q6.sce
e1daf7555dc2ba508946aefab54caf24176fc3d5
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
369
sce
q6.sce
s=%s; syms K; g=(K/(s^2); // given K=10 K=10; g=(5/(s^2)); G=syslin('c',g) fmin=0.001; fmax=1000; bode(G,fmin,fmax) show_margins(G) xtitle("uncompensated system") [gm,freqGM]=g_margin(G) [pm,freqPM]=p_margin(G) disp(gm,"gain_margin=") disp((freqGM*2*%pi),"gain margin freq="); disp(pm,"phase margin=") disp((freqPM*2*%pi),"phase margin freq=");