blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
6
214
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
6
87
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
15 values
visit_date
timestamp[us]date
2016-08-04 09:00:04
2023-09-05 17:18:33
revision_date
timestamp[us]date
1998-12-11 00:15:10
2023-09-02 05:42:40
committer_date
timestamp[us]date
2005-04-26 09:58:02
2023-09-02 05:42:40
github_id
int64
436k
586M
star_events_count
int64
0
12.3k
fork_events_count
int64
0
6.3k
gha_license_id
stringclasses
7 values
gha_event_created_at
timestamp[us]date
2012-11-16 11:45:07
2023-09-14 20:45:37
gha_created_at
timestamp[us]date
2010-03-22 23:34:58
2023-01-07 03:47:44
gha_language
stringclasses
36 values
src_encoding
stringclasses
17 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
5
10.4M
extension
stringclasses
15 values
filename
stringlengths
2
96
content
stringlengths
5
10.4M
e4f78710a4a2c1be5e7bc6a7face8b49af17446c
449d555969bfd7befe906877abab098c6e63a0e8
/716/CH6/EX6.24/Solved_Ex_6_24.sce
fd169f4e30be8506d13706ff17d712853bdf3600
[]
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
417
sce
Solved_Ex_6_24.sce
//Perform Circular convolution of two sequences is x1={2,1,2,1} and x2(n)={1,2,3,4} clc; clear; n=1:1:8 x1={1,2,1,2,1,2,1,2};//writing sequence with one shift x2={1,2,3,4,1,2,3,4}; subplot(1,3,1) plot2d3(n,x1,3); subplot(1,3,2) plot2d3(n,x2,3); for n=5:1:8 sum=0 for m=1:1:4 sum=sum+x1(m).*x2(n-m); end k(n-4)=sum; end subplot(1,3,3) l=1:1:length(k); plot2d3(l,k,3); disp(k);
439c45a5050f49ee66b6cc87831a62ce6673efd1
449d555969bfd7befe906877abab098c6e63a0e8
/608/CH18/EX18.02/18_02.sce
8064ecc4bc202d72c7c3f37f92bad948cb6b5228
[]
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
340
sce
18_02.sce
//Problem 18.02: Determine the common-mode gain of an op amp that has a differential voltage gain of 150E3 and a CMRR of 90 dB. //initializing the variables: Vg = 150E3; // differential voltage gain CMRR = 90; // in dB //calculation: CMG = Vg/(10^(CMRR/20)) printf("\n\n Result \n\n") printf("\n common-mode gain is %.2f",CMG)
eed7645821151650cab700a345e8674b6d5ecfae
449d555969bfd7befe906877abab098c6e63a0e8
/2243/CH15/EX15.2/Ex15_2.sce
538fbd25f16fa48c6a8127cc7b76a9b3ef4e4faf
[]
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
302
sce
Ex15_2.sce
clc(); clear; //Given : n1 = 1.5025;// refractive index of core delta = 0.0033; // a = 50; // core radius in mu_m Ls = a*sqrt(2/delta);// skip distance in mu_m // 1 mu_m = 1.0*10^-6 m R = 1/(Ls*10^-6);// reflections per m printf("Ls = %.1f mu_m \n",Ls); printf("Reflections per m = %d",R);
a53889801ff47285c97aae0285046f43df53b900
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/tests/examples/equil1.man.tst
7d32a33070ea66eb6b701524ba6c6177b23af49f
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer" ]
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
264
tst
equil1.man.tst
clear;lines(0); S1=rand(2,2);S1=S1*S1'; S2=rand(2,2);S2=S2*S2'; S3=rand(2,2);S3=S3*S3'; P=sysdiag(S1,S2,zeros(4,4)); Q=sysdiag(S1,zeros(2,2),S3,zeros(2,2)); X=rand(8,8); P=X*P*X';Q=inv(X)'*Q*inv(X); [T,siz]=equil1(P,Q); P1=clean(T*P*T') Q1=clean(inv(T)'*Q*inv(T))
259989dc37c1429494034af8a75ffce2f32903dd
449d555969bfd7befe906877abab098c6e63a0e8
/284/CH8/EX8.6/ex_6.sce
ef8c5b6fb8d4033ba0ada52f945a54562c21980a
[]
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
428
sce
ex_6.sce
// Chapter 8_Metal Semiconductor and Semiconductor heterojunctions //Caption_Shottky barrier diode and pn junction //Ex_6//page 308 Jf=10 //forward biased current density Jst=5.98*10^-5 Va=(0.0259*log(Jf/Jst)) //for pn junction diode Js=3.66*10^-11 //reverse saturation current density Va_pn=0.0259*log(Jf/Js) printf('Forward bised voltage required for schottky is %1.3f V and for pn junction is %1.3fV',Va,Va_pn)
9ac4a7766e70b761762e7076f3e42b4d2046813a
b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf
/TD2/Malthus/malthus.sce
41569ec2c6e409e80e0bc9ab8bda3c21cca89d08
[]
no_license
MFrizzy/Modelisation
51794b2edf421f9d2206cb73972d8d8d7b1e9759
0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb
refs/heads/master
2021-08-29T12:02:20.042037
2017-12-13T22:39:21
2017-12-13T22:39:21
106,943,303
0
0
null
null
null
null
UTF-8
Scilab
false
false
160
sce
malthus.sce
clear clf b = 0.1; d = 0.05 ; x(1) = 1; r = b - d; h = 1; ndate = 0:20 for n = 1:20 x(n+1) = (1 + r ) * x(n); end plot2d(ndate, x, style = 2, rect=[0,0,20, 3])
fcf3071a34e2952ed7d5386bbce8f0422522d985
449d555969bfd7befe906877abab098c6e63a0e8
/3869/CH1/EX1.49/Ex1_49.sce
cb6ac8fabb3fc1ca3d28897179cb4d4b2f732474
[]
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
366
sce
Ex1_49.sce
clear // // // //Variable declaration lamda=6000*10**-8 //wavelength(cm) n=1 mew=1.33 //refractive index r=0*%pi/180 //angle of incidence(radian) //Calculation t=n*lamda/(2*mew*cos(r)) //thickness of thinnest film(cm) //Result printf("\n thickness of thinnest film is %0.4f *10**-5 cm",t*10**5) printf("\n answer given in the book is wrong")
cf1144d2eaecf6f1b3fb8f97f88262ac8f6b16b1
4058f38b392324aa5099819881f3c7d7219a174f
/3 bit Shift Register/PIPO/PIPO pos edge trig.sce
2d4d9631e5cb882d562def41ba4e94db3357c918
[]
no_license
anupma-s/Scilab-Xcos-Arduino-Digital-Circuits
612a033422bf14e2e58bcdce371f15cafb30224f
2b4bf8e8f155d20a5eda2feb31c5523a51569d73
refs/heads/master
2021-01-20T17:20:13.073180
2016-07-04T15:25:07
2016-07-04T15:25:07
62,569,455
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,708
sce
PIPO pos edge trig.sce
ok=open_serial(1,2,115200); if ok~=0 then error('Unable to open serial port, please check'); end D2=0; //MSB input D1=0; //middle bit input=MSB output D0=0; //LSB input=middle bit output Q0=0; //LSB output pinstate=0; //state of clock lastpinstate=0; for i=1:5000 //pin 9=Q0=LSB if (Q0==0) cmd_digital_out(1,9,0) else cmd_digital_out(1,9,1) end //pin 10=Q1=D0=middle bit if (D0==0) cmd_digital_out(1,10,0) else cmd_digital_out(1,10,1) end //pin 11=Q2=D1=MSB if (D1==0) cmd_digital_out(1,11,0) else cmd_digital_out(1,11,1) end pinstate=cmd_digital_in(1,2) //reads the state of clock //clock is common for all FFs thus only 1 if statement for detecting positive edge of clock if (pinstate~=lastpinstate) if(pinstate==1) D0=cmd_digital_in(1,5) //reads input given to D of FF0 (LSB FF) D1=cmd_digital_in(1,6) // reads middle bit input D2=cmd_digital_in(1,7) //reads MSB input //order of FFs: (MSB)FF2-FF1-FF0(LSB) //FF0 if (D0==0) Q0=0; else Q0=1; end //FF1 if(D1==0) D0=0; else D0=1; end //FF2 if(D2==0) D1=0; else D1=1; end end sleep(50) end lastpinstate=pinstate; end close_serial(1)
e994aa56e4d2bf6bd2f41ffbaccc0b3cf2e8f25c
4bbc2bd7e905b75d38d36d8eefdf3e34ba805727
/ee/contrib/dspic/macros/codegen/scs_c_nb2scs_nb.sci
857274a0aa0df80236b54efc3adf6b7d9282441e
[]
no_license
mannychang/erika2_Scicos-FLEX
397be88001bdef59c0515652a365dbd645d60240
12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba
refs/heads/master
2021-02-08T17:01:20.857172
2012-07-10T12:18:28
2012-07-10T12:18:28
244,174,890
0
0
null
null
null
null
UTF-8
Scilab
false
false
857
sci
scs_c_nb2scs_nb.sci
//========================================================================== //scs_c_nb2scs_nb : scicos C number to scicos number // //input : c_nb : the scicos C number type // //output : scs_nb : the scilab number type // //16/06/07 Author : A.Layec //Copyright INRIA function [scs_nb]=scs_c_nb2scs_nb(c_nb) scs_nb=zeros(size(c_nb,1),size(c_nb,2)); for i=1:size(c_nb,1) for j=1:size(c_nb,2) select (c_nb(i,j)) case 10 then scs_nb(i,j) = 1 case 11 then scs_nb(i,j) = 2 case 81 then scs_nb(i,j) = 5 case 82 then scs_nb(i,j) = 4 case 84 then scs_nb(i,j) = 3 case 811 then scs_nb(i,j) = 8 case 812 then scs_nb(i,j) = 7 case 814 then scs_nb(i,j) = 6 else scs_nb(i,j) = 1 end end end endfunction
554bcdcec606192e6e384b03c66a242b71e7569f
449d555969bfd7befe906877abab098c6e63a0e8
/2399/CH2/EX2.12.4/Example2_12_4.sce
9d3791ae84cccff7525348765ee3051335364354
[]
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
509
sce
Example2_12_4.sce
// Example 2.12.4 clc; clear; delta=1/100; //relative index difference n1=1.5; //core refractive index c=3d8; L=6; n2=sqrt(n1^2-2*delta*n1^2); //computing refractive index of cladding delta_T=L*n1^2*delta/(c*n2); //computing pulse broadning delta_T=delta_T*10^11; delta_T=round(delta_T); printf("\nDelay difference between slowest and fastest mode is %d ns/km.",delta_T); printf("\nThis means that a pulse broadnes by %d ns after travel time a distance of %d km.",delta_T,L);
2b1d01fa833b29998086b4c369699e21f468c15d
f7e335e2af57c686554eb057f28ddd8d21aab1e4
/tests/fuzz/comment/0015.tst
b94ab18f3f95a698bc128f8c73a22622525e85c2
[ "MIT" ]
permissive
scravy/abnf
76515bd820b3b9d8e2dbc2cec2a2f845720a6022
cc4228f403b436cc4e34ff4d6a7def83922174be
refs/heads/master
2023-01-09T14:30:50.095268
2020-06-07T16:18:09
2020-06-07T16:18:09
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
5
tst
0015.tst
;,z
6ce67dd19195ddc1a5495133bb81cc88c53a8f35
8781912fe931b72e88f06cb03f2a6e1e617f37fe
/scilab/wav_grid/in/tj1_1_40_5_20_6.sce
2b711af7f58b8fce9763956eeb681ee4a82ddc54
[]
no_license
mikeg2105/matlab-old
fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e
eac168097f9060b4787ee17e3a97f2099f8182c1
refs/heads/master
2021-05-01T07:58:19.274277
2018-02-11T22:09:18
2018-02-11T22:09:18
121,167,118
1
0
null
null
null
null
UTF-8
Scilab
false
false
991
sce
tj1_1_40_5_20_6.sce
//Executed from scilab using format and system boxes //with the command: // /usr/bin/scilex -nw -nb -f run_wave2d_dx.sce jobname='tj1_1_40_5_20_6'; //Read input wavetype=1; //travelling nsteps=100; maxamplitude=40; wavenumber(1)=5; wavenumber(2)=20; wavefreq=6; delta(1)=0.01; delta(2)=0.01; nmax(1)=100; nmax(2)=100; deltat=0.05; tstep=1; //Wave packet npackets=5; pwavfreq=2; pwavnum=7; chdir( jobname); exec("wave2d.sce"); outfile=jobname+'.out'; formfile=jobname+'.form'; //clf; x=1:1:nmax(1); y=1:1:nmax(2); fdform=mopen(formfile,'w'); mfprintf(fdform, '%d %d %d\n',nsteps, nmax(1), nmax(2)); mclose(fdform); fd=mopen(outfile,'w'); for i=tstep:tstep+nsteps z=wave2d(i*deltat, wavetype, maxamplitude, wavenumber, wavefreq, delta,nmax); //Write data to output mfprintf(fd, '%d %d %d\n',i, nmax(1), nmax(2)); for j1=1:nmax(1) for j2=1:nmax(2) mfprintf(fd, '%f',z(j1,j2)); end mfprintf(fd, '\n'); end end //end of cycling over steps mclose(fd); exit;
e2124121ec523010d17755fb807f2d99d5cd885a
6e257f133dd8984b578f3c9fd3f269eabc0750be
/ScilabFromTheoryToPractice/Programming/testsyntaxefoo.sce
d8bcc9b534c6c334183554056a49626a37a8e10b
[]
no_license
markusmorawitz77/Scilab
902ef1b9f356dd38ea2dbadc892fe50d32b44bd0
7c98963a7d80915f66a3231a2235010e879049aa
refs/heads/master
2021-01-19T23:53:52.068010
2017-04-22T12:39:21
2017-04-22T12:39:21
89,051,705
0
0
null
null
null
null
UTF-8
Scilab
false
false
68
sce
testsyntaxefoo.sce
function [a,b,c]=foo(x,y,z) a=x+y b=x*y c=z endfunction
7ee047d3e2bfae98dd4a17ff5710fbd67b01d5a7
449d555969bfd7befe906877abab098c6e63a0e8
/1301/CH2/EX2.5/ex2_5.sce
a834d00b2e99c40d3f6a5af35c7e2d6f623a2938
[]
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
ex2_5.sce
clc; s=1000; //distance in mile v=400+120; //velocity in mile/hr disp(s/v,"Time in hr = "); //using t=s/v
7ecfbf91995c2ddb3563d3d985770534d359cae3
449d555969bfd7befe906877abab098c6e63a0e8
/3574/CH2/EX2.4/EX2_4.sce
512f8086045d2ca9a5ec19c6e7ad4497afc22194
[]
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,678
sce
EX2_4.sce
// Example 2.4 // Computation of (a) Secondary voltage (b) Load current // (c) Input current to the primary (d) Input impedance looking into the primary terminals // Page No. 51 clc; clear; close; NHS=200; // Number of turns in primary NLS=20; // Number of turns in secondary E=120; // Primary voltage magnitude ES_Mag=12; // Secondary voltage magnitude ES_Ang=0; // Secondary voltage angle Zload_Mag=100; // Load magnitude Zload_Ang=30; // Load angle f=60; // Frequency // (a) Secondary voltage a=NHS/NLS; ELS=E/a; // (b) Load current IS_Mag=ES_Mag/Zload_Mag; // Load current magnitude IS_Ang=ES_Ang - Zload_Ang; // Load current angle //(c) Input current to the primary Ip_Mag=IS_Mag/a; // Input current to the primary magnitude Ip_Ang=IS_Ang; // Input current to the primary angle //(d) Input impedance looking into the primary terminals Zin_Mag=a^2*Zload_Mag; // Input impedance magnitude Zin_Ang=Zload_Ang; // Input impedance angle Zin_Mag=Zin_Mag/1000; // Display result on command window printf("\n Turns ratio = %0.0f ",a); printf("\n Secondary voltage = %0.0f V", ELS); printf("\n Load current magnitude = %0.2f A",IS_Mag); printf("\n Load current angle = %0.0f deg",IS_Ang); printf("\n Input current to the primary magnitude = %0.3f A",Ip_Mag); printf("\n Input current to the primary angle = %0.0f deg",Ip_Ang); printf("\n Input impedance magnitude = %0.0f KOhm", Zin_Mag); printf("\n Input impedance angle = %0.0f deg", Zin_Ang);
931611712d9615a1f037e946aa29710bba3046da
449d555969bfd7befe906877abab098c6e63a0e8
/275/CH1/EX1.1.72/Ch1_1_72.sce
9b097eea6ae29bc91bb61bbabbcd88a21723e6b0
[]
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
Ch1_1_72.sce
clc disp("Example 1.72") printf("\n") disp("Find the maximum current flow through Zener diode") Vz=7.5 //zener voltage Pd1=400*10^-3 //maximum power dissipation at 50c T1=50 T2=100 D=3.2*10^-3 //current at 50c Izm1=Pd1/Vz //current at 100 Pd2=Pd1-((T2-T1)*D) Izm2=Pd2/Vz printf("maximum current flow through Zener diode at 50c & 100c=\n%f Ampere\n%f Ampere\n",Izm1,Izm2)
865c86a31e284347a43d77b9d1e924dedb2e0edf
449d555969bfd7befe906877abab098c6e63a0e8
/881/CH19/EX19.3/exa19_3.sce
d05b628b28d7bc498378b856fd2c048c4d9c9b91
[]
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
345
sce
exa19_3.sce
clc; //Example 19.3 //Page No 755 //solution //(a) c=10*7; disp('channel/area',c,"(a)Channel capacity = "); //(b) disp("(b)Splitting each macrocell"); c1=10*28 disp('channel/area',c1,"Channel capacity = "); //(c) disp("(c)Further splitting minicell into four microcells "); c2=10*112 disp('channel/area',c2,"Channel capacity = ");
ef9468fabce3be4d8576c1fd994e99fcab5fbeda
449d555969bfd7befe906877abab098c6e63a0e8
/1541/CH2/EX2.23/Chapter2_Example23.sce
f38904631067c624180cbe44ef948ac5f8a72acc
[]
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
582
sce
Chapter2_Example23.sce
//Chapter-2, Example 2.23, Page 2.40 //============================================================================= clc clear //INPUT DATA K=(1000/200);//Voltage transformation ratio R1=2;//Primary resistance in ohm R2=200;//Secondary resistance in ohm Vo=360;//Volts in V //CALCULATIONS Z2i=(R2/K^2);//Equivalent secondary impedence in ohm Zo1=(Z2i+R1);//Equivalent primary impedence in ohm I1=(Vo/Zo1);//Primary current in A //OUTPUT mprintf('Primary current is %3.0f A',I1) //=================================END OF PROGRAM==============================
c4d0ae4a4aac417b5ade885c6058c24f029c86a8
e806e966b06a53388fb300d89534354b222c2cad
/macros/bwulterode.sci
501c50dca9de146d3fe8f86665eb1c10a845f232
[]
no_license
gursimarsingh/FOSSEE_Image_Processing_Toolbox
76c9d524193ade302c48efe11936fe640f4de200
a6df67e8bcd5159cde27556f4f6a315f8dc2215f
refs/heads/master
2021-01-22T02:08:45.870957
2017-01-15T21:26:17
2017-01-15T21:26:17
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
192
sci
bwulterode.sci
function[dstImg] = bwulterode(srcImg) srcMat = mattolist(srcImg) out = opencv_bwulterode(srcMat) channels = size(out) for i = 1:channels dstImg(:,:,i) = out(i) end endfunction
e60e8437ebb287adb9bc3735749f32f1aa1ee726
449d555969bfd7befe906877abab098c6e63a0e8
/2375/CH2/EX2.11/ex2_11.sce
3cb452c487eb39cbabb64aab19ece2292b1a9dff
[]
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,106
sce
ex2_11.sce
// Exa 2.11 clc; clear; close; format('v',6) // Given data V_CEsat = 0.2;// in V V_CC = 10;// in V V_BEsat = 0.8;// in V // Part (i) To obtain minimum value of R_C R_B = 220;// in k ohm R_B = R_B * 10^3;// in ohm Beta = 100; // Applying KVL to collector circuit, we get // V_CC = V_CEsat + I_Esat*R_C or (i) I_CsatR_C= V_CC-V_CEsat;// in V // Applying KVL to input loop // V_CC= V_BEsat+I_B*R_B or (ii) I_B= (V_CC-V_BEsat)/R_B;// in A // Just at saturation I_B= I_C/Beta or I_C= Beta*I_B;// in A R_Cmin= I_CsatR_C/I_C;// in ohm R_Cmin= R_Cmin*10^-3;// in k ohm disp(R_Cmin,"The minimum value of R_C to produce saturation of Si transistor in kΩ is : ") // Part (ii) To obtain maximum value of R_B R_C = 1.2;// in k ohm R_C = R_C * 10^3;// in ohm I_Csat= I_CsatR_C/R_C;// in A // Just at saturation I_B= I_Csat/Beta;// in A // Now on substituting the new value of I_B in eq (ii) R_Bmax= (V_CC-V_BEsat)/I_B;// in ohm R_Bmax= R_Bmax*10^-3;// in k ohm disp(R_Bmax,"The largest value of R_B that will saturate the transistor in kΩ is : ")
39569c93ba91b55809e16d90c680c84ff0570060
449d555969bfd7befe906877abab098c6e63a0e8
/1844/CH5/EX5.6/6.sce
a9f2841c85511fa0948a98bbd9ab4471661c13d1
[]
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
69
sce
6.sce
clc MB= 28.5 MD=7.5 TB=MB+MD printf('True bearing = S %f N',TB)
47fb83be33639686816c86c26f1edd3865e738f7
449d555969bfd7befe906877abab098c6e63a0e8
/1628/CH12/EX12.1/Ex12_1.sce
6ded46f6494fa3e722748075ba0d5c35a697e458
[]
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
773
sce
Ex12_1.sce
// Example 12.1 // Given Z= 32+i24 R=32; // Real Part of Z X=24; // Imaginary Part of Z z=R+%i*X; // Impedance Z=abs(z); // Absolute value of Z Vl=400; // Supply Voltage Vph1=Vl/1.732; // Voltage in Y-Connection Iph1=Vph1/Z; // Current in Y-Connection Il1=Iph1; // Load Current in Y-Connection disp(' Current Drawn ( for Y-Connection ) = '+string(Il1)+' Amp'); Vph2=Vl; // Voltage in Delta-Connection Iph2=Vph2/Z; // Current in Delta-Connection Il2=1.732*Iph2; // Load Current in Delta-Connection disp(' Current Drawn (for Delta-Connection ) = '+string(Il2)+' Amp'); // p 409 12.1
328181730b5a89022b9532e354089a59990ff401
449d555969bfd7befe906877abab098c6e63a0e8
/2273/CH4/EX4.10/ex4_10.sce
15a12a9a21ba2d70d98c46cd89e4e0c407251f5a
[]
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
226
sce
ex4_10.sce
//Find the loop inductance per phase clear; clc; //soltion //given r=20;//mm//radius of the conductor re=r*exp(-1/4); d=7000;//mm//spacing L=0.1*log((sqrt(3))*d/(2*re)); printf("Inductance per km(L)=%.4f mH\n",L);
4c4beae50b3a24ea6989378bc9f191a239a9c881
814f1fb7876c113556c8a80e257bc16eb7cdf530
/old stuff/get_pages_from_ogg.sci
9f8d8e137560a2c6798a11d7930d6834cabac416
[]
no_license
jamiepg1/Vorbis_decoder
10d6847120efce98684092ad1d4c812290faf9e1
6cabd547539ac607e625f90e1f72023526de0672
refs/heads/master
2018-05-12T18:54:09.244192
2013-07-30T21:51:27
2013-07-30T21:51:27
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,034
sci
get_pages_from_ogg.sci
function pageStruc = get_pages_from_ogg(source) s = length(source); pageCount = 0; pageStruc = struct( 'capture_pattern', 0,... 'stream_structure_version', 0,... 'header_type_flag', 0,... 'absolute_granule_pos', 0,... 'stream_serial_number', 0,... 'page_sequence_no', 0,... 'page_checksum', 0,... 'page_segments', 0,... 'segment_table', 0,... 'packet', 0); elementCount = 1; err_cnt = 0; // Page start string - OggS - capture pattern page_start = ascii('OggS'); i = 1; packetCount = 1; while(i <= s-4) // for now get only 5 pages - TODO improve performance if(pageCount > 5) break; end //if(source(i) == ascii('O') & source(i+1) == ascii('g') & source(i+2) == ascii('g') & source(i+3) == ascii('S')) if( isequal(source(i:i+3), page_start) ) pageCount = pageCount + 1; elementCount = 1; packetCount = 1; packet = 1; printf('.'); pageStruc(pageCount).capture_pattern = source(i:i+3); pageStruc(pageCount).stream_structure_version = source(i+4); pageStruc(pageCount).header_type_flag = source(i+5); pageStruc(pageCount).absolute_granule_pos = sum(source(i+6:i+13)); pageStruc(pageCount).stream_serial_number = sum(source(i+14:i+17)); pageStruc(pageCount).page_sequence_no = sum(source(i+18:i+21)); pageStruc(pageCount).page_checksum = sum(source(i+22:i+25)); // TODO add CRC check pageStruc(pageCount).page_segments = source(i+26); pageStruc(pageCount).segment_table = source(i+27:i+pageStruc(pageCount).page_segments+26); i = i + pageStruc(pageCount).page_segments + 26 + 1; currentSegmentCount = pageStruc(pageCount).segment_table(packetCount); totalSegmentCount = pageStruc(pageCount).page_segments; end; //pageData(pageCount,elementCount) = source(i); //elementCount = elementCount + 1; packet(packetCount,elementCount) = source(i); elementCount = elementCount + 1; i = i + 1; if(elementCount >= currentSegmentCount) packet(packetCount,elementCount) = source(i); pageStruc(pageCount).packet = packet; packetCount = packetCount + 1; i = i + 1; if(packetCount < totalSegmentCount) currentSegmentCount = pageStruc(pageCount).segment_table(packetCount); else err_cnt = err_cnt + 1; end; elementCount = 1; end; end endfunction
5e34a3e5c72026faf51d297d8faece93b252743b
449d555969bfd7befe906877abab098c6e63a0e8
/914/CH12/EX12.3/ex12_3.sce
a6526e687fd05d3d8b21fd58cc687e3c8e3213df
[]
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
430
sce
ex12_3.sce
clc; warning("off"); printf("\n\n example12.3 - pg569"); U=3; //[m/sec] x1=1; //[m] x2=2; //[m] p=1/(1.001*10^-3); //[kg/m^3]; mu=1*10^-3; //[kg/m*sec] Nre1=(x1*U*p)/(mu); Nre2=(x2*p*U)/(mu); tauw=(1/2)*(p*(U^2))*((2*log10(Nre1)-0.65)^(-2.3)); B=1700; Cd=(0.455*(log10(Nre2))^-2.58)-(B/(Nre2)); Lb=2.0; F=(1/2)*(p*(U^2))*(Lb)*(Cd); printf("\n\n the drag on the plate is \n F = %f kg*m/sec^2 = %f N",F,F);
3994e42065b60aeb15cceb8050b7b63ae25335ba
449d555969bfd7befe906877abab098c6e63a0e8
/1163/CH27/EX27.1/example_27_1.sce
9e491634db5caf98717833d99f1143b249823e78
[]
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,917
sce
example_27_1.sce
clear; clc; disp("--------------Example 27.1---------------") // display the example printf("This example retrieves a document. We use the GET method to retrieve an image with the path /usr/bin/image1.\nThe request line shows the method (GET), the URL, and the HTTP version(1.1).\nThe header has two lines that show that the client can accept images in the GIF or JPEG format.\nThe request does not have a body. The response message contains the status line\nand four lines of header. The header lines define the date, server,\nMIME version, and length of the document. The body of the document follows the header."); // figure printf("\n\n Client Server\n"); printf(" | Request (GET method) |\n"); printf(" | _____________________________ |\n"); printf(" |-----------|GET /usr/bin/image1 HTTP/1.1 |-------->|\n"); printf(" | |Accept: image/gif | |\n"); printf(" | |Accept: image/jpeg | |\n"); printf(" | |_____________________________| |\n"); printf(" | |\n"); printf(" | _____________________________ |\n"); printf(" | |HTTP/l.l 200 OK | |\n"); printf(" | |Date:Mon07-Jan-05 13:15:14GMT| |\n"); printf(" |<----------|Server: Challenger |---------|\n"); printf(" | |MIME-version: 1.0 | |\n"); printf(" | |Content-length: 2048 | |\n"); printf(" | | | |\n"); printf(" | |(Body of the document) | |\n"); printf(" | |_____________________________| |\n"); printf(" | Response |\n");
3668ce8088e047ab45e77a7b5591c141fe0f26bf
449d555969bfd7befe906877abab098c6e63a0e8
/2642/CH3/EX3.13/Ex3_13.sce
3ce3efd857a481bc1ed8501f8192e55bd53b433e
[]
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,036
sce
Ex3_13.sce
// FUNDAMENTALS OF ELECTICAL MACHINES // M.A.SALAM // NAROSA PUBLISHING HOUSE // SECOND EDITION // Chapter 3 : TRANSFORMER AND PER UNIT SYSTEM // Example : 3.13 clc;clear; // clears the console and command history // Given data kVA = 120 // kVA ratings of autotransformer V1 = 2200 // lower part voltage of autotransformer in V V2 = 220 // upper part voltage of autotransformer in V // caclulations I_pq = kVA*10^3/V2 // currents of respective windings I_qr = kVA*10^3/V1 // currents of respective windings I_1 = I_pq+I_qr // current in primary side in A V_2 = V1+V2 // voltage across the secondary side in V kVA_1 = I_1*V1/1000 // kVA ratings of autotrnsformer kVA_2 = I_pq*V_2/1000 // kVA ratings of autotrnsformer // display the result disp("Example 3.13 solution"); printf(" \n kVA ratings of autotrnsformer \n kVA_1 = %.0f kVA \n", kVA_1); printf(" \n kVA ratings of autotrnsformer \n kVA_2 = %.0f kVA \n", kVA_2);
32f92f6c79dd8239bba03124f2a740290353a23b
449d555969bfd7befe906877abab098c6e63a0e8
/1949/CH5/EX5.5/Ex5_5.sce
a1627ca0298d78862ca750e3ab979f4299f3f269
[]
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
428
sce
Ex5_5.sce
//Chapter-5,Example 5_5,Page 5-25 clc() //Given Values: mn=1.674*10^-27 //mass of neutron h=6.63*10^-34 //Planck's constant lam=1*10^-10 //wavelength of neutron //Calculations: //we know, lam=h/sqrt(2*m*E) //de Broglie wavelength E1=h^2/(2*mn*lam^2) //Energy of neutron in joules E=E1/(1.6*10^-19) //Energy of neutron in electron-Volts printf('Energy of neutron is =%.3f eV \n',E)
a62e716f658cedeae95d757e6eea07e69b8cc7c1
449d555969bfd7befe906877abab098c6e63a0e8
/1472/CH17/EX17.1.a/17_1a.sce
5dbbf5d4c616b404d14bf9670b97a47c3c8b40bd
[]
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
243
sce
17_1a.sce
clc //initialization of varaibles w=1 //lb/sec v2=36.4 h1=1279.1 //B/lb h2=1091.7 //B/lb V1=100 //fps //calculations a2=w*v2/(sqrt(2*32.2*778*(h1-h2) + V1^2)) //sq ft a2=1.705 //sq in //results printf("Exit area = %.3f sq. in",a2)
6d02198d180834a921edf97b8e27ea95ce525251
717ddeb7e700373742c617a95e25a2376565112c
/1766/CH5/EX5.23/EX5_23.sce
86a34321898ff47ff7d278e3db61237a06232ddd
[]
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
1,027
sce
EX5_23.sce
clc;funcprot(0);//Example 5.23 //Initilisation of Variables Ta=20;.....//Temperature of air in degrees celcius D=2.5*10^-2;...//Diameter of tube in m U=0.5;........//Velocity of air in m/s Ts=100;......//Surface temperature of sphere at degrees celcius Sp=5*10^-2;...............//Space in perpenducular direction in m Sn=3.75*10^-2;.............//Space in parallel direction in m //Properties of air at Ta rho=1000;......//Density in kg/m^3 mu=1.006*10^-6;......//Viscocity in m^2/s Pr=7.02;........//Prandtl no K=0.5978;........//Thermal conductivity in W/mK //calculation Sd=[Sn^2+((Sp/2)^2)]^(0.5);..........// Umax=(U*Sp)/(2*(Sd-D));..........//Maximum Velocity in m/s Re=(Umax*D)/mu;...........//Reynolds number C=0.35*(Sp/Sn)^0.2;..........//Constant m1=0.6;.............//Coeffient Nu=C*Re^m1*Pr^0.36*(Pr/1.74)^0.25;.........//Nusselt number h=(Nu*K)/D;.........//Heat transfer co efficient for 20 rows of tubes in W/m^2K disp(h,"Actual heat transfer coefficient for 20 rows of tubes in W/m^2K:")
c861e36031fa55860ef1f144afa6499aa9d438e5
dabaa151dd30205dd92a6844c0cd61cf046fb8fe
/RCA/RCA.tst
91f903245c5b53c1396bd3d9ee1359d524d9bca1
[]
no_license
hakesh729/Project_hack
627ef8260f81dbc971bb5371839523daac4a2646
a1ea76fa612bbe4515863495922167bb4c65c418
refs/heads/main
2023-01-13T13:37:09.828021
2020-11-27T06:05:39
2020-11-27T06:05:39
316,411,714
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,065
tst
RCA.tst
load RCA.hdl, output-file RCA.out, output-list x%B1.16.1 y%B1.16.1 S%B1.1.1 cb%B1.1.1 z%B1.16.1 OF%B1.1.1; // A pair of unsigned integer operands for addition without resulting in overflow // 20432 + 10345 = 30777 set x %B0100111111010000 , set y %B0010100001101001 , set cb 0 , set S 0, eval, output; // A pair of unsigned integer operands for addition resulting in overflow // 40000 + 30000 = 70000 ( out of bound) set x %B1001110001000000 , set y %B0111010100110000 , set cb 0 , set S 0, eval, output; // A pair of unsigned integer operands for subtraction with a valid output // 40000 - 30000 = 10000 set x %B1001110001000000 , set y %B0111010100110000 , set cb 1 , set S 0, eval, output; // A pair of positive integers without overflow // 220 + 320 set x %B0000000011011100 , set y %B0000000101000000 , set cb 0, set S 1, eval, output; // A Pair of positive integers resulting in overflow //24000 + 13000 (out of bounds) set x %B0101110111000000 , set y %B0011001011001000 , set cb 0, set S 1, eval, output; // A paif of negative integers for addition without resulting in overflow // -1000 + -12000 set x %B1111110000011000 , set y %B1101000100100000 , set cb 0, set S 1, eval, output; // A Pair of negative integers for addition resulting in overflow // -10000 + (-29000) (out of bounds) set x %B1101100011110000 , set y %B1000111010111000 , set cb 0, set S 1, eval , output; // A pair of operands of opposite sign for addition. There is no overflow for this condition //12345 + (-10000) set x %B0011000000111001 , set y %B1101100011110000, set cb 0, set S 1, eval, output; // A pair of operands of opposite sign for subtraction without resulting in overflow // 13456 - (-15000) set x %B0011010010010000 , set y %B1100010101101000 , set cb 1, set S 1, eval, output; // A pair of operands of opposite sign for subtraction resulting in overflow // 18456 - (-17000) (out of bounds) set x %B0100100000011000 , set y %B1011110110011000 , set cb 1, set S 1, eval, output;
c58e6ff6ed5faa4006ec5af79ea4408479b921da
b29e9715ab76b6f89609c32edd36f81a0dcf6a39
/ketpic2escifiles6/Paramark.sci
82ac7c4f024f28e70525add965249559b60b6ba9
[]
no_license
ketpic/ketcindy-scilab-support
e1646488aa840f86c198818ea518c24a66b71f81
3df21192d25809ce980cd036a5ef9f97b53aa918
refs/heads/master
2021-05-11T11:40:49.725978
2018-01-16T14:02:21
2018-01-16T14:02:21
117,643,554
1
0
null
null
null
null
UTF-8
Scilab
false
false
338
sci
Paramark.sci
// 08.06.18 function P=Paramark(varargin) Nargs=length(varargin); PA=varargin(1); PB=varargin(2); PC=varargin(3); R=0.5; if Nargs>=4 R=varargin(4)*R; end U=R*(PA-PB)/Vecnagasa(PA,PB); V=R*(PC-PB)/Vecnagasa(PC,PB); if Gaiseki(PA-PB,PC-PB)~=0 P=Listplot([PB+U,PB+U+V,PB+V]); else P=[]; end endfunction
12f65d1f18746e5aaa468cd883be63ed281c037f
449d555969bfd7befe906877abab098c6e63a0e8
/3428/CH22/EX14.22.7/Ex14_22_7.sce
2e2eb1cffb489f6cecda88760d786a1b3c995609
[]
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
504
sce
Ex14_22_7.sce
//Section-14,Example-1,Page no.-PC.59 //To calculate coefficient of viscosity of experimental liquid. //(n_1/n_2)=(t_1*d_1)/(t_2*d_2) n_2=1 //Coefficient of viscosity of reference liquid (centipoise) t_1=45.32 //t_1and t_2 (times of flow) (s) t_2=65.66 //(s) d_1=0.8 //d_1 and d_2 (densities)(g/cm^3) d_2=1.0 //(g/cm^3) n_1=((n_2*t_1*d_1)/(t_2*d_2)) disp(n_1,'Coefficient of viscosity of experimental liquid(centipoise)')
4003329141a5c980c8fa5bcb95a82168c61b49c7
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.4/macros/scicos/update_redraw_obj.sci
47ee9f22e060faf206f75f868677ba22bce024e9
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer" ]
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
278
sci
update_redraw_obj.sci
function scs_m=update_redraw_obj(scs_m,k,o) // Copyright INRIA if size(k)==1 then if o(1)=='Link'|o(1)=='Text' then drawobj(scs_m(k)) scs_m(k)=o drawobj(scs_m(k)) else scs_m=changeports(scs_m,k,o) end else // change a block in a sub-level scs_m(k)=o end
2692b810e3ee4a7d5ccc111ab7ebea89d82ec4bb
1489f5f3f467ff75c3223c5c1defb60ccb55df3d
/tests/test_bundle_1_a.tst
6f5645f636586bd7cfe190222077d9430a1848cd
[ "MIT" ]
permissive
ciyam/ciyam
8e078673340b43f04e7b0d6ac81740b6cf3d78d0
935df95387fb140487d2e0053fabf612b0d3f9e2
refs/heads/master
2023-08-31T11:03:25.835641
2023-08-31T04:31:22
2023-08-31T04:31:22
3,124,021
18
16
null
2017-01-28T16:22:57
2012-01-07T10:55:14
C++
UTF-8
Scilab
false
false
18
tst
test_bundle_1_a.tst
adding "test.png"
40aff27edba14eaf7596952082e87bf3fe7a726c
ab845192d4a70fef24adc0f8e4a06542e7c15f99
/RLC_circuit/RLC_ckt_output/RLC_ckt_eqn.sce
d5e06f4e01df498eb9eb7da220bd0a636fb626c0
[]
no_license
kaushikmallick/examples
86b3090649eb5a6fa13a6604059dd484fc22b2b9
204771be70bef6b878fd37326765182ab7aa0b74
refs/heads/master
2021-01-10T19:47:58.734279
2014-02-22T15:34:37
2014-02-22T15:34:37
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
27,760
sce
RLC_ckt_eqn.sce
inductor10_L = 1; inductor2_L = 1; resistor2_R = 1; capacitor8_C = 1; capacitor10_C = 1; capacitor9_C = 1; inductor9_L = 1; resistor15_R = 1; inductor8_L = 1; resistor13_R = 1; capacitor7_C = 1; inductor7_L = 1; resistor12_R = 1; capacitor6_C = 1; inductor6_L = 1; resistor11_R = 1; capacitor5_C = 1; inductor5_L = 1; capacitor4_C = 1; inductor4_L = 1; resistor5_R = 1; inductor3_L = 1; capacitor3_C = 1; capacitor2_C = 1; inductor1_L = 1; capacitor1_C = 1; resistor17_R = 1; resistor20_R = 1; resistor8_R = 1; resistor6_R = 1; resistor16_R = 1; resistor18_R = 1; resistor19_R = 1; resistor7_R = 1; resistor14_R = 1; resistor10_R = 1; resistor9_R = 1; resistor4_R = 1; resistor3_R = 1; resistor1_R = 1; num_state = 20; num_invar = 1; num_outvar = 1; s = poly(0,'s'); polymat = ... [[inductor10_L*s, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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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
375
sce
ex_1_7_b.sce
// example 1.7(b) // //conversion of binary to hexadecimal // clc //clears the screen // clear //clears already existing variables // x= bin2dec ('1011001110' ) // binary to decimal conversion // a= dec2hex (x) //decimal to hexadecimal conversion // disp ('conversion of given binary number to its hexadecimal form is : ') disp (a) // answer in hexadecimal form//
4ae7c9c56c3f711baf228965d306810cbf387946
449d555969bfd7befe906877abab098c6e63a0e8
/1793/CH7/EX7.3/7_3.sce
5c8dd60dfcd6e079ed5ad189b9b160d3af18471a
[]
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
183
sce
7_3.sce
clc //initialisation of varilables k= 3e-7 //cm/sec n= 0.0911e-4 //g*sec/cm^2 dw= 1 //g/cc //calculations K= k*n/dw //results printf ('absolute premeability = % 4f cm^2 ',K)
87eb470c047959e405c2c0c264ecaa13cddd8ae3
449d555969bfd7befe906877abab098c6e63a0e8
/1358/CH7/EX7.10/Example710.sce
06008189f2fa33abce4485794f424bcf4d9897eb
[]
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,028
sce
Example710.sce
// Display mode mode(0); // Display warning for floating point exception ieee(1); clear; clc; disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 7, Example 10") disp("For no loss up to throat Ps in bars") P01 = 4;//bar gam = 1.33; Ps = P01*(2/(gam+1))^(gam/(gam-1)) T01 = 1100;//K Ts = 944;//K Cpg = 1147; U = 300;//m/s C = (2*Cpg*(T01-Ts))^0.5//m/s R = 0.287; rhos = Ps*100/(R*Ts)//kg/m3 disp("Throat area in m2") m=20;//kg/s A = m/(rhos*C) disp("Angle alpha1, at any radius r and alpha1m at the design radius rm are related by the equation") disp("tan(alpha1) = rm*tan(alpha1m)/r") disp("Given") disp("Tip radius/Root radius = rt/rr = 1.4") disp("Therefore mean radius/root radius = 1.2") alpha1m = 25 alpha1r = atan(1.2*tan(alpha1m*%pi/180))*180/%pi alpha1t = atan(tan(alpha1r*%pi/180)/1.4)*180/%pi disp("Velocity in m/s") disp("Cw2 = rm*x*Cw2m/rr = rm*Ca2/(rr*tan(alpha2m))") Cw2 = 1.2*250/tan(alpha1m*%pi/180) disp("Power developed in kW") W = m*U*Cw2/1000
2453f52bd8f9e4c2d9a633262b944de1a96ee17b
1bb72df9a084fe4f8c0ec39f778282eb52750801
/test/HR10.prev.tst
ca9ab9e479644991b9942e0adf2cc1fa41eb7933
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
gfis/ramath
498adfc7a6d353d4775b33020fdf992628e3fbff
b09b48639ddd4709ffb1c729e33f6a4b9ef676b5
refs/heads/master
2023-08-17T00:10:37.092379
2023-08-04T07:48:00
2023-08-04T07:48:00
30,116,803
2
0
null
null
null
null
UTF-8
Scilab
false
false
18,878
tst
HR10.prev.tst
polys[0]=0 polys[1]=1 polys[2]=-1,-1 polys[3]=0 polys[4]=0 polys[5]=1 polys[6]=-6,-2 polys[7]=6,7,1 order=6 initialize: mN=-1, mRElen=7, mNPlen=2, mOrder=6, mLinit=8 exp: multiply ring=[0,0,0,0,0,0,*0] by mN=0 exp: multiply ring=[0,0,0,0,0,0,*0] by mN=0 exp: multiply ring=[0,0,0,0,0,0,*0] by mN=0 exp: multiply ring=[0,0,0,0,0,0,*0] by mN=0 exp: multiply ring=[0,0,0,0,0,0,*0] by mN=0 exp: multiply ring=[0,0,0,0,0,0,*0] by mN=0 exp: multiply ring=[0,0,0,0,0,0,*0] by mN=0 setRE(0,0): [*0,0,0,0,0,0,0] -> [*0,0,0,0,0,0,0] result=0, RE=[*0,0,0,0,0,0,0] 0 0 exp: multiply ring=[*0,0,0,0,0,0,0] by mN=1 exp: multiply ring=[*0,0,0,0,0,0,0] by mN=1 exp: multiply ring=[*0,0,0,0,0,0,0] by mN=1 exp: multiply ring=[*0,0,0,0,0,0,0] by mN=1 exp: multiply ring=[*0,0,0,0,0,0,0] by mN=1 exp: multiply ring=[*0,0,0,0,0,0,0] by mN=1 exp: multiply ring=[*0,0,0,0,0,0,0] by mN=1 setRE(1,0): [0,*0,0,0,0,0,0] -> [0,*0,0,0,0,0,0] result=0, RE=[0,*0,0,0,0,0,0] 1 0 exp: multiply ring=[0,*0,0,0,0,0,0] by mN=2 exp: multiply ring=[0,*0,0,0,0,0,0] by mN=2 exp: multiply ring=[0,*0,0,0,0,0,0] by mN=2 exp: multiply ring=[0,*0,0,0,0,0,0] by mN=2 exp: multiply ring=[0,*0,0,0,0,0,0] by mN=2 exp: multiply ring=[0,*0,0,0,0,0,0] by mN=2 exp: multiply ring=[0,*0,0,0,0,0,0] by mN=2 setRE(2,0): [0,0,*0,0,0,0,0] -> [0,0,*0,0,0,0,0] result=0, RE=[0,0,*0,0,0,0,0] 2 0 exp: multiply ring=[0,0,*0,0,0,0,0] by mN=3 exp: multiply ring=[0,0,*0,0,0,0,0] by mN=3 exp: multiply ring=[0,0,*0,0,0,0,0] by mN=3 exp: multiply ring=[0,0,*0,0,0,0,0] by mN=3 exp: multiply ring=[0,0,*0,0,0,0,0] by mN=3 exp: multiply ring=[0,0,*0,0,0,0,0] by mN=3 exp: multiply ring=[0,0,*0,0,0,0,0] by mN=3 setRE(3,0): [0,0,0,*0,0,0,0] -> [0,0,0,*0,0,0,0] result=0, RE=[0,0,0,*0,0,0,0] 3 0 exp: multiply ring=[0,0,0,*0,0,0,0] by mN=4 exp: multiply ring=[0,0,0,*0,0,0,0] by mN=4 exp: multiply ring=[0,0,0,*0,0,0,0] by mN=4 exp: multiply ring=[0,0,0,*0,0,0,0] by mN=4 exp: multiply ring=[0,0,0,*0,0,0,0] by mN=4 exp: multiply ring=[0,0,0,*0,0,0,0] by mN=4 exp: multiply ring=[0,0,0,*0,0,0,0] by mN=4 setRE(4,0): [0,0,0,0,*0,0,0] -> [0,0,0,0,*0,0,0] result=0, RE=[0,0,0,0,*0,0,0] 4 0 exp: multiply ring=[0,0,0,0,*0,0,0] by mN=5 exp: multiply ring=[0,0,0,0,*0,0,0] by mN=5 exp: multiply ring=[0,0,0,0,*0,0,0] by mN=5 exp: multiply ring=[0,0,0,0,*0,0,0] by mN=5 exp: multiply ring=[0,0,0,0,*0,0,0] by mN=5 exp: multiply ring=[0,0,0,0,*0,0,0] by mN=5 exp: multiply ring=[0,0,0,0,*0,0,0] by mN=5 setRE(5,24): [0,0,0,0,0,*0,0] -> [0,0,0,0,0,*24,0] result=24, RE=[0,0,0,0,0,*24,0] 5 24 exp: multiply ring=[0,0,0,0,0,*24,0] by mN=6 exp: multiply ring=[0,0,0,0,0,*24,0] by mN=6 exp: multiply ring=[0,0,0,0,0,*24,0] by mN=6 exp: multiply ring=[0,0,0,0,0,*24,0] by mN=6 exp: multiply ring=[0,0,0,0,0,*24,0] by mN=6 exp: multiply ring=[0,0,0,0,0,*24,0] by mN=6 exp: multiply ring=[0,0,0,0,0,*144,0] by mN=6 setRE(6,144): [0,0,0,0,0,144,*0] -> [0,0,0,0,0,144,*144] result=144, RE=[0,0,0,0,0,144,*144] 6 144 exp: multiply ring=[0,0,0,0,0,144,*144] by mN=7 exp: multiply ring=[0,0,0,0,0,144,*144] by mN=7 exp: multiply ring=[0,0,0,0,0,144,*144] by mN=7 exp: multiply ring=[0,0,0,0,0,144,*144] by mN=7 exp: multiply ring=[0,0,0,0,0,144,*144] by mN=7 exp: multiply ring=[0,0,0,0,0,144,*144] by mN=7 exp: multiply ring=[0,0,0,0,0,1008,*144] by mN=7 setRE(0,504): [*0,0,0,0,0,1008,1008] -> [*504,0,0,0,0,1008,1008] result=504, RE=[*504,0,0,0,0,1008,1008] 7 504 pvals[7]=24 pvals[6]=-10 pvals[5]=1 pvals[4]=0 pvals[3]=0 pvals[2]=-3 pvals[1]=1 pvals[0]=0 sum: 0 (pvals[1]=1, RE=[504,*0,0,0,0,1008,1008]) -> 0 (pvals[1]=1, RE=[504,0,*0,0,0,1008,1008]) sum: 0 (pvals[2]=-3, RE=[504,0,*0,0,0,1008,1008]) -> 0 (pvals[2]=-3, RE=[504,0,0,*0,0,1008,1008]) sum: 0 (pvals[3]=0, RE=[504,0,0,*0,0,1008,1008]) -> 0 (pvals[3]=0, RE=[504,0,0,0,*0,1008,1008]) sum: 0 (pvals[4]=0, RE=[504,0,0,0,*0,1008,1008]) -> 0 (pvals[4]=0, RE=[504,0,0,0,0,*1008,1008]) sum: 0 (pvals[5]=1, RE=[504,0,0,0,0,*1008,1008]) -> 1008 (pvals[5]=1, RE=[504,0,0,0,0,1008,*1008]) sum: 1008 (pvals[6]=-10, RE=[504,0,0,0,0,1008,*1008]) -> -4032 (pvals[6]=-10, RE=[*504,0,0,0,0,1008,1008]) exp: multiply ring=[*504,0,0,0,0,1008,1008] by mN=8 exp: multiply ring=[*4032,0,0,0,0,1008,1008] by mN=8 exp: multiply ring=[*4032,0,0,0,0,1008,1008] by mN=8 exp: multiply ring=[*4032,0,0,0,0,1008,1008] by mN=8 exp: multiply ring=[*4032,0,0,0,0,1008,1008] by mN=8 exp: multiply ring=[*4032,0,0,0,0,1008,1008] by mN=8 exp: multiply ring=[*4032,0,0,0,0,8064,1008] by mN=8 setRE(1,1344): [4032,*0,0,0,0,8064,8064] -> [4032,*1344,0,0,0,8064,8064] result=1344, RE=[4032,*1344,0,0,0,8064,8064] 8 1344 pvals[7]=36 pvals[6]=-12 pvals[5]=1 pvals[4]=0 pvals[3]=0 pvals[2]=-4 pvals[1]=1 pvals[0]=0 sum: 0 (pvals[1]=1, RE=[4032,1344,*0,0,0,8064,8064]) -> 0 (pvals[1]=1, RE=[4032,1344,0,*0,0,8064,8064]) sum: 0 (pvals[2]=-4, RE=[4032,1344,0,*0,0,8064,8064]) -> 0 (pvals[2]=-4, RE=[4032,1344,0,0,*0,8064,8064]) sum: 0 (pvals[3]=0, RE=[4032,1344,0,0,*0,8064,8064]) -> 0 (pvals[3]=0, RE=[4032,1344,0,0,0,*8064,8064]) sum: 0 (pvals[4]=0, RE=[4032,1344,0,0,0,*8064,8064]) -> 0 (pvals[4]=0, RE=[4032,1344,0,0,0,8064,*8064]) sum: 0 (pvals[5]=1, RE=[4032,1344,0,0,0,8064,*8064]) -> 4032 (pvals[5]=1, RE=[*4032,1344,0,0,0,8064,8064]) sum: 4032 (pvals[6]=-12, RE=[*4032,1344,0,0,0,8064,8064]) -> -12096 (pvals[6]=-12, RE=[4032,*1344,0,0,0,8064,8064]) exp: multiply ring=[4032,*1344,0,0,0,8064,8064] by mN=9 exp: multiply ring=[36288,*1344,0,0,0,8064,8064] by mN=9 exp: multiply ring=[36288,*12096,0,0,0,8064,8064] by mN=9 exp: multiply ring=[36288,*12096,0,0,0,8064,8064] by mN=9 exp: multiply ring=[36288,*12096,0,0,0,8064,8064] by mN=9 exp: multiply ring=[36288,*12096,0,0,0,8064,8064] by mN=9 exp: multiply ring=[36288,*12096,0,0,0,72576,8064] by mN=9 setRE(2,3024): [36288,12096,*0,0,0,72576,72576] -> [36288,12096,*3024,0,0,72576,72576] result=3024, RE=[36288,12096,*3024,0,0,72576,72576] 9 3024 pvals[7]=50 pvals[6]=-14 pvals[5]=1 pvals[4]=0 pvals[3]=0 pvals[2]=-5 pvals[1]=1 pvals[0]=0 sum: 0 (pvals[1]=1, RE=[36288,12096,3024,*0,0,72576,72576]) -> 0 (pvals[1]=1, RE=[36288,12096,3024,0,*0,72576,72576]) sum: 0 (pvals[2]=-5, RE=[36288,12096,3024,0,*0,72576,72576]) -> -362880 (pvals[2]=-5, RE=[36288,12096,3024,0,0,*72576,72576]) sum: -362880 (pvals[3]=0, RE=[36288,12096,3024,0,0,*72576,72576]) -> -362880 (pvals[3]=0, RE=[36288,12096,3024,0,0,72576,*72576]) sum: -362880 (pvals[4]=0, RE=[36288,12096,3024,0,0,72576,*72576]) -> -362880 (pvals[4]=0, RE=[*36288,12096,3024,0,0,72576,72576]) sum: -362880 (pvals[5]=1, RE=[*36288,12096,3024,0,0,72576,72576]) -> -350784 (pvals[5]=1, RE=[36288,*12096,3024,0,0,72576,72576]) sum: -350784 (pvals[6]=-14, RE=[36288,*12096,3024,0,0,72576,72576]) -> -393120 (pvals[6]=-14, RE=[36288,12096,*3024,0,0,72576,72576]) exp: multiply ring=[36288,12096,*3024,0,0,72576,72576] by mN=10 exp: multiply ring=[362880,12096,*3024,0,0,72576,72576] by mN=10 exp: multiply ring=[362880,120960,*3024,0,0,72576,72576] by mN=10 exp: multiply ring=[362880,120960,*30240,0,0,72576,72576] by mN=10 exp: multiply ring=[362880,120960,*30240,0,0,72576,72576] by mN=10 exp: multiply ring=[362880,120960,*30240,0,0,72576,72576] by mN=10 exp: multiply ring=[362880,120960,*30240,0,0,725760,72576] by mN=10 setRE(3,78624): [362880,120960,30240,*0,0,725760,725760] -> [362880,120960,30240,*78624,0,725760,725760] result=78624, RE=[362880,120960,30240,*78624,0,725760,725760] 10 78624 pvals[7]=66 pvals[6]=-16 pvals[5]=1 pvals[4]=0 pvals[3]=0 pvals[2]=-6 pvals[1]=1 pvals[0]=0 sum: 0 (pvals[1]=1, RE=[362880,120960,30240,78624,*0,725760,725760]) -> 725760 (pvals[1]=1, RE=[362880,120960,30240,78624,0,*725760,725760]) sum: 725760 (pvals[2]=-6, RE=[362880,120960,30240,78624,0,*725760,725760]) -> -3628800 (pvals[2]=-6, RE=[362880,120960,30240,78624,0,725760,*725760]) sum: -3628800 (pvals[3]=0, RE=[362880,120960,30240,78624,0,725760,*725760]) -> -3628800 (pvals[3]=0, RE=[*362880,120960,30240,78624,0,725760,725760]) sum: -3628800 (pvals[4]=0, RE=[*362880,120960,30240,78624,0,725760,725760]) -> -3628800 (pvals[4]=0, RE=[362880,*120960,30240,78624,0,725760,725760]) sum: -3628800 (pvals[5]=1, RE=[362880,*120960,30240,78624,0,725760,725760]) -> -3598560 (pvals[5]=1, RE=[362880,120960,*30240,78624,0,725760,725760]) sum: -3598560 (pvals[6]=-16, RE=[362880,120960,*30240,78624,0,725760,725760]) -> -4856544 (pvals[6]=-16, RE=[362880,120960,30240,*78624,0,725760,725760]) exp: multiply ring=[362880,120960,30240,*78624,0,725760,725760] by mN=11 exp: multiply ring=[3991680,120960,30240,*78624,0,725760,725760] by mN=11 exp: multiply ring=[3991680,1330560,30240,*78624,0,725760,725760] by mN=11 exp: multiply ring=[3991680,1330560,332640,*78624,0,725760,725760] by mN=11 exp: multiply ring=[3991680,1330560,332640,*864864,0,725760,725760] by mN=11 exp: multiply ring=[3991680,1330560,332640,*864864,0,725760,725760] by mN=11 exp: multiply ring=[3991680,1330560,332640,*864864,0,7983360,725760] by mN=11 setRE(4,809424): [3991680,1330560,332640,864864,*0,7983360,7983360] -> [3991680,1330560,332640,864864,*809424,7983360,7983360] result=809424, RE=[3991680,1330560,332640,864864,*809424,7983360,7983360] 11 809424 pvals[7]=84 pvals[6]=-18 pvals[5]=1 pvals[4]=0 pvals[3]=0 pvals[2]=-7 pvals[1]=1 pvals[0]=0 sum: 0 (pvals[1]=1, RE=[3991680,1330560,332640,864864,809424,*7983360,7983360]) -> 7983360 (pvals[1]=1, RE=[3991680,1330560,332640,864864,809424,7983360,*7983360]) sum: 7983360 (pvals[2]=-7, RE=[3991680,1330560,332640,864864,809424,7983360,*7983360]) -> -19958400 (pvals[2]=-7, RE=[*3991680,1330560,332640,864864,809424,7983360,7983360]) sum: -19958400 (pvals[3]=0, RE=[*3991680,1330560,332640,864864,809424,7983360,7983360]) -> -19958400 (pvals[3]=0, RE=[3991680,*1330560,332640,864864,809424,7983360,7983360]) sum: -19958400 (pvals[4]=0, RE=[3991680,*1330560,332640,864864,809424,7983360,7983360]) -> -19958400 (pvals[4]=0, RE=[3991680,1330560,*332640,864864,809424,7983360,7983360]) sum: -19958400 (pvals[5]=1, RE=[3991680,1330560,*332640,864864,809424,7983360,7983360]) -> -19093536 (pvals[5]=1, RE=[3991680,1330560,332640,*864864,809424,7983360,7983360]) sum: -19093536 (pvals[6]=-18, RE=[3991680,1330560,332640,*864864,809424,7983360,7983360]) -> -33663168 (pvals[6]=-18, RE=[3991680,1330560,332640,864864,*809424,7983360,7983360]) exp: multiply ring=[3991680,1330560,332640,864864,*809424,7983360,7983360] by mN=12 exp: multiply ring=[47900160,1330560,332640,864864,*809424,7983360,7983360] by mN=12 exp: multiply ring=[47900160,15966720,332640,864864,*809424,7983360,7983360] by mN=12 exp: multiply ring=[47900160,15966720,3991680,864864,*809424,7983360,7983360] by mN=12 exp: multiply ring=[47900160,15966720,3991680,10378368,*809424,7983360,7983360] by mN=12 exp: multiply ring=[47900160,15966720,3991680,10378368,*9713088,7983360,7983360] by mN=12 exp: multiply ring=[47900160,15966720,3991680,10378368,*9713088,95800320,7983360] by mN=12 setRE(5,4809024): [47900160,15966720,3991680,10378368,9713088,*95800320,95800320] -> [47900160,15966720,3991680,10378368,9713088,*4809024,95800320] result=4809024, RE=[47900160,15966720,3991680,10378368,9713088,*4809024,95800320] 12 4809024 pvals[7]=104 pvals[6]=-20 pvals[5]=1 pvals[4]=0 pvals[3]=0 pvals[2]=-8 pvals[1]=1 pvals[0]=0 sum: 0 (pvals[1]=1, RE=[47900160,15966720,3991680,10378368,9713088,4809024,*95800320]) -> 47900160 (pvals[1]=1, RE=[*47900160,15966720,3991680,10378368,9713088,4809024,95800320]) sum: 47900160 (pvals[2]=-8, RE=[*47900160,15966720,3991680,10378368,9713088,4809024,95800320]) -> -79833600 (pvals[2]=-8, RE=[47900160,*15966720,3991680,10378368,9713088,4809024,95800320]) sum: -79833600 (pvals[3]=0, RE=[47900160,*15966720,3991680,10378368,9713088,4809024,95800320]) -> -79833600 (pvals[3]=0, RE=[47900160,15966720,*3991680,10378368,9713088,4809024,95800320]) sum: -79833600 (pvals[4]=0, RE=[47900160,15966720,*3991680,10378368,9713088,4809024,95800320]) -> -79833600 (pvals[4]=0, RE=[47900160,15966720,3991680,*10378368,9713088,4809024,95800320]) sum: -79833600 (pvals[5]=1, RE=[47900160,15966720,3991680,*10378368,9713088,4809024,95800320]) -> -70120512 (pvals[5]=1, RE=[47900160,15966720,3991680,10378368,*9713088,4809024,95800320]) sum: -70120512 (pvals[6]=-20, RE=[47900160,15966720,3991680,10378368,*9713088,4809024,95800320]) -> -166300992 (pvals[6]=-20, RE=[47900160,15966720,3991680,10378368,9713088,*4809024,95800320]) exp: multiply ring=[47900160,15966720,3991680,10378368,9713088,*4809024,95800320] by mN=13 exp: multiply ring=[622702080,15966720,3991680,10378368,9713088,*4809024,95800320] by mN=13 exp: multiply ring=[622702080,207567360,3991680,10378368,9713088,*4809024,95800320] by mN=13 exp: multiply ring=[622702080,207567360,51891840,10378368,9713088,*4809024,95800320] by mN=13 exp: multiply ring=[622702080,207567360,51891840,134918784,9713088,*4809024,95800320] by mN=13 exp: multiply ring=[622702080,207567360,51891840,134918784,126270144,*4809024,95800320] by mN=13 exp: multiply ring=[622702080,207567360,51891840,134918784,126270144,*62517312,95800320] by mN=13 setRE(6,20787624): [622702080,207567360,51891840,134918784,126270144,62517312,*1245404160] -> [622702080,207567360,51891840,134918784,126270144,62517312,*20787624] result=20787624, RE=[622702080,207567360,51891840,134918784,126270144,62517312,*20787624] 13 20787624 pvals[7]=126 pvals[6]=-22 pvals[5]=1 pvals[4]=0 pvals[3]=0 pvals[2]=-9 pvals[1]=1 pvals[0]=0 sum: 0 (pvals[1]=1, RE=[*622702080,207567360,51891840,134918784,126270144,62517312,20787624]) -> 207567360 (pvals[1]=1, RE=[622702080,*207567360,51891840,134918784,126270144,62517312,20787624]) sum: 207567360 (pvals[2]=-9, RE=[622702080,*207567360,51891840,134918784,126270144,62517312,20787624]) -> -259459200 (pvals[2]=-9, RE=[622702080,207567360,*51891840,134918784,126270144,62517312,20787624]) sum: -259459200 (pvals[3]=0, RE=[622702080,207567360,*51891840,134918784,126270144,62517312,20787624]) -> -259459200 (pvals[3]=0, RE=[622702080,207567360,51891840,*134918784,126270144,62517312,20787624]) sum: -259459200 (pvals[4]=0, RE=[622702080,207567360,51891840,*134918784,126270144,62517312,20787624]) -> -259459200 (pvals[4]=0, RE=[622702080,207567360,51891840,134918784,*126270144,62517312,20787624]) sum: -259459200 (pvals[5]=1, RE=[622702080,207567360,51891840,134918784,*126270144,62517312,20787624]) -> -196941888 (pvals[5]=1, RE=[622702080,207567360,51891840,134918784,126270144,*62517312,20787624]) sum: -196941888 (pvals[6]=-22, RE=[622702080,207567360,51891840,134918784,126270144,*62517312,20787624]) -> -654269616 (pvals[6]=-22, RE=[622702080,207567360,51891840,134918784,126270144,62517312,*20787624]) exp: multiply ring=[622702080,207567360,51891840,134918784,126270144,62517312,*20787624] by mN=14 exp: multiply ring=[8717829120,207567360,51891840,134918784,126270144,62517312,*20787624] by mN=14 exp: multiply ring=[8717829120,2905943040,51891840,134918784,126270144,62517312,*20787624] by mN=14 exp: multiply ring=[8717829120,2905943040,726485760,134918784,126270144,62517312,*20787624] by mN=14 exp: multiply ring=[8717829120,2905943040,726485760,1888862976,126270144,62517312,*20787624] by mN=14 exp: multiply ring=[8717829120,2905943040,726485760,1888862976,1767782016,62517312,*20787624] by mN=14 exp: multiply ring=[8717829120,2905943040,726485760,1888862976,1767782016,875242368,*20787624] by mN=14 setRE(0,72696624): [*8717829120,2905943040,726485760,1888862976,1767782016,875242368,291026736] -> [*72696624,2905943040,726485760,1888862976,1767782016,875242368,291026736] result=72696624, RE=[*72696624,2905943040,726485760,1888862976,1767782016,875242368,291026736] 14 72696624 pvals[7]=150 pvals[6]=-24 pvals[5]=1 pvals[4]=0 pvals[3]=0 pvals[2]=-10 pvals[1]=1 pvals[0]=0 sum: 0 (pvals[1]=1, RE=[72696624,*2905943040,726485760,1888862976,1767782016,875242368,291026736]) -> 726485760 (pvals[1]=1, RE=[72696624,2905943040,*726485760,1888862976,1767782016,875242368,291026736]) sum: 726485760 (pvals[2]=-10, RE=[72696624,2905943040,*726485760,1888862976,1767782016,875242368,291026736]) -> -18162144000 (pvals[2]=-10, RE=[72696624,2905943040,726485760,*1888862976,1767782016,875242368,291026736]) sum: -18162144000 (pvals[3]=0, RE=[72696624,2905943040,726485760,*1888862976,1767782016,875242368,291026736]) -> -18162144000 (pvals[3]=0, RE=[72696624,2905943040,726485760,1888862976,*1767782016,875242368,291026736]) sum: -18162144000 (pvals[4]=0, RE=[72696624,2905943040,726485760,1888862976,*1767782016,875242368,291026736]) -> -18162144000 (pvals[4]=0, RE=[72696624,2905943040,726485760,1888862976,1767782016,*875242368,291026736]) sum: -18162144000 (pvals[5]=1, RE=[72696624,2905943040,726485760,1888862976,1767782016,*875242368,291026736]) -> -17871117264 (pvals[5]=1, RE=[72696624,2905943040,726485760,1888862976,1767782016,875242368,*291026736]) sum: -17871117264 (pvals[6]=-24, RE=[72696624,2905943040,726485760,1888862976,1767782016,875242368,*291026736]) -> -19615836240 (pvals[6]=-24, RE=[*72696624,2905943040,726485760,1888862976,1767782016,875242368,291026736]) exp: multiply ring=[*72696624,2905943040,726485760,1888862976,1767782016,875242368,291026736] by mN=15 exp: multiply ring=[*1090449360,2905943040,726485760,1888862976,1767782016,875242368,291026736] by mN=15 exp: multiply ring=[*1090449360,43589145600,726485760,1888862976,1767782016,875242368,291026736] by mN=15 exp: multiply ring=[*1090449360,43589145600,10897286400,1888862976,1767782016,875242368,291026736] by mN=15 exp: multiply ring=[*1090449360,43589145600,10897286400,28332944640,1767782016,875242368,291026736] by mN=15 exp: multiply ring=[*1090449360,43589145600,10897286400,28332944640,26516730240,875242368,291026736] by mN=15 exp: multiply ring=[*1090449360,43589145600,10897286400,28332944640,26516730240,13128635520,291026736] by mN=15 setRE(1,1961583624): [1090449360,*43589145600,10897286400,28332944640,26516730240,13128635520,4365401040] -> [1090449360,*1961583624,10897286400,28332944640,26516730240,13128635520,4365401040] result=1961583624, RE=[1090449360,*1961583624,10897286400,28332944640,26516730240,13128635520,4365401040] 15 1961583624
8284672475fea1dd357c56c06310bd18d6946c0f
449d555969bfd7befe906877abab098c6e63a0e8
/1004/CH3/EX3.21/Ch03Ex21.sci
c76a9bc43b21f9da3a29768f7ddd62e8b4b5a426
[]
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
747
sci
Ch03Ex21.sci
// Scilab code: Ex3.21 : Uncertainity in momentum and kinetic energy of the proton:Pg: 92 (2008) m = 1.67e-027; // Mass of a proton, kg del_x = 1e-014; // Uncertainity in position, m h_bar = 1.054e-034; // Reduced Plancks constant, joule second del_p = h_bar/del_x; // Minimum uncertainity in momentum, kgm/s del_E = del_p^2/(2*m); // Minimum uncertainity in kinetic energy, joule printf("\nThe minimum uncertainity in momentum of the proton = %5.3e kgm/s", del_p); printf("\nThe minimum uncertainity in kinetic energy of the proton = %5.3e eV", del_E/1.6e-019); // Result // The minimum uncertainity in momentum of the proton = 1.054e-020 kgm/s // The minimum uncertainity in kinetic energy of the proton = 2.079e+005 eV
b2011913b04ac7f6d8232ad69bb44173f0b8ec85
abed134eb329d44a339af93997f34c76b7649173
/P2Codes/AddSub4.tst
3ecc4129d4a66a5c252e3d9114a83acfed277d19
[]
no_license
Patrickyyh/CSCE-312
8823df9f53d378b96c8018064da3823faef95ce3
b9ba0fd8592ce5d91d1689219ff48d638a66aee0
refs/heads/master
2023-05-03T18:46:15.689810
2021-05-22T06:02:17
2021-05-22T06:02:17
369,727,875
0
0
null
null
null
null
UTF-8
Scilab
false
false
470
tst
AddSub4.tst
load AddSub4.hdl, output-file AddSub4.out, compare-to AddSub4.cmp, output-list a%B1.4.1 b%B1.4.1 sub%B1.1.1 out%B1.4.1 carry%B3.1.3; // Student: Yuhao Ye // UIN: 529006730 // Email: yeyuhao1234@tamu.edu // Section : 599 set a %B0001, set b %B0001, set sub 0, eval, output; set sub 1, eval, output; set a %B0011, set b %B0011, set sub 0, eval, output; set sub 1, eval, output; set a %B0111, set b %B0001, set sub 0, eval, output; set sub 1, eval, output;
82b9507c3a4ba9a203d48e22d61871a011b64aec
449d555969bfd7befe906877abab098c6e63a0e8
/2195/CH3/EX3.2.1/ex_3_2_1.sce
2cd2e25175dd3e6f08ea2881014ea173c41c390d
[]
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
186
sce
ex_3_2_1.sce
//Example 3.2.1 // torque clc; clear; close; format("v",8) //given data : N=10; L=1.5*10^-2;// in m I=1;// in mA B=0.5; d=1*10^-2;// in m Td=B*I*L*d*N; disp(Td*10^-3,"torque,Td(Nm) = ")
1abe7b35cd7b3b6e164aaf8acd367ae0f1d31f90
449d555969bfd7befe906877abab098c6e63a0e8
/626/CH5/EX5.2/5_2.sce
a415994bdc2f3c29c003754a6728c0179bb6584d
[]
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
377
sce
5_2.sce
clear; clc; close; disp("Example 5.2") Md=2.65 Mx=Md //for Mx=2.65, from normal shock table My=0.4996 M1=My //from isentropic table for M1=0.5, A=1.34 //for Md=2.65, from isentropic table (A=A1/Acr) A1=3.036 Af=A1/A //from isentropic table Af, Mth=2.35 //for Mth=2.35, from normal shock table p=0.5615 //p=pty/ptx disp(p,"Maximum total pressure recovery:")
ec848a0f4700e6245b7054ce8745e9f4e1be9662
449d555969bfd7befe906877abab098c6e63a0e8
/1397/CH2/EX2.7/2_7.sce
739bef271bacac27c5c284a650980e3c76fb3a16
[]
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
442
sce
2_7.sce
//clc(); clear; //To determine the fundamental frequency t=0.001; //thickness of the crystal in metres rho=2650; //density of quartz in kg/m^3 Y=7.9*10^10; //youngs modulus in N/m^2 V=sqrt(Y/rho); printf("the fundamental frequency is %f m/s",V); //For fundamental mode of vibration, the thickness must be equal to lambda/2 lambda=2*t; new=V/lambda; printf("the fundamental frequency is %f Hz",new);
1a3cbcd311befbd13bc2446c7c55cccbc48303a0
449d555969bfd7befe906877abab098c6e63a0e8
/2219/CH7/EX7.13/Ex7_13.sce
8cd772783a3d0f186b4509fa5df30e74c550188f
[]
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,056
sce
Ex7_13.sce
// chapter 7 example 13 //----------------------------------------------------------------------------- clc; clear; // given data f = 60*10^6; // frequency in Hz c = 3*10^8 // velocity of EM wave in m/s // Calculations lamda = c/f; // wavelength in m l_dipole= lamda/2 // length of diplole // Physical length of antenna is made 5% shorter than desired length as per rule of thumb L = l_dipole - (5/100)*l_dipole; // actual physical length L_D = L - (4/100)*L; // length of director L_R = L + (4/100)*L; // length of reflector DDS = 0.12*lamda; // director dipole spacing RDS = 0.2*lamda; // Reflector dipole spacing // Output mprintf('Length of dipole = %3.3f m\n length of Director = %3.2f m\n length of Reflector = %3.2f m\n director dipole spacing = %3.1f m\n Reflector dipole spacing = %3.1f m',L,L_D,L_R,DDS,RDS); //------------------------------------------------------------------------------
49097c06f85e5864925b2217d075f77777f6a561
449d555969bfd7befe906877abab098c6e63a0e8
/1499/CH5/EX5.37/s37.sce
b5d050f1b58dd6b5b5b94128c31ab3e7eb0cef2c
[]
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
188
sce
s37.sce
s=%s; syms K H=syslin('c',K*(1+2*s)/(s*(s+1)*(s^2+s+1))) nyquist(H) show_margins(H,'nyquist') mtlb_axis([-1 1 -5 1]) gm=g_margin(H) // gain margin pm=p_margin(H) // phase margin
7f6150dea76dc9a21a36b8b51f9e116d7a22409b
449d555969bfd7befe906877abab098c6e63a0e8
/821/CH4/EX4.36/4_36.sce
00bb8b323b4b79c42d9abf349a600c300b106b88
[]
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
285
sce
4_36.sce
C1=0.04; C2=0.02; x=(C1^2)/(C2+(2*C1));//The amount of Na+ transported at equilibrium in M// printf('The amount of Na+ transported at equilibrium=x=%fM',x); NaR=C2+x;//Na+ on RHS// printf('\nNa+ on RHS=NaR=%fM',NaR); NaL=C1-x;//Na+ on LHS// printf('\nNa+ on LHS=NaL=%fM',NaL);
52022a07fa8afe759d297e80d20793484a2abee2
449d555969bfd7befe906877abab098c6e63a0e8
/3701/CH2/EX2.2/Ex2_2.sce
27114c734516005e1a9235f6098672b44ff79999
[]
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
384
sce
Ex2_2.sce
////Given E=40 //W lembda=6000*10**-10 //m h=6.63*10**-34 //Js c=3*10**8 //m/s //Calculation n=(E*lembda)/(h*c) //Result printf("\n Number of photons emitted per second are given by %0.2f *10**19",n*10**-19) printf("\nThe answers vary due to round off error")
c298128c8114e0d080e2058fc8e9ceeeff1670fb
449d555969bfd7befe906877abab098c6e63a0e8
/2534/CH14/EX14.4/Ex14_4.sce
d5aed62b11025baff8d185ccd6df7fb817b26026
[]
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
554
sce
Ex14_4.sce
//Ex14_4 clc Rf = 1*10^3//feedback resistance R1 = 1*10^3//resistance 1 R2 = 1*10^3//resistance 2 R3 = 1*10^3//resistance 3 v1 = 2//input voltage 1 v2 = 1//input voltage 2 v3 = 3//input voltage 3 vo = -Rf*((v1/R1)+(v2/R2)+(v3/R3))//output voltage of adder circuit disp("Rf = "+string(Rf)+"ohm") disp("R1 = "+string(R1)+"ohm") disp("R2 = "+string(R2)+"ohm") disp("R3 = "+string(R3)+"ohm") disp("v1 = "+string(v1)+"V") disp("v2 = "+string(v2)+"V") disp("v3 = "+string(v3)+"V") disp("vo = -Rf*((v1/R1)+(v2/R2)+(v3/R3)) = "+string(vo)+"V")
15d8e7d3fffd9d1f057eece86566772270ee483c
449d555969bfd7befe906877abab098c6e63a0e8
/2438/CH4/EX4.10/Ex4_10.sce
70fe08bba38b3f28510e965eda26356a01fa57d0
[]
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
429
sce
Ex4_10.sce
//======================================================================== // chapter 4 example 10 clc; clear; //input data er = 4.94; n = 1.64; //calculatio //(alphae)/(alphai) =x x = ((er-1)/(er+2))*(((n^2)+2)/((n^2)-1)); //result mprintf('ratio of electronic and ionic probabilities =%6f\n',x); //========================================================================
032bb318f0d51246e33d17d441afbc3642fe66c1
449d555969bfd7befe906877abab098c6e63a0e8
/3864/CH7/EX7.23/Ex7_23.sce
0520404bd4e94eafec9438e98164378bd8f3677b
[]
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,388
sce
Ex7_23.sce
clear // // //Initilization of Variables //Strains e_A=600 //microns e_B=-450 //microns e_C=100 //micron E=2*10**5 //N/mm**2 //Modulus of Elasticity mu=0.3 //Poissons ratio theta=240 //Calculations e_x=600 e_A=600 //e_A=(e_x+e_y)*2**-1+(e_x-e_y)*2**-1*cos(theta)+rho_x_y*2**-1*sin(theta) //After sub values and further simplifying we get //-450=(e_x+e_y)*2**-1-(e_x-e_y)*2**-1*(0.5)-0.866*2**-1*rho_x_y .....................(1) //e_C=(e_x+e_y)*2**-1+(e_x-e_y)*2**-1*cos(2*theta)+rho_x_y*2**-1*sin(2*theta) //After sub values and further simplifying we get //100=(e_x+e_y)*2**-1-0.5*(e_x-e_y)*2**-1*(0.5)-0.866*2**-1*rho_x_y .....................(2) //Adding Equation 1 and 2 we get equations as //-350=e_x+e_y-(e_x-e_y)*2**-1 ...............(3) //Further simplifying we get e_y=(-700-e_x)*3**-1 //micron rho_x_y=(e_C-(e_x+e_y)*2**-1-(e_x-e_y)*2**-1*cos(2*theta*%pi*180**-1))*(sin(2*theta*%pi*180**-1))**-1*2 //micron //Principal strains e1=(e_x+e_y)*2**-1-(((e_x-e_y)*2**-1)**2+(rho_x_y*2**-1)**2)**0.5 //microns e2=(e_x+e_y)*2**-1+(((e_x-e_y)*2**-1)**2+(rho_x_y*2**-1)**2)**0.5 //microns //Principal Stresses sigma1=E*(e1+mu*e2)*(1-mu**2)**-1*10**-6 //N/mm**2 sigma2=E*(e2+mu*e1)*(1-mu**2)**-1*10**-6 //N/mm**2 //Result printf("\n Principal Stresses are:sigma1 %0.2f N/mm**2",sigma1) printf("\n :sigma2 %0.2f N/mm**2",sigma2)
844cc2bf54471336e882d4eec621ed5afe747297
b29e9715ab76b6f89609c32edd36f81a0dcf6a39
/ketpic2escifiles6/Partcrv3.sci
5b3cd178a98e2bcdc9a0e6a7bffdb1baab504a4f
[]
no_license
ketpic/ketcindy-scilab-support
e1646488aa840f86c198818ea518c24a66b71f81
3df21192d25809ce980cd036a5ef9f97b53aa918
refs/heads/master
2021-05-11T11:40:49.725978
2018-01-16T14:02:21
2018-01-16T14:02:21
117,643,554
1
0
null
null
null
null
UTF-8
Scilab
false
false
593
sci
Partcrv3.sci
// 08.09.13 // 09.03.06 function PL=Partcrv3(T1,T2,Fk) Eps=10^(-4); // Tmp=Mixop(1,Fk); // new part from if T1>T2+Eps Npt=size(Fk,1); Out1=Partcrv3(T1,Npt,Fk); Out2=Partcrv3(1,T2,Fk); Tmp=Fk(1,:)-Fk(Npt,:); if norm(Tmp)<Eps PL=Joincrvs(Out1,Out2); else PL=Mix(Out1,Out2); end; return; end; // to here Is=ceil(T1); Ie=floor(T2); PL=[]; if T1<Is-Eps P=(Is-T1)*Fk(Is-1,:)+(1-Is+T1)*Fk(Is,:); PL=[P] end; PL=[PL;Fk(Is:Ie,:)]; if T2>Ie+Eps P=(1-T2+Ie)*Fk(Ie,:)+(T2-Ie)*Fk(Ie+1,:); PL=[PL;P] end; endfunction;
305568bb5ba02876dcd6ad198bda0e090a137e60
449d555969bfd7befe906877abab098c6e63a0e8
/1118/CH25/EX25.7/eg25_7.sce
f22b069b9d968ce8c2b1350c549ba6b51b457db9
[]
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
341
sce
eg25_7.sce
clear; //clc(); max_dem=100; tar_md=800; tar_kwh=1.3; tar_kwh1=1.83; t=3600; lf=0.8; avg_dem=max_dem*lf; ann_ene=avg_dem*t; ann_bill=(tar_md*max_dem + tar_kwh*ann_ene); ann_bill1=tar_kwh1*ann_ene; if (ann_bill>ann_bill1) then disp("flat rate tarrif is better"); else disp("two part tariff is better"); end
cbc5766864ba50f2a6ad9ee748880e5c8bda982a
449d555969bfd7befe906877abab098c6e63a0e8
/3751/CH7/EX7.12/Ex7_12.sce
1583c0430bc78ae97157168992aff93e78ec2126
[]
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,314
sce
Ex7_12.sce
//Fluid Systems- By Shiv Kumar //Chapter 7- Performance of Water Turbine //Example 7.12 // To Find (a)The Speed ,Discharge and Power required for the Actual Pump (b) The Discharge of the model. clc clear //Given:- Lr=5; //Scale Ratio DpbyDm=Lr; DmbyDp=1/DpbyDm; //For Model Pm=22; //Power Required, kW Hm=7; //Head, m Nm=410; //Speed, rpm eta_m=1; //Assumption that efficiency of the model is 100% //For Prototype Hp=35; //Head, m //Data Required:- rho=1000; //Density of Water, Kg/m^3 g=9.81; //Acceleration due to gravity, m/s^2 //Computations:- Np=Nm*DmbyDp*(Hp/Hm)^(1/2); //rpm Pp=Pm*(Np/Nm)^3*DpbyDm^5; //KW Qm=Pm*1000*eta_m/(rho*g*Hm); //m^3/s Qp=Qm*(Np/Nm)^2*DpbyDm^2; //m^3/s //Results:- printf("(a)For the Actual Pump(Prototype):\n Speed, Np=%.2f rpm , \n Discharge, Qp=%.3f m^3/s and \n Power,Pp=%.2fKW\n",Np,Qp,Pp) //The Answer vary due to Round off Error(For Qp), The Answer Provided in the Textbook is Wrong (For Np and Pp). printf("(b)The Discharge of the Model, Qm=%.4f m^3/s",Qm) //The Answer vary due to Round off Error
6eead808d16821ff99bd3413c2d022d67225c6f0
449d555969bfd7befe906877abab098c6e63a0e8
/608/CH40/EX40.15/40_15.sce
b1f16ae8ce05b2df19a15c37579113ff3bf528c0
[]
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
40_15.sce
//Problem 40.15: A 400 pF capacitor is charged to a p.d. of 100 V. The dielectric has a cross-sectional area of 200 cm2 and a relative permittivity of 2.3. Calculate the energy stored per cubic metre of the dielectric. //initializing the variables: e0 = 8.85E-12; er = 2.3; A = 0.02; // in m2 C = 400E-12; // in Farad V = 100; // in Volts //calculation: //energy stored per unit volume of dielectric, W = ((C*V)^2)/(2*e0*er*A^2) printf("\n\n Result \n\n") printf("\n energy stored per unit volume of dielectric is %.4f J/m3",W)
ec66963e5224767826f0d45665018b25df098498
fdc5047b7bf8122bad1e621df236b0481226c36e
/virtualHartSci/macros/hrtTypeHex2Date.sci
aaea49afa337562cfa1c1bf70b5c6a9ada9966c8
[]
no_license
jpbevila/virtualHartSci
aea3c6ba23d054670eb193f441ea7de982b531cc
a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5
refs/heads/main
2023-07-26T23:05:28.044194
2021-09-09T11:50:59
2021-09-09T11:50:59
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
172
sci
hrtTypeHex2Date.sci
function strDate=hrtTypeHex2Date(strHex) auxVet = hex2dec(tokens(strHex,' ')); strDate = msprintf("%02d/%02d/%04d",auxVet(1),auxVet(2),1900+auxVet(3)); endfunction
29095c108e95b177fc3ad2649e292e5674bc6757
449d555969bfd7befe906877abab098c6e63a0e8
/2021/CH15/EX15.2/EX15_2.sce
7d1cc6ae6892bd31b8137ee44b2c70f3ca877d19
[]
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
162
sce
EX15_2.sce
//Finding of Speed of Sound waves //Given k=1.4; R=287; T=293; //To Find C=sqrt(k*R*T); C1=C*(18/5); disp("Speed of Sound waves ="+string(C1)+" Km/hr");
b5de8bfe904afe2e4fab28b93a94c3a8a8edbc48
449d555969bfd7befe906877abab098c6e63a0e8
/2318/CH4/EX4.9.a/ex_4_9_a.sce
957dd7c3d02fc6bd4cec2b148245077c45bd07b8
[]
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
204
sce
ex_4_9_a.sce
//Example 4.9.a:resistance clc; clear; close; st=15;//steps r=5;//ohm rsw=5.5;//ohm tr=(st*r)+rsw;//ohm vr=1.61;//V i=vr/tr;//A e2=1.61;//V e1=2.40;//V rh=(e1-e2)/i;//ohm disp(rh,"resistance is,(ohm)=")
30936781bf42fcdede2ee489c672a47880426a5d
68bc9ed8216a93c9b0bc0a6dbde62a7bb8328383
/param/testcase3.tst
759d7f87a67e8d176bc8f5a16a4fd6ac517c49e2
[]
no_license
michaelhuang14/AutonomousAgentsGreenhouse
5e305e522c95dfaaebd7e4f148de87572d4185ce
83e4aad142c9ca72ba4ababf58c25bed53428f0c
refs/heads/main
2022-12-20T01:59:27.773408
2020-10-08T03:02:55
2020-10-08T03:02:55
300,742,055
1
0
null
2020-10-08T02:41:49
2020-10-02T21:40:36
Python
UTF-8
Scilab
false
false
241
tst
testcase3.tst
# Simple trace file BASELINE = baseline3.bsl WHENEVER 1-02:00:00 ENSURE not led UNTIL 1-03:59:59 #lightoff until 4:00AM WAIT led FOR 3600 #Raisetemp should trigger WHENEVER led ENSURE temperature[0] < 28 # make sure doesnt overheat
713a08940be99c4bd3efc2d3caeca273de242aef
449d555969bfd7befe906877abab098c6e63a0e8
/1268/CH11/EX11.6/a_6.sce
61a321f0f3c333d6e44c25d2db490c05af938fe7
[]
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
283
sce
a_6.sce
clear; disp("Example A.6") d=1e-4 // diameter in m mew=1e-3 // viscosity in kg/ms densityp=1200 // of particle in kg/m^3 density= 1000 // of water in kg/m^3 t=0.256*densityp*d*d/mew U=densityp*d*d*9.81*(1-(density/densityp))/(18*mew) Re=d*U*density/mew disp(t,"Time is ")
1c127870abad057ff499d38862ce63233daaf84d
449d555969bfd7befe906877abab098c6e63a0e8
/380/CH4/EX4.6/Ex4_6.sce
0e7b3a1077e60cde9f5f752e3c8945b382ee53b2
[]
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
908
sce
Ex4_6.sce
//Caption:Find efficiency and voltage regulation of transformer //Exa:4.6 clc; clear; close; S=2200;//Volt-Ampere V_s=220;//secondary side voltage (in Volts) V_2=V_s; V_p=440;//primary side voltage (in Volts) R_e1=3;//in ohms X_e1=4;//in ohms R_c1=2.5*1000;//in ohms X_m1=2000;//in ohms a=V_p/V_2;//transformation ratio pf=0.707;//lagging power factor theta=-acosd(pf); I_2=(S/V_2)*(cosd(theta)+%i*sind(theta));//(in Amperes) //Refer to equivalent circuit (fig:4.16) I_p=I_2/a;//in Amperes V_2p=a*V_2; V_1=V_2p+I_p*(R_e1+%i*X_e1); I_c=V_1/R_c1;//core loss current (in Amperes) I_m=V_1/(%i*X_m1); I_1=I_p+I_c+I_m;//current supplied by source (in Amperes) P_o=real(V_p*conj(I_p));//output power (in Watts) P_in=real(V_1*conj(I_1));//input power (in Watts) Eff=P_o/P_in;//Efficiency disp(Eff*100,'Efficiency (%)='); VR=(abs(V_1)-abs(V_p))/V_p; disp(VR*100,'voltage regulation (%)=')
5460fdccededc7c6b0627711f99c09dc689852a0
449d555969bfd7befe906877abab098c6e63a0e8
/995/CH4/EX4.8/Ex4_8.sce
91c336d176d4825e8368bfd16d7a9fee0898c7b0
[]
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
127
sce
Ex4_8.sce
//Ex:4.8 clc; clear; close; V=240; c=100*10^-9; f=50; X_c=1/(2*%pi*f*c); I_c=V/X_c; printf("Current flow = %f A",I_c);
4b070b735ffebdf480c386ef8311575c68e98304
449d555969bfd7befe906877abab098c6e63a0e8
/1436/CH8/EX8.6/ex8_6.sce
161adf345a9a3ee38275c4d02eedcb3f15fdc064
[]
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
110
sce
ex8_6.sce
//Example 8.6, page no-510 clear clc t=2 y=1-%e^(-(t-1.5)/0.5) printf("y(t)at t=2 will be y(t)=%.3f",y)
5e5657beca0b99618ace2e5f25c9aace7b15f811
449d555969bfd7befe906877abab098c6e63a0e8
/1964/CH5/EX5.41/ex5_41.sce
50162b0ee6b36f81703b33554e9a904bc2f87ac7
[]
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
925
sce
ex5_41.sce
//Chapter-5, Example 5.41, Page 208 //============================================================================= clc clear //INPUT DATA P1=1000;//power1 in watts P2=1000;//power2 in watts //CALCULATIONS //for case(1) Pt=P1+P2;//total power in watts phi=atan(sqrt(3)*((P2-P1)/(P2+P1))*(180/%pi));//since tan(phi)=sqrt(3)*((P2-P1)/(P2+P1))) pf=cos(phi); mprintf("Thus power and powerfactor are %d W ,%d respectively\n",Pt,pf); //for case(2) P3=1000;//power3 in watts P4=-1000;//power4 in watts Pt1=P3+P4;//total power in watts pf1=0;//since we cannot perform division by zero in scilab,it doesn't consider it as infinite quantity to yield 90 degree angle and hence powerfactor 0 mprintf("Thus power and powerfactor are %d W ,%d respectively",Pt1,pf1); //=================================END OF PROGRAM======================================================================================================
f3beb43efd8970d78af87e8d2dfd1b81be83ff4d
449d555969bfd7befe906877abab098c6e63a0e8
/1541/CH2/EX2.21/Chapter2_Example21.sce
29407bde1fc6753abcfd5e4cae52983ed306d226
[]
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
556
sce
Chapter2_Example21.sce
//Chapter-2, Example 2.21, Page 2.39 //============================================================================= clc clear //INPUT DATA V1=1000;//Primary voltage in V V2=300;//Secondary voltage in V R1=0.2;//Primary resistance in ohm X1=0.75;//Primary reactance in ohm I1=50;//Primary current in A cosq1=0.8;//Power factor //CALCULATIONS E1=(V1-(I1*sqrt(R1^2+X1^2)));//Primary induced emf in V //OUTPUT mprintf('Primary induced emf is %3.1f V',E1) //=================================END OF PROGRAM==============================
c297d1ee6c08c10ee70b3df86458a7d1d381d94b
449d555969bfd7befe906877abab098c6e63a0e8
/3760/CH4/EX4.72/Ex4_72.sce
25a5d501b4eed10da423baa6a92c7a4bf8c7fc38
[]
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
613
sce
Ex4_72.sce
clc; v=230; // source voltage ra=0.1; // resistance of armature ia=100; // armature current n=1600; // speed of dc shunt motor wl=300; // friction and windage losses lo=1200; // no load core loss lc=2500; // copper losses Ls=0.01; // stray losses as a fraction of output Ea=v-ia*ra; // counter EMF pe=Ea*ia; // electromagnetic power wo=wl+lo; // no load rotational losses po=pe-wo; // shaft power + stray load losses psh=po/(1+Ls); Tsh=(psh*60)/(2*%pi*n); printf('Shaft torque is %f Nm\n',Tsh); pi=pe+lc; // power input to motor nm=(psh/pi)*100; printf('Motor efficiency is %f percent',nm);
006739e18170f69e04d279d8c98de4246bb73ffa
449d555969bfd7befe906877abab098c6e63a0e8
/3843/CH5/EX5.4/Ex5_4.sce
1ce467dbcee58ce28ec4875f2ac1cec45749ec4f
[]
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
315
sce
Ex5_4.sce
// Example 5_4 clc;funcprot(0); // Given data T_H=200+273;// K T_L=20+273;// K W=15;// kW // Calculation Q_H=W/(1-(T_L/T_H));//kW Q_L=Q_H-W;// kW printf("\nThe heat transfer from the high temperature reservoir,Q_H=%2.2f kW \nThe heat transfer from the high temperature reservoir,Q_L=%2.2f kW",Q_H,Q_L);
fa4030ed0186ef9313b2d666b91ba2001184e910
ec137036bbd0b9a8f83ce1b09d94fd2f6fdcbfdf
/part2/deu.judgements.tst
1038385e0f284feeb3806da5be4eb2c729ae06d3
[]
no_license
sigmorphon/2021Task0
cef358c80898421a3b9dc966b17b3fe337690a14
a8b31713b838bdb32a9bd84a866ee7d330a0badb
refs/heads/main
2023-08-25T18:06:42.560860
2021-10-14T01:01:48
2021-10-14T01:01:48
339,821,394
21
10
null
2021-10-06T06:49:37
2021-02-17T18:40:57
Scilab
UTF-8
Scilab
false
false
11,582
tst
deu.judgements.tst
aː x ə n ɡ ə aː x t V.PTCP;PST aː x ə n ɡ ə aː x ə n V.PTCP;PST a l ə n ɡ ə a l t V.PTCP;PST a l ə n ɡ ə a l ə n V.PTCP;PST a s ə n ɡ ə a s t V.PTCP;PST a s ə n ɡ ə a s ə n V.PTCP;PST a ʃ ə n ɡ ə a ʃ t V.PTCP;PST a ʃ ə n ɡ ə a ʃ ə n V.PTCP;PST au̯ f ə n ɡ ə au̯ f t V.PTCP;PST au̯ f ə n ɡ ə au̯ f ə n V.PTCP;PST b ai̯ ə n ɡ ə b ai̯ n V.PTCP;PST b ai̯ ə n ɡ ə b ai̯ t V.PTCP;PST b ai̯ f ə n ɡ ə b ai̯ f ə n V.PTCP;PST b ai̯ f ə n ɡ ə b ɪ f ə n V.PTCP;PST b ai̯ t ə n ɡ ə b ai̯ t ə t V.PTCP;PST b ai̯ t ə n ɡ ə b iː t ə n V.PTCP;PST b ə h iː b ə n b ə h oː b ə n V.PTCP;PST b ə h iː b ə n b ə h iː p t V.PTCP;PST b ə h uː t ə n b ə h uː t ə t V.PTCP;PST b ə h uː t ə n b ə h uː t ə n V.PTCP;PST b ɛː n ə n ɡ ə b ɛː n t V.PTCP;PST b ɛː n ə n ɡ ə b aː n t V.PTCP;PST b iːə n ɡ ə b oː n V.PTCP;PST b iːə n ɡ ə b oː t V.PTCP;PST b l ai̯ d ə n ɡ ə b l ɪ t ə n V.PTCP;PST b l ai̯ d ə n ɡ ə b l ai̯ d ə t V.PTCP;PST b l ai̯ n ə n ɡ ə b l ai̯ n t V.PTCP;PST b l ai̯ n ə n ɡ ə b l iː n ə n V.PTCP;PST b r ai̯ ə n ɡ ə b r ai̯ t V.PTCP;PST b r ai̯ ə n ɡ ə b r iː n V.PTCP;PST b r ɛ f t ə n ɡ ə b r ɔ f t ə n V.PTCP;PST b r ɛ f t ə n ɡ ə b r ɛ f t ə t V.PTCP;PST b r ɛ n d ə n ɡ ə b r ɛ n d ə t V.PTCP;PST b r ɛ n d ə n ɡ ə b r a n d ə t V.PTCP;PST b r ɛ s ə n ɡ ə b r ɔ s ə n V.PTCP;PST b r ɛ s ə n ɡ ə b r ɛ s ə n V.PTCP;PST b r uː t ə n ɡ ə b r uː t ə t V.PTCP;PST b r uː t ə n ɡ ə b r uː t ə n V.PTCP;PST d ai̯ t ə n ɡ ə d ai̯ t ə t V.PTCP;PST d ai̯ t ə n ɡ ə d iː t ə n V.PTCP;PST d au̯ ə n ɡ ə d au̯ t V.PTCP;PST d au̯ ə n ɡ ə d au̯ n V.PTCP;PST d au̯ f ə n ɡ ə d ɔ f ə n V.PTCP;PST d au̯ f ə n ɡ ə d au̯ f t V.PTCP;PST d ɛ n d ə n ɡ ə d a n d ə t V.PTCP;PST d ɛ n d ə n ɡ ə d a n t V.PTCP;PST d ɛ r b ə n ɡ ə d a r b ə n V.PTCP;PST d ɛ r b ə n ɡ ə d ɛ r p t V.PTCP;PST d ɪ n d ə n ɡ ə d ɪ n d ə t V.PTCP;PST d ɪ n d ə n ɡ ə d ʊ n d ə n V.PTCP;PST d r ɛ f t ə n ɡ ə d r ɔ f t ə n V.PTCP;PST d r ɛ f t ə n ɡ ə d r ɛ f t ə t V.PTCP;PST d r ɪ ŋ ə n ɡ ə d r ʊ ŋ ə n V.PTCP;PST d r ɪ ŋ ə n ɡ ə d r ɔ ŋ ə n V.PTCP;PST d ʏ n d ə n ɡ ə d ʏ n d ə t V.PTCP;PST d ʏ n d ə n ɡ ə d o n d ə t V.PTCP;PST ə l ai̯ n ə n ɡ ə l ai̯ n t V.PTCP;PST ə r aː b ə n ɡ ə r aː b ə n V.PTCP;PST ə r aː b ə n ɡ ə r aː p t V.PTCP;PST ə r ai̯ z ə n ɡ ə r ai̯ s t V.PTCP;PST ə r ai̯ z ə n b ə r ai̯ s t V.PTCP;PST ɛː r ə n ɡ ə ɛː r t V.PTCP;PST ɛː r ə n ɡ ə ɛː r ə n V.PTCP;PST ɛ r b ɪ ŋ ə n ɛ r b e ŋ ə n V.PTCP;PST ɛ r b ɪ ŋ ə n ɛ r b ʊ ŋ ə n V.PTCP;PST ɛ r eː t ə n ɛ r eː t ə t V.PTCP;PST ɛ r eː t ə n ɛ r oː t ə n V.PTCP;PST ɛ r l uː d ə n ɛ r l uː d ə t V.PTCP;PST ɛ r l uː d ə n ɛ r l uː d ə n V.PTCP;PST ɛ r t ɪ ŋ ə n ɛ r t ʊ ŋ ə n V.PTCP;PST ɛ r t ɪ ŋ ə n ɛ r t ɪ ŋ t V.PTCP;PST ɛ r z ai̯ ə n ɛ r z ai̯ n V.PTCP;PST ɛ r z ai̯ ə n ɛ r z ɔ n ə n V.PTCP;PST ɛ r z au̯ ə n ɛ r z ɔ t ə n V.PTCP;PST ɛ r z au̯ ə n ɛ r z au̯ n V.PTCP;PST ɛ r z ɪ ŋ ə n ɛ r z ʊ ŋ ə n V.PTCP;PST ɛ r z ɪ ŋ ə n ɛ r z e ŋ ə n V.PTCP;PST f ai̯ x ə n ɡ ə f ai̯ x t V.PTCP;PST f ai̯ x ə n ɡ ə f ɪ x ə n V.PTCP;PST f au̯ ə n ɡ ə f au̯ t V.PTCP;PST f au̯ ə n ɡ ə f au̯ n V.PTCP;PST f au̯ f ə n ɡ ə f au̯ f t V.PTCP;PST f au̯ f ə n ɡ ə f ɔ f ə n V.PTCP;PST f eːə n ɡ ə f eː t V.PTCP;PST f eːə n ɡ ə f eː n V.PTCP;PST f eː r ə n ɡ ə f eː r t V.PTCP;PST f eː r ə n ɡ ə f oː r ə n V.PTCP;PST f ɛ r ai̯ ə n f ɛ r ai̯ t V.PTCP;PST f ɛ r ai̯ ə n ɡ ə f ɛ r ai̯ t V.PTCP;PST f ɛ r h eːə n f ɛ r h oː n V.PTCP;PST f ɛ r h eːə n f ɛ r h eː t V.PTCP;PST f ɛ r z aː ə n f ɛ r z aː n V.PTCP;PST f ɛ r z aː ə n f ɛ r z aː t V.PTCP;PST f iːə n ɡ ə f iː t V.PTCP;PST f iːə n ɡ ə f oː t V.PTCP;PST f ɪ ŋ ə n ɡ ə f ʊ ŋ ə n V.PTCP;PST f ɪ ŋ ə n ɡ ə f ɪ ŋ t V.PTCP;PST f l ai̯ ə n ɡ ə f l iː n V.PTCP;PST f l ai̯ ə n ɡ ə f l ai̯ t V.PTCP;PST f l eː t ə n ɡ ə f l eː t ə t V.PTCP;PST f l eː t ə n ɡ ə f l oː t ə n V.PTCP;PST f r ai̯ t ə n ɡ ə f r ai̯ t ə t V.PTCP;PST f r ai̯ t ə n ɡ ə f r ɪ t ə n V.PTCP;PST f r eː t ə n ɡ ə f r eː t ə n V.PTCP;PST f r eː t ə n ɡ ə f r oː t ə n V.PTCP;PST f r ɛ n d ə n ɡ ə f r ɛ n d ə t V.PTCP;PST f r ɛ n d ə n ɡ ə f r a n d ə t V.PTCP;PST f r ɛ s t ə n ɡ ə f r ɛ s t ə t V.PTCP;PST f r ɛ s t ə n ɡ ə f r ɔ s t ə n V.PTCP;PST f r ɪ ŋ ə n ɡ ə f r ʊ ŋ ə n V.PTCP;PST f r ɪ ŋ ə n ɡ ə f r ɔ ŋ ə n V.PTCP;PST f r uː t ə n ɡ ə f r uː t ə t V.PTCP;PST f r uː t ə n ɡ ə f r uː t ə n V.PTCP;PST h ai̯ ə n ɡ ə h iː n V.PTCP;PST h ai̯ ə n ɡ ə h ai̯ n V.PTCP;PST h ai̯ f ə n ɡ ə h ai̯ f t V.PTCP;PST h ai̯ f ə n ɡ ə h iː f ə n V.PTCP;PST h a k s ə n ɡ ə h a k s t V.PTCP;PST h a k s ə n ɡ ə h a k s ə n V.PTCP;PST h au̯ b ə n ɡ ə h au̯ p t V.PTCP;PST h au̯ b ə n ɡ ə h au̯ b ə n V.PTCP;PST h au̯ f ə n ɡ ə h au̯ f t V.PTCP;PST h au̯ f ə n ɡ ə h iː f ə n V.PTCP;PST h eː n ə n ɡ ə h eː n t V.PTCP;PST h eː n ə n ɡ ə h eː n t V.PTCP;PST h eː n ə n ɡ ə h oː n ə n V.PTCP;PST h eː n ə n ɡ ə h oː n ə n V.PTCP;PST h eː r ə n ɡ ə h eː r t V.PTCP;PST h eː r ə n ɡ ə h oː r ə n V.PTCP;PST h ɛ l ə n ɡ ə h ɛ l t V.PTCP;PST h ɛ l ə n ɡ ə h ɔ l ə n V.PTCP;PST h iːə n ɡ ə h oː n V.PTCP;PST h iːə n ɡ ə h iː t V.PTCP;PST h iː t ə n ɡ ə h iː t ə t V.PTCP;PST h iː t ə n ɡ ə h oː t ə n V.PTCP;PST h ɔ l ə n ɡ ə h ɔ l t V.PTCP;PST h ɔ l ə n ɡ ə h ɔ l ə n V.PTCP;PST j ai̯ d ə n ɡ ə j ai̯ d ə t V.PTCP;PST j ai̯ d ə n ɡ ə j iː d ə n V.PTCP;PST j ai̯ ə n ɡ ə j ai̯ t V.PTCP;PST j ai̯ ə n ɡ ə j ai̯ n V.PTCP;PST j ai̯ f ə n ɡ ə j ai̯ f t V.PTCP;PST j ai̯ f ə n ɡ ə j iː f ə n V.PTCP;PST j au̯ ə n ɡ ə j au̯ t V.PTCP;PST j au̯ ə n ɡ ə j au̯ n V.PTCP;PST j au̯ f ə n ɡ ə j au̯ f t V.PTCP;PST j au̯ f ə n ɡ ə j ɔ f ə n V.PTCP;PST j eːə n ɡ ə j eː t V.PTCP;PST j eːə n ɡ ə j eː n V.PTCP;PST j iːə n ɡ ə j iː t V.PTCP;PST j iːə n ɡ ə j oː n V.PTCP;PST j ɪ ŋ ə n ɡ ə j ʊ ŋ ə n V.PTCP;PST j ɪ ŋ ə n ɡ ə j ɪ ŋ t V.PTCP;PST k ai̯ ə n ɡ ə k ai̯ t V.PTCP;PST k ai̯ ə n ɡ ə k ai̯ n V.PTCP;PST k a l ə n ɡ ə k a l t V.PTCP;PST k a l ə n ɡ ə k au̯ l t V.PTCP;PST k ɛ n d ə n ɡ ə k a n d ə t V.PTCP;PST k ɛ n d ə n ɡ ə k ɛ n d ə t V.PTCP;PST k ɪ ŋ ə n ɡ ə k ʊ ŋ ə n V.PTCP;PST k ɪ ŋ ə n ɡ ə k ɪ ŋ t V.PTCP;PST k r ɪ ŋ ə n ɡ ə k r ʊ ŋ ə n V.PTCP;PST k r ɪ ŋ ə n ɡ ə k r ɔ ŋ ə n V.PTCP;PST l ai̯ f ə n ɡ ə l iː f ə n V.PTCP;PST l ai̯ f ə n ɡ ə l ai̯ f t V.PTCP;PST l au̯ ə n ɡ ə l au̯ t V.PTCP;PST l au̯ ə n ɡ ə l au̯ n V.PTCP;PST m au̯ ə n ɡ ə m au̯ t V.PTCP;PST m au̯ ə n ɡ ə m au̯ n V.PTCP;PST m iːə n ɡ ə m iː t V.PTCP;PST m iːə n ɡ ə m oː t V.PTCP;PST m ɔ l ə n ɡ ə m ɔ l t V.PTCP;PST m ɔ l ə n ɡ ə m ɔ l ə n V.PTCP;PST n ai̯ ə n ɡ ə n ai̯ t V.PTCP;PST n ai̯ ə n ɡ ə n ɪ t V.PTCP;PST n eː z ə n ɡ ə n eː z ə n V.PTCP;PST n eː z ə n ɡ ə n aː z ə n V.PTCP;PST ɔ l ə n ɡ ə ɔ l t V.PTCP;PST ɔ l ə n ɡ ə ɔ l ə n V.PTCP;PST p au̯ ə n ɡ ə p au̯ t V.PTCP;PST p au̯ ə n ɡ ə p au̯ n V.PTCP;PST p iːə n ɡ ə p iː t V.PTCP;PST p iːə n ɡ ə p oː n V.PTCP;PST r aː b ə n ɡ ə r aː p t V.PTCP;PST r aː b ə n ɡ ə r aː b ə n V.PTCP;PST r ai̯ d ə n ɡ ə r ai̯ d ə t V.PTCP;PST r ai̯ d ə n ɡ ə r iː d ə n V.PTCP;PST r a s ə n ɡ ə r a s t V.PTCP;PST r a s ə n ɡ ə r a s ə n V.PTCP;PST r eː b ə n ɡ ə r eː p t V.PTCP;PST r eː b ə n ɡ ə r eː b ə n V.PTCP;PST r ɛːə n ɡ ə r ɛː t V.PTCP;PST r ɛːə n ɡ ə r ɛː t ə n V.PTCP;PST r ɛ s ə n ɡ ə r ɛ s ə n V.PTCP;PST r ɛ s ə n ɡ ə r ɛ s t V.PTCP;PST r øː ə n ɡ ə r øː t V.PTCP;PST r øː ə n ɡ ə r øː t ə n V.PTCP;PST r uː t ə n ɡ ə r uː t ə t V.PTCP;PST r uː t ə n ɡ ə r uː t ə n V.PTCP;PST ʃ ai̯ ə n ɡ ə ʃ iː n V.PTCP;PST ʃ ai̯ ə n ɡ ə ʃ ai̯ n V.PTCP;PST ʃ ɛː r ə n ɡ ə ʃ ɛː r t V.PTCP;PST ʃ ɛː r ə n ɡ ə ʃ oː r ə n V.PTCP;PST ʃ ɛ l t s ə n ɡ ə ʃ ɛ l t s t V.PTCP;PST ʃ ɛ l t s ə n ɡ ə ʃ ɔ l t s ə n V.PTCP;PST ʃ ɪ s ə n ɡ ə ʃ ʊ s ə n V.PTCP;PST ʃ ɪ s ə n ɡ ə ʃ ʊ s t V.PTCP;PST ʃ p ai̯ n ə n ɡ ə ʃ p ai̯ n t V.PTCP;PST ʃ p ai̯ n ə n ɡ ə ʃ p iː n ə n V.PTCP;PST ʃ p r eː b ə n ɡ ə ʃ p r eː p t V.PTCP;PST ʃ p r eː b ə n ɡ ə ʃ p r oː b ə n V.PTCP;PST ʃ t ai̯ x ə n ɡ ə ʃ t iː x ə n V.PTCP;PST ʃ t ai̯ x ə n ɡ ə ʃ t ai̯ x t V.PTCP;PST ʃ t eː t ə n ɡ ə ʃ t oː t ə n V.PTCP;PST ʃ t eː t ə n ɡ ə ʃ t aː t ə n V.PTCP;PST ʃ t ɛ ŋ k ə n ɡ ə ʃ t ɛ ŋ k t V.PTCP;PST ʃ t ɛ ŋ k ə n ɡ ə ʃ t a x t V.PTCP;PST ʃ t r ɪ ŋ ə n ɡ ə ʃ t r ʊ ŋ ə n V.PTCP;PST ʃ t r ɪ ŋ ə n ɡ ə ʃ t r a ŋ ə n V.PTCP;PST t ai̯ d ə n ɡ ə t ai̯ d ə t V.PTCP;PST t ai̯ d ə n ɡ ə t iː d ə n V.PTCP;PST t ai̯ ə n ɡ ə t ai̯ t V.PTCP;PST t ai̯ ə n ɡ ə t iː n V.PTCP;PST t a l ə n ɡ ə t a l t V.PTCP;PST t a l ə n ɡ ə t a l ə n V.PTCP;PST t ɛ ŋ k ə n ɡ ə t ɛ ŋ k t V.PTCP;PST t ɛ ŋ k ə n ɡ ə t a x t V.PTCP;PST t r ai̯ f ə n ɡ ə t r ai̯ f t V.PTCP;PST t r ai̯ f ə n ɡ ə t r iː f ə n V.PTCP;PST t r ɛ n d ə n ɡ ə t r ɛ n d ə t V.PTCP;PST t r ɛ n d ə n ɡ ə t r a n d ə t V.PTCP;PST t r ɛ s t ə n ɡ ə t r ɛ s t ə t V.PTCP;PST t r ɛ s t ə n ɡ ə t r ɔ s t ə n V.PTCP;PST t s ai̯ d ə n ɡ ə t s ai̯ d ə t V.PTCP;PST t s ai̯ d ə n ɡ ə t s iː d ə n V.PTCP;PST t s au̯ ə n ɡ ə t s au̯ t V.PTCP;PST t s au̯ ə n ɡ ə t s au̯ n V.PTCP;PST t s au̯ f ə n ɡ ə t s au̯ f t V.PTCP;PST t s au̯ f ə n ɡ ə t s iː f ə n V.PTCP;PST t s ɪ ŋ ə n ɡ ə t s ɪ ŋ t V.PTCP;PST t s ɪ ŋ ə n ɡ ə t s ʊ ŋ ə n V.PTCP;PST t s v ai̯ ə n ɡ ə t s v ai̯ t V.PTCP;PST t s v ai̯ ə n ɡ ə t s v ai̯ n V.PTCP;PST t s v ɛ r ə n ɡ ə t s v ɛ r t V.PTCP;PST t s v ɛ r ə n ɡ ə t s v ɔ r ə n V.PTCP;PST ʊ m ai̯ ə n ɡ ə ʊ m ai̯ t V.PTCP;PST v ai̯ ʃ ə n ɡ ə v ai̯ ʃ t V.PTCP;PST v ai̯ ʃ ə n ɡ ə v iː ʃ ə n V.PTCP;PST v au̯ f ə n ɡ ə v au̯ f t V.PTCP;PST v au̯ f ə n ɡ ə v ɔ f ə n V.PTCP;PST v ɪ ŋ ə n ɡ ə v ʊ ŋ ə n V.PTCP;PST v ɪ ŋ ə n ɡ ə v ɪ ŋ t V.PTCP;PST v ʏ l ə n ɡ ə v ʏ l t V.PTCP;PST v ʏ l ə n ɡ ə v ʏ l ə n V.PTCP;PST z ai̯ d ə n ɡ ə z ai̯ d ə t V.PTCP;PST z ai̯ d ə n ɡ ə z ɔ t ə n V.PTCP;PST z ai̯ ə n ɡ ə z ai̯ t V.PTCP;PST z ai̯ ə n ɡ ə z ɔ t ə n V.PTCP;PST z au̯ ə n ɡ ə z au̯ t V.PTCP;PST z au̯ ə n ɡ ə z ɔ t V.PTCP;PST z iːə n ɡ ə z iː t V.PTCP;PST z iːə n ɡ ə z ɔ t V.PTCP;PST z ɪ s ə n ɡ ə z ʊ s ə n V.PTCP;PST z ɪ s ə n ɡ ə z ɔ s ə n V.PTCP;PST ʒ ɛ ŋ ə n ɡ ə ʒ ɛ ŋ t V.PTCP;PST ʒ ɛ ŋ ə n ɡ ə ʒ ɛ ŋ ə n V.PTCP;PST
f6fa19f2ecfbbfd5fa2d4488d3a0b963ee29fc06
527c41bcbfe7e4743e0e8897b058eaaf206558c7
/Positive_Negative_test/Netezza-Base-HypothesisTesting/FLMWTest-NZ-01.tst
95ecc7922ec890aa3a1bcb960cbd1831feea4c5a
[]
no_license
kamleshm/intern_fuzzy
c2dd079bf08bede6bca79af898036d7a538ab4e2
aaef3c9dc9edf3759ef0b981597746d411d05d34
refs/heads/master
2021-01-23T06:25:46.162332
2017-07-12T07:12:25
2017-07-12T07:12:25
93,021,923
0
0
null
null
null
null
UTF-8
Scilab
false
false
6,117
tst
FLMWTest-NZ-01.tst
-- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza -- -- Copyright (c): 2014 Fuzzy Logix, LLC -- -- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC. -- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC. -- and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade -- secret or copyright law. Dissemination of this information or reproduction of this material is -- strictly forbidden unless prior written permission is obtained from Fuzzy Logix, LLC. -- -- -- Functional Test Specifications: -- -- Test Category: Hypothesis Testing Functions -- -- Test Unit Number: FLMWTest-NZ-01 -- -- Name(s): FLMWTest -- -- Description: Returns the Mann-Whitney test statistic and associated probability to test whether two -- independent samples come from the same population. -- -- Applications: -- -- Signature: FLMWTest(IN STATISTC VARCHAR(100), -- IN GroupID INTEGER, -- IN FracRank DOUBLE PRECISION) -- -- Parameters: See Documentation -- -- Return value: Table -- -- Last Updated: 07-07-2017 -- -- Author: <Joe.Fan@fuzzyl.com>, <Anurag.Reddy@fuzzyl.com>,Kamlesh Meena -- BEGIN: TEST SCRIPT \time --.run file=../PulsarLogOn.sql -- BEGIN: NEGATIVE TEST(s) ---- Initialization DROP TABLE tblHypoTest_Test IF EXISTS; CREATE TABLE tblHypoTest_Test ( GroupID INTEGER, ObsID INTEGER, Num_Val DOUBLE PRECISION ) DISTRIBUTE ON (ObsID); ---- Case 1: input validation ---- Case 1a: invalid table name SELECT FLMWTest('P_VALUE', x.GroupID, y.FracRank) FROM ( SELECT a.GroupID, RANK() OVER (PARTITION BY 1 ORDER BY a.Num_Val ASC) AS Rank FROM tblHypoTest_Dummy a ) AS x, ( SELECT p.Rank, FLFracRank(p.Rank, COUNT(*)) AS FracRank FROM ( SELECT a.GroupID, a.ObsID, RANK() OVER (PARTITION BY 1 ORDER BY a.Num_Val ASC) FROM tblHypoTest_Dummy a ) AS p GROUP BY p.Rank ) AS y WHERE y.Rank = x.Rank; -- Result: standard error message ---- Case 1b: empty table DELETE FROM tblHypoTest_Test; SELECT FLMWTest('P_VALUE', x.GroupID, y.FracRank) FROM ( SELECT a.GroupID, RANK() OVER (PARTITION BY 1 ORDER BY a.Num_Val ASC) AS Rank FROM tblHypoTest_Test a ) AS x, ( SELECT p.Rank, FLFracRank(p.Rank, COUNT(*)) AS FracRank FROM ( SELECT a.GroupID, a.ObsID, RANK() OVER (PARTITION BY 1 ORDER BY a.Num_Val ASC) FROM tblHypoTest_Test a ) AS p GROUP BY p.Rank ) AS y WHERE y.Rank = x.Rank; -- Result: FLCDFNormal Argument 1 cannot be NULL ---- Case 2: SampleID is not 1 or 2 DELETE FROM tblHypoTest_Test; INSERT INTO tblHypoTest_Test SELECT a.GroupID * 10, a.ObsID, a.Num_Val FROM tblHypoTest a; SELECT FLMWTest('P_VALUE', x.GroupID, y.FracRank) FROM ( SELECT a.GroupID, RANK() OVER (PARTITION BY 1 ORDER BY a.Num_Val ASC) AS Rank FROM tblHypoTest_Test a ) AS x, ( SELECT p.Rank, FLFracRank(p.Rank, COUNT(*)) AS FracRank FROM ( SELECT a.GroupID, a.ObsID, RANK() OVER (PARTITION BY 1 ORDER BY a.Num_Val ASC) FROM tblHypoTest_Test a ) AS p GROUP BY p.Rank ) AS y WHERE y.Rank = x.Rank; -- Result: divide by zero ---- Case 3: Num_Val is a constant value DELETE FROM tblHypoTest_Test; INSERT INTO tblHypoTest_Test SELECT a.GroupID, a.ObsID, 1 FROM tblHypoTest a; SELECT FLMWTest('P_VALUE', x.GroupID, y.FracRank) FROM ( SELECT a.GroupID, RANK() OVER (PARTITION BY 1 ORDER BY a.Num_Val ASC) AS Rank FROM tblHypoTest_Test a ) AS x, ( SELECT p.Rank, FLFracRank(p.Rank, COUNT(*)) AS FracRank FROM ( SELECT a.GroupID, a.ObsID, RANK() OVER (PARTITION BY 1 ORDER BY a.Num_Val ASC) FROM tblHypoTest_Test a ) AS p GROUP BY p.Rank ) AS y WHERE y.Rank = x.Rank; -- Result: divide by zero ---- Case 4: Table contains data for only one GroupID DELETE FROM tblHypoTest_Test; INSERT INTO tblHypoTest_Test SELECT a.GroupID, a.ObsID, a.Num_Val FROM tblHypoTest a WHERE a.GroupID = 1; SELECT FLMWTest('P_VALUE', x.GroupID, y.FracRank) FROM ( SELECT a.GroupID, RANK() OVER (PARTITION BY 1 ORDER BY a.Num_Val ASC) AS Rank FROM tblHypoTest_Test a ) AS x, ( SELECT p.Rank, FLFracRank(p.Rank, COUNT(*)) AS FracRank FROM ( SELECT a.GroupID, a.ObsID, RANK() OVER (PARTITION BY 1 ORDER BY a.Num_Val ASC) FROM tblHypoTest_Test a ) AS p GROUP BY p.Rank ) AS y WHERE y.Rank = x.Rank; -- Result: divide by zero ---- Wrapup DROP TABLE tblHypoTest_Test; -- END: NEGATIVE TEST(s) -- BEGIN: POSITIVE TEST(s) SELECT FLMWTest('P_VALUE', x.GroupID, y.FracRank) FROM ( SELECT a.GroupID, RANK() OVER (PARTITION BY 1 ORDER BY a.Num_Val ASC) AS Rank FROM tblHypoTest a ) AS x, ( SELECT p.Rank, FLFracRank(p.Rank, COUNT(*)) AS FracRank FROM ( SELECT a.GroupID, a.ObsID, RANK() OVER (PARTITION BY 1 ORDER BY a.Num_Val ASC) FROM tblHypoTest a ) AS p GROUP BY p.Rank ) AS y WHERE y.Rank = x.Rank; -- Result: -- Standard Netezza Output -- END: POSITIVE TEST(s) DROP TABLE tblHypoTest_Test; \time -- END: TEST SCRIPT
de8a24e8a729045c83cc8780bcbe773cd62d663b
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.2/macros/scicos/CLKSPLIT_f.sci
a7f78e114095f7fd46dc279c48c6756ab5d10ac5
[ "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
513
sci
CLKSPLIT_f.sci
function [x,y,typ]=CLKSPLIT_f(job,arg1,arg2) x=[];y=[],typ=[]; select job case 'plot' then case 'getinputs' then graphics=arg1(2); orig=graphics(1) x=orig(1) y=orig(2) typ=-ones(x) case 'getoutputs' then graphics=arg1(2); orig=graphics(1) x=[1 1]*orig(1) y=[1 1]*orig(2) typ=-ones(x) case 'getorigin' then [x,y]=standard_origin(arg1) case 'set' then x=arg1; case 'define' then model=list('split',0,0,1,2,[],[],[],[],'d',[%f,%f,%f],[%f %f]) x=standard_define([1 1]/2,model) end
f56d612de75be9b42dccaaf0ec3bd85c51094898
449d555969bfd7befe906877abab098c6e63a0e8
/2276/CH10/EX10.9/chapter10_ex9.sce
06128ade8126a31c0933e9e8de8da0f8455e9a47
[]
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
784
sce
chapter10_ex9.sce
clc clear //input p=6;//number of poles f=50;//frequency in hertz n=3;//number of phases t=160;//total torque in newton meter fs=120;//slip frequency in cycles/min tf=12;//torque lost in friction sl=750;//stator losses in watts //calculations s=fs/(60*f);//slip in per unit w=(2*%pi*f)/n;//speed of motor in rad/sec wr=w*(1-s);//rotor speed in rad/sec rinp=t*w;//rotor input in watts rc=s*rinp;//rotor copper losses in watts sinp=rinp+sl;//stator input in watts Sinp=sinp/1000;//stator input in kilowatts tout=t-tf;//output torque in newton meter pout=tout*wr;//power output in watts eff=pout/sinp;//efficiency in per unit //output mprintf('the rotor loss is %3.0fW, the input to the motor is %3.2f kW and the motor efficiency is %3.2f p.u.',rc,Sinp,eff)
11b5a42454469499fe06455ad97e5a4d3aa2dcd0
18bf68cdf766092ccdcba8d231e8140063833a5a
/SignalFolding.sce
3ea01bf9ead7d1625e091792c00b28a6a35e3d90
[]
no_license
goodengineer/Scilab-Exercises
b51cc9a4c938f0289a32875d2d21eb9061d0e68e
3c268211fe48e7e4d0002e44757ea8b50cda10f9
refs/heads/master
2022-12-24T23:30:12.875423
2020-10-05T06:27:20
2020-10-05T06:27:20
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
168
sce
SignalFolding.sce
clc; function output = fold(vec1) x = length(vec1) for i=1:x output($+1) = vec1(x-i+1) end endfunction x1 = [6,6,6,6,4,2,1] y = fold(x1) disp(y)
46de4877c5dbe80ae0237fdb44b9008f7a8eb215
449d555969bfd7befe906877abab098c6e63a0e8
/2744/CH11/EX11.6/Ex11_6.sce
4635cd5ce78245138fe9e6ae2fc332804cfa857a
[]
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,172
sce
Ex11_6.sce
clear; clc; t = 1/2;// inches a = 1/2;// inches P = 42;// tons d = 3/4;// inches f_t = 7.5;// tons/in^2 f_s = 6;// tons/in^2 f_b = 12;// tons/in^2 P_s = 2*0.25*%pi*d^2 *f_s;// tons P_b = d*t*f_b;// tons n = P/min(P_s,P_b); n = round(n+1); b1 = P/(t*f_t) + d;// inches b = round(b1); e = (b-d)/b;// efficiency f_s = (P/n)/(2*0.25*%pi*d^2) ;// tons/in^2 f_b = (P/n)/(d*t);// tons/in^2 f1 = P/(a*(b-d));// tons/in^2 f2 = (P-(P/n))/((b-2*d)*t);// tons/in^2 f3 = (P-(3*P/n))/((b-3*d)*t);// tons/in^2 f4 = (P-(6*P/n))/((b-4*d)*t);// tons/in^2 printf('The number of rivets required, n = %d',n); printf('\n The width of the flat required, b = %.2f inches, say %d inches',b1,b); printf('\n The efficiency of the joint = %.2f percentage',e*100); printf('\n The actual stresses induce in the rivet are, f_s = %.2f tons/in^2\n f_b = %.2f tons/in^2',f_s,f_b); printf('\n The tensile stress at section 11, f1 = %.3f rons/in^2',f1); printf('\n The tensile stress at section 22, f2 = %.3f rons/in^2',f2); printf('\n The tensile stress at section 33, f3 = %.3f rons/in^2',f3); printf('\n The tensile stress at section 44, f4 = %.3f rons/in^2',f4);
baf8c9c0df7d4bb14f50b8fd78ea918271dd7891
1232196a72221f6cc0ee0a9a47111ef1188dafe9
/xcos_blocks/Ota_mod.sci
1640eb28e74df17f66978303e5a7e70e4ed0860b
[]
no_license
sumagin/rasp30
06dc2ee1587a4eaf3cf5fb992375b8589617f882
a11dcffaed22dbac1f93c2f4798a48c7b0b1f795
refs/heads/master
2021-01-24T23:51:54.459864
2016-07-08T22:03:43
2016-07-08T22:03:43
16,685,217
2
3
null
2015-07-23T15:28:49
2014-02-10T05:17:38
C
UTF-8
Scilab
false
false
3,205
sci
Ota_mod.sci
// Scicos // // Copyright (C) INRIA - METALAU Project <scicos@inria.fr> // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // // See the file ../license.txt // function [x,y,typ]=Ota_mod(job,arg1,arg2) x=[];y=[];typ=[] select job case 'plot' then standard_draw(arg1,%f) case 'getinputs' then [x,y,typ]=standard_inputs(arg1) case 'getoutputs' then [x,y,typ]=standard_outputs(arg1) case 'getorigin' then [x,y]=standard_origin(arg1) case 'set' then x=arg1; graphics=arg1.graphics;exprs=graphics.exprs model=arg1.model; while %f do [ok,OLGain,SatH,SatL,exprs]=scicos_getvalue('Set the Operational Amplifier parameters',.. ['Open Loop Gain';'Positive saturation voltage';'Negative saturation voltage'],.. list('vec',1,'vec',1,'vec',1),exprs); if ~ok then break,end model.equations.parameters(2)=list(OLGain,SatH,SatL) graphics.exprs=exprs x.graphics=graphics;x.model=model break end case 'define' then // OLGain=1000; // SatH=10; // SatL=-10; // S=['OLGain';'SatH';'SatL']; // Z=eval(S); S=[]; Z=[]; model=scicos_model(); model.sim='Ota_mod'; model.blocktype='c'; model.dep_ut=[%t %f]; mo=modelica(); mo.model=model.sim; mo.inputs=['in_p';'in_n']; mo.outputs=['out']; mo.parameters=list(S,Z); model.equations=mo; model.in=ones(size(mo.inputs,'*'),1); model.out=ones(size(mo.outputs,'*'),1); model.rpar=Z; exprs=string(Z); gr_i=[''; 'if orient then'; ' xx=orig(1)+[30,28,08,08,00,08,08,00,08,08,28,28]*(sz(1)/32);'; ' xstring(orig(1)+10*(sz(1)/32),orig(2)+24*(sz(2)/70),''-'');'; ' xstring(orig(1)+10*(sz(1)/32),orig(2)+46*(sz(2)/70),''+'');'; 'else'; ' xx=orig(1)+[02,04,24,24,32,24,24,32,24,24,04,04]*(sz(1)/32);'; ' xstring(orig(1)+20*(sz(1)/32),orig(2)+24*(sz(2)/70),''-'');'; ' xstring(orig(1)+20*(sz(1)/32),orig(2)+46*(sz(2)/70),''+'');'; 'end'; 'yy=orig(2)+[35,35,12,24,24,24,48,48,48,60,35,35]*(sz(2)/70);'; 'xpoly(xx,yy);'; 'txt=''OP'';' 'style=2;' 'rectstr=stringbox(txt,orig(1)+13*(sz(1)/32),orig(2)+30*(sz(2)/70),0,style,0);' 'if ~exists(''%zoom'') then %zoom=1, end;' 'w=(rectstr(1,3)-rectstr(1,2))*%zoom;' 'h=(rectstr(2,2)-rectstr(2,4))*%zoom;' 'xstringb(orig(1)+13*(sz(1)/32),orig(2)+30*(sz(2)/70),txt,w,h,''fill'');' 'e=gce();' 'e.font_style=style;'] x=standard_define([3 5],model,exprs,gr_i) x.graphics.in_implicit=['I';'I'] x.graphics.out_implicit=['I'] end endfunction // Ota_mod
fcc2d799feabdbca7802f279f02201f26f1eecce
449d555969bfd7befe906877abab098c6e63a0e8
/572/CH3/EX3.8/c3_8.sce
e8147395f7ab8142a57743dda199246adda3695a
[]
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,112
sce
c3_8.sce
//(3.8) A piston–cylinder assembly contains 0.9 kg of air at a temperature of 300K and a pressure of 1 bar. The air is compressed to a state where the temperature is 470K and the pressure is 6 bars. During the compression, there is a heat transfer from the air to the surroundings equal to 20 kJ. Using the ideal gas model for air, determine the work during the process, in kJ. //solutiion //variable initialization m = .9 // mass of air in kg T1 = 300 // initial temperature in kelvin P1 = 1 // initial pressure in bar T2 = 470 // final temperature in kelvin P2 = 6 // final pressure in bar Q = -20 // heat transfer in kj //from table A-22 u1 = 214.07 // in KJ/kg u2 = 337.32 // in KJ/Kg deltaU = m*(u2-u1) // change in internal energy in kj W = Q - deltaU // in KJ/kg printf('the work during the process in KJ is \n\t W = %f',W)
e27ffe654f93e007691840f2922cad11b8cb3ef3
ee9817ea24ce8a46016f40086970f5ea5e8f052b
/ProjectStart/ProjectStart.WebApp/ClientApp/Shared/AppModels/TemplateViewModel.tst
53e1ee81661a39b7faef7e771d9f23cb694d005b
[]
no_license
lpongasi/ProjectStart
9f6521601962445998b3d08a61a81eec1dc06722
00c0703c42c81584340a467d300f989f0b3662c5
refs/heads/master
2021-01-15T19:06:37.246882
2018-05-17T08:47:05
2018-05-17T08:47:05
99,808,194
0
0
null
2017-10-01T14:37:48
2017-08-09T12:54:56
JavaScript
UTF-8
Scilab
false
false
1,874
tst
TemplateViewModel.tst
${ // Enable extension methods by adding using Typewriter.Extensions.* using Typewriter.Extensions.Types; List<string> AnyProperties(){ return new List<string>{ "AuthenticationScheme", "UserLoginInfo" }; } string TypeGenerator(Property p){ return $"{p.name}{(p.Type.IsNullable?"?":string.Empty)}: {(AnyProperties().Contains(p.Type.Name.TrimEnd('[',']'))? p.Type.Name.Contains("[")? "any[]":"any" : p.Type.Name)}"; } string Imports(Class c){ List<string> neededImports = new List<string>(); neededImports.AddRange(c.Properties .Where(p =>!p.Type.Name.Equals("T") && !p.Type.IsPrimitive && p.Type.Name.TrimEnd('[',']') != c.Name && !AnyProperties().Contains(p.Type.Name.TrimEnd('[',']')) && !p.Type.IsGeneric) .Select(p => "import { " + p.Type.Name.TrimEnd('[',']') + " } from 'shared/AppModels/" + p.Type.Name.TrimEnd('[',']') + "';").ToList()); c.Methods.ToList().ForEach(e => { e.Parameters.Where(p=>!p.Type.IsPrimitive).ToList().ForEach(pe=>{ neededImports.Add("import { " + pe.Type.Name.TrimEnd('[',']') + " } from 'shared/AppModels/" + pe.Type.Name.TrimEnd('[',']') + "';"); }); }); if (c.BaseClass != null && c.BaseClass.Name != "Controller") { neededImports.Add("import { " + c.BaseClass.Name +", I" + c.BaseClass.Name +"} from 'shared/AppModels/" + c.BaseClass.Name + "';"); } return neededImports.Any() ? String.Join("\r\n", neededImports.OrderBy(o=>o.Substring(o.IndexOf("from"))).Distinct()) + "\r\n":""; } }$Classes(*ViewModel)[$Imports export interface I$Name$TypeParameters $BaseClass[extends I$Name$TypeArguments] {$Properties[ $TypeGenerator;] } export class $Name$TypeParameters $BaseClass[extends $Name$TypeArguments] implements I$Name$TypeArguments {$Properties[ $TypeGenerator;] }]
4d4f8b388cfc505e3f2ead0e4377c6e075d11543
449d555969bfd7befe906877abab098c6e63a0e8
/2498/CH4/EX4.8/ex4_8.sce
6b55ff8c43378ba1c74bd14dbc6c1f2a87f124b8
[]
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
654
sce
ex4_8.sce
// Exa 4.8 clc; clear; close; format('v',7) // Given data I_CBO = 10;// in µA I_CBO = I_CBO * 10^-6;// in A Beta = 50; h_FE = Beta; I_B = 0.25;// in mA I_B = I_B * 10^-3;// in A // The collector current I_C = (Beta*I_B) + ((1+Beta)*I_CBO);//in A I_C = I_C * 10^3;// in mA disp(I_C,"The collector current in mA is"); T2 = 50;// in degree C T1 = 25;// in degree C I_CBOat25 = 10;// in µA I_CBOat50 = I_CBOat25 * (2^((T2-T1)/10));// in µA I_CBOat50 = I_CBOat50 * 10^-6;// in A //The new collector current I_C = (Beta*I_B) + ((1+Beta)*I_CBOat50);// in A I_C = I_C * 10^3;// in mA disp(I_C,"The new collector current in mA is");
c708d73c43e8aa0155899dba5a2752a7d885e6d4
449d555969bfd7befe906877abab098c6e63a0e8
/1754/CH7/EX7.5/Exa7_5.sce
815dfaf215b6d663053982cefef09259310c8337
[]
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
270
sce
Exa7_5.sce
//Exa 7.5 clc; clear; close; //Given data format('v',15); Xci_m=9.48*10^-9;//usceptibility of medium(unitless) meu_r=1+Xci_m;//relative permeability(unitless) disp(meu_r,"Relative Permeability : "); disp("i.e, Relative Permeability is sligtly greater than 1.");
138b3b34dad5aebc9560b9c27e2f1561c645eebc
449d555969bfd7befe906877abab098c6e63a0e8
/896/CH5/EX5.3/3.sce
5fb942091846481e3bc081cdac30baa0c5d5c65d
[]
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
318
sce
3.sce
clc //Example 5.3 //Calculate the velocity of water flowing out of a nozzle at the bottom of a tank g=32.2;//ft/s^2 h=30;//ft height tank //considering the velocityof water at the top of the tank is negligible v=(2*g*h)^0.5;//ft/s printf("The velocity of the water flowing out through the nozzle is %f ft/s",v);
50e1a0297a1ec0e065e2695efcce2a70bcaed8bc
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.5/Unix-Windows/scilab-2.5/macros/scicos/do_help.sci
ebf51346c0c552a3ab9d40679628af8e69d494fb
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer" ]
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
17,785
sci
do_help.sci
function do_help() // Copyright INRIA while %t do [btn,xc,yc,cwin,Cmenu]=cosclick(0) if Cmenu<>[] then name=Cmenu nm=1 break elseif cwin==curwin then k=getobj(scs_m,[xc;yc]) if k<>[] then o=scs_m(k) name=o(5) nm=0 break end elseif or(windows(find(windows(:,1)<0),2)==cwin) then kwin=find(windows(:,2)==cwin) pal=palettes(-windows(kwin,1)) k=getobj(pal,[xc;yc]) if k<>[] then o=pal(k) name=o(5) nm=0 break end end end if nm==0 then help(name) // unix_s('$SCI/bin/scilab -help ""'+name+'"" | $SCI/bin/xless &') return end select name // Misc menu--------------------------------------------------------- case 'Window' then mess=[' In the active editor Scicos window, clicking on the '; ' Window menu item invokes a dialog box that allows you to change '; ' window dimensions']; case 'Background color' then mess=[' This menu allows to change the background and defaukt foreground' ' colors'] case 'Default link colors' then mess=[' This menu allows to change the default color for regular ' ' and event links'] case 'ID font' then mess=[' This menu allows to change the font used to write the block' ' identifications (see ""Set block ID"" menu)'] case '3D aspect' then mess=[' This menu allows to select 3D shape for blocks and ' ' associated parameters'] case 'Add color' then mess=[' This menu allows to add new color to the diagram private' ' color map. Added colors are stored in the diagram data structure'] case 'Focus' then mess=[' Focus menu allows to select a zone (click left, drag zone, click' ' to select) which is focused on'; ' To change focus back use ""Zoom in"" menu'] case 'Shift' then mess=[' To shift the diagram to left, right, up or down,'; ' select this menu item, then click on the point you want '; ' to appear in the middle of the graphics window. ']; case 'Zoom in' then mess=[' When you select this menu item the diagram is zoomed in ' 'by a factor of 10%'] case 'Zoom out' then mess=[' When you select this menu item the diagram is zoomed out ' 'by a factor of 10%'] case 'Help' then mess=[' To get help on an object or menu buttons,'; ' select first Help menu item and then on '; ' the selected object or menu item.'] case 'Calc' then mess=[' When you select this menu item you switch Scilab to '; ' the pause mode (see the help on pause).'; ' In the Scilab main window and you may enter Scilab instructions'; ' to compute whatever you want.'; ' to go back to Scicos you need enter the ""return"" or'; ' ""[...]=return(...)"" Scilab instruction.'; ' ' ' If you use ""[...]=return(...)"" Scilab instruction take care'; ' not to modify Scicos variables such as ""scs_m"",""scs_gc"",'; ' ""menus"",""datam"",...'; ' ' ' If you have modified scicos graphic window you may retore it '; ' using the Scicos ""Replot"" menu.'] // Edit menu--------------------------------------------------------- case 'Palettes' then mess=[' Select the Palettes menu item to open a predefined palette.'] case 'Context' then mess=[' When you select this menu item you get a dialogue to'; ' enter scilab instructions for defining symbolic scicos parameters'; ' used in block definitions or to do whatever you want'; ' '; ' These instructions will be evaluated each time the diagram '; ' is loaded.' ' '; ' If you change the value of a symbolic scicos parameters in '; ' the contextyou can either click on the block(s) that use this'; ' variable or on the Eval menu item to update actual block parameter'; ' value.'] case 'Smart Move' then mess=[' To move a block in the active editor Scicos window'; ' or in edited palette keeping horizontal and vertical' ' links, select first the ""Smart Move"" menu item, ' ' then click on the selected block, link segment or link' ' corner, drag the mouse to the desired new position ' ' and click left again to fix the position.' ' ' ' Right click cancel the move action'] case 'Move (m)' then mess=[' To move a block in the active editor Scicos window'; ' or in edited palette,' ' select first the Move menu item, ' ' then click on the selected block, link segment or link' ' corner, drag the mouse to the desired new block position ' ' and click left again to fix the position.' ' ' ' Right click cancel the move action'] case 'Copy (c)' then mess=['To copy a block in the active editor Scicos window'; ' select first the Copy menu item, then' ' click (with left button) on the to-be-copied block' ' in Scicos windows or in a palette) , and' ' finally click left where you want the copy'; ' be placed in the active editor Scicos window.'; ' ' ' The lower left corner of the block is placed'; ' at the selected point.'; ' This menu remains active until user choose an other one'; ' ' ' Right click cancel the copy action'] case 'Copy Region' then mess=[ 'To copy a region in the active editor Scicos window'; ' select first the Copy menu item, then' ' click (with right button) on a corner of the desired'; ' region (in Scicos windows or in a palette), drag to ' ' define the region, click to fix the region and' ' finally click left where you want the copy.' ' to be placed in the active editor Scicos window.'; ' NOTE: If source diagram is big be patient, region selection ' ' may take a while.' ' ' ' The lower left corner of the block is placed'; ' at the selected point.'; ' ' ' Right click cancel the copy action'] case 'Replace' then mess=[' To replace a block in the active editor Scicos window'; ' select first the Replace menu item, then' ' select the replacement block (in Scicos window or in a' ' palette), and finally click on the to-be-replaced block'] case 'Align' then mess=[' To obtain nice diagrams, you can align ports of'; ' different blocks, vertically and horizontally.'; ' Select first the Align menu item, then click on the first'; ' port and finally on the second port.'; ' The block corresponding to the second port is moved.'; ' ' ' A connected block cannot be aligned.'] case 'Link (l)' then mess=[' To connect an output port to an input port,'; ' select first the Link menu item, then click on the output'; ' port, drag, click left on each intermediate points' ' and finally click left on the input port.'; ' ' ' To split a link, select first the Link menu item,'; ' then click left on the link where the split should be placed,'; ' drag, click left on each intermediate points' ' and finally click left on the input port.' ' ' ' Right click cancel the link action' ' ' ' Only one link can go from and to a port.'; ' Link color can be changed directly by clicking'; ' on the link.' ' ' ' This menu remains active until user choose an other one'] case 'Delete (d)' then mess=['To delete blocks or a links, select first the Delete' ' menu item, then click successively on the selected objects' '(with left button).'; ' ' ' When you delete a block all links connected to it'; ' are deleted as well.' ' ' ' This menu remains active until user choose an other one'] case 'Delete Region' then mess=['To delete a blocks in a region, select first the Delete Region' ' menu item, then click on a corner of the '; ' desired region, drag to define the region, and click left to '; ' fix the region. All connected links will be destroyed as'; ' well' ' ' ' Right click instead of left cancels the delete action'] case 'Add new block' then mess=[' To add a newly defined block to the current palette or diagram'; ' select first this menu item, A dialog box will popup '; ' asking for the name of the GUI function associated ' ' with the block. If this function is not already loaded'; ' it was search in the current directory. The user may then' ' click at the desired position of the block icon '] case 'Flip (f)' then mess=[' To reverse the positions of the (regular) inputs' ' and outputs of a block placed on its sides,'; ' select the Flip menu item first and then click on the'; ' selected block. This does not affect the order,'; ' nor the position of the input and output event'; ' ports which are numbered from left to right.' ' ' ' A connected block cannot be flipped.'] case 'Undo (u)' then mess=[' Select the Undo menu item to undo the last edit operation.' ' It is not possible to undo more!'] // Simulate menu -------------------------------------------------- case 'Setup' then mess=[' In the main Scicos window, clicking on the Setup menu item'; ' invokes a dialog box that allows you to change '; ' integration parameters: '; ' *final integration time'; ' *absolute and relative error tolerances' ; ' *time tolerance (the smallest time interval for which '; ' the ode solver is used to update continuous states)'; ' *deltat : the maximum time increase realized by a single'; ' call to the ode solver']; case 'Compile' then mess=[' select the Compile menu item to compile the block diagram.'; ' This menu item need never be used since compilation is'; ' performed automatically, if necessary, before'; ' the beginning of every simulation (Run menu item).'; ' ' ' Normally, a new compilation is not needed if only'; ' system parameters and internal states are modified.'; ' In some cases however these modifications are not'; ' correctly updated and a manual compilation may be'; ' needed before a Restart or a Continue.'; ' Please report if you encounter such a case.'] case 'Eval' then mess=[' All dialogs user answers may be scilab instructions'; ' they are evaluated immediatly and stored as character strings.' ' select this menu item to have them re-evaluated according to'; ' new values of underlying scilab variables. ' ' ' ' These underlying scilab variables may be user global variables' ' defined before scicos was launch, They may also be defined in' ' by the scicos context (see Context menu item)'] case 'Run' then mess=[' select the Run menu item to start the simulation.'; ' If the system has already been simulated, a'; ' dialog box appears where you can choose to Continue,' ' Restart or End the simulation.' ' ' ' You may interrupt the simulation by clicking on the ' ' ""stop"" button, change any of the block parameters' ' and continue the simulation with the new values.'] // Diagram menu --------------------------------------------------- case 'Replot (r)' then mess=[' Select the Replot menu item to replot the content of' ' the graphics window. Graphics window stores complete'; ' history of the editing session in memory.'; ' ' ' Replot is usefull for ''cleaning'' this memory.'] case 'New' then mess=[' Clicking on the New menu item loads an empty diagram in the'; ' active editor Scicos window. If the previous content of the'; ' window is not saved, it will be lost.'] case 'Region to Super Block' then mess=[' This menu allows to transform a rectangular region of the' ' current diagram by a super block.' ' Click on a corner of the region , drag an click left to' ' fix the region (left click cancels selection)' ' ' ' Region is replaced by a super block ans links are redrawn'] case 'Purge' then mess=[' select the Purge menu item to get a clean data structure:'; ' If diagram has been hugely modified many deleted blocks'; ' may remain in the data structure. It may be usefull to'; ' suppress then before saving.'] case 'Rename' then mess=[' This menu allows to change the diagram name. An editable' ' dialog box opens.'] case 'Save (s)' then mess=[' select the save menu item to save the block diagram'; ' in a binary file already selected by a previous'; ' select the Save As menu item. If you select this'; ' menu item and you have never clicked on the Save As'; ' menu item, the diagram is saved in the current directory'; ' as <window_name>.cos where <window_name> is the name'; ' of the window appearing on top of the window (usually'; ' Untitled or Super Block).'] case 'Save As' then mess=[' select the Save As menu item to save the block diagram'; ' or palette in a file. A dialog box allows choosing '; ' the file which must have a .cos or .cosf extension. The diagram'; ' takes the name of the file (without the extension).' ' ' ' If extension is "".cosf"" an ascii formatted save is performed' ' instead of binary save. Formatted save is slower than regular '; ' save but has the advantage that the generated file is system '; ' independent (usefull for exchanging data on different computers)'] case 'Load' then mess=[' select the Load menu item to load an ascii or binary file'; ' containing a saved block diagram or palette.' ' A dialog box allows user choosing the file.'] case 'Load as Palette' then mess=[' select the Load menu item to load an ascii or binary file'; ' containing a saved block diagram as a palette.' ' A dialog box allows user choosing the file.'] case 'Save as Palette' then mess=[' select the Save as Palette menu item to save the block diagram'; ' as a palette in a file. A dialog box allows choosing '; ' the file which must have a .cos or .cosf extension. The palette'; ' takes the name of the file (without the extension).'; ' ' ' If extension is "".cosf"" an ascii formatted save is performed' ' instead of binary save. It may take a while' ' ' ' .scilab user file is updated if necessary'] case 'Save as Interf. Func.' then mess=[' Select ""the Save as Interf. Func."" menu item to save the ' ' diagram as a new Scicos block. A Scilab function is generated' ' and saved in a file with "".sci"" extension. File name and path' ' are to be set in a ""File menu"" dialog.'] case 'Set Diagram Info' then mess=[' This menu allows to set users diagram informations' ' these infos are stored in the diagram data structure' ' and may be used as diagram user documentation' ' ' ' information format may be redefined by user '] case 'Navigator' then mess=[' This experimental menu opens a graphic window with a tree ' ' representation of the super blocks hierarchy. Each node ' ' represents a superblock.' ' ' ' Navigator window is usefull to open directly a super-block' ' every where in the hierarchy.'] case 'Quit (q)' then mess=[' Click on the Exit menu item to close current diagram. ' ' If current diagram is not a Super block Exit menu item ' ' leave Scicos and return to Scilab session. Save your diagram '; ' or palette before leaving.' ' ' ' File/Close menu as the same effect'] //Object menu -------------------------------------------------------- case 'Open/Set (o)' then mess=[' To change the parameters of a regular block or link, ' ' to open a super block, select first '; ' this menu item, click next on the desired object.' ' A dialog or edition window appears'; ' that allows you to modify object' ' ' ' It is also possible to select a super block to open clicking' ' on a node of the ""Navigator"" window']; case 'Resize' then mess=[' To change the size of a block , select first this menu item,'; ' click next on the desired block. A dialog appear that allows '; ' you to change the width and/or height of the block shape.']; case 'Icon' then mess=[' To change the icon of a block, select first this menu item,'; ' click next on the desired block. A dialog appear that allows '; ' you to enter scilab instructions used to draw the icon' ' ' ' You may use the icon_edit function to generate the scilab' ' instructions']; case 'Color' then mess=[' To change the background color of an object, select first '; ' this menu item, click next on the desired object. A dialog appear'; ' that allows you to choose the desired color']; case 'Label' then mess=[' To add a label to block, select first this menu item, click next'; ' on the desired block. A dialog appear that allows you to enter '; ' the desired label.'; ' labels are used to import data from a block in an other one']; case 'Get Info (i)' then mess=[' This menu allows to get information on an object and on ' ' its connection with other diagram objects.' ' ' ' Select this menu and click on an object' ' This menu remains selected'] case 'Identification' then mess=[' This menu allows to set an identificator to a link or a block ' ' block identificators are drawn under the block icon. Super blocks' ' input/output ports identificators are replicated over the block' ' shape ports. Links identificators are not displayed' ' ' ' Selecting this menu and clicking on a block or links opens an' ' editable dialog box'] case 'Documentation' then mess=[' This menu allows to set or get documentation for a block ' ' ' ' Selecting this menu and clicking on a block opens an' ' editable dialog box'] end if exists('mess')==0 then mess='No help available on this topic. Sorry.'; end message(mess)
82e3aba8bedb9d913429b7f076444de7166a4ff0
297b29fb450286d0f7fa619e58c9f4a86949544a
/RaisedCosinetxfilter.sci
bbd7d46bf6d86c3f820fba530b5d4ff09de99292
[]
no_license
harshal93shah/scilabcom
46dc948c1e0d0b37b0a69dfa203347298cc01e40
09c5506089a4283968d963ed3812de9823c5a008
refs/heads/master
2020-04-06T07:03:23.954966
2016-10-04T11:49:41
2016-10-04T11:49:41
54,882,787
0
0
null
null
null
null
UTF-8
Scilab
false
false
4,308
sci
RaisedCosinetxfilter.sci
function [y] = RaisedCosinetxfilter(in,bet,span,sps,varargin) y=[]; // Display mode mode(0); // Display warning for floating point exception ieee(1); //RaisedCosinetxfilter Apply pulse shaping by upsampling signal using raised cosine FIR filter //Y = RaisedCosinetxfilter(in,bet,span,sps) //or Y= RaisedCosinetxfilter(in,bet,span,shape) //or Y= RaisedCosinetxfilter(in,bet,span,shape,gain) //he Raised Cosine Transmit Filter block upsamples and filters the input signal using a normal // raised cosine FIR filter or a square root raised cosine FIR filter. //in: input -can be any vector //bet:RolloffFactor - Specify the rolloff factor as a scalar between 0 and 1. //span:FilterSpanInSymbols-Specify the number of symbols the filter spans as an integer-valued, positive scalar //sps:Output samples per symbol - Specify the number of output samples for each input symbol //his property accepts an integer-valued, positive scalar value //The raised cosine filter has (FilterSpanInSymbols x OutputSamplesPerSymbol + 1) taps. //shape:Filter shape - Specify the filter shape as one of 'normal' or 'squareroot'. //The default is Square root. //gain:Linear filter gain-Specify the linear gain of the filter as a positive numeric scalar //The default is 1.he object designs a raised cosine filter that has unit energy, //and then applies the linear gain to obtain final tap values. //Author - Harshal Shah [LHS,RHS]=argn(0); if(RHS==4) then shape = 'squareroot'; gain =1; elseif(RHS==5) then shape = varargin(1); gain =1; elseif(RHS==6) then shape = varargin(1); gain = varargin(2); else error("RaisedCosinetxfilter:Invalid no. of arguments"); end //checking conditions on in if( or( isnan(in)) | min(size(in))~=1) then error("RaisedCosinetxfilter:improper input"); end // checking conditions on RolloffFactor if (~isreal(bet) | length(bet)~=1 | isnan(bet)|bet<0|bet>1) then error("RaisedCosinetxfilter:improper RolloffFactor"); end //checking condition on FilterSpanInSymbols if (~isreal(span) | length(span)~=1 | isnan(span)|ceil(span)~=span|span<=0) then error("RaisedCosinetxfilter:improper FilterSpanInSymbols"); end //checking condition on Output samples per symbol if (~isreal(sps) | length(sps)~=1 | isnan(sps)|ceil(sps)~=sps|sps<=0) then error("RaisedCosinetxfilter:improper Output samples per symbol"); end //checking condition on Linear filter gain if (~isreal(gain) | length(gain)~=1 | isnan(gain)|ceil(gain)~=gain|gain<=0) then error("RaisedCosinetxfilter:improper Linear filter gain"); end taps = sps * span+1; if(~modulo(taps,2)) then error("AGC:product of sps and span should be even"); end l = ceil(taps/2); h=zeros(l,1); delay = span*sps/2; t = (-delay:delay)/sps; if(~strcmp(shape,'normal')) then for i= 0:l-1 if(t(l+i)~=1/(2*bet)) then h(l+i)=sinc(%pi * t(l+i))*cos(%pi * bet *t(l+i))/ (1-(2*bet*t(l+i))^2); h(l-i)=h(l+i); else h(l+i)=%pi/4*sinc(%pi/(2*bet)); h(l-i)=h(l+i); end end elseif(~strcmp(shape,'squareroot')) then for i= 0:l-1 if( t(l+i) ~= 1/(4*bet) & t(l+i)~= 0) then h(l+i)=4*bet*(cos((1+bet)*%pi*t(l+i))+sin((1-bet)*%pi *t(l+i))/(4*bet*t(l+i)))/(%pi*(1-(4*bet*t(l+i))^2)); h(l-i)=h(l+i); elseif(t(l+i)==0) then h(l+i)=(4*bet/%pi+(1-bet)); h(l-i)=h(l+i); else h(l+i)= bet/sqrt(2)*((1+2/%pi)*sin(%pi/(4*bet))+(1-2/%pi)*cos(%pi/(4*bet))); h(l-i)=h(l+i); end end else error("AGC:improper Linear filter shape"); end h=h/sqrt(sum(h.^2))* gain; x=zeros(length(in)*sps,1); for i =1: length(x) if(modulo(i,sps)==1) then x(i)=ceil(i/sps); end end y=filter(h,1,x); endfunction
f3cd70f4186014cd9d4275a071c86b1390e00290
449d555969bfd7befe906877abab098c6e63a0e8
/503/CH7/EX7.8/ch7_8.sci
84469c0f77921289a594befeb7eb040e648cd1c4
[]
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
428
sci
ch7_8.sci
//to calculate electomagnetic power and torque clc; E_a=250; R_a=.05; n=3000; w_m=(n*2*%pi)/60; disp('when terminal voltage is 255V'); V_t=255; I_a=(V_t-E_a)/R_a; P_in=E_a*I_a; disp(P_in,'electromagnetic power(W)'); T=P_in/w_m; disp(T,'torque(Nm)'); disp('when terminal voltage is 248V'); V_t=248; I_a=(E_a-V_t)/R_a; P_in=E_a*I_a; disp(P_in,'electromagnetic power(W)'); T=P_in/w_m; disp(T,'torque(Nm)');
bd17996cbbe5897bb9e0aec6026953ae0db4df67
217afc33663ba0533cf6775c45d12223f5616fc0
/Scilab/OraclePH.sci
58721e70aecb9f806ffd4430625ac908c0d254e9
[]
no_license
VIsh76/Optimisation
b30fd593006cdd89f1d0510f9f9123a3fb5db1eb
29e8ee916e53fcc5b6244de837982b8d258e531b
refs/heads/master
2021-01-18T16:02:22.233606
2017-05-11T14:33:43
2017-05-11T14:33:43
84,542,502
0
0
null
null
null
null
UTF-8
Scilab
false
false
521
sci
OraclePH.sci
function [F,G,H,ind]=OraclePH(qc,ind) F=0; G=0; H=0; q = B*qc+q0; if ind==2 then [F,G]=OraclePG(qc,2); elseif ind==3 then [F,G]=OraclePG(qc,3); elseif ind==4 then [F,G]=OraclePG(qc,4); elseif ind==5 then H=2*B'*diag(r.*abs(q))*B; elseif ind==6 then [F,G]=OraclePG(qc,3); H=2*B'*diag(r.*abs(q))*B; elseif ind==7 then [F,G]=OraclePG(qc,3); F=OraclePG(qc,2); H=2*B'*diag(r.*abs(q))*B; end endfunction
4f0ae00b473a50a1ed57a75ee9d8e344db8f3325
449d555969bfd7befe906877abab098c6e63a0e8
/3793/CH11/EX11.5/exp_11_5.sce
eeda6a7fcbe68b42780333ff6cca6b57c0e9bf8b
[]
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
430
sce
exp_11_5.sce
clear; clc; Xtf=.2+.2+(.3*.6/0.9); pi=0.9; po=pi; del1=asin(Xtf*pi/(1.2*1)); Pm=1.2*1/Xtf; //fault condition Xtf1=(.4*.3+.3*.3+.3*.4)/.3; Pm1=1.2*1/Xtf1; //post fault condition Xtf2=.2+.2+.3; Pm2=1.2*1/Xtf2; delm=(%pi-(asin(pi/Pm2))); delc=acos((pi*(delm-del1)+Pm2*cos(delm)-Pm1*cos(del1))/(Pm2-Pm1)); mprintf("rotor angle is %.3f radian \n",del1); mprintf("Critical clearing angle is %.3f radian",delc);
f744ec2d297d0dea4a993d1c5d4ca46918198f51
1db0a7f58e484c067efa384b541cecee64d190ab
/macros/cheb.sci
db2df85b2aa799aa0e33981ccf8104211b46c464
[]
no_license
sonusharma55/Signal-Toolbox
3eff678d177633ee8aadca7fb9782b8bd7c2f1ce
89bfeffefc89137fe3c266d3a3e746a749bbc1e9
refs/heads/master
2020-03-22T21:37:22.593805
2018-07-12T12:35:54
2018-07-12T12:35:54
140,701,211
2
0
null
null
null
null
UTF-8
Scilab
false
false
772
sci
cheb.sci
function res = cheb (n, x) //Calculates the nth-order Chebyshev polynomial at the point x. //Calling Sequence //cheb(n, x) //Parameters //n: Filter order //x: Point at which the Chebyshev polynomial is calculater. //Description //This is an Octave function. //Equation for Chebyshev polynomial is // / cos(n acos(x), |x| <= 1 // Tn(x) = | // \ cosh(n acosh(x), |x| > 1 // //x can also be a vector. In that case the output will also be a vector of same size as x. //Examples //x = [1 2 3 4] // cheb(10, x) //ans = // // 1.0000e+00 2.6209e+05 2.2620e+07 4.5747e+08 funcprot(0); rhs = argn(2) if (rhs < 2 | rhs > 2) error("Wrong number of input arguments.") end select(rhs) case 2 then res = callOctave("cheb",n,x) end endfunction
76090cf15c3731c6687f695fe06f8fefa615cdad
449d555969bfd7befe906877abab098c6e63a0e8
/3754/CH13/EX13.5/13_5.sce
ad4913d1cc7c80140722121552c318dda75f9d76
[]
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
906
sce
13_5.sce
clear// //Variables C1min=5;C2min=5;Cmin=5; C1max=50;C2max=50;Cmax=50; L = 10 //Inductance (in milli-Henry) //Calculation CTmin = C1min * C2min / (C1min + C2min) //Total minimum capacitance (in pico-farad) CTmin = CTmin * 10**-12 //Total minimum capacitance (in farad) L = 10 * 10**-3 //Inductance (in Henry) f0max = 1/(2*%pi*(L*CTmin)**0.5) //Maximun resonant frequency (in Hertz) CTmax = C1max * C2max / (C1max + C2max) //Total maximum capacitance (in pico-farad) CTmax = CTmax * 10**-12 //Total minimum capacitance (in farad) f0min = 1/(2*%pi*(L*CTmax)**0.5) //Minimum resonant frequency (in Hertz) //Result printf("\n Tuning range for the circuit is between %0.0f kHz and %0.0f MHz.",f0min*10**-3,f0max*10**-6)
0eb9d8f96b7dce069bae3e80d76df903e7f79d5b
449d555969bfd7befe906877abab098c6e63a0e8
/3630/CH11/EX11.15/Ex11_15.sce
0ba6b125b2184ac80ef3e9767b745c9817f9f432
[]
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
133
sce
Ex11_15.sce
clc; Vpp=12; //Volt RL=8; //Ohm Pd=Vpp^2/(40*RL); //Watt disp('mW',Pd*1000,"Pd=");//The answers vary due to round off error
a3e9a855c4eff4edb25421c22c5673a5ff09cd3e
f04d3d47f893de08cd99a31b4870112915b80d5b
/Datasets/australian/data4.tst
62d01f9cc363792a565ee1cd809a210dc67a6e7a
[]
no_license
MesumRaza/MyWorkInPython
f5364b8514943e44c7200123653da9f4551251b1
bd8c9b3ca2fb02ae6d2b626054fa3cd32c28b330
refs/heads/master
2021-08-19T21:46:41.412995
2017-11-27T13:37:52
2017-11-27T13:37:52
111,728,604
0
0
null
null
null
null
UTF-8
Scilab
false
false
5,429
tst
data4.tst
0 0.399699 0.290179 0 0.230769 0.375 0.00578947 0 1 0.0298507 0 0.5 0.092 0.00018 class0 1 0.235639 0.0446429 0.5 0.538462 0.875 0.00877193 0 1 0.0298507 1 0.5 0.2 0.00108 class0 1 0.408571 0.0178571 0 0.461538 0.375 0.0175439 0 0 0 1 0.5 0.065 0 class0 0 0.236842 0.0164286 0.5 0.230769 0.375 0.0189474 1 1 0.0597015 0 0.5 0.19 0.005 class1 1 0.611579 0.0178571 0 0.230769 0.875 0.138947 1 0 0 0 0.5 0.09 0.00314 class1 1 0.304511 0.196429 0 0.538462 0.375 0.0526316 0 0 0 1 0.5 0.03 0 class0 1 0.169173 0.428571 0.5 0.230769 0.375 0.0789474 1 1 0.0298507 1 0.5 0.06 5e-05 class0 0 0.192932 0.0907143 0 0 0 0 0 0 0 1 0.5 0.09 0.0006 class0 0 0.290677 0.165179 0.5 0.769231 0.875 0.0570175 1 1 0.0298507 0 0.5 0 0 class1 1 0.299549 0.0773214 0.5 0.538462 0.375 0.0526316 0 0 0 0 1 0.06 0 class0 1 0.337143 0.196429 0.5 0.153846 0.5 0.175439 0 0 0 0 0.5 0.105 0.00687 class0 1 0.0864662 0.0103571 0.5 0.230769 0.375 0.0101754 0 0 0 0 0.5 0.14 0.00364 class0 1 0.156692 0.03125 0.5 0.769231 0.375 0.162281 1 1 0.0298507 1 0.5 0.26 0.02 class1 0 0.25188 0.232143 0.5 0.538462 0.5 0.140351 1 1 0.104478 1 0.5 0 0.03065 class1 1 0.093985 0.25 0.5 0.538462 0.375 0.0175439 0 0 0 0 0.5 0 0 class0 1 0.174135 0.0207143 0.5 0.538462 0.375 0.0101754 1 1 0.104478 1 0.5 0.048 0.05124 class1 1 0.238045 0.169643 0.5 0.461538 0.375 0.0701754 0 1 0.0149254 1 0.5 0.23 0.00068 class0 1 0.442406 0.0803571 0.5 0.153846 0.5 0.0263158 1 0 0 0 0.5 0.28 0 class0 1 0.225564 0.0416071 0.5 0.230769 0.375 0.0175439 1 0 0 0 0 0.14 0 class0 1 0.26797 0.107143 0 0.153846 0.5 0.245614 0 0 0 0 0.5 0 1e-05 class0 1 0.0977444 0.355714 0.5 0.692308 0.125 0 1 0 0 0 0.5 0 0 class1 1 0.469925 0.303571 0.5 0.923077 0.875 0.491228 1 1 0.0149254 1 0.5 0.044 0.02 class1 0 0.136541 0.0817857 0.5 0.769231 0.875 0.0803509 1 1 0.104478 1 0.5 0.07 0.02384 class1 0 0.10406 0.107143 0.5 0.769231 0.375 0.00578947 1 1 0.0447761 0 0.5 0.05 6e-05 class1 1 0.211729 0.0535714 0.5 0.615385 0.375 0.0789474 0 1 0.0149254 1 0.5 0.05 3e-05 class0 1 0.408571 0.0803571 0 1 0.875 0.350877 1 0 0 1 0.5 0.088 0 class0 1 0.641654 1 0 0.538462 0.375 1 1 1 0.597015 0 0.5 0 0.00015 class1 0 0.756842 0.00589286 0.5 0 0 0 1 1 0.0149254 0 0.5 0.116 0.001 class1 0 0.130376 0.401786 0 1 0.875 0.0263158 1 1 0.0597015 0 0.5 0 0.00321 class1 0 0.159098 0.0892857 0 0.153846 0.5 0.157895 0 0 0 0 0.5 0.1 0.00456 class0 0 0.838346 0.214286 0.5 0 0 0 0 0 0 0 0 0 0 class0 1 0.328271 0.0267857 0.5 0.230769 0.375 0.0526316 0 0 0 1 0.5 0.1155 0 class0 1 0.52 0.428571 0.5 0.461538 0.375 0.561404 1 0 0 0 0 0.055 0 class1 0 0.215489 0.535714 0 0.692308 1 0 1 0 0 0 0.5 0 0.13212 class1 1 0.322105 0.0892857 0.5 0.230769 0.375 0.157895 1 1 0.104478 0 0.5 0.075 0.0127 class1 1 0.537594 0.270893 0.5 0.153846 0.5 0.26614 1 1 0.223881 1 0.5 0 0.05 class1 1 1 0.196429 0.5 0.538462 0.375 0.0189474 1 0 0 0 0.5 0 0.0034 class0 1 0.233083 0.464286 0.5 0.0769231 0.875 0.0175439 0 0 0 0 0.5 0.114 0 class0 0 0.0476692 0.0178571 0.5 0.153846 0.375 0.00578947 0 1 0.0895522 1 0.5 0.12 0.00035 class0 0 0.0338346 0.00589286 0.5 0.384615 0.375 0.0350877 0 1 0.0298507 1 0.5 0.16 1e-05 class0 1 0.696692 0.517857 0.5 0 0 0.631579 1 1 0.223881 1 0.5 0 0.01 class1 1 0.214286 0.0714286 0.5 0.230769 0.875 0.14614 1 1 0.0298507 1 0.5 0.0905 0 class1 1 0.417293 0.055 0.5 0.153846 0.5 0.122807 0 0 0 0 0.5 0.108 0 class1 1 0.155338 0.321429 0.5 0.384615 0.375 0.00877193 0 0 0 1 0.5 0 0 class0 1 0.161654 0.47625 0 0.384615 0.375 0.00140351 0 0 0 1 0.5 0.06 0.00475 class0 1 0.315789 0.535714 0.5 0.846154 0.75 0.188596 1 1 0.134328 1 0.5 0 0.00134 class1 1 0.299549 0.0446429 0.5 0.615385 0.375 0.0408772 0 0 0 0 0.5 0.06 0 class0 0 0.407218 0.357143 0.5 0.769231 0.875 0.0614035 1 0 0 0 0.5 0.0145 0.00837 class1 1 0.100301 0.0655357 0.5 0.538462 0.375 0.0789474 1 1 0.0149254 0 0.5 0.05 0.0015 class1 1 0.357143 0.0401786 0 0.0769231 0.375 0.0526316 0 0 0 1 0.5 0.2155 0 class1 1 0.522556 0.151786 0.5 0.461538 0.375 0.00438596 1 0 0 1 0.5 0.1125 0 class1 1 0.139098 0.0267857 0.5 0.461538 0.375 0.0175439 0 0 0 1 0 0.16 0 class0 1 0.319549 0.120536 0.5 0.538462 0.875 0.290877 0 0 0 1 0.5 0 0 class0 1 0.038797 0.0982143 0.5 0.384615 0.375 0.0233333 0 1 0.0149254 0 0.5 0.04 0.00021 class0 1 0.134135 0.375 0.5 0.769231 0.875 0.0468421 1 0 0 0 0.5 0.05 0 class1 0 0.120301 0.419643 0.5 0.538462 0.375 0.00877193 0 0 0 1 0.5 0.09 0 class0 0 0.170376 0.0907143 0 0.384615 0.375 0.00877193 1 0 0 1 0.5 0.185 0 class1 1 0.339549 0.0758929 0 0.615385 0.375 0.00298246 1 1 0.0149254 0 0.5 0.025 0.01187 class1 0 0.223008 0.133929 0.5 0.538462 0.375 0.00877193 0 1 0.0149254 1 0.5 0.02 0.00154 class0 1 0.126617 0.433036 0.5 0.538462 0.375 0.117018 0 1 0.0298507 1 0.5 0.09 0.00173 class0 1 0.307068 0.055 0.5 0.923077 0.375 0.0540351 1 1 0.0149254 1 0.5 0.26 0.5 class1 1 0.319549 0.0892857 0.5 0.153846 0.375 0.0350877 0 0 0 1 0.5 0.105 0 class0 1 0.223008 0.129464 0.5 0.384615 0.375 0.00877193 0 0 0 1 0.5 0.05 0 class0 0 0.0815038 0.193393 0.5 0.153846 0.875 0.0101754 0 0 0 0 0.5 0.04 0.00484 class0 1 0.142857 0.0357143 0.5 0.538462 0.375 0.0292982 1 0 0 0 0 0.15 0 class1 1 0.0413534 0.00446429 0.5 0.538462 0.375 0.00578947 0 0 0 0 0.5 0.066 0 class0 0 0.095188 0.00446429 0.5 0.769231 0.375 0.0350877 0 1 0.0149254 0 0.5 0.12 0.00768 class1 1 0.129023 0.392857 0.5 0.615385 0.375 0.0701754 1 1 0.0149254 0 0.5 0.04 0.00278 class1 1 0.304511 0.181607 0 0.153846 0.5 0.0380702 0 0 0 1 0.5 0.24 0 class0
b3bca10dc18e7c2480705b3182aa3a211706ed24
449d555969bfd7befe906877abab098c6e63a0e8
/821/CH2/EX2.5/2_5.sce
39cdc8be5f21f6529ae53585841132b6013509f3
[]
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
415
sce
2_5.sce
N0=15.3;//decay rate of Contemporary Carbon in disintegrations/min/gram// N=2.25;//decay rate of 14C specimen in disintegrtions/min/gram// thalf=5670;//half life of nuclide in years// t=2.303*log(N0/N)*thalf/0.693;//Age of the specimen in years// printf('Age of the specimen=t=%fyears',t);//here the answer given in textbook is actually wrong we get twice that of the answer which is shown through execution//
31bc9f209e88bf2b16f97d7cbc5f41274658ed82
449d555969bfd7befe906877abab098c6e63a0e8
/964/CH21/EX21.4/21_4.sce
efa2bba5811299d58a06189e6fdfab94253b9b56
[]
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
639
sce
21_4.sce
clc; clear; function y=f(x) y=(0.2+25*x-200*x^2+675*x^3-900*x^4+400*x^5) endfunction a=0; b=0.8; tval=1.640533; n=2; h=(b-a)/n; fa=f(a); fb=f(b); fh=f(h); l=(b-a)*(fa+4*fh+fb)/(3*n); disp(l,"l=") Et=tval-l;//error et=Et*100/tval;//percent relative error //by using approximate error estimate //the fourth derivative of f function y=g(x) y=-21600+48000*x endfunction f4x=intg(0,0.8,g)/(b-a);//average value of fourth derivative Ea=-(1/2880)*(f4x)*(b-a)^5; disp(Et,"The Error Et=") disp("%",et,"The percent relative error et=") disp(Ea,"The approximate error estimate without using the true value=")
9127fde17e63966532b7b444155d3c23dd34ea63
449d555969bfd7befe906877abab098c6e63a0e8
/2345/CH15/EX15.37/Ex15_37.sce
6d6faf91f8e3f256b353d5034ec6feadda8d2c81
[]
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
355
sce
Ex15_37.sce
//Finding no of electrons //Example 15.37(pg. 417) clc clear I=2.5*(10^-3)//current in Amp t=30*(10^-3)//time in sec Q=I*t//charge passing through the person in Coulumbs e=1.602*(10^-19)//charge of 1 electron in C N=Q/e//no of electrons passing through the person printf('Thus the no of electrons passing through the person is %e electrons',N)
eb357035579e11e70c608b2e5a34c3dfc9422e3a
449d555969bfd7befe906877abab098c6e63a0e8
/3776/CH7/EX7.2/Ex7_2.sce
9f6d25ae4b84dc230818421f8f76990fed37c469
[]
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
920
sce
Ex7_2.sce
clear //Given l = 6 //m -length of the beam p = 3 //KN-m _ the load applied R_a = l*p/2 //KN -The reaction at a, Since the system is symmetry R_b = l*p/2 //KN -The reaction at b l_s = 10 //mm - The length of the screw shear_al = 2 //KN - The maximum load the screw can take I = 2.36*(10**9) //sq.mm The moment of inertia of the whole system //We will divide this into two parts l_1 = 50.0 //mm l_2 = 50.0 //mm b_1 = 100.0 //mm b_2 = 200.0 //mm A_1 = l_1* b_1 //sq.in - area of part_1 y_1 = 200.0 //mm com distance A_2 =l_2*b_2 //sq.mm - area of part_1 y_2 = 225.0 //in com distance Q = 2*A_1*y_1 + A_2*y_2 // mm**3 For the whole system q = R_a*Q*(10**3)/I //N/mm The shear flow d = shear_al*(10**3)/q //mm The space between the nails printf("\n The minimal space between the nails %0.0f mm",d) printf("\n Similar calculation for 4.5 KN gives spacing of 246mm")
d4b7f3cb1d9e8d01729ef20e32920eb8e657587b
449d555969bfd7befe906877abab098c6e63a0e8
/548/DEPENDENCIES/4_08data.sci
4b72a187bafc5a03a2f8d965fa6765cfa380c931
[]
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
304
sci
4_08data.sci
//The flow conditions are assumed to be isentropic in nature. P1=20; //pressure of burned gas in combustion chamber in atm unit T1=3500; //temperature of the burned gas in combustion chamber in degree kelvin P2=0.5; //pressure of the gas at exit in atm y=1.15; //specific heat ratio for the gas
8a3b0471a125fbb328ae656882e3151697a6cb41
449d555969bfd7befe906877abab098c6e63a0e8
/409/CH8/EX8.3/Example8_3.sce
5e37c03519e8e741dc71f5e64ce50d7ae22f94e4
[]
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,117
sce
Example8_3.sce
clear; clc; // Example 8.3 printf('Example 8.3\n\n'); // Page no. 202 // Solution // Basis : 1 hr so F = 1000 kg F = 1000 ;// feed rate-[kg/hr] P = F/10 ;// product mass flow rate -[kg/hr] n_un = 9 ;// Number of unknowns in the given problem n_ie = 9 ;// Number of independent equations d_o_f = n_un-n_ie ;// Number of degree of freedom printf('Number of degree of freedom for the given system is %i .\n',d_o_f); // Overall mass balance: F = P+B B = F-P ;// bottom mass flow rate -[kg/hr] printf('\n Bottom mass flow rate - %.1f kg \n',B); // Composition of bottoms by material balances m_EtOH = 0.1*F-0.6*P ;// By EtOH balance-[kg] m_H2O = 0.9*F - 0.4*P ;// By H2O balance-[kg] total = m_EtOH+m_H2O ;//[kg] f_EtOH = m_EtOH/total ;// Mass fraction of EtOH f_H2O = m_H2O/total ;// Mass fraction of H2O printf(' Mass of EtOH in bottom - %.1f kg \n',m_EtOH); printf(' Mass of H2O in bottom - %.1f kg \n',m_H2O); printf(' Mass fraction of EtOH in bottom - %.3f \n',f_EtOH); printf(' Mass fraction of H2O in bottom - %.3f \n',f_H2O);
4284690046706b44bed7cb70d39a1342458fd6f6
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.3/macros/percent/%lssls.sci
aa8849d1dc76ad8adeca5ae694fe5a10af8bd50c
[ "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
45
sci
%lssls.sci
function s=%lssls(s1,s2) //! s=inv(s1)*s2
261ba2051279314017b4e1134a1bcd0635e07038
449d555969bfd7befe906877abab098c6e63a0e8
/620/CH27/EX27.5/example27_5.sce
5ec56f0c86dcbe9d9d3c6e4296fe7705ff4ca86e
[]
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
188
sce
example27_5.sce
f_am=10; fr_am=455; fr_fm=10.7; f_fm=0.2; q_am=fr_am/f_am; q_fm=fr_fm/f_fm; disp("for AM the necessary Q value is"); disp(q_am); disp("for FM the necessary Q value is"); disp(q_fm);
e1f592b76ecb6cc58cae41913a5e0f5fecdae218
380ccea0e9ede29112722903e87b62796c632e4b
/BVP 1.sce
af69d553e1e623ecb5f5f18e759f6b96ab789834
[]
no_license
vishu-byte/Scilab-solving-boundary-value-problem-using-finite-difference-method
3f8c6f590cd18242a1c0478dbe1d6248582b5e97
ae982ae48bfa3f41b3d52a7dbd619183a442a2ca
refs/heads/master
2022-12-14T05:33:51.652333
2020-09-12T07:40:39
2020-09-12T07:40:39
294,893,341
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,720
sce
BVP 1.sce
//TO SOLVE GIVEN ODE 2ND ORDER BOUNDARY VALUE PROBLEM AND PLOT THE RESULTS /* Given Boundary Value Problem y'' = p(x)y'+q(x)y+r(x) y(a)=ya y(b)=yb */ ///BY VISHU SAINI clc() clear //1. DEFINE BVP //a.ode function [p,q,r]=ode(x) p=1 q=0 //Defining the coeffecients of ode r=30*(x*x*x*x) - 20*(x*x*x) + 12*(x*x) -4*x endfunction //b. boundary conditions a=0 b=2 ya=0 yb=40 //2.DISCRETIZE SPACE N= input("enter number of points") h=(b-a)/(N-1) //step-size //a.initialize for i=1:N X(i)=0 end //b.store nodal points as an array for i=1:N X(i)= a + (i-1)*h end disp(X) //3.FDM APPROXIMATION ////for i=1:N // // ys=(Y(i+1,1)+Y(i-1,1) -2*Y(i,1))/(h*h) // yf=(Y(i+1,1)-Y(i-1,1))/2*h // // y=Y(i,1) // x=X(i,1) // //end //4.MATRIX FORMULATION //a. constants of the matrix for i=1:N [p,q,r]=ode(X(i,1)) A(i,1)= 2+(h*p) B(i,1)= -4-2*q*h*h C(i,1)= 2-h*p D(i,1)= 2*h*h*r end //disp(A) //disp(B) //disp(C) //disp(D) //b. The Matrix //initialize n x n zero matrix for i=1:N for j = 1:N H(i,j)=0 end end for i=2:N-1 H(i,i)=B(i,1) H(i,i-1)=A(i,1) H(i,i+1)=C(i,1) end H(1,1)=1 H(N,N)=1 //c.coefficient matrix for i=1:N J(i,1)= D(i,1) end J(1,1)=ya J(N,1)=yb disp(J) disp(H) //5.SOLVE THE N LINEAR EQAUTIONS S=inv(H)*J //6.PLOT THE RESULTS //a.plot solution plot(X,S) xlabel("x","fontsize",3,"color","red") //x and y label ylabel("y(x)","fontsize",3,"color","red") gca().grid=[1 1 1] //turn on grid
4f1ae768f525a4a147166767686994a1feeac337
449d555969bfd7befe906877abab098c6e63a0e8
/1301/CH27/EX27.4/ex27_4.sce
c4483fc8cf921498fa9254c915be437c606e9095
[]
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
50
sce
ex27_4.sce
clc; disp(2*0.12,"Moles = "); //displaying result
4f18501910cb9c505b06c62e67e3f058b0d69c8a
449d555969bfd7befe906877abab098c6e63a0e8
/462/CH11/EX11.6.b/ex_11_6_b.sce
dfb4af3b2c224272e020fff024dabdf74c6aab77
[]
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
340
sce
ex_11_6_b.sce
//example 11.6(b)// clc //clears the screen// clear //clears already existing variables// disp('since Y5=Y4=0, the memory locations 4 and 5 are selected for readout. The output is obtained by ORing the contents of these locations, i.e.') disp('D1D0=11') disp('The memory contents do not change') //given A1A0=00, W''=1, Y=11001111//