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
00e83b48c15d6dcc3dbeec9ca9683f9bfa1169e8
54ec7978b285c41cc02aec8197e1d57dd5dbc31e
/scilab/arduinocontrol.sce
dd658cf5533267cb9320ca7499e504edb07c916f
[]
no_license
Xx220xX/Projeto-Controle-digital
a6c95ac67e3cc16ea0a659b7df526e08b2fb7716
188ca2e55b1c11d2d5736077549406bc30352314
refs/heads/main
2023-06-19T22:00:48.607530
2021-06-16T00:03:41
2021-06-16T00:03:41
376,072,300
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,533
sce
arduinocontrol.sce
clc; clear; mtlb_close all; function stairs(x, y) n=length(x); x_indices=int((1:2*n-1)/2)+1; // gives 1,2,2,3,3,...,2n-1,2n-1 x_ss=x(x_indices); // the stair step graph's x values y_indices=int((2:2*n)/2); // gives 1,1,2,2,...,2n-2,2n-2,2n-1 y_ss=y(y_indices) plot2d(x_ss,y_ss) endfunction function gflim(lim) ax=gca(),// gat the handle on the current axes a = ax.data_bounds a(3:$) = lim ax.data_bounds=a; endfunction function y=c2d(x, p) y = ss2tf(cls2dls(tf2ss(syslin('c',x)),p)) endfunction function yz = dsim(G,u) yz = dsimul(tf2ss(Gz),u); endfunction s = %s; z = %z; pi = %pi; // Modelo para o motor CC function F = Motor() Ra=8; La=170e-3; B=3e-3; Jrotor=12e-3; Jcarga=36e-3; J=Jrotor+Jcarga; kaphif=0.5; G = 1/(Ra+s*La)*kaphif*1/(B+s*J); F = G/(1+kaphif*G); F = syslin('c',F); // circuito endfunction // Verificar motor sem controlador function vfMotor() G = Motor() endTime = 60; t = 0:1e-3:endTime; u = (-sin(t/endTime*2*pi*3)>0) .* 1; u = u*0.5 + 0.8; y = csim(u,t,G) plot(t,u); // mtlb_hold on plot(t,y,'r') legend('Entrada','Velocidade angular') endfunction //vfMotor(); function [Gc,Gs,T] = GeraCompensador(Mp,T5) Gs = Motor(); [Gs_z Gs_p Gs_k] = tf2zp(Gs); //Compensador com cancelamento de polos e zeros //Mp = 1;//Sobressinal em % //Mp=exp(-pi*(zeta/sqrt(1-zeta^2))) zetamf = abs(log(Mp/100))/((%pi^2)+(log(Mp/100))^2)^(1/2); //T5 = 0.4;//Tempo de acomodação de 5% //T5 = 3/(wn*zeta) wnmf = 3/(T5*zetamf);//wn //Polos malha fechada Smf = -(zeta*wn)+/- i(wn*sqrt(1-zeta^2)) wdmf = (wnmf*sqrt(1-zetamf^2)); sigmamf = zetamf*wnmf; smf = -sigmamf + wdmf*%i;//Raizes de Malha Fechada //Determinando os polos do compensador C1 = 1; for i=1:length(Gs_z) C1 = C1*(s-Gs_z(i)); end C1=1/C1; //Determinando os zeros do compensador for i=1:length(Gs_p) C1 = C1*(s-Gs_p(i)); end //Determinando Kc ppid = -2*sigmamf; kc = -(smf*(smf-ppid))/Gs_k; //Controlador PID em S Gc = (kc/(s*(s-ppid)))*C1; //FT equivalente do sistema realimentado Gt = Gc*Gs/(1+Gc*Gs);//O mesmo que Gt = feedback(Gd, 1) //Simulação dT = 1e-1;//Tempo de amostragem da simulação t = 0:dT:60;//tempo de simulação //Entrada em degrau (amplitude 1) + onda quadrada com período de 20 [s] //(Amplitude .25) Tsq = 20;//período da onda quadrada u = 1*ones(1,length(t)) - 0.25*squarewave((2*%pi*t)/Tsq); y=csim(u,t,Gt); figure(1) plot(t,u,'-g',t,y,'-r'); title('Controle de velocidade ') xlabel('Tempo [s]') ylabel('Tensao [v]') T = Gt; endfunction function Gz = DiscretizaCompensador(Gs,Ts) Gz = syslin('d',c2d(Gs,Ts)); endfunction Ts = 40e-3 [G,Gs,T ]= GeraCompensador(0.2,1) Gz = DiscretizaCompensador(G,Ts); fpGs = pfss(Gs) //disp(Gs) //disp(fpGs) //disp(G) //disp(Gz) //disp(T) t = 0:Ts:60; //figure u = ones(1,length(t)); ys = csim(u,t,G); yz = dsimul(tf2ss(Gz),u); figure(2) plot(t,ys,'-r',t,yz,'-b') legend ('Gcs','Gcz'); title("Discretização do compensador, subida em rampa") //Gz = Gz/max(abs(coeff(Gz.num))); a = coeff(Gz.den); b = coeff(Gz.num); a = a($:-1:1); b = b($:-1:1); disp(Gz) printf("%f ,",a'); printf("\n"); printf("%f ,",b'); printf("\n"); printf("Ts = %f\n",Ts) disp(abs(roots(Gz.den))) /* disp(Gs) printf("%f ,",coeff(Gs.num)'); printf("\n"); printf("%f ,",coeff(Gs.den)'); printf("\n"); */
c917ec0fcb52333d91ffda7d07d8667aeeb50f0d
449d555969bfd7befe906877abab098c6e63a0e8
/3863/CH4/EX4.17/Ex4_17.sce
53ec415453a7290d87997e0e5545fae80c64f48d
[]
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
875
sce
Ex4_17.sce
clear // //Given //Variable declaration L=4*10**3 //Length of bar in mm A=2000 //Area of bar in sq.mm P1=3000 //Falling weight in N(for 1st case) h1=20*10 //Height in mm(for 1st case) P2=30*1000 //Falling weight in N(for 2nd case) h2=2*10 //Height in mm(for 2nd case) E=2e5 //Youngs modulus in N/sq.mm //Calculation V=A*L //Volume of bar in mm^3 //case(i):Maximum stress when a 3000N weight falls through a height of 20cm sigma1=(((sqrt((2*E*P1*h1)/(A*L))))) //case(ii):Maximum stress when a 30kN weight falls through a height of 2cm sigma2=((P2/A)*(1+(sqrt(1+((2*E*A*h2)/(P2*L)))))) //Result printf("\n Maximum stress induced(when a weight of 3000N falls through a height of 20cm)= %0.3f N/mm^2",sigma1) printf("\n Maximum stress induced(when a weight of 30kN falls through a height of 2cm)= %0.3f N/mm^2",sigma2)
31ef51ca65435c738dce35ff11a9aed2ef0b983c
449d555969bfd7befe906877abab098c6e63a0e8
/3411/CH6/EX6.4.u1/Ex6_4_u1.sce
c6a887e99f94dbb210254661f65478f65ef807f1
[]
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
475
sce
Ex6_4_u1.sce
//Example 6_4_u1 clc(); clear; //To calculate the ratio of populations of two energy levels h=6.63*10^-34 //units in m^2 kg s^-1 c=3*10^8 //units in meter/sec lamda=694.3 //units in nm lamda=lamda*10^-9 //units in meters kb=1.38*10^-23 //units in m^2 kg s^-2 K^-1 T=300 //units in K n1_n2=exp((h*c)/(lamda*kb*T)) printf("The ratio of Populations of two energy levels is N1/N2=") disp(n1_n2);
d82472f357c259aa8cdd3cf4be2c592dcc29442d
449d555969bfd7befe906877abab098c6e63a0e8
/1151/CH3/EX3.8/example8.sce
8572fbdcad456107f508ab274dc7ef9aa6dd8d8f
[]
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,136
sce
example8.sce
s=%s p= poly([0 0 1],'s','coeff'); q= poly([1 2 3 2],'s','coeff'); M=p/q disp (M,"M( s )=") H =1; R =1; b= coeff (p) a= coeff (q) // s t e p input if (a(1 ,1) ==b(1 ,1)) then printf (" f o r u n i t s t e p input Ess=0 \nn" ) else Ess =1/ H*(1 -(b(1 ,1)*H/a(1 ,1)))*R; kp=(1-Ess)/Ess; disp (Ess ," f o r u n i t s t e p input Ess=") disp(kp,"Kp=") end // ramp input c=0 for i =1:2 if(a(1,i)-b(1,i)*H ==0) then c=c+1 end end if(c ==2) printf (" f o r u n i t ramp input Es s=0 \nn") else if(c ==1) then Ess =(a(1 ,2) -b(1 ,2)*H)/a(1 ,1)*H; kv=1/Ess; disp (Ess ," f o r u n i t ramp input Es s=") disp(kv,"Kv=") else printf (" f o r u n i t ramp input Es s=i n f \nn") end end // p a r a b o l i c input c=0 for i =1:3 if(a(1,i)-b(1,i)*H ==0) then c=c+1 end end if(c ==3) printf (" f o r u n i t p a r a b o l i c input Es s=0 \nn") else if(c ==2) then Ess =(a(1 ,3) -b(1 ,3)*H)/a(1 ,1)*H; ka=1/Ess; disp (Ess ," f o r u n i t p a r a b o l i c input Es s=") diisp(ka,"Ka=") else printf (" f o r u n i t p a r a b o l i c input Es s=i n f \nn") end end
df78666c71b73bf9a3e8fb0886bc35d873601bcc
449d555969bfd7befe906877abab098c6e63a0e8
/1118/CH19/EX19.2/eg19_3.sce
70549f4ddb500fb5f3f9adead5927733099b43f7
[]
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,584
sce
eg19_3.sce
clear; //clc(); function [mag,theta]=c(r,i) mag=sqrt(r*r + i*i) theta=atand(i/r) endfunction previousprot = funcprot(0) funcprot(0) //a).inductor switch open xdg=0.8; xt=0.1; xl=0.6; xr=0.6; e=1.2; v=1; x=xdg+xt+.5*xl+0.5*xl; pm=e*v/x; printf("the steady state stability limit with inductor switch S open is:%.2f pu\n",pm); //b).inductor switch closed z1=(xdg + xt +0.5*xl); z2=0.5*xl; z3=xr; b=(%i)*z1 + (%i)*z2 +(((%i)*z1*(%i)*z2)/((%i)*z3)); B=imag(b); x1=B; pm=e*v/x1; printf("the steady state stability limit with inductor switch S closed is:%.2f pu\n",pm); //c).with the inductor replaced with a shunt capaicitor of same per unit z31=-0.6; b1=(%i)*z1 + (%i)*z2 +(((%i)*z1*(%i)*z2)/((%i)*z31)); B1=imag(b1); x2=B1; pm2=e*v/x2; printf("the steady state stability limit with the inductor replaced with a shunt capaicitor is:%.2f pu\n",pm); //d).when the shunt capaicitor is replaced with a series capacitor xc=-0.6; x3=xdg+xt+xl+xc; pm=e*v/x3; printf("the steady state stability limit when the shunt capaicitor is replaced with a series capacitor is:%.2f pu\n",pm); //e).when the shunt inductor is replaced with a resistor z11=xdg + xt +0.5*xl; z3=1.5; r=1; i=z11/z3; [mag,theta]=c(r,i); A1=mag; alpha1=theta; b=((%i)*z11 + (%i)*z2 +((%i)*z11*(%i)*z2)/z3); r=real(b); i=imag(b); [mag,theta]=c(r,i); B1=mag; bet2=theta; pm=e*v/B1 - A1*v^2*cosd(bet2-alpha1)/B1; printf("the steady state stability limit when the shunt inductor is replaced with a resistor is:%.2f pu\n",pm);
7c80926c04cb3c61a47139c1b809d6879c379244
1232196a72221f6cc0ee0a9a47111ef1188dafe9
/xcos_blocks/CurrentstarvedInverter.sci
88ccda95e3b9180886c5e64030db84ae4248fc94
[]
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
2,667
sci
CurrentstarvedInverter.sci
function [x,y,typ]=CurrentstarvedInverter(job,arg1,arg2) // Copyright INRIA x=[];y=[];typ=[]; select job case 'plot' then standard_draw(arg1) case 'getinputs' then //** GET INPUTS [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 model=arg1.model exprs=graphics.exprs while %t do [ok, in_out_num,INV_cs_NBIAS,INV_cs_PBIAS, exprs]=scicos_getvalue('New Block Parameter',['number of blocks','INV_cs_NBIAS','INV_cs_PBIAS'],list('vec',-1,'vec',-1,'vec',-1),exprs) if ~ok then break,end //Can check for consistency in the user's input or highlight a mistake if ok then // Any papermeters that may change //can use set_io function: it updates the model and the graphic of a block by adjusting its input/output number size, type and data type & you can search for this function at www.scicos.org/Newblock.pdf model.ipar=in_out_num //always a list model.rpar= [INV_cs_NBIAS;INV_cs_PBIAS] graphics.exprs=exprs; x.graphics=graphics; x.model=model break; end end // case 'compile' - This case is available for Scilab compiler to call the interfacing functions of Scilab and Modelica blocks with the job 'compile' during the compilation process to improve checks/sets of some block parameters (like input/output sizes and types...) case 'define' then in_out_num=1 INV_cs_NBIAS=1e-6 INV_cs_PBIAS=500e-9 model=scicos_model() model.sim=list('CurrentstarvedInverter_c',5) model.in=[in_out_num;in_out_num] //first/row dimension model.in2=[-1;-1] //second/column dimension model.intyp=[-1;-1] model.out=[in_out_num] model.out2=[-1] model.outtyp=[-1] model.rpar= [INV_cs_NBIAS;INV_cs_PBIAS] model.ipar=in_out_num; model.blocktype='d' model.dep_ut=[%f %t] //[block input has direct feedthrough to output w/o ODE block always active] exprs=[sci2exp(in_out_num);sci2exp(INV_cs_NBIAS);sci2exp(INV_cs_PBIAS)] // exprs MUST BE semicolon separated & sci2exp() also converts an expression to string gr_i=['txt='' Blank '';';'xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'')'] x=standard_define([7 2],model, exprs,gr_i) //Numbers define the width and height of block end endfunction
6234239cd48eb377fc27497cbf924434bf1b9bb5
f9dba12b1cf4f2bd985bc20265b1ff05acd990db
/Week 1 & 2/rolling_ressistance.sce
f5277de238bdf7f794bfc79192dc4a4e38cfb7ce
[]
no_license
nayank07/Model_Based_Design-Internship
66b3feaafe568df3ada8a7d9bcc6e5fa84a69806
cee58d063b727bd0a7f763ad6e8ddbb2498608da
refs/heads/main
2023-07-10T02:59:27.439548
2021-08-05T09:40:16
2021-08-05T09:40:16
383,462,566
1
0
null
null
null
null
UTF-8
Scilab
false
false
264
sce
rolling_ressistance.sce
// Reading Imports // Reading form track data = csvRead("track.csv"); Drive.time = data(3:470,1); Drive.values = data(3:470,2); // Reading from Grade Data value = csvRead("Grade Data.csv"); Grade.time = value(3:470,1); Grade.values = value(3:470,2);
5fe44c48d02ef311a092cba97557d7258b9b1f4e
48b35d91574ad9ef85aefeb435059f8f75e3bebb
/DEVELOPMENT-LANGUAGES/niger-congo/lin.tst
ebc704a39af2912ce1a768f2e9de548a0d90d89e
[]
no_license
ElliotMouchon/task0-data
b3e96eea08b3eba08d5a889f9b385cf00ff5701d
0d24b945ac96e08aa5a2f0080fa4de465f91b40a
refs/heads/master
2023-04-16T11:48:39.575176
2021-04-29T04:04:17
2021-04-29T04:04:17
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
548
tst
lin.tst
tek V;FUT tindik V;PST yeb V;PST yeb V;NFIN vand V;PRS mem V;PRS yamb V;NFIN bom V;NFIN lob V;PST kende V;PRS mel V;NFIN ling V;PST luk V;NFIN lamb V;NFIN tek V;NFIN tun V;PST tang V;FUT telem V;PST yebis V;PRS bal V;NFIN salis V;FUT bal V;PST salis V;PST li V;FUT mel V;PST kim V;FUT simb V;NFIN tind V;PST lob V;FUT lob V;NFIN kol V;NFIN su V;NFIN kom V;FUT kom V;NFIN kang V;PRS yib V;PRS kim V;PST telem V;PRS kat V;FUT somb V;PST yemb V;FUT pumbu V;PST zuw V;FUT yib V;FUT tindik V;NFIN pes V;PST
97e296a3c1c23d7f82c69494c18f5b866e49dda1
676ffceabdfe022b6381807def2ea401302430ac
/solvers/CompressibleFlowSolver/Tests/Perturbation_M05_square_CBC_back_par.tst
58a4d7a9e7702c5a4fbd24091d709e9ae0aa016f
[ "MIT" ]
permissive
mathLab/ITHACA-SEM
3adf7a49567040398d758f4ee258276fee80065e
065a269e3f18f2fc9d9f4abd9d47abba14d0933b
refs/heads/master
2022-07-06T23:42:51.869689
2022-06-21T13:27:18
2022-06-21T13:27:18
136,485,665
10
5
MIT
2019-05-15T08:31:40
2018-06-07T14:01:54
Makefile
UTF-8
Scilab
false
false
1,219
tst
Perturbation_M05_square_CBC_back_par.tst
<?xml version="1.0" encoding="utf-8"?> <test> <description>Euler, pressure perturbation to test RiemannInvariant CBC (back wave), parallel</description> <executable>CompressibleFlowSolver</executable> <parameters>--use-scotch Perturbation_M05_square_CBC_back_par.xml</parameters> <processes>3</processes> <files> <file description="Session File"> Perturbation_M05_square_CBC_back_par.xml</file> <file description="Restart File"> Perturbation_M05_square_CBC_back_par.rst</file> </files> <metrics> <metric type="L2" id="1"> <value variable="rho" tolerance="1e-12">0.091</value> <value variable="rhou" tolerance="1e-12">13.4146</value> <value variable="rhov" tolerance="1e-12">0.000728033</value> <value variable="E" tolerance="1e-12">15113.7</value> </metric> <metric type="Linf" id="2"> <value variable="rho" tolerance="1e-12">0.365496</value> <value variable="rhou" tolerance="1e-12">53.6963</value> <value variable="rhov" tolerance="1e-12">0.118435</value> <value variable="E" tolerance="1e-12">60556.2</value> </metric> </metrics> </test>
61aa120521b7294f98aef97d2a14d3b3719c3d40
f78a758dc17a311b355e12366d1315f7a9c2b763
/Ford/ES-XW7T-1A278-AC 2003/14.0 Immunity from Transient Disturbances CI 220 0.tst
46628b5a4d25e6606e74f1eaf2155f18979dc2e7
[]
no_license
CZPFOX/Standards
9dbf036f7e3e5767c23872c884ae7da83e66f81c
af34157e6e447d1a2b39136b9f3734feb663d9bb
refs/heads/master
2020-06-18T12:58:06.033918
2019-07-11T02:55:42
2019-07-11T02:55:42
196,309,147
0
0
null
null
null
null
UTF-8
Scilab
false
false
671
tst
14.0 Immunity from Transient Disturbances CI 220 0.tst
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <AutoTestC version="2.0.0"> <Pulse>CUSTOM WAVE</Pulse> <Title>Pulse A1 Mode 1</Title> <Organization>Ford</Organization> <Standard>ES-XW7T-1A278-AC 2003</Standard> <Item>14.0 Immunity from Transient Disturbances CI 220</Item> <voltage>13</voltage> <count>1</count> <wave id="0"> <type>4</type> <dspin id="0">5</dspin> <dspin id="1">0</dspin> <dspin id="2">0.2</dspin> <spin id="0">10</spin> <spin id="1">0</spin> <comboindex id="0">0</comboindex> <time>120</time> <timeUnit>0</timeUnit> </wave> </AutoTestC>
8d978db868822f14ce4d56f45009a1e0cd5cafca
449d555969bfd7befe906877abab098c6e63a0e8
/2777/CH3/EX3.19/Ex3_19.sce
f64cc2f9c73cc251525d0ac017f9ecb0bcb37420
[]
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,467
sce
Ex3_19.sce
// ELECTRICAL MACHINES // R.K.Srivastava // First Impression 2011 // CENGAGE LEARNING INDIA PVT. LTD // CHAPTER : 3 : TRANSFORMERS // EXAMPLE : 3.19 clear ; clc ; close ; // Clear the work space and console // GIVEN DATA Sa = 200; // Rating of the TWO 1-Phase Transformer in kVA Z1 = 0.005 + 0.08 * %i // Equivalent Impedance of the Transformer-1 in Per-Unit Z2 = 0.0075 + 0.04 * %i // Equivalent Impedance of the Transformer-2 in Per-Unit P = 400; // Total load in kiloWatts Cos_theta = 1.0; // Unity power factor // CALCULATIONS kVA = P/Cos_theta; // kVA rating of the Transformer S = kVA; // kVA rating of the Transformer S1 = ( Z2/(Z1+Z2) )*S; // Load shared by Transformer-1 in kVA S2 = S - S1; // Load shared by Transformer-2 in kVA // DISPLAY RESULTS disp("EXAMPLE : 3.19 : SOLUTION :-") ; printf("\n (a) Load shared by Transformer-1 , S1 = %.2f+j(%.2f) kVA \n ",real(S1),imag(S1)); printf("\n (b )Load shared by Transformer-2 , S2 = %.2f+j%.2f kVA \n ",real(S2),imag(S2)); printf("\n\n [ TEXT BOOK SOLUTION IS PRINTED WRONGLY ( I verified by manual calculation )]\n" ); printf("\n WRONGLY PRINTED ANSWERS ARE :- (a) S1 = (-131.90)+j(38.47)kVA instead of %.2f+j(%.2f) kVA \n ",real(S1),imag(S1)); printf("\n (b) S2 = (268.1)+j(.38047)kVA instead of %.2f+j%.2f kVA \n ",real(S2),imag(S2));
e93fac15ce7995bbdcf7ac5f44e1711c585f58b9
bbdc72de6d7eef74128eaf52b1f040053943de38
/Code/TP1/Exercice2.sci
abf418bdcfb4951fffbd7c5e91242315c2d45f64
[]
no_license
Abdel-BHPC/Numerical-analysis
46bb4dbcd26e00d6c4f405fe59a1ba433b8b72e0
2bcdb80d9ab8890d036eac3cce92b595abb88784
refs/heads/main
2023-03-02T14:11:06.939206
2021-02-08T08:40:07
2021-02-08T08:40:07
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,952
sci
Exercice2.sci
function [x1,x2]=SolRacEquation(p,a,c) a = a; c = c; b = 2*p if b>0 then b = -b; end theta = b^2-4*a*c; if theta>= 0 then x1 = (-b + sqrt(theta))/2*a; x2 = (-b - sqrt(theta))/2*a; else error("No racine réelle"); end endfunction Pollution_Jagtvej.csv Pol_JA = pd.read_csv("Pollution_Jagtvej.csv",sep=',',names= ['DateTime','NO2(myg/m3)', 'NOx(myg/m3)'], header=0, index_col='DateTime', parse_dates=['DateTime']) # Inspecting data print_data_info(Pol_JA ) # Complete the missing value Pol_JA = fill_missing_plot(Pol_JA , method='ffill', show=False) # Visualize data data_plot(Pol_JA , type_name='Pollution') # Display the statistical characteristics Pol_JA_resample = statistic_by_column_plot(Pol_JA,type_name='Pollution',frequency='H', list_indicator=['mean', 'min', 'max', 'std']) # Compare statistical characteristics of each attribute Pol_JA_compare = statistic_plot_comparasion(Pol_JA, type_name='Pollution', frequency='H', list_indicator=['mean', 'min', 'max', 'std']) ================================ Pollution_Ørsted Institutet.csv Pol_ØI = pd.read_csv("Pollution_Ørsted Institutet.csv",sep=',',names= ['DateTime','NO2(myg/m3)', 'NOx(myg/m3)','O3(myg/m3)', 'CO(mg/m3)'], header=0, parse_dates=['DateTime'], index_col='DateTime') # Inspecting data print_data_info(Pol_ØI) # Complete the missing value Pol_ØI = fill_missing_plot(Pol_ØI , method='ffill', show=False) # Visualize data data_plot(Pol_ØI, type_name='Pollution') # Display the statistical characteristics Pol_ØI_resample = statistic_by_column_plot(Pol_ØI,type_name='Pollution',frequency='H', list_indicator=['mean', 'min', 'max', 'std']) # Compare statistical characteristics of each attribute Pol_ØI_compare = statistic_plot_comparasion(Pol_ØI, type_name='Pollution', frequency='H', list_indicator=['mean', 'min', 'max', 'std'])
b5b3761a9ab3b093a4b433a18137f27bb162584c
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/macros/mtlb/mtlb_mean.sci
c9b1ecfbbdf537dcbd3d6ff6103b3ee5ee57d9aa
[ "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
108
sci
mtlb_mean.sci
function m = mtlb_mean(x) ; // Copyright INRIA if or(size(x)==1) then m=mean(x) else m=mean(x,'r') end
bf484f282f84d847b31e1ecd730da4f613121f3d
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/macros/percent/%p_r_r.sci
a7d6d34c8ed63ed16521cae0b8835db219831c21
[ "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
234
sci
%p_r_r.sci
function f=%p_r_r(m,f) // f=%p_r_r(p1,p2) <=> f= p1*(p2^(-1)) // p1 polynomial matrix // p2: rational matrix //! // Copyright INRIA if prod(size(f('num')))<>1 then f=m*invr(f),return,end f=rlist(m*f('den'),ones(m)*f('num'),f('dt'))
fd33b40b2fc65b2b479a39a433467001d6b9dd48
44f225adc0be4f9ecb45fb9fde03e74f23d7acb2
/macros/more/clipline.sci
e034f75428c85616df256d2584122759d937ca07
[]
no_license
harpreetrathore/scilab-IPT
10c4996614f1c59972e59decd1b7171e7d5816e0
db79f1370f3cb0a7716a8afcf1cf5fde9fe70aba
refs/heads/master
2021-01-01T04:06:52.573735
2016-05-26T20:34:33
2016-05-26T20:34:33
59,781,201
0
0
null
null
null
null
UTF-8
Scilab
false
false
326
sci
clipline.sci
//Function migration (image list to matrix) for: clipline //Generated by migrate.cpp //Author: Anirudh Katoch function res = clipline(varargin) select length(varargin) case 06 then res = raw_clipline(varargin(01), varargin(02), varargin(03), varargin(04), varargin(05), varargin(06)) else error(39) end endfunction
4caef067d6ee911b8153d35de73d7ef1b1badef3
cf2d41f121fb6c83162dbfbf7b447124b94860ed
/ybus.sci
98a249b846c248157acb94377a9a31f6ee89b344
[]
no_license
abhinavdronamraju/loadflow_scilab
76749d98cb646674a80f43e82986977e4fe5c427
4f196da3596bd0a794d6d833c1bdd81d918f85f7
refs/heads/master
2021-07-16T11:14:39.462352
2017-10-24T11:55:18
2017-10-24T11:55:18
107,106,712
1
3
null
2017-10-24T06:25:52
2017-10-16T09:29:30
Scilab
UTF-8
Scilab
false
false
1,275
sci
ybus.sci
// Program to for Admittance And Impedance Bus Formation.... function Y = ybus() // Returns Y global busdat; global linedat; linedata = linedat; // Calling Linedatas... fb = linedata(:,1); // From bus number... tb = linedata(:,2); // To bus number... r = linedata(:,3); // Resistance, R... x = linedata(:,4); // Reactance, X... b = linedata(:,5); // Ground Admittance, B/2... z = r + (%i)*x; // z matrix... y = 1 ./z; // To get inverse of each element... b = (%i)*b; // Make B imaginary... nb = max(max(fb),max(tb)); // No. of buses... nl = length(fb); // No. of branches... Y = zeros(nb,nb); // Initialise YBus... // Formation of the Off Diagonal Elements... for k = 1:nl Y(fb(k),tb(k)) = Y(fb(k),tb(k)) - y(k); Y(tb(k),fb(k)) = Y(fb(k),tb(k)); end // Formation of Diagonal Elements.... for m = 1:nb for n = 1:nl if fb(n) == m Y(m,m) = Y(m,m) + y(n) + b(n); elseif tb(n) == m Y(m,m) = Y(m,m) + y(n) + b(n); end end end //Y; % Bus Admittance Matrix //Z = inv(Y); % Bus Impedance Matrix endfunction
c112f732c1eb95204974bd2b7c42cfb04faf6144
449d555969bfd7befe906877abab098c6e63a0e8
/2015/CH7/EX7.12/7_12.sce
c06e47c4732eee41dff09cbf6108e49364e9fb6d
[]
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
684
sce
7_12.sce
clc //initialisation of variables ps1=0.023366 //bar pressure phi1=0.4//relative humidity td1=20 //temp in degrees m1=40 //kg/s ps2=0.01227 //bar pressure phi2=0.8//relative humidity td2=10 //temp in degrees m2=20 //kg/s p=1.01325 //pressure in bar //CALCULATIONS pv1=phi1*ps1 w1=0.622*(pv1/(p-pv1)) h1=(1.005*td1+w1*(2500+1.86*td1)) ma1=m1/(1+w1) pv2=phi2*ps2 w2=0.622*(pv2/(p-pv2)) h2=(1.005*td2+w2*(2500+1.86*td2)) ma2=m2/(1+w2) w3=((ma1*w1)+(ma2*w2))/(ma1+ma2) h3=((ma1*h1)+(ma2*h2))/(ma1+ma2) td3=((ma1*td1)+(ma2*td2))/(ma1+ma2) //RESULTS printf('specific humidity is %2fkj/kg of da',w3) printf('\ntemparature of air leaving chamber is %2fdegrees',td3)
0fcac09a12d719a7d797a1894e84391ef359790d
449d555969bfd7befe906877abab098c6e63a0e8
/3772/CH9/EX9.8/Ex9_8.sce
ee70065510ecbbe54877dccb4cc913c7541794d8
[]
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
653
sce
Ex9_8.sce
// Problem no 9.8,Page no.239 clc;clear; close; D=0.038 //m //External diameter d=0.035 //m //Internal diameter P=20*10**3 //N //Load E=210*10**9 //Pa e=0.002 //m //Eccentricity L=1.5 //m //Lenght of tube //Calculations A=%pi*4**-1*(D**2-d**2) //m**2 column I=%pi*64**-1*(D**4-d**4) //m**4 //M.I of column m=(P*(E*I)**-1)**0.5 //Let X=secmL*2**-1 X=(1*(cos(m*L*2**-1))**-1) M=P*e*X //N-m //MAx Bending Moment sigma_1=P*A**-1*10**-6 //Pa //Direct stress sigma_2=M*0.019*I**-1*10**-6 //Pa //Bending stress sigma_c_max=(sigma_1+sigma_2) //MPa //Max compressive stress //Result printf("The Max stress developed is %.2f",sigma_c_max);printf(" MPa")
95df0a504d6eae544dbf74aefb501d507b1ef418
449d555969bfd7befe906877abab098c6e63a0e8
/1658/CH34/EX34.7/Ex34_7.sce
2136ed5a8ca393fffa17e1ec04837af07d2f1709
[]
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
281
sce
Ex34_7.sce
clc; //e.g 34.7 Vz=5.1; rz=10; Izmin=1*10**-3; Izmax=15*10**-3; Rs=600; Vomin=Vz+Izmin*rz; disp('V',Vomin*1,"Vomin="); Vsmin=Izmin*Rs+Vomin; disp('V',Vsmin*1,"Vsmin="); Vomax=Vz+Izmax*rz; disp('V',Vomax*1,"Vomax="); Vsmax=Izmax*Rs+Vomax; disp('V',Vsmax*1,"Vsmax=");
b72031ce13b9d21374d0588bb0aa256d15328742
449d555969bfd7befe906877abab098c6e63a0e8
/629/CH10/EX10.3/example10_3.sce
ca97b526f48725e3286b615dcda39fa84c2472dd
[]
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
452
sce
example10_3.sce
clear clc //Example 10.3 HEAD LOSS IN A PIPE (CASE 1) g=9.81; //[m/s^2] L=1000; //[m] D=0.20; //diameter[m] A=%pi*D^2/4 //area[m^2] Q=0.05 ;//[m^3/s] v=10^-6; //[m^2/s] V=Q/A //[m/s] //Reynolds number Re=V*D/v ks=0.12*10^-3; //[m] //Relative roughness Rr=ks/D //From Moody diagram for Re and Rr, f=0.019; //Darcy-Weisbach equation hf=f*(L/D)*(V^2/(2*g)) //[m] printf("\nThe head loss per kilometer length of the pipe = %.1f m.\n",hf)
cc0a9665bb0062d0c5161ad05246e71cb649b738
449d555969bfd7befe906877abab098c6e63a0e8
/2465/CH9/EX9.8/Example_8.sce
522db0bdef30b22f7a1b81888575cf202ced8af6
[]
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
387
sce
Example_8.sce
//Chapter-9,Example 8,Page 221 clc(); close(); lamda_H=0.0348 //equivalent conductance of H+ ion lamda_CH3COO=0.004 //equivalent conductance of CH3COO- ion lamda= lamda_H+lamda_CH3COO //equivalent conductance at infinity lamda_v= 0.018 //equvalent conductance alpha= lamda_v/lamda //degree of dissolution printf('the degree of dissolution is %.4f ',alpha)
8e1f2e978a5f02e20b8922cc2855abfeff76528c
9bc415d58bf063a1bca303fea640e644333dbdbd
/Scilab/Sinais_e_Sistemas/cleancomplex.sci
422d0b6643f995f55cd03a7efc36212485dd6bb1
[]
no_license
Roast-Lord/SMGcodes
36e55be6c1cc17af91ab2e3f5117c78684f20604
b75107be829fb4373dc1bc4b8696fe4b9cec437a
refs/heads/main
2023-07-05T05:25:50.557705
2021-08-17T17:46:25
2021-08-17T17:46:25
301,012,145
1
0
null
null
null
null
UTF-8
Scilab
false
false
332
sci
cleancomplex.sci
function Y=cleancomplex(X) e=1D-14 n=length(X) Y=X; for i=1:n if(abs(X(i))<e) Y(i)=0 else if(abs(real(X(i)))<e) Y(i) = %i*imag(X(i)) else if (abs(imag(X(i)))<e) Y(i) = real(X(i)) end end end end endfunction
46cc137eb17f826f9541a944fa1b8b33dc244c93
6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee
/giarratano/SOURCE/TESTING/rulemisc.tst
c3fb4e32327a4c9f27ea7024766ec0101387016e
[]
no_license
arranger1044/icse-1516
c40d2c86892cd90c14042a95581cbb0e238190fb
ee4bafb57bb549ef40e29b8edf8cdad038e97162
refs/heads/master
2020-12-24T19:04:01.588095
2016-05-31T07:46:47
2016-05-31T07:46:47
56,578,768
14
5
null
null
null
null
UTF-8
Scilab
false
false
341
tst
rulemisc.tst
(set-strategy depth) (unwatch all) ; rulemisc.bat test (clear) (open "rulemisc.rsl" rulemisc "w") (dribble-on "rulemisc.out") (batch "rulemisc.bat") (dribble-off) (load "compline.clp") (printout rulemisc "rulemisc.bat differences are as follows:" crlf) (compare-files rulemisc.exp rulemisc.out rulemisc) ; close result file (close rulemisc)
fa9f92d2ac4a3485ee07a8134977e790e125519b
449d555969bfd7befe906877abab098c6e63a0e8
/2939/CH6/EX6.16/Ex6_16.sce
a0234cb019caf618f1def89393d59b09fe23ac6e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
262
sce
Ex6_16.sce
// Ex6_16 clc; // Given: P=100;// in watts // Solution: P1=P*10^7;// in erg/s P2=P1/(1.6*10^-6);// in MeV/s // 1 ifssion generates 200 MeV of energy f=P2/200;// no. of fissions printf("The no. of fissions produced per second will be = %f",f)
7d2d1a10c5785db4b578e8127cf7d56aaf92f786
449d555969bfd7befe906877abab098c6e63a0e8
/62/CH6/EX6.34/ex_6_34.sce
d9a77324b1981d50a489f3455ec0e09c71e7d26d
[]
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
798
sce
ex_6_34.sce
clear; clc; close; disp("given system is y[n]=x[n]+x[n-1]"); disp("taking fourier transform H(w)=Y(w)/X(w)=1+e^-j*w"); //for impulse response x[n]=delta[n] n=-10:10; for i=1:length(n) if n(i)==0 then delta1(i)=1; delta2(i)=0; elseif n(i)==1 delta2(i)=1; delta1(i)=0 else delta1(i)=0; delta2(i)=0 end end h=delta1+delta2; plot2d3(n,h); plot(n,h,'r.') xtitle('h[n]','n') figure subplot(2,1,1) w=-3:0.01:3; Hw=1+%e^(-%i*w); plot(w,abs(Hw)) xtitle('|H(w)|','w') subplot(2,1,2) a=gca(); plot(w,phasemag(Hw)*%pi/180) xtitle('theta(H(w))','w') a.y_location="origin"; //3-db bandwidth cutoff=find(round(100*abs(Hw))==round(100*max(abs(Hw))/sqrt(2))); threedb=w(cutoff(3)); disp(threedb,"3db bandwidth=")
24153cf92e9ae0bb90ef60802b14451c0e166f03
449d555969bfd7befe906877abab098c6e63a0e8
/2672/CH4/EX4.1/Ex4_1.sce
3786cc5a28119bbba24f84365dd0caccef930293
[]
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
316
sce
Ex4_1.sce
//Example 4_1 clc; clear; close; format('v',9) //given data : E=2;//eV c=3*10^8;//m/s//Speed of light h=6.64*10^-34;//Js//Planks Constant E=E*1.6*10^-19;//J lambda=c*h/E;//m lambda=lambda/10^-10;//Angstrum disp(lambda,"Wavelength(Angstrum)"); k=2*%pi/(lambda*10^-10);//m^-1 disp(k,"k-vector(m^-1)");
877bd95c98bc61e8314f65e05d5ba4289ec1b6b3
449d555969bfd7befe906877abab098c6e63a0e8
/2240/CH31/EX30.3/EX30_3.sce
7512e0cf2eb0122cb93cd6d01499fdc18ea3774d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
412
sce
EX30_3.sce
// Grob's Basic Electronics 11e // Chapter No. 30 // Example No. 30_3 clear; clc; // Calculate the value of Vd // Given Data Vs = 1; // Voltage at Resistor Rs=1 Volts Rs = 200; // Source Resistor=200 Ohms Vdd = 10; // Supply Voltage(Drain)=10 Volts Rd = 1*10^3; // Drain Resistor=1k Ohms Is=Vs/Rs; Id = Is; Vd = Vdd-Id*Rd; disp (Vd,'The Drain Voltage Vd in Volts')
c6059cfdf4d5a0fa9377f2ad46e2f0550838aee5
449d555969bfd7befe906877abab098c6e63a0e8
/2777/CH7/EX7.8/Ex7_8.sce
0c7e9eaa012185ab9cfad65575875670b7875a44
[]
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,935
sce
Ex7_8.sce
// ELECTRICAL MACHINES // R.K.Srivastava // First Impression 2011 // CENGAGE LEARNING INDIA PVT. LTD // CHAPTER : 7 : SPECIAL MOTORS AND INTRODUCTION TO GENERALIZED MACHINE THEORY // EXAMPLE : 7.8 clear ; clc ; close ; // Clear the work space and console // GIVEN DATA V = 220; // supply voltage in Volts f = 50; // Frequency in Hertz p = 4; // Number of poles Xm = 60; // Mutual reactance in Ohms Rs = 1.0; // Resistance of stator windings in Ohms Xs = 6.0; // Leakage reactance of stator windings in Ohms Ra = 2.5; // Resistance of Armature windings in Ohms Xa = 6.0; // Leakage reactance of armature windings in Ohms P_hp = 1; // Output power in HP N = 1400; // Motor running speed in RPM alpha = 15; // Brush displacement from the low-impedance position in degree // CALCULATIONS Ns = (120*f)/p; // Synchronous speed in RPM s = N/Ns; // Speed ratio I = V / (Rs + %i*(Xs+Xm) + (%i*Xm^2*cosd(alpha))*(s*sind(alpha)-(%i*cosd(alpha)))/(Ra+%i*(Xa+Xm))); // Curent in Amphere pf = cosd(atand(imag(I),real(I))); // Power factor lagging // DISPLAY RESULTS disp("EXAMPLE : 7.8: SOLUTION :-"); printf("\n (a) Currents, I = %.2f < %.2f A \n",abs(I),atand(imag(I),real(I))) printf("\n (b) Power factor = %.4f lagging \n",pf)
6cf04a7d2b0e08c34cc0bf585823c661b22a253b
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.3.1/macros/scicos/projaff.sci
429051803e8690cf00ad5fdbfbb899a03e18d59d
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain", "MIT" ]
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
597
sci
projaff.sci
function d=projaff(x,y,pt) // projaff - projection d'un point sur une droite //%Syntaxe // d=projaff(x,y,pt) //%Parametres // x: vecteur des abscisses des 2 points definissant la droite // y: vecteur des ordonnes des 2 points definissant la droite // pt: coordonnes du point a projeter [abscisses ordonnees] //%Methode //l'equation de la droite est : //(y2-y1)*(x-x1)-(x2-x1)*(y-y1)=0 //celle de la normale passant par le point: //(x2-x1)*(x-xp)+(y2-y1)*(y-yp)=0 // //%origine // S Steer INRIA 91 //! dx=x(2)-x(1);dy=y(2)-y(1) m=[dy -dx;dx dy] d=m\ [m(1,:)*[x(1);y(1)];m(2,:)*[pt(1);pt(2)]]
6740a1b21096840afd1224b893f8deb9acd4fa09
1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08
/Scilab/GaussianLPFforHSpice/GuassianLPF.sce
2ba938344b6ec6e49cb7de5aa7ba6fea5e96ae91
[]
no_license
lrayzman/SI-Scripts
5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d
9ab161c6deff2a27c9da906e37aa68964fabb036
refs/heads/master
2020-09-25T16:23:23.389526
2020-02-09T02:13:46
2020-02-09T02:13:46
66,975,754
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,329
sce
GuassianLPF.sce
//************************************************** // Guassian Low Pass Filter HSPICE subckt creator // // Based on equations found in chapter 4 of H. Johnson's // Advanced Signal Propagation // //*****************SPECIFY************************* Filename="GaussLPF.sub"; //Output filename Trf=30e-12; //Rise/fall time (10%-90%) Delay=0.2e-9; //Filter response delay UppFreq=300e9; //Upper frequency point NumFPts=30001; //Number of frequency points //************************************************* Fhandle=file('open', Filename, 'old'); fprintf(Fhandle, "* Trf=%0.3f ps, \n", Trf*1e12); fprintf(Fhandle, "* Min Timestep =%0.3f ps, \n", 1/UppFreq*1e12);, fprintf(Fhandle, "* IN OUT GND \n"); fprintf(Fhandle, ".SUBCKT GaussLPF 1 2 3\n"); fprintf(Fhandle, "EGAUSS 2 3 FREQ 1 3 \n"); DeltaF = (UppFreq/(NumFPts-1)); for i=0:NumFPts-1, Freq=i*DeltaF; Ph = -i*DeltaF*2*Delay*180; fprintf(Fhandle, "+ %0.2f %0.14e %0.14e\n", Freq, 20*log10(exp(-(Freq^2)*1/0.31*(Trf)^2)), Ph ); end // ^ This factor was determined empirically //if Delay > 0 then // fprintf(Fhandle, "+DELAY=%e\n", Delay); //end fprintf(Fhandle, ".ENDS\n"); file('close', Fhandle);
abe401cd6b738cafb5b25df6cc8c941766c87ef3
449d555969bfd7befe906877abab098c6e63a0e8
/1475/CH6/EX6.31/Example_6_31.sce
e5a47b76d8307d423186afdaba1fdf0aa2559ae7
[]
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
348
sce
Example_6_31.sce
// Example 6.31 Sales of a company rose clc clear; SI2=103; SI3=150; S2=3945000; S3=4621000; ES= (S2*(SI3/100))/(SI2/100); disp(ES,"Expected sales during the thirs quarter =",S3,"Actual sales in third quarters =", S2,"Actual sales in second quarters =",SI3,"Seasonal Index for third Quarter =",SI2,"Seasonal Index for second Quarter =");
7e5dde50d6af7a447d106d3e181237992ff02bf1
449d555969bfd7befe906877abab098c6e63a0e8
/2522/CH19/EX19.6/exm19_6.sce
b1c363aebbb2f64de6f5789b46135ff465555ab6
[]
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
426
sce
exm19_6.sce
// page no 626 // example no A.6 // SUBTRACTION OF TWO NUMBERS clc; printf('Subtrahend= 45H \n'); printf('Minuend= 32H \n \n'); // finding 2's complement of subtrahend (32H); m=hex2dec(['32']); x=hex2dec(['45']); y=bitcmp(x,8); // 1's compliment of 32H z=y+1; // 2's compliment of 32H s=m+z; r=dec2hex(s); printf('Subtraction= '); disp(r); printf('The result is negative & it is expressed in 2s complement.')
e8dfbda13f4942415e1c6ea0f557831745fb8fa1
449d555969bfd7befe906877abab098c6e63a0e8
/2783/CH5/EX5.12/Ex5_12.sce
536d62ab2b4fa3112b3ae8971fdf4a3154c619b5
[]
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
387
sce
Ex5_12.sce
clc //initialization of new variables clear Q=5 //L/min L=10 //m D=5 //cm UD=3 //cm L1=12 //m K1=0.9 K2=0.2 f=0.025 //calculations Q=Q*10^-3 D=D*10^-2 R=D/2 UD=UD*10^-2 UR=UD/2 Ur=f*L/D/(f*L1/UD+2*K1+2*K2) Ur=sqrt(Ur) Ul=Q/%pi*1/(R^2+Ur*UR^2) Ql=%pi*R^2*Ul*10^3 //results printf('Velocity and flow rate in the lower pipe are respectively %.2f m/s %.2f L/s',Ul,Ql)
48fbfac71dd02c3401145a3fc3892ca0792c2720
449d555969bfd7befe906877abab098c6e63a0e8
/1133/CH8/EX8.5/Example8_5.sce
d1093b331eb89b35ade42a618f8c69215f8f9712
[]
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
86
sce
Example8_5.sce
//example 8.5 clc of=50/14 format(5) disp(of,"Output frequency = 50 kHz / 14 =")
a94cf9b8d7cdd04033e41dfa1224f73eef5305cc
449d555969bfd7befe906877abab098c6e63a0e8
/1367/CH5/EX5.5/5_5.sce
f7f2747eb6650b1e9b04c2b37c303e94fb66d0eb
[]
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
565
sce
5_5.sce
//Find Interplanar Spacing //Ex:5.5 clc; clear; close; r=1.246;//radius in angstorm h=2; k=0; l=0; x=sqrt(h^2+k^2+l^2); a=2*sqrt(2)*r;//in angstorm d_200=a/x;//interplanar spacing in angstorm disp(d_200,"Interplanar Spacing (200) (in Angstorm) = "); h1=2; k1=2; l1=0; x1=sqrt(h1^2+k1^2+l1^2); d_220=a/x1;//interplanar spacing in angstorm disp(d_220,"Interplanar Spacing (220) (in Angstorm) = "); h2=1; k2=1; l2=1; x2=sqrt(h2^2+k2^2+l2^2); d_111=a/x2;//interplanar spacing in angstorm disp(d_111,"Interplanar Spacing (111) (in Angstorm) = ");
19ccfa4ca1c48c9dbf0c3a3bfdb4ede79768a571
449d555969bfd7befe906877abab098c6e63a0e8
/29/CH11/EX11.25/exa11_25.sce
796050712267679fa086b55aef16e819cb6cc523
[]
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
exa11_25.sce
//caption:stability_using_Nyquist_criterion //example 11_25 //page 497 clf(); s=%s; s1=-s; g=(2.2/(s*(s+1)*(s^2+2*s+2))) g1=(2.2/(s1*(s1+1)*(s1^2+2*s1+2))) GH=syslin('c',g); GH1=syslin('c',g1); nyquist(GH); nyquist(GH1); mtlb_axis([-2.5 0.2 -75 75]); disp("as the nyquist plot passes through the point -1+%i*0, so system is marginally stable and output represents sustained oscillations.")
8631acfc74e706dac42ee50fd793e532c14ff70a
c41e0838608c056d4e9bf2259e531be274d150e7
/DSP2c.sce
36082d29c5dae180e701bc3bde5aa578ce2aca02
[]
no_license
tellmeY18/ScilabFiles.
29f425b8193e19cfc679034f9ee8f46d21bf011d
9268dc462f49ca4f5610becfad45965ab153a33f
refs/heads/main
2023-09-04T04:10:27.121483
2021-11-05T17:34:26
2021-11-05T17:34:26
412,535,346
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,117
sce
DSP2c.sce
clf(1); clf(2); clf(3); clf(4); scf(1); Fn=22000; dt=1/Fn SAMPLING_FREQ=5; N=16; stopTime=(N/SAMPLING_FREQ); TIME_DOMAIN=(0:dt:stopTime); ORIGINAL_WAVE=exp(-TIME_DOMAIN); plot2d (TIME_DOMAIN, ORIGINAL_WAVE); xgrid(12); xlabel("$t$","fontsize",4) ; ylabel("$x(t)$","fontsize",4); title("$x(t)=e^{-t}$", "fontsize", 4); scf(2); DISCRETE_DOMAIN=(1.1:N); SAMPLED_WAVE=exp(-(DISCRETE_DOMAIN/SAMPLING_FREQ)); N=64; DISCRETE_DOMAIN=(1:1:N); PADDED_WAVE=resize_matrix(SAMPLED_WAVE,-1,64); plot2d3(DISCRETE_DOMAIN, PADDED_WAVE); xgrid(12); xlabel("$n$", "fontsize", 0); ylabel("$x[n]$","fontsize", 4); title("$x(t)=e^{-t}$","fontsize",4); scf(3); [FFT] = abs(fft(PADDED_WAVE)); plot2d3(DISCRETE_DOMAIN, FFT); xgrid(12); xlabel("$k$", "fontsize", 4); ylabel("$|X[k]|$", "fontsize", 4); title("$x(t)=e^{-t}$","fontsize",4); scf(4); FREQUENCY_DOMAIN=(SAMPLING_FREQ/N)*DISCRETE_DOMAIN plot2d3(FREQUENCY_DOMAIN,FFT); xgrid(12); xlabel("$f(Hz)$","fontsize",4); ylabel("$|X[k]|$", "fontsize",4); title("$x(t)=e^{-t}$","fontsize",4);
25987b955f827a64f35db2ceef2bf41bf25fc018
676ffceabdfe022b6381807def2ea401302430ac
/library/Demos/LocalRegions/Tests/LocProject_Diff3D_Reg_Prism_Ortho_Basis_P6_Q7.tst
9da5265f750ec1285d16ba418c8e301323bc9990
[ "MIT" ]
permissive
mathLab/ITHACA-SEM
3adf7a49567040398d758f4ee258276fee80065e
065a269e3f18f2fc9d9f4abd9d47abba14d0933b
refs/heads/master
2022-07-06T23:42:51.869689
2022-06-21T13:27:18
2022-06-21T13:27:18
136,485,665
10
5
MIT
2019-05-15T08:31:40
2018-06-07T14:01:54
Makefile
UTF-8
Scilab
false
false
586
tst
LocProject_Diff3D_Reg_Prism_Ortho_Basis_P6_Q7.tst
<?xml version="1.0" encoding="utf-8"?> <test> <description>LocProject_Diff3D Reg. Prism Ortho Basis, P=6, Q=7</description> <executable>LocProject</executable> <parameters>-s prism -b Ortho_A Ortho_A Ortho_B -o 6 6 6 -p 7 7 7 -c 0.0 0.0 0.0 1.0 0.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.5 0.0 1.0 0.5 1.0 1.0 -d</parameters> <metrics> <metric type="L2" id="1"> <value tolerance="1e-11">2.97892e-13</value> </metric> <metric type="Linf" id="2"> <value tolerance="1e-11">3.12639e-12</value> </metric> </metrics> </test>
e99d9f9afefb734a7d027b53b0c4210915fa822d
449d555969bfd7befe906877abab098c6e63a0e8
/291/CH2/EX2.3e/eg2_3e.sce
5bd5d3fdfc193553db97dc7936d2a1f45595b85f
[]
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
510
sce
eg2_3e.sce
value = [1 2 3 4 5 6]; frequencies= [9 8 5 5 6 7]; i=1; for j=1:6 for k = 1:frequencies(j) final_value(i) = value(j); i = i +1 ; end; end product = value.*frequencies; disp(product , sum(product)) total_value = sum(frequencies); mean_value = sum(product)/total_value ; //the answer in the textbook is incorrect [m1 m2]= max(frequencies); n= m2; disp("The sample mean is") disp(mean_value) disp(median(final_value), "The median is") disp(value(n) , "The mode is")
65f4fd68e9ac8ff403c8c38fe6175dd0c368b9c6
1489f5f3f467ff75c3223c5c1defb60ccb55df3d
/tests/test_ods_fsed_4_b.tst
ba7d65432f0390c60d0cece389208f715aa470a3
[ "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
21,319
tst
test_ods_fsed_4_b.tst
** File Info Version: 1.0 Num Logs = 1 Num Trans = 0 Num Writers = 0 Total Entries = 3 Tranlog Offset = 530 Transaction Id = 4 Index Free List = n/a Total Size of Data = 1569 Data Transformation Id = 2 Index Transformation Id = 6 ** Entry Info for: all num: 0000000000000000 pos: 0000000000000000 len: 0000000000000100 txn: 0000000000000003 txo: 0000000000000000 flags: lk=0 tx=0 0000000000000000 01 37 00 55 01 00 01 00 00 00 00 00 00 00 01 00 .7.U............ 0000000000000010 00 00 00 00 00 00 02 00 00 00 00 00 00 00 02 00 ................ 0000000000000020 00 00 00 00 00 00 02 00 00 00 00 00 00 00 ff ff ................ 0000000000000030 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0000000000000040 ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ num: 0000000000000001 pos: 0000000000000500 len: 0000000000000121 txn: 0000000000000003 txo: 0000000000000000 flags: lk=0 tx=0 0000000000000500 60 7b 60 24 70 6f 72 74 60 3d 60 27 31 31 30 31 `{`$port`=`'1101 0000000000000510 31 60 27 60 7d 0a 60 7b 60 24 70 70 6f 72 74 60 1`'`}.`{`$pport` 0000000000000520 3d 60 27 31 32 30 32 31 60 27 60 7d 0a 60 7b 60 =`'12021`'`}.`{` 0000000000000530 24 75 73 65 5f 73 73 6c 60 3d 60 27 74 72 75 65 $use_ssl`=`'true 0000000000000540 60 27 60 7d 0a 60 7b 60 24 75 73 65 5f 68 70 64 `'`}.`{`$use_hpd 0000000000000550 66 60 3d 60 27 74 72 75 65 60 27 60 7d 0a 60 7b f`=`'true`'`}.`{ 0000000000000560 60 24 75 73 65 5f 7a 6c 69 62 60 3d 60 27 74 72 `$use_zlib`=`'tr 0000000000000570 75 65 60 27 60 7d 0a 60 7b 60 24 75 73 65 5f 69 ue`'`}.`{`$use_i 0000000000000580 63 6f 6e 76 60 3d 60 27 74 72 75 65 60 27 60 7d conv`=`'true`'`} 0000000000000590 0a 60 7b 60 24 75 73 65 5f 72 64 6c 69 6e 65 60 .`{`$use_rdline` 00000000000005a0 3d 60 27 74 72 75 65 60 27 60 7d 0a 60 7b 60 24 =`'true`'`}.`{`$ 00000000000005b0 70 77 64 5f 72 6f 75 6e 64 73 60 3d 60 27 31 32 pwd_rounds`=`'12 00000000000005c0 33 34 35 60 27 60 7d 0a 60 7b 60 24 6e 65 77 5f 345`'`}.`{`$new_ 00000000000005d0 72 6f 75 6e 64 73 60 3d 60 27 31 32 33 34 35 60 rounds`=`'12345` 00000000000005e0 27 60 7d 0a 60 7b 60 24 75 73 65 5f 73 61 6c 74 '`}.`{`$use_salt 00000000000005f0 5f 76 61 6c 60 3d 60 27 66 61 6c 73 65 60 27 60 _val`=`'false`'` 0000000000000600 7d 0a 60 7b 60 24 75 69 5f 73 63 72 69 70 74 5f }.`{`$ui_script_ 0000000000000610 76 65 72 73 69 6f 6e 60 3d 60 27 31 60 27 60 7d version`=`'1`'`} 0000000000000620 0a . num: 0000000000000002 pos: 0000000000000100 len: 0000000000000400 txn: 0000000000000003 txo: 0000000000000000 flags: lk=0 tx=0 0000000000000100 01 01 03 00 ff ff ff ff ff ff ff ff ff ff ff ff ................ 0000000000000110 ff ff ff ff ff ff ff ff ff ff ff ff 05 a0 7c 2f ..............|/ 0000000000000120 78 78 78 11 03 00 00 01 00 00 00 00 00 00 00 ff xxx............. 0000000000000130 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 ................ 0000000000000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000230 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000250 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000270 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000290 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000002a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000002b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000002c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000002d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000002e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000002f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000310 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000330 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000350 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000370 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000390 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000003a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000003b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000003c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000003d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000003e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000003f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000470 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000490 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000004a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000004b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000004c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000004d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000004e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000004f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ** Freelist Info No freelist entries. ** Transaction Log Info version = 1.0 sequence = 1 entry_offs = 530 append_offs = 2585 ** Transaction Log Info for: all tx_id = 1 (offs = 56) commit_offs = 161 commit_items = 1 next_entry_offs = 442 prior_entry_offs = 0 total_data_bytes = 0 data_transform_id = 0 index_transform_id = 0 flags = 1 (create) offs = 144 tx_oid = 0 index_entry_id = 0 flags = 16 (store) offs = 161 data_pos = 0 data_size = 256 index_entry_id = 0 0000000000000000 01 37 00 55 01 00 00 00 00 00 00 00 00 00 00 00 .7.U............ 0000000000000010 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ................ 0000000000000020 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0000000000000030 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0000000000000040 ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ [xxx] tx_id = 2 (offs = 442) commit_offs = 0 commit_items = 0 next_entry_offs = 530 prior_entry_offs = 56 total_data_bytes = 256 data_transform_id = 1 index_transform_id = 2 tx_id = 3 (offs = 530) commit_offs = 941 commit_items = 3 next_entry_offs = 0 prior_entry_offs = 442 total_data_bytes = 256 data_transform_id = 1 index_transform_id = 2 flags = 1 (create) offs = 618 tx_oid = 0 index_entry_id = 1 flags = 1 (create) offs = 635 tx_oid = 0 index_entry_id = 2 flags = 2 (update) offs = 652 tx_oid = 1 data_pos = 0 data_size = 256 index_entry_id = 0 0000000000000000 01 37 00 55 01 00 00 00 00 00 00 00 00 00 00 00 .7.U............ 0000000000000010 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ................ 0000000000000020 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0000000000000030 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0000000000000040 ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ flags = 16 (store) offs = 941 data_pos = 256 data_size = 1024 index_entry_id = 2 0000000000000000 01 01 03 00 ff ff ff ff ff ff ff ff ff ff ff ff ................ 0000000000000010 ff ff ff ff ff ff ff ff ff ff ff ff 05 a0 7c 2f ..............|/ 0000000000000020 78 78 78 11 03 00 00 01 00 00 00 00 00 00 00 ff xxx............. 0000000000000030 ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 ................ 0000000000000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000230 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000250 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000270 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000290 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000002a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000002b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000002c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000002d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000002e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000002f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000310 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000330 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000350 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000370 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000390 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000003a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000003b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000003c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000003d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000003e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000003f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ flags = 16 (store) offs = 1990 data_pos = 0 data_size = 256 index_entry_id = 0 0000000000000000 01 37 00 55 01 00 01 00 00 00 00 00 00 00 01 00 .7.U............ 0000000000000010 00 00 00 00 00 00 02 00 00 00 00 00 00 00 02 00 ................ 0000000000000020 00 00 00 00 00 00 02 00 00 00 00 00 00 00 ff ff ................ 0000000000000030 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0000000000000040 ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000000000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ flags = 16 (store) offs = 2271 data_pos = 1280 data_size = 289 index_entry_id = 1 0000000000000000 60 7b 60 24 70 6f 72 74 60 3d 60 27 31 31 30 31 `{`$port`=`'1101 0000000000000010 31 60 27 60 7d 0a 60 7b 60 24 70 70 6f 72 74 60 1`'`}.`{`$pport` 0000000000000020 3d 60 27 31 32 30 32 31 60 27 60 7d 0a 60 7b 60 =`'12021`'`}.`{` 0000000000000030 24 75 73 65 5f 73 73 6c 60 3d 60 27 74 72 75 65 $use_ssl`=`'true 0000000000000040 60 27 60 7d 0a 60 7b 60 24 75 73 65 5f 68 70 64 `'`}.`{`$use_hpd 0000000000000050 66 60 3d 60 27 74 72 75 65 60 27 60 7d 0a 60 7b f`=`'true`'`}.`{ 0000000000000060 60 24 75 73 65 5f 7a 6c 69 62 60 3d 60 27 74 72 `$use_zlib`=`'tr 0000000000000070 75 65 60 27 60 7d 0a 60 7b 60 24 75 73 65 5f 69 ue`'`}.`{`$use_i 0000000000000080 63 6f 6e 76 60 3d 60 27 74 72 75 65 60 27 60 7d conv`=`'true`'`} 0000000000000090 0a 60 7b 60 24 75 73 65 5f 72 64 6c 69 6e 65 60 .`{`$use_rdline` 00000000000000a0 3d 60 27 74 72 75 65 60 27 60 7d 0a 60 7b 60 24 =`'true`'`}.`{`$ 00000000000000b0 70 77 64 5f 72 6f 75 6e 64 73 60 3d 60 27 31 32 pwd_rounds`=`'12 00000000000000c0 33 34 35 60 27 60 7d 0a 60 7b 60 24 6e 65 77 5f 345`'`}.`{`$new_ 00000000000000d0 72 6f 75 6e 64 73 60 3d 60 27 31 32 33 34 35 60 rounds`=`'12345` 00000000000000e0 27 60 7d 0a 60 7b 60 24 75 73 65 5f 73 61 6c 74 '`}.`{`$use_salt 00000000000000f0 5f 76 61 6c 60 3d 60 27 66 61 6c 73 65 60 27 60 _val`=`'false`'` 0000000000000100 7d 0a 60 7b 60 24 75 69 5f 73 63 72 69 70 74 5f }.`{`$ui_script_ 0000000000000110 76 65 72 73 69 6f 6e 60 3d 60 27 31 60 27 60 7d version`=`'1`'`} 0000000000000120 0a .
330ff760fcb9b08114f26c0a2c0b6c7ec0e36a2c
449d555969bfd7befe906877abab098c6e63a0e8
/2657/CH17/EX17.2/Ex17_2.sce
5a182fc44c3e38ad3294d738a79810e50bd231dd
[]
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,429
sce
Ex17_2.sce
//Supercharged diesel engine clc,clear //Given: T1=10+273 //Temperature at sea level in K P1=1.013 //Pressure at sea level in bar bp=250 //Brake power in kW eta_v=78 //Volumetric efficiency in percent bsfc=0.245 //Brake specific fuel consumption in kg/kWh A_F=17 //Air fuel ratio N=1500 //Engine speed in rpm h=2700 //Altitude in m P_a=0.72 //Pressure at altitude in bar p=8 //Percentage of gross power taken by the supercharger T2=32+273 //Temperature of air leaving the supercharger in K //Solution: //Unsupercharged m_f=bsfc*bp/60 //Fuel consumption in kg/min m_a=A_F*m_f //Air consumption in kg/min m_a=m_a/(N/2) //Air consumption per cycle in kg m1=m_a/eta_v*100 //Mass of air corresponding to swept volume R=0.287 //Specific gas constant in kJ/kgK V_s=m1*R*T1/(P1*100) //Swept volume in m^3 bmep=bp/(V_s*N/(60*2)) //Brake mean effective pressure in kN/m^2 //Supercharged bp2=bp/(1-p/100) //Gross power produced by the engine in kW m_a2=bp2/bp*m_a //Mass of air required per cycle in kg m2=m_a2/eta_v*100 //Mass of air corresponding to swept volume P2=m2*R*T2/(V_s*100) //Pressure of air leaving the supercharger in bar deltaP=P2-P_a //Increase in pressure required in bar //Results: printf("\n The required engine capacity, V_s = %.4f m^3",V_s) printf("\n The anticipated brake mean effective pressure, bmep = %.1f bar",bmep/100) printf("\n The increase of air pressure required at the supercharger = %.3f bar\n\n",deltaP)
20fc2e30becff503b186fcea60e712c877003323
449d555969bfd7befe906877abab098c6e63a0e8
/3760/CH4/EX4.78/Ex4_78.sce
776ee4989cb66a7af5b19280c4fdf3f32f70ecd4
[]
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
872
sce
Ex4_78.sce
clc; // fields test on two similar machine gave following test iam=60; // motor armature current vam=500; // voltage across armature vfm=40; // voltage across field vt=450; // terminal voltage for generator io=46; // output current for generator vfg=40; // voltage across field ra=0.25; // armture resistance pi=(vam+vfm+vfg)*iam; // power input to whole set pog=vt*io; // generator output tl=pi-pog; // total loss in whole set poh=iam^2*ra+iam*(vfm+vfg)+io^2*ra; // total ohmic losses wo=(tl-poh)/2; // no load roational losses for each machines pim=(vam+vfm)*iam; // motor power input plm=iam^2*ra+iam*vfm+wo; // total motor loss nm=(1-(plm/pim))*100; printf('Motor efficiency is %f percent\n',nm); plg=io^2*ra+iam*vfm+wo; // total motor loss pgm=pog+plg; // generator input ng=(1-(plg/pgm))*100; printf('Generator efficiency is %f percent',ng);
7734cf08af27031f898fb71c1676097e4e825c9f
449d555969bfd7befe906877abab098c6e63a0e8
/3845/CH26/EX26.4/Ex26_4.sce
13cadef67449a9233c116bfdbb7bffe7684f119e
[]
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
277
sce
Ex26_4.sce
//Example 26.4 d_i=(-100+1.5)*10^-2;//Image distance (m) d_o=(25-1.5)*10^-2;//Object distance (m) P=1/d_o+1/d_i;//Power (D) printf('Power of spectacle lens required = %0.2f D',P) //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest
a0f42d965ada2d01185d0e723de638eef409ef57
449d555969bfd7befe906877abab098c6e63a0e8
/32/CH7/EX7.04/7_04.sce
7f368c830436414df3d7000ad2589bbfc47f051b
[]
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
936
sce
7_04.sce
//pathname=get_absolute_file_path('7.04.sce') //filename=pathname+filesep()+'7.04-data.sci' //exec(filename) //Mass of steam(in kg): m=5 //Initial elevation(in m): z1=10 //Initial velocity(in m/s): V1=25 //Final elevation(in m): z2=2 //Final velocity(in m/s): V2=10 //Dead state of water u0=104.86 //kJ/kg v0=1.0029*10^(-3) //m3/kg s0=0.3673 //kJ/kg·K p0=100 //kPa T0=25+273 //K //Initial state u1 = 2550 //kJ/kg v1 = 0.5089 //m3/kg s1 = 6.93 //kJ/kg·K //Final state u2=83.94 //kJ/kg v2=1.0018*10^(-3) //m3/kg s2=0.2966 //kJ/kg·K //Acceleration due to gravity(in m/s^2): g=9.81 //Availability at initial state(in kJ): A1=m*((u1-u0)*10^3+p0*10^3*(v1-v0)-T0*(s1-s0)*10^3+V1^2/2+g*z1) //Availability at final state(in kJ): A2=m*((u2-u0)*10^3+p0*10^3*(v2-v0)-T0*(s2-s0)*10^3+V2^2/2+g*z2) //Change in availability(in kJ): dA=A2-A1 printf("\nRESULT") printf("\nAvailability decreases by %f kJ",-dA/10^3)
71f82ce3267ec1c8d8a4345af32e1b2a473d0574
efba0810ec7227f4fe228c95563e792b0b9eee9c
/demos/Plotly.dem.gateway.sce
55a6b570ecca5610463a7f8975115da08a86a92f
[]
no_license
mstroehle/Plotly
99d626c68ddb65f388034fa4e24b276d04a7cfec
e360ffcae3639471e72e4ee742878443e9072737
refs/heads/master
2023-03-23T09:13:19.890260
2020-04-21T16:34:29
2020-04-21T16:34:29
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
550
sce
Plotly.dem.gateway.sce
function subdemolist = demo_gateway() demopath = get_absolute_file_path("Plotly.dem.gateway.sce"); subdemolist = ["Simple sine plot", "plotly_sin.dem.sce"; "Scatter sine plot", "scatterly_sin.dem.sce"; "Scatter plot 1", "scatterly_1.dem.sce"; "Bar chart 1", "barly_1.dem.sce"; "Pie chart 1", "piely_1.dem.sce"]; subdemolist(:,2) = demopath + subdemolist(:,2); endfunction subdemolist = demo_gateway(); clear demo_gateway; // remove demo_gateway on stack
0dfcc8c1f458630b0a6142ec1f7cded24206ecda
449d555969bfd7befe906877abab098c6e63a0e8
/2195/CH3/EX3.15.3/ex_3_15_3.sce
ffed40b7feea3a263ce355e5dd4d1c606e86cb36
[]
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
228
sce
ex_3_15_3.sce
//Example 3.15.3: shunt resistance clc; clear; close; //given data : Im=1;// in mA P=100;// in kilo-watt I=100;// in mA Rm=(P)/(Im)^2; Rsh=((Im*10^-3*Rm*10^3)/((I-Im)*10^-3))*10^-3; disp(Rsh,"shunt resistance,Rsh(kilo-ohm) = ")
f8736ae6652b906bacca37ad55f90082ea4500e5
449d555969bfd7befe906877abab098c6e63a0e8
/1385/CH4/EX4.3/4_3.sce
a352e61ed660474908b7848822817def94cacc99
[]
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
494
sce
4_3.sce
clc //initialisation of variables mn= 0.0134 //gms mo= 0.0261 //gms mh= 0.0081 //gms T= 30 //C P= 3 //atm r= 4/5 //CALCULATIONS V= mn*(273+T)*1000/273 V1= V*r V2= V1*P V3= mo*(273+T)*(1-r)*P*1000/273 V4= mh*(273+T)*r*1000/273 V5= V4*P V6= V2-V1 V7= V5-V4 //RESULTS printf (' volume of oxygen= %.1f ml',V) printf (' \n volume of nitrogen= %.1f ml',V3) printf (' \n volume of helium = %.1f ml',V5) printf (' \n volume of nitrogen and helium would be expelled = %.1f ml',V7)
edb00023f9ef3b23b1f8350751d61e3921b2e9f0
449d555969bfd7befe906877abab098c6e63a0e8
/1019/CH3/EX3.13/Example_3_13.sce
7bb3f27c222c59d2db9bc9df761b21935fcafb86
[]
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
343
sce
Example_3_13.sce
//Example 3.13 clear; clc; //Given delHfNaOH = -470.7;//heat of formation in kJ of NaOH delHfOH = -228.8;//heat of formation of OH- ions in kJ //To determine the heat of formation of sodium ions delHNa = delHfNaOH-delHfOH;//heat of formation of sodium ions in kJ mprintf('heat of formation of sodium ions = %f kJ',delHNa); //end
c6075d86f66616c250e0af9e2d15770e2387d15f
449d555969bfd7befe906877abab098c6e63a0e8
/3507/CH23/EX23.6/Ex23_6.sce
9b7f3c6d994d467242821a6a1c1eeb1b31140e6b
[]
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
491
sce
Ex23_6.sce
//chapter23 //example23.6 //page515 Vm=240 // V v=180 // V // figure given is for understanding purpose only. It is not required to solve the example // SCR remains off till it reaches 180 V i.e. forward breakdown voltage // since v=Vm*sin(theta), we get theta=asin(v/Vm) // firing angle in terms of degrees // since theta=314*t, we get t=theta/314 // seconds printf("off duration of SCR = %.3f ms \n",t*1000) //multiply t by 1000 to display time in milliseconds
3feb447eb5fdccdf87f522b1915088b2e20960f9
6c7a728e11a427c93b15669517131a79a0703108
/api/pdb_root/install/scripts/start_daemon.tst
e43b2ac9ed827ea57362b9e778bed0628e819a28
[]
no_license
ZVlad1980/adm_scripts
0b9fe4ff166213dc649d555c81e8d65b858074e4
9978a098c8140f5722b51e799969b76e2d68b42e
refs/heads/master
2020-03-31T08:45:49.405822
2019-04-30T05:04:03
2019-04-30T05:04:03
152,071,490
1
0
null
null
null
null
UTF-8
Scilab
false
false
235
tst
start_daemon.tst
PL/SQL Developer Test script 3.0 9 -- Created on 27.04.2018 by V.ZHURAVOV declare -- Local variables here i integer; begin --dbms_session.reset_package; return; -- Test statements here pdb_daemon_api.start_daemon; end; 0 0
897643377dde818c0e2f776cd6ae4f048bd6c5f1
3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc
/Pack/Área 1/P1/q10.sce
39d1cc64e3df04191f6db2a7847c0c554f37435f
[ "MIT" ]
permissive
JPedroSilveira/numerical-calculus-with-scilab
32e04e9b1234a0a82275f86aa2d6416198fa6c81
190bc816dfaa73ec2efe289c34baf21191944a53
refs/heads/master
2023-05-10T22:39:02.550321
2021-05-11T17:17:09
2021-05-11T17:17:09
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
354
sce
q10.sce
function y = f(x) y = (x^2 + (sqrt(3)/3 - sqrt(2)/2) * x - sqrt(6)/6)/(x-1/2) //aqui vai a função do problema endfunction function y = fl(x) y = numderivative(f,x) //faz a derivada sozinho :) endfunction x = 0.9 //aqui tu bota o X próximo da raiz que tu quer encontrar. Salve geogebra. for i = 1:100 x = x - f(x)/fl(x) disp(x) end
4f08dd784c99996c1dde13987d613cd64cb2e488
449d555969bfd7befe906877abab098c6e63a0e8
/710/CH7/EX7.4/7_4.sci
2bc1017e7628867ecc1f8480b6c29185e421e311
[]
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
sci
7_4.sci
clc(); clear; //To determine the orbital speed of proton m=1.67*10^-27; //mass of proton q=1.6*10^-19; B=0.36; //magnetic field in T R=0.2; //radius in m v=((q*B*R)/m)*10^-6 //orbital speed of proton printf("The orbital speed of proton is %f m/s",v);
191e85e163e47b8fb4ab461fa47d2d46fd04baa2
5e244ee21a463b92f547cd5626e466ab167a3e1b
/Semester 5/OST/01. Plot of discrete time signals/ost1_matrixmethod.sce
37047b8189fbac3dcc05a2b8dcd0b145feb32010
[]
no_license
bumblebee26/Lab-Experiments
5ab36e3a52fd3348d0d7634a08541e229e55680f
8408eceabf65489d477c1e62a998c39b0bd0d828
refs/heads/master
2020-04-20T12:44:52.375127
2020-02-28T15:10:45
2020-02-28T15:10:45
168,850,941
3
0
null
null
null
null
UTF-8
Scilab
false
false
144
sce
ost1_matrixmethod.sce
figure n0=1 n1=-5 n2=5 n=n1:n2 x=[(n-n0)>=0] y=(2.^n).*x plot2d3(n,y) figure n0=-1 n1=-5 n2=5 n=n1:n2 x=[(n-n0)<=0] y=(2.^-n).*x plot2d3(n,y)
de1fc099534ab83ff7dc4f5cfccc304f16c59d1a
488671045d59079d7b3aa27dcecc04e73e9d90c2
/cinematica/cinematicainversa.sce
239f47fac85ef21a78f4e0879ca619c01749faba
[]
no_license
marieediaas/Robotica
cd09b30629e9a090077e72556a3379af5877e9f2
f4aaf15bd7f11b8a6f6a5f898305f5bdb483fdcf
refs/heads/master
2022-04-10T06:48:10.906055
2020-02-22T16:14:45
2020-02-22T16:14:45
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,324
sce
cinematicainversa.sce
L1 = 10; L2 = 5; //x = 5; //y= 13.660254; //theta2 num2 = (x^2) + (y^2) - (L1^2) - (L2^2); den2 = 2*L1*L2; //positivo theta2p = acosd(num2/den2); //negativo theta2n = - acosd(num2/den2); //theta1 positivo nume1 = y*(L1+L2*cosd(theta2p)) - x*L2*sind(theta2p); deno1 = x*(L1+L2*cosd(theta2p)) + y*L2*sind(theta2p); theta1p = atand(nume1/deno1); //theta1 negativo numer1 = y*(L1+L2*cosd(theta2n)) - x*L2*sind(theta2n); denor1 = x*(L1+L2*cosd(theta2n)) + y*L2*sind(theta2n); theta1n = atand(numer1/denor1); //disp('Valor de theta1'); //disp(theta2p); //disp(theta1p); //disp('Valor de theta1'); //disp(theta2n); //disp(theta1n); //x e y para theta2 e theta 1 positivo xp = L1*cosd(theta1p) + L2*cosd(theta1p + theta2p); yp = L1*sind(theta1p) + L2*sind(theta1p + theta2p); disp(xp); disp(yp); //x e y para theta2 e theta 1 negativo xn = L1*cosd(theta1n) + L2*cosd(theta1n + theta2n); yn = L1*sind(theta1n) + L2*sind(theta1n + theta2n); disp(xn); disp(yn); //x e y para theta2 positivo e theta 1 negativo xpn = L1*cosd(theta1n) + L2*cosd(theta1n + theta2p); ypn = L1*sind(theta1n) + L2*sind(theta1n + theta2p); disp(xpn); disp(ypn); //x e y para theta2 negativo e theta 1 positivo xnp = L1*cosd(theta1p) + L2*cosd(theta1p + theta2n); ynp = L1*sind(theta1p) + L2*sind(theta1p + theta2n); disp(xnp); disp(ynp);
0f142e0c752a74e2b0c7efd5157dc02d2693f23f
d7087cf730b37f76170323e080c090f8094979ac
/test/eval_expr/mix_3.tst
0548d7bd35ee272944b0cddd2124f983af72d74c
[]
no_license
VladimirMeshcheriakov/42sh
025dffe358b86f48eaf7751a5cb08d4d5d5366c4
52d782255592526d0838bc40269f6e71f6a51017
refs/heads/master
2023-03-15T17:26:20.575439
2015-06-26T12:44:05
2015-06-26T12:44:05
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
112
tst
mix_3.tst
<cmd> ../build/42sh</cmd> <ref> bash</ref> <stdin> echo "$(( (1+2) | 5 + (!214 + 87 - (54 * 87))))" </stdin>
40361c8c30e92e2842f3ce3425d66ba2aba51642
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/macros/percent/%l_n_p.sci
47506dea1692eff0139594f9ea2af1811d6047fe
[ "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
58
sci
%l_n_p.sci
function [r]=%l_n_p(l1,l2) //! // Copyright INRIA r=%t
fcb2fe2889319107b7e1d76ddbabd8bb95487065
449d555969bfd7befe906877abab098c6e63a0e8
/3775/CH2/EX2.1/Ex2_1.sce
994b2525e53d8a3c15dde588a201b84f246fcbda
[]
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
210
sce
Ex2_1.sce
//Ex 2.1 page 67 clc; clear; close; V1=1;//V across SCR IG=0;//A Ih=2;//mA holding current R=50;//ohm // Applying kirchoff law //VA-(IAK*R)-V1=0 VA=(Ih*10**-3*R)+V1;//V (let IAK=Ih) printf('VA = %.2f V',VA)
d7d30370c27dd974fcebd6e3d76005657e21020a
449d555969bfd7befe906877abab098c6e63a0e8
/3554/CH15/EX15.1/Ex15_1.sce
dcdb5d451beeb748f8271fa32f1352005cdc6247
[]
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
392
sce
Ex15_1.sce
//Exa 15.1 clc; clear all; // Given data Fh=2;// kHz Af=2;// Pass band gain // Solution disp(" Let C1= 0.01 micro farads "); C=0.01;//micro farads R=1/(2*%pi*Fh*C);// k Ohms printf(' The calculated value of R is %.3f K ohms. Nearest practical value for R1 is 8.2 k Ohms\n',R); //Af=1+Rf/R1; // As Af=2. So, Rf=R1 disp(" In this case , Rf=R1= 10 k Ohms is selected ");
aa184e51abcb726d37b2c9ced4d00a9c0cd53b7a
449d555969bfd7befe906877abab098c6e63a0e8
/1931/CH11/EX11.8/8.sce
198591f724e13d28f2cd01ccd256879d3f279a84
[]
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
453
sce
8.sce
clc clear //INPUT DATA l=100*10^-3//length of silicon plate in m b=10*10^-3//breadth of silicon plate in m t=1*10^-3//thickness of silicon plate in m I=10^-2//current in A Vh=1.83*10^-3//voltage measured across the width in V B=0.5//magnetic flux density in Wb/m^2 //CALCULATION RH=((Vh*t)/(I*B))/10^-4//Hall coefficient of silicon plate in m^3 C^-1*10^-4 //OUTPUT printf('Hall coefficient of silicon plate is %3.2f*10^-4 m^3 C^-1',RH)
605d4513f04857746c25d4bea25426d8469f313f
29d0a9144c1926fef6ef23493d08728073758805
/cfg/rout-lsrp14.tst
cd511b982e9b1a65192dfe8933454e15f3d984bd
[]
no_license
mikma/freeRouter
47c1516edf6fc5c75cc6ce626cd7ce024147d5a5
96106c23a7144558ffb7fb831297194327ee3ef1
refs/heads/master
2023-06-08T06:51:14.563806
2020-01-22T14:56:13
2020-01-22T14:56:13
235,618,523
0
0
null
2020-01-22T16:46:19
2020-01-22T16:46:18
null
UTF-8
Scilab
false
false
8,146
tst
rout-lsrp14.tst
description lsrp tls encryption addrouter r1 int eth1 eth 0000.0000.1111 $1a$ $1b$ ! crypto rsakey myrsa import MIICXQIBAAKBgQC0nrND79O5ol/LSSysGPYtULCE2h38ddL7JsXDUM3CCIt5REfaumcXwFHcMW2brgH452tw+qY0mewHpxNBr043S/ZBKPwZHdYhSHhtiTD+L5HTmZIGo3U+u11Ty5me6puog7ETsLgQdZA3UMjNVTIq4qvMRIMRTXg9YhFn0vs1rwIDAQABAoGAK23VUMqDsCj4u5p2oVLHLpIuP2Nqvl9eQYFLH/F35+XCE4B1foQ/cZiOllFUN5CZbM3IKbw65n70H8rueGa8eWr1y/sU0NSAZpiv7nYvf/UMrBhKnoX0aC7FIj5LFI4yUxHqgsh6aKiTI77FDcxbsepVxHh86K1tV1Iz6PAIJDECQQD14A7oRUiHIoQHWBHmOUACF6bL3z8+dXzbYJ0KiQcPyPSdLsf2EueFfFmV6+sDMZDh56i4BgOIHNgJ5xPAcSn1AkEAvA69j9FcmvhyHt8xp9/kUEw++6mBbl+8Gtca1krvGyRM9rJOii5aTw2nsrob55nkRyXT19ig0lpxBCetllbmkwJAZgnsZdyK8voSDPIxy3eq5rNmF2m413TusiRwR/UCJzzgt3K4rZi+2Jj4nM1hpNunIvl+/ZARWyWNSt7JRa4xGQJBAIeadXQz+nvAtMGwHWU427BPGodrten53HDaNP7a78l5honJDzsyq2ofpZIKAz8gx+vJyhT1nxmvn5joZ5JlvUMCQQDLsvHanVDX7TS02u2+ULkqf66s/1ePPDWnW1Zjh0R3Wjn8dHaDcZLnibwWZ8PFUD8E5NXevW/GWwqKBG5JenqX crypto dsakey mydsa import MIIBuwIBAAKBgQCcggj1iLzr28C2Y85FdyVSBHlU698Bzks6Iy24MGJiPxI+eSB2NoQ+S7afv+QFugskXJBawo3+gXXu5hfXJc8tVOwfOvTX2jW9nNrP5NP6Za5mNKZVENNGASlrEQtqAawHE6A7w6/J2FCXvwjYO7SvB46ky5Cvs7ox9TkTkTGJZwIVANDg+p6L15yjsWI8i0fYQnGuSslhAoGAQj7BDUJpeIJ33WPX9wJJ6NtGZ29vzmXe6cCOGEqQs7xSr847qcGzEXtUGSWtgZ6t1iI6RtESu+qmcg59foemTeyrCa4ux6Ydn7YARfFOVL4PEtAlFvkvEi/U7LRl9HKQB+sPJW4hU/fqRaTlSjE39pGWf3d6OGHLN6aMSFn+w/UCgYBGoyEsesSc8RWMy7+cY0SeFymWzLb30wqzG0AvrHQhE1xyWY7xOm9wJ7YE+n9KxjQeIR7PJMrmclW/P/XpZHkCgFvAr3aAFK/w8Fcku24CF4gW5w1W2O7V2ThDsrn6f+JGfEGRBvfxYin9KwX9N35IAQpQisMCtQT9rneWMkiaAgIVAM7N+Iwu4dULRYiYvGjmYW8eBf+d crypto ecdsakey myecdsa import MEQCAQEEEACtT1ZwRkfDhndc4zXN/1GgBwYFK4EEAByhJAMiAASucERsdb81h9FyhNEdSrMbnK55VVz3W22q6dz+ggcGQA== crypto certificate mydsa import dsa mydsa MIICXTCCAhygAwIBAgIEf5fTSDAJBgcqhkjOOAQDMBQxEjAQBgNVBAMTCWxvY2FsaG9zdDAeFw0xMDA4MDcxNDA5MzBaFw0xMTA4MDcxNDA5MzBaMBQxEjAQBgNVBAMTCWxvY2FsaG9zdDCCAbYwggErBgcqhkjOOAQBMIIBHgKBgQCcggj1iLzr28C2Y85FdyVSBHlU698Bzks6Iy24MGJiPxI+eSB2NoQ+S7afv+QFugskXJBawo3+gXXu5hfXJc8tVOwfOvTX2jW9nNrP5NP6Za5mNKZVENNGASlrEQtqAawHE6A7w6/J2FCXvwjYO7SvB46ky5Cvs7ox9TkTkTGJZwIVANDg+p6L15yjsWI8i0fYQnGuSslhAoGAQj7BDUJpeIJ33WPX9wJJ6NtGZ29vzmXe6cCOGEqQs7xSr847qcGzEXtUGSWtgZ6t1iI6RtESu+qmcg59foemTeyrCa4ux6Ydn7YARfFOVL4PEtAlFvkvEi/U7LRl9HKQB+sPJW4hU/fqRaTlSjE39pGWf3d6OGHLN6aMSFn+w/UDgYQAAoGARqMhLHrEnPEVjMu/nGNEnhcplsy299MKsxtAL6x0IRNcclmO8TpvcCe2BPp/SsY0HiEezyTK5nJVvz/16WR5AoBbwK92gBSv8PBXJLtuAheIFucNVtju1dk4Q7K5+n/iRnxBkQb38WIp/SsF/Td+SAEKUIrDArUE/a53ljJImgIwCQYHKoZIzjgEAwMwADAtAhUAvDLHbebR/xbPQciDn0FzdDvFx7UCFBr4txnXoQCLBJZhcjWB2hdHxObQ crypto certificate myrsa import rsa myrsa MIIBmjCCAQagAwIBAgIEQb3ciDALBgkqhkiG9w0BAQUwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgwNzE0MDkzMFoXDTExMDgwNzE0MDkzMFowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC0nrND79O5ol/LSSysGPYtULCE2h38ddL7JsXDUM3CCIt5REfaumcXwFHcMW2brgH452tw+qY0mewHpxNBr043S/ZBKPwZHdYhSHhtiTD+L5HTmZIGo3U+u11Ty5me6puog7ETsLgQdZA3UMjNVTIq4qvMRIMRTXg9YhFn0vs1rwIDAQABMAsGCSqGSIb3DQEBBQOBgEnZK/FSe+BnhuuohU8BhCma8W0QT8r+uIt4Stm7/X3/IMwTrNGP/WU9lVKEqQPx12+QiyrdOqrh8J9Orh6szQmUhx4CgvpwiWx4xlTZliBslUqoMKcl0Rlfx4rNCjF14BwP5HEuBXQPzJNtMYupS9DXcL1eb/JQCwwC1g4XZ4ub crypto certificate myecdsa import ecdsa myecdsa MIHlMIGOoAMCAQICBHdcELYwCQYHKoZIzj0EATAOMQwwCgYDVQQDEwNydHIwHhcNMTQxMDIzMDc1NjQ4WhcNMjQxMDIwMDc1NjQ4WjAOMQwwCgYDVQQDEwNydHIwNjAQBgcqhkjOPQIBBgUrgQQAHAMiAASucERsdb81h9FyhNEdSrMbnK55VVz3W22q6dz+ggcGQDAJBgcqhkjOPQQBA0cAMEQCEQCj1kFVhYyMmgeEsIMMCTalAi8Wvrl1ZghtS9ybZuiheuKZCFHKHPDOWPd4C6dKxyvvBsLep0GvqeRn/Un7+8QB0w== vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.1 red conn exit router lsrp6 1 vrf v1 router 6.6.6.1 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.1 255.255.255.255 ipv6 addr 4321::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.1 255.255.255.252 router lsrp4 1 ena router lsrp4 1 encryption tls myrsa mydsa myecdsa myrsa mydsa myecdsa ipv6 addr 1234:1::1 ffff:ffff:: router lsrp6 1 ena router lsrp6 1 encryption tls myrsa mydsa myecdsa myrsa mydsa myecdsa exit ! addrouter r2 int eth1 eth 0000.0000.2222 $1b$ $1a$ ! crypto rsakey myrsa import MIICXQIBAAKBgQC0nrND79O5ol/LSSysGPYtULCE2h38ddL7JsXDUM3CCIt5REfaumcXwFHcMW2brgH452tw+qY0mewHpxNBr043S/ZBKPwZHdYhSHhtiTD+L5HTmZIGo3U+u11Ty5me6puog7ETsLgQdZA3UMjNVTIq4qvMRIMRTXg9YhFn0vs1rwIDAQABAoGAK23VUMqDsCj4u5p2oVLHLpIuP2Nqvl9eQYFLH/F35+XCE4B1foQ/cZiOllFUN5CZbM3IKbw65n70H8rueGa8eWr1y/sU0NSAZpiv7nYvf/UMrBhKnoX0aC7FIj5LFI4yUxHqgsh6aKiTI77FDcxbsepVxHh86K1tV1Iz6PAIJDECQQD14A7oRUiHIoQHWBHmOUACF6bL3z8+dXzbYJ0KiQcPyPSdLsf2EueFfFmV6+sDMZDh56i4BgOIHNgJ5xPAcSn1AkEAvA69j9FcmvhyHt8xp9/kUEw++6mBbl+8Gtca1krvGyRM9rJOii5aTw2nsrob55nkRyXT19ig0lpxBCetllbmkwJAZgnsZdyK8voSDPIxy3eq5rNmF2m413TusiRwR/UCJzzgt3K4rZi+2Jj4nM1hpNunIvl+/ZARWyWNSt7JRa4xGQJBAIeadXQz+nvAtMGwHWU427BPGodrten53HDaNP7a78l5honJDzsyq2ofpZIKAz8gx+vJyhT1nxmvn5joZ5JlvUMCQQDLsvHanVDX7TS02u2+ULkqf66s/1ePPDWnW1Zjh0R3Wjn8dHaDcZLnibwWZ8PFUD8E5NXevW/GWwqKBG5JenqX crypto dsakey mydsa import MIIBuwIBAAKBgQCcggj1iLzr28C2Y85FdyVSBHlU698Bzks6Iy24MGJiPxI+eSB2NoQ+S7afv+QFugskXJBawo3+gXXu5hfXJc8tVOwfOvTX2jW9nNrP5NP6Za5mNKZVENNGASlrEQtqAawHE6A7w6/J2FCXvwjYO7SvB46ky5Cvs7ox9TkTkTGJZwIVANDg+p6L15yjsWI8i0fYQnGuSslhAoGAQj7BDUJpeIJ33WPX9wJJ6NtGZ29vzmXe6cCOGEqQs7xSr847qcGzEXtUGSWtgZ6t1iI6RtESu+qmcg59foemTeyrCa4ux6Ydn7YARfFOVL4PEtAlFvkvEi/U7LRl9HKQB+sPJW4hU/fqRaTlSjE39pGWf3d6OGHLN6aMSFn+w/UCgYBGoyEsesSc8RWMy7+cY0SeFymWzLb30wqzG0AvrHQhE1xyWY7xOm9wJ7YE+n9KxjQeIR7PJMrmclW/P/XpZHkCgFvAr3aAFK/w8Fcku24CF4gW5w1W2O7V2ThDsrn6f+JGfEGRBvfxYin9KwX9N35IAQpQisMCtQT9rneWMkiaAgIVAM7N+Iwu4dULRYiYvGjmYW8eBf+d crypto ecdsakey myecdsa import MEQCAQEEEACtT1ZwRkfDhndc4zXN/1GgBwYFK4EEAByhJAMiAASucERsdb81h9FyhNEdSrMbnK55VVz3W22q6dz+ggcGQA== crypto certificate mydsa import dsa mydsa MIICXTCCAhygAwIBAgIEf5fTSDAJBgcqhkjOOAQDMBQxEjAQBgNVBAMTCWxvY2FsaG9zdDAeFw0xMDA4MDcxNDA5MzBaFw0xMTA4MDcxNDA5MzBaMBQxEjAQBgNVBAMTCWxvY2FsaG9zdDCCAbYwggErBgcqhkjOOAQBMIIBHgKBgQCcggj1iLzr28C2Y85FdyVSBHlU698Bzks6Iy24MGJiPxI+eSB2NoQ+S7afv+QFugskXJBawo3+gXXu5hfXJc8tVOwfOvTX2jW9nNrP5NP6Za5mNKZVENNGASlrEQtqAawHE6A7w6/J2FCXvwjYO7SvB46ky5Cvs7ox9TkTkTGJZwIVANDg+p6L15yjsWI8i0fYQnGuSslhAoGAQj7BDUJpeIJ33WPX9wJJ6NtGZ29vzmXe6cCOGEqQs7xSr847qcGzEXtUGSWtgZ6t1iI6RtESu+qmcg59foemTeyrCa4ux6Ydn7YARfFOVL4PEtAlFvkvEi/U7LRl9HKQB+sPJW4hU/fqRaTlSjE39pGWf3d6OGHLN6aMSFn+w/UDgYQAAoGARqMhLHrEnPEVjMu/nGNEnhcplsy299MKsxtAL6x0IRNcclmO8TpvcCe2BPp/SsY0HiEezyTK5nJVvz/16WR5AoBbwK92gBSv8PBXJLtuAheIFucNVtju1dk4Q7K5+n/iRnxBkQb38WIp/SsF/Td+SAEKUIrDArUE/a53ljJImgIwCQYHKoZIzjgEAwMwADAtAhUAvDLHbebR/xbPQciDn0FzdDvFx7UCFBr4txnXoQCLBJZhcjWB2hdHxObQ crypto certificate myrsa import rsa myrsa MIIBmjCCAQagAwIBAgIEQb3ciDALBgkqhkiG9w0BAQUwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgwNzE0MDkzMFoXDTExMDgwNzE0MDkzMFowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC0nrND79O5ol/LSSysGPYtULCE2h38ddL7JsXDUM3CCIt5REfaumcXwFHcMW2brgH452tw+qY0mewHpxNBr043S/ZBKPwZHdYhSHhtiTD+L5HTmZIGo3U+u11Ty5me6puog7ETsLgQdZA3UMjNVTIq4qvMRIMRTXg9YhFn0vs1rwIDAQABMAsGCSqGSIb3DQEBBQOBgEnZK/FSe+BnhuuohU8BhCma8W0QT8r+uIt4Stm7/X3/IMwTrNGP/WU9lVKEqQPx12+QiyrdOqrh8J9Orh6szQmUhx4CgvpwiWx4xlTZliBslUqoMKcl0Rlfx4rNCjF14BwP5HEuBXQPzJNtMYupS9DXcL1eb/JQCwwC1g4XZ4ub crypto certificate myecdsa import ecdsa myecdsa MIHlMIGOoAMCAQICBHdcELYwCQYHKoZIzj0EATAOMQwwCgYDVQQDEwNydHIwHhcNMTQxMDIzMDc1NjQ4WhcNMjQxMDIwMDc1NjQ4WjAOMQwwCgYDVQQDEwNydHIwNjAQBgcqhkjOPQIBBgUrgQQAHAMiAASucERsdb81h9FyhNEdSrMbnK55VVz3W22q6dz+ggcGQDAJBgcqhkjOPQQBA0cAMEQCEQCj1kFVhYyMmgeEsIMMCTalAi8Wvrl1ZghtS9ybZuiheuKZCFHKHPDOWPd4C6dKxyvvBsLep0GvqeRn/Un7+8QB0w== vrf def v1 rd 1:1 exit router lsrp4 1 vrf v1 router 4.4.4.2 red conn exit router lsrp6 1 vrf v1 router 6.6.6.2 red conn exit int lo1 vrf for v1 ipv4 addr 2.2.2.2 255.255.255.255 ipv6 addr 4321::2 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff exit int eth1 vrf for v1 ipv4 addr 1.1.1.2 255.255.255.252 router lsrp4 1 ena router lsrp4 1 encryption tls myrsa mydsa myecdsa myrsa mydsa myecdsa ipv6 addr 1234:1::2 ffff:ffff:: router lsrp6 1 ena router lsrp6 1 encryption tls myrsa mydsa myecdsa myrsa mydsa myecdsa exit ! r1 tping 100 40 2.2.2.2 /vrf v1 r1 tping 100 40 4321::2 /vrf v1 r2 tping 100 40 2.2.2.1 /vrf v1 r2 tping 100 40 4321::1 /vrf v1
01722258adae6442a2bece7924b30d221bd8c61b
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set11/s_Fundamentals_Of_Nuclear_Science_And_Engineering_J._K._Shultis_And_R._E._Faw_3535.zip/Fundamentals_Of_Nuclear_Science_And_Engineering_J._K._Shultis_And_R._E._Faw_3535/CH6/EX6.2/Ex6_2.sce
3aa982e99dfae9990e2d9fb9960e92dab3a330bb
[]
no_license
hohiroki/Scilab_TBC
cb11e171e47a6cf15dad6594726c14443b23d512
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
refs/heads/master
2021-01-18T02:07:29.200029
2016-04-29T07:01:39
2016-04-29T07:01:39
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
224
sce
Ex6_2.sce
errcatch(-1,"stop");mode(2);//Chapter 6, Example 6.2, Page 145 // Maximum Energy loss me = 0.0005486 M = 4.003 EM = 4 Emax = 4*(me/M)*EM printf("Emax = %f keV",Emax*10^3) //Answers may vary due to round off error exit();
2ce34c2a11b12c88dfe1c8fe3d3e06aa3aeba6db
f4d3c7f7e8954cdeb6eb0c7b54a056242b07da22
/BCPST TIPE SPE/scripts/Test programme final/choixvideo.sci
36507bbddf6e639ba7b398f3e2f8dc39538685a4
[]
no_license
ThibaultLatrille/Slides-Sciencework
bfdf959dbbe4a94e621a3a9a71ccbcd06c5fc338
84b53f3901cbdb10fab930e832dc75431a7dce05
refs/heads/master
2020-04-27T07:53:52.313720
2019-03-06T16:17:57
2019-03-06T16:17:57
174,151,758
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,102
sci
choixvideo.sci
function [Path]=choixvideo() Path=uigetfile([""],'C:\Users\thibault\Desktop\TIPE\video') endfunction function [T,samare2,samare1]=pointer(path) [samare1,samare2]=pointage(string(path)) tableau=0; compt=1; for i=1:max(size(samare1)) do if samare1(i,3)<>0 & samare2(i,3)<>0 then tableau(compt,1)=samare2(i,2); tableau(compt,2)=-samare2(i,1); tableau(compt,3)=samare1(i,2); tableau(compt,4)=-samare1(i,1); compt=compt+1; end end n=max(size(tableau)) T=exploitation(tableau); samaradraw(T) endfunction function [vect,nb]=analyser(T,samare1,samare2) vect=surexploitation(T); nb=(comptage(samare1(:,3))+comptage(samare2(:,3)))/2 endfunction function []=sauvegarde(T,nb,vect) Name=x_mdialog('Entrez le nom du fichier','Nom :','Samare') path=uigetdir('C:\Users\thibault\Desktop\TIPE\Programme final\Database') fprintfMat(string(path)+string(Name)+'_coordonnees',T); fprintfMat(string(path)+string(Name)+'_parametres',vect); fprintfMat(string(path)+string(Name)+'_nbretour',nb); endfunction
ff6a88053a5526748c3188c2b71ea019ac5e1aa9
449d555969bfd7befe906877abab098c6e63a0e8
/1328/CH14/EX14.5/14_5.sce
661d4271565023d0937991c7124954dd95b3c907
[]
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
4,218
sce
14_5.sce
printf("\texample 14.5\n"); printf("\tapproximate values are mentioned in the book \n"); st1=280; //°F vt6=125; //°F odT=st1-vt6; //°F printf("\tOverall temperature difference = %.0f °F\n",odT); //corresponding to 35 psig and 26 in. Hg bpr(1)=10; //°F bpr(2)=8; //°F bpr(3)=7; //°F bpr(4)=6; //°F bpr(5)=5; //°F bpr(6)=5; //°F i=1; tbpr=0; while(i<7) tbpr=tbpr+bpr(i); i=i+1; end printf("\tThe estimated total BPR = %.0f °F\n",tbpr); //from fig. 14.36a edT=odT-tbpr; printf("\tEffective temperature difference = %.0f °F\n",edT); printf("\n\t\t\t\tEVAPORATOR SUMMARY\n\tAll bodies will consist of 300 2 in. OD, 10 BWG tubes 24 long\n"); printf("\t------------------------------------------------------------------------------------------------------------------------------\n"); printf("\tItem\t\t\t\t\t\t\t\t\tEffects\n\t\t\t\t\t----------------------------------------------------------------------------------------------\n\t\t\t\t\t1A\t\t1B\t\t2\t\t3\t\t4\t\t5\n"); printf("\t------------------------------------------------------------------------------------------------------------------------------\n"); printf("\t1.Steam flow, lb/hr\t\t20000\n\t2.Steam pressure, psi/in.Hg\t35\t\t14.5\t\t4\t\t7\t\t16.5\t\t22\n\t3.Steam temp,°F\t\t\t280\t\t249\t\t224\t\t199\t\t174\t\t151\n\t4.delT,°F\t\t\t21\t\t17\t\t18\t\t19\t\t18\t\t21\n\t5.Liquor temp, °F\t\t259\t\t232\t\t206\t\t180\t\t156\t\t130\n\t6.BPR, °F\t\t\t10\t\t8\t\t7\t\t6\t\t5\t\t5\n\t7.Vapor temp, °F\t\t259\t\t232\t\t206\t\t180\t\t156\t\t130\n\t8.Vapor pressure, pis/in.Hg\t14.5\t\t4\t\t7\t\t6\t\t5\t\t5\n\t9.Lambda, Btu/lb\t\t946\t\t962\t\t978\t\t994\t\t1008\t\t1022\n\t10.Liquor in, lb/hr\t\t73400\t\t88300\t\t101000\t\t113000\t\t72000\t\t72000\n\t11.Liqour out, lb/hr\t\t56200\t\t73400\t\t88300\t\t101100\t\t58300\t\t54700\n\t12.Evaporation,lb/hr\t\t17200\t\t14900\t\t12800\t\t11900\t\t13700\t\t17300\n\t13.Total solids, \t\t38.9\t\t29.8\t\t24.7\t\t21.6\t\t18.7\t\t20.0\n\t14.A,ft^2\t\t\t3250\t\t3250\t\t3250\t\t3250\t\t3250\t\t3250\n\t15.UD,Btu/(hr)*(ft^2)*(°F)\t262\t\t295\t\t252\t\t251\t\t221\t\t221\n\t16.UD delT,Btu/(hr)*(ft^2)\t5510\t\t5000\t\t4530t\t\t4770\t\t3980\t\t4650\n");//BPR values from fig 14.36a //Specific-heat data are given in Fig. 14.36b ev(1)=17200; //lb/hr ev(2)=14900; //lb/hr ev(3)=12800; //lb/hr ev(4)=11900; //lb/hr ev(5)=13700; //lb/hr ev(6)=17300; //lb/hr i=1; tev =0; while(i<7) tev = tev+ev(i); i=i+1; end printf("\n\tTotal amount of water evaporated = %.0f lb/hr\n",tev); ttev=tev/6;//lb/hr printf("\tTheoretical amount of steam for a six-effect evaporator = %.0f lb/hr\n",ttev); tev2=tev/(6*0.75); //lb/hr . order of 75 percent of theoretical printf("\tSteam used for trail balance = %.0f lb/hr\n",tev2); lq=(tev/6); lq=lq+(lq*0.15); printf("\tEstimate of the amount of evaporation in the first effect = %.0f lb/hr\n",lq); lout6=54000;//lb/hr lq2=lout6+lq+2200;//lb/hr printf("\tEstimated discharge from second effect = %.0f lb/hr\n",lq2); printf("\n\t\t\t\tHEAT BALANCE\n"); cw = 17750000/(500*(125-15-60)); //gpm, values from table 14.6 printf("\t\tCooling water at 60 °F = %.0f gpm\n",cw); printf("\t--------------------------------------------------------\n"); printf("\tEffect\t\t\tBtu/hr\t\tEvaporation,l/hr\n"); printf("\t--------------------------------------------------------\n"); sf=20000;//lb/hr lqi=73400;//lb/hr lqi2=88300 lt1=259;//°F lt2=232;//°F lt3=206;//°F ev=17200;//lb/hr his=sf*924*0.97;//Btu/hr printf("\t1.a.Heat in steam \t%.2e\n",his); hl=lqi*(lt1-lt2)*0.82;//Btu/hr printf("\t b.Heating liquor \t%.2e\n",hl); hh=his-hl; ev1=(hh)/946;//lb/hr printf("\t c.Evaporation\t\t\t\t%.0f\n",ev1); dif=lqi-ev1; tft=(dif)*(lt1-209)*0.78; printf("\t d.To flash tank\t%.1e",tft); ev2=tft/978;//lb/hr printf("\t\t%.0f\n",ev2); printf("\t e.Flashed vapor=%.0f\n",ev2); p=dif-ev2; printf("\t f.product %.1e\n",p); printf("\n\t2.a.Heat in 1st vapors\t%.3e\n",hh); hl2=lqi2*(lt2-lt3)*0.85; printf("\t b.Heating liqour\t%.2e\n",hl2); ev3=(hh-hl2)/962; printf("\t c.Evaporation=%.0f",ev3); printf("\t\t\t%.0f\n",ev3); lto1=lqi2-ev3; printf("\t d.Liquor to 1b=%.0f\n",lto1); //end
6e4deec3dcf0dadcd9a042784b17e0bd0700d6cc
449d555969bfd7befe906877abab098c6e63a0e8
/3428/CH10/EX5.10.16/Ex5_10_16.sce
4de02cc65161c4afa92f2c9a9c0006053e751623
[]
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
256
sce
Ex5_10_16.sce
//Section-5,Example-3,Page no.-D.19 //To find the rate constant at 600 degree celcius. clc; E_a=50000 R=8.314 T_2=873 T_1=773 k_1=5*10^3 k_2=k_1*10^((E_a/(2.303*R))*((1/T_1)-(1/T_2))) disp(k_2,'Rate constant at 600 degree celcius(sec^-1)')
fde7fbb9add68a6f70c125010e1b6a2cd7986900
08fe4df45181e37cb84ba1610cdfb219b4142434
/macros/XcosParamSet.sci
b3991f59497165d0f0ae3d21107e01633674673b
[]
no_license
gzq763199198/AutoGenHelpToolBox
17c7db64547e0e196806464f47b788d6ae33bf2e
c85275e8a7a1cd2ab3e19db5b283e9d1e9502843
refs/heads/master
2021-02-17T04:02:18.470172
2020-03-05T04:35:44
2020-03-05T04:35:44
245,069,411
0
0
null
null
null
null
UTF-8
Scilab
false
false
6,994
sci
XcosParamSet.sci
function XcosParamSet(SetType,Number) global bOK; global AutoGenHelpToolbox_root; bOK = %f; if (SetType == "Input") then ParamTypeContext = "输入"; elseif (SetType == "Output") then ParamTypeContext = "输出"; elseif (SetType == "Params") then ParamTypeContext = "参数"; end screen_area = get(0, "screensize_px") XcosParamUI_wight = 260; XcosParamUI_high = 280; XcosParamUI_x = (screen_area(3)-XcosParamUI_wight)/2; XcosParamUI_y = (screen_area(4)-XcosParamUI_high)/2; //R = 255;G = 233; B = 220; R = 28;G = 120; B = 135; XcosParamUI = figure("figure_name", "第" + string(Number) + "个" + ParamTypeContext +"属性设置",... "infobar_visible", "off",... "toolbar_visible", "off",... "dockable", "off",... "menubar", "none",... "default_axes", "off", ... "Position",[XcosParamUI_x XcosParamUI_y XcosParamUI_wight XcosParamUI_high],... "resize", "off",... "BackgroundColor", [R/255 G/255 B/255],... "Icon",AutoGenHelpToolbox_root+"images"+filesep()+"Example_images.png",... "immediate_drawing","on",... "Tag", "XcosParamSet",... "visible", "off"); //参数名称标题 ParamName_title = uicontrol(XcosParamUI,"Position", [25 240 80 25], ...//2 "Style", "text",... "FontSize", 18,... "String", "参数名称",... "Verticalalignment","middle",... "ForegroundColor", [255/255 255/255 255/255],... "BackgroundColor", [R/255 G/255 B/255]); //参数名称文本框 ParamName_Context = uicontrol(XcosParamUI, "Position", [105 240 130 25],...//3 "Border",[],... "Style", "edit",... "String", "",... "Callback_Type",10,... "Verticalalignment","top",... "Tag", "ParamNameEdit_Tag"); //数据大小设定 ParamSize_title = uicontrol(XcosParamUI,"Position", [25 210 80 25], ...//2 "Style", "text",... "FontSize", 18,... "String", "数据大小",... "Verticalalignment","middle",... "ForegroundColor", [255/255 255/255 255/255],... "BackgroundColor", [R/255 G/255 B/255]); //数据大小文本框1 ParamSize_Context1 = uicontrol(XcosParamUI, "Position", [105 210 50 25],...//3 "Border",[],... "Style", "edit",... "String", "",... "Callback_Type",10,... "Verticalalignment","top",... "Tag", "ParamSizeEdit1_Tag"); //数据大小乘号 ParamSize_title = uicontrol(XcosParamUI,"Position", [160 210 20 25], ...//2 "Style", "text",... "FontSize", 18,... "String", "×",... "Verticalalignment","middle",... "ForegroundColor", [255/255 255/255 255/255],... "BackgroundColor", [R/255 G/255 B/255]); //数据大小文本框2 ParamSize_Context2 = uicontrol(XcosParamUI, "Position", [185 210 50 25],...//3 "Border",[],... "Style", "edit",... "String", "",... "Callback_Type",10,... "Verticalalignment","top",... "Tag", "ParamSizeEdit2_Tag"); //数据类型设定 ParamType_title = uicontrol(XcosParamUI,"Position", [25 180 80 25], ...//2 "Style", "text",... "FontSize", 18,... "String", "参数类型",... "Verticalalignment","middle",... "ForegroundColor", [255/255 255/255 255/255],... "BackgroundColor", [R/255 G/255 B/255]); //参数类型文本框 ParamType_Context = uicontrol(XcosParamUI, "Position", [105 180 130 25],...//3 "Style", "popupmenu",... "String", "real|complex|double|string|int32|int16|int8|uint32|uint16|uint8",... "Value",1,... "Callback_Type",10,... "Tag", "ParamTypePop_Tag"); //详细描述设定 ParamDetail_title = uicontrol(XcosParamUI,"Position", [25 150 80 25], ...//2 "Style", "text",... "FontSize", 18,... "String", "详细描述",... "Verticalalignment","middle",... "ForegroundColor", [255/255 255/255 255/255],... "BackgroundColor", [R/255 G/255 B/255]); //详细描述文本框 ParamDetail_Context = uicontrol(XcosParamUI, "Position", [105 97 130 75],...//3 "Style", "edit",... "String", "",... "Max",2,... "Value",1,... "Callback_Type",10,... "Verticalalignment","top",... "Tag", "ParamDetailEdit_Tag"); //确定按钮 ok_button = uicontrol(XcosParamUI, "Position", [145 25 80 30], ...//10 "Style", "pushbutton",... "FontSize", 16,... "String", "下一步", ... "Callback_Type",10,... "callback", "XcosParamUIok_action()"); //取消按钮 cancel_button = uicontrol(XcosParamUI, "Position", [40 25 80 30], ...//11 "Style", "pushbutton",... "FontSize", 16,... "String", "取 消", ... "Callback_Type",10,... "callback", "XcosParamUIcancel_action()"); //显示界面 XcosParamUI.visible = "on"; //卡循环等待选择结束 global Stop; Stop = %f; while %t, if XcosParamUI_quit() && Stop then break; end end clearglobal Stop; endfunction //关闭按钮的执行函数 function [re] = XcosParamUI_quit() re = %f; if (findobj("Tag","XcosParamSet") == []) then re = %t; global Stop; Stop = %t; end endfunction // //检查参数函数 function [res] = checkParamFromParamSet() res = %f; HandleName = ["ParamNameEdit_Tag","ParamSizeEdit1_Tag","ParamSizeEdit2_Tag","ParamDetailEdit_Tag"]; WarningMessage = ["参数名称","参数大小维度一","参数大小维度二","参数详细说明"] for i = 1:size(HandleName,2) execstr("handle = findobj(""Tag"","""+HandleName(i)+""");"); if handle.String == "" then messagebox(WarningMessage(i)+"不能为空!", "警告!", "warning"); return; end end res = %t; endfunction //下一步按钮回调函数 function XcosParamUIok_action() res = checkParamFromParamSet(); if (res) then GetValueFromParamSetUI(); global bOK; bOK = %t; handle = findobj("Tag","XcosParamSet"); close(handle); end endfunction //取消按钮回调函数 function XcosParamUIcancel_action() global bOK; global xcosobj; xcosobj = []; bOK = %f; handle = findobj("Tag","XcosParamSet"); close(handle); endfunction //从界面获取填入的数据 function GetValueFromParamSetUI() global xcosobj; typestruct = "xcosobj.ParamsData"; HandleName = ["ParamNameEdit_Tag","ParamSizeEdit1_Tag","ParamSizeEdit2_Tag","ParamDetailEdit_Tag"]; StructName = ["Name","Dim1","Dim2","Details"]; for i = 1:size(HandleName,2) execstr("handle = findobj(""Tag"","""+HandleName(i)+""");"); execstr(typestruct+"."+StructName(i)+"=["+typestruct+"."+StructName(i)+",handle.String];"); end HandleName = ["ParamTypePop_Tag"]; StructName = ["Type"]; for i = 1:size(HandleName,2) execstr("handle = findobj(""Tag"","""+HandleName(i)+""");"); execstr(typestruct+"."+StructName(i)+"=["+typestruct+"."+StructName(i)+",handle.String(handle.Value)];"); end endfunction
4d79cba03086e731e684efeb06c352cce686d457
449d555969bfd7befe906877abab098c6e63a0e8
/1955/CH9/EX9.10/example10.sce
b61c472bcff35dcca03de495739fdb0506263fc6
[]
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,227
sce
example10.sce
clc clear //input data D=1.4//Diameter of the turbine in m N=430//Speed of the turbine in rpm Cr1=9.5//Flow velocity without shock at runner in m/s C2=7//Absolute velocity at the exit without whirl in /s dSPH=62//Difference between the sum of static and potential heads at entrance to runner and at exit from runner in m W=12250//Power given to runner in kW Q=12//Flow rate of water from the turbine in m^3/s H=115//Net head from the turbine in m g=9.81//Acceleration due to gravity in m/s^2 dw=1000//Density of water in kg/m^3 //calculations U1=(3.1415*D*N)/60//Runner tip speed in m/s Cx1=(W*10^3)/(dw*Q*U1)//Absolute inlet velocity in m/s as flow is radial at outlet Cx2=0 in m/s as Cx2=0 as zero whirl at outlet a1=atand(Cr1/Cx1)//Guide vane angle in degree C1=(Cr1^2+Cx1^2)^(1/2)//Inlet velocity in m/s b1=atand(Cr1/(Cx1-U1))//Runner blade entry angle in degree dHr=dSPH+(((C1^2)-(C2^2))/(2*g))-(U1*Cx1/g)//Loss of head in the runner in m //output printf('(a)\n (1)Guide vane angle at inlet is %3.1f degree\n (2)Inlet absolute velocity of water at entry to runner is %3.1f m/s\n(b)Runner blade entry angle is %3.1f degree\n(c)Total Loss of head in the runner is %3.2f m',a1,C1,b1,dHr)
3ab1c6c5802eeff7e57166e5edbc25430c1d351b
449d555969bfd7befe906877abab098c6e63a0e8
/2507/CH12/EX12.5/Ex12_5.sce
02e869346c00ba18f6f4232a6f1cc7147dd66da9
[]
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
492
sce
Ex12_5.sce
clc clear printf("Example 12.5 | Page number 420 \n\n"); //Find the Orsat analysis of the combustion products //Given Data nCO2 = 3.8 //Number of moles of CO2 nN2 = 31.6 //Number of moles of N2 nO2 = 2.2 //Number of moles of O2 //Solution n = nCO2 + nN2 + nO2 xCO2 = nCO2/n //mole fraction of CO2 xN2 = nN2/n //mole fraction of N2 xO2 = nO2/n //mole fraction of O2 printf("xCO2 = %.1f %% \n",xCO2*100) printf("xN2 = %.1f %% \n",xN2*100) printf("xO2 = %.1f %% \n",xO2*100)
7e5ec483a269c7af258328a99bca254099c6556f
449d555969bfd7befe906877abab098c6e63a0e8
/964/CH9/EX9.7/9_7.sce
766c8403139ebbdfd6a234fc6f6a29ed03979101
[]
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
279
sce
9_7.sce
clc; clear; //part a a=[3 2;-1 2]; b1=18; b2=2; disp(determ(a),"The determinant for part(a)=") //part b a=[1 2;1.1 2]; b1=10; b2=10.4; disp(determ(a),"The determinant for part(b)=") //part c a1=a*10; b1=100; b2=104; disp(determ(a1),"The determinant for part(c)=")
786421891fef1346621e17c5d3af113d2f100114
430e7adb489914d378a5b0a27d8d41352fa45f3a
/scilab/example/ボード線図1.sce
652b75b5f5458077f4961f32e7de9f97e944c36f
[]
no_license
ziaddorbuk/Lesson
04906ff94bf8c1f6bbc6971d5692ae011a9b8869
20fe20a6c9c145ef48a35574d885d3952f9ab6ff
refs/heads/master
2021-09-23T11:48:05.958608
2018-04-30T01:54:13
2018-04-30T01:54:13
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
135
sce
ボード線図1.sce
s=%s; G=1/(1+2*s); omg=0:0.01:100; Gj=horner(G,omg*%i); x=real(Gj); y=imag(Gj); plot2d(x,y,axesflag=5,rect=[-0.1,-0.6,1.2,0.1]);
3f5e9ffee53fa19c3a0c25c5c0d3324f5a16c672
931df7de6dffa2b03ac9771d79e06d88c24ab4ff
/Fortnite Close.sce
a68e175af44e9c8bf5c8d21060774730e80933a2
[]
no_license
MBHuman/Scenarios
be1a722825b3b960014b07cda2f12fa4f75c7fc8
1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137
refs/heads/master
2023-01-14T02:10:25.103083
2020-11-21T16:47:14
2020-11-21T16:47:14
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
18,195
sce
Fortnite Close.sce
Name=Fortnite Close PlayerCharacters=Fortnite BotCharacters=Fortnite.bot;Fortnite.bot;Fortnite.bot IsChallenge=false Timelimit=60.0 PlayerProfile= AddedBots= PlayerMaxLives=0 BotMaxLives= PlayerTeam=0 BotTeams= MapName= MapScale=3.8125 BlockProjectilePredictors=true BlockCheats=true InvinciblePlayer=false InvincibleBots=false Timescale=1.0 BlockHealthbars=false TimeRefilledByKill=0.0 ScoreToWin=1000.0 ScorePerDamage=1.0 ScorePerKill=0.0 ScorePerMidairDirect=0.0 ScorePerAnyDirect=0.0 ScorePerTime=0.0 ScoreLossPerDamageTaken=0.0 ScoreLossPerDeath=0.0 ScoreLossPerMidairDirected=0.0 ScoreLossPerAnyDirected=0.0 ScoreMultAccuracy=false ScoreMultDamageEfficiency=false ScoreMultKillEfficiency=false GameTag=Fortnite WeaponHeroTag=Pump shotgun, tactical shotgun, ar, automatic rifle, DifficultyTag=3 AuthorsTag=Bik BlockHitMarkers=false BlockHitSounds=false BlockMissSounds=true BlockFCT=false Description=An attempt at making a fortnite scenario. A work in progress. Use 80 fov. Jump around a lot. GameVersion=1.0.6.1 ScorePerDistance=0.0 [Aim Profile] Name=Medium Skill MinReactionTime=0.3 MaxReactionTime=0.4 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=15.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=40.0 ShootFOV=15.0 VerticalAimOffset=0.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Aim Profile] Name=Default MinReactionTime=0.3 MaxReactionTime=0.4 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=15.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=40.0 ShootFOV=15.0 VerticalAimOffset=0.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Bot Profile] Name=Fortnite DodgeProfileNames=Long Strafes Close;Mimic DodgeProfileWeights=2.0;1.5 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=1.0;0.0;1.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=Medium Skill;Medium Skill;Default;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=false CharacterProfile=Fortnite SeeThroughWalls=false [Character Profile] Name=Fortnite MaxHealth=100.0 WeaponProfileNames=m16;Tac Shotgun;Pump;;;;; MinRespawnDelay=1.0 MaxRespawnDelay=5.0 StepUpHeight=16.0 CrouchHeightModifier=0.5 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=0.0 MovementType=Base MaxSpeed=300.0 MaxCrouchSpeed=133.0 Acceleration=2000.0 AirAcceleration=16000.0 Friction=8.0 BrakingFrictionFactor=2.0 JumpVelocity=550.0 Gravity=1.5 AirControl=0.1 CanCrouch=true CanPogoJump=false CanCrouchInAir=true CanJumpFromCrouch=true EnemyBodyColor=X=255.000 Y=0.000 Z=0.000 EnemyHeadColor=X=255.000 Y=255.000 Z=255.000 TeamBodyColor=X=0.000 Y=0.000 Z=255.000 TeamHeadColor=X=255.000 Y=255.000 Z=255.000 BlockSelfDamage=false InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=false AirJumpCount=0 AirJumpVelocity=270.0 MainBBType=Cylindrical MainBBHeight=75.0 MainBBRadius=15.0 MainBBHasHead=true MainBBHeadRadius=10.0 MainBBHeadOffset=-8.0 MainBBHide=false ProjBBType=Cylindrical ProjBBHeight=65.0 ProjBBRadius=10.0 ProjBBHasHead=true ProjBBHeadRadius=8.0 ProjBBHeadOffset=-8.0 ProjBBHide=true HasJetpack=false JetpackActivationDelay=0.2 JetpackFullFuelTime=4.0 JetpackFuelIncPerSec=1.0 JetpackFuelRegensInAir=false JetpackThrust=6000.0 JetpackMaxZVelocity=400.0 JetpackAirControlWithThrust=0.25 AbilityProfileNames=Run.abilsprint;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=0.9 RespawnInvulnTime=0.0 BlockedSpawnRadius=0.0 BlockSpawnFOV=0.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.5 AllowBufferedJumps=false BounceOffWalls=false LeanAngle=0.0 LeanDisplacement=0.0 AirJumpExtraControl=1.0 ForwardSpeedBias=1.0 HealthRegainedonkill=0.0 HealthRegenPerSec=0.0 HealthRegenDelay=0.0 JumpSpeedPenaltyDuration=0.0 JumpSpeedPenaltyPercent=0.0 ThirdPersonCamera=false TPSArmLength=300.0 TPSOffset=X=0.000 Y=150.000 Z=150.000 BrakingDeceleration=2048.0 VerticalSpawnOffset=0.0 [Dodge Profile] Name=Long Strafes Close MaxTargetDistance=500.0 MinTargetDistance=100.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.5 MaxLRTimeChange=1.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.5 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.1 MaxJumpTime=0.3 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=Mimic MaxTargetDistance=1245.901611 MinTargetDistance=373.770477 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.2 MaxLRTimeChange=0.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.5 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Mimic TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Weapon Profile] Name=m16 Type=Hitscan ShotsPerClick=1 DamagePerShot=5.0 KnockbackFactor=4.0 TimeBetweenShots=0.075 Pierces=false Category=SemiAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=1.0 MagazineMax=0 AmmoPerShot=1 ReloadTimeFromEmpty=0.5 ReloadTimeFromPartial=0.5 DamageFalloffStartDistance=100000.0 DamageFalloffStopDistance=100000.0 DamageAtMaxRange=5.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.1 WallParticleEffect=None HitParticleEffect=None BounceOffWorld=false BounceFactor=0.5 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=true ADSZoomDelay=0.0 ADSZoomSensFactor=0.7 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=4.0 RecoilNegatable=false DecalType=0 DecalSize=30.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=300.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=false AimPunchAmount=0.0 AimPunchResetTime=0.2 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=false MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=0 CancelReloadOnKill=false FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=72.099998 ADSFOVScale=Overwatch ADSAllowUserOverrideFOV=true ForceFirstPersonInADS=true Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=100.0 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=false DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=false DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=0.0 BlockedByWorld=false SpreadSSA=0.02,1.0,-1.0,5.0 SpreadSCA=0.02,1.0,-1.0,5.0 SpreadMSA=0.02,1.0,-1.0,5.0 SpreadMCA=0.02,1.0,-1.0,5.0 SpreadSSH=0.02,1.0,-1.0,5.0 SpreadSCH=0.02,1.0,-1.0,5.0 SpreadMSH=0.02,1.0,-1.0,5.0 SpreadMCH=0.02,1.0,-1.0,5.0 MaxRecoilUp=0.8 MinRecoilUp=0.6 MinRecoilHoriz=0.01 MaxRecoilHoriz=0.02 FirstShotRecoilMult=1.0 RecoilAutoReset=false TimeToRecoilPeak=0.05 TimeToRecoilReset=0.35 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.05 AAMaxSpeed=1.0 AADeadZone=0.0 AAFOV=30.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=false VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.175 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=false PBS0=0.0,0.0 [Weapon Profile] Name=Tac Shotgun Type=Hitscan ShotsPerClick=8 DamagePerShot=10.0 KnockbackFactor=1.0 TimeBetweenShots=0.65 Pierces=false Category=FullyAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=2.0 MagazineMax=0 AmmoPerShot=1 ReloadTimeFromEmpty=1.0 ReloadTimeFromPartial=1.0 DamageFalloffStartDistance=400.0 DamageFalloffStopDistance=1200.0 DamageAtMaxRange=6.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.1 WallParticleEffect=None HitParticleEffect=None BounceOffWorld=false BounceFactor=0.5 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.7 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=0.8 RecoilNegatable=false DecalType=1 DecalSize=3.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=false SpreadStationaryVelocity=300.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=false AimPunchAmount=0.0 AimPunchResetTime=0.2 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=false MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=8 CancelReloadOnKill=true FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=103.0 ADSFOVScale=Clamped Horizontal ADSAllowUserOverrideFOV=false ForceFirstPersonInADS=true Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=100.0 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=false DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=false DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=0.0 BlockedByWorld=false SpreadSSA=0.0,0.1,0.0,0.0 SpreadSCA=0.0,0.1,0.0,0.0 SpreadMSA=0.0,0.1,0.0,0.0 SpreadMCA=0.0,0.1,0.0,0.0 SpreadSSH=0.0,0.1,1.6,2.0 SpreadSCH=0.0,0.1,0.0,0.0 SpreadMSH=0.0,0.1,1.6,2.0 SpreadMCH=0.0,0.1,0.0,0.0 MaxRecoilUp=0.0 MinRecoilUp=0.0 MinRecoilHoriz=0.0 MaxRecoilHoriz=0.0 FirstShotRecoilMult=1.0 RecoilAutoReset=true TimeToRecoilPeak=0.05 TimeToRecoilReset=0.35 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.05 AAMaxSpeed=1.0 AADeadZone=0.0 AAFOV=30.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=false VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.175 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=false PBS0=0.0,0.0 PBS1=1.25,23.0 PBS2=1.8,27.0 PBS3=1.1,360.0 PBS4=2.0,40.0 PBS5=1.6,98.0 PBS6=1.3,270.0 PBS7=1.7,170.0 [Weapon Profile] Name=Pump Type=Hitscan ShotsPerClick=8 DamagePerShot=11.8 KnockbackFactor=1.0 TimeBetweenShots=1.2 Pierces=false Category=FullyAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=2.0 MagazineMax=0 AmmoPerShot=1 ReloadTimeFromEmpty=1.0 ReloadTimeFromPartial=1.0 DamageFalloffStartDistance=400.0 DamageFalloffStopDistance=1200.0 DamageAtMaxRange=9.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.1 WallParticleEffect=None HitParticleEffect=None BounceOffWorld=false BounceFactor=0.5 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.7 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=0.8 RecoilNegatable=false DecalType=1 DecalSize=3.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=false SpreadStationaryVelocity=300.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=false AimPunchAmount=0.0 AimPunchResetTime=0.2 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=false MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=5 CancelReloadOnKill=true FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=103.0 ADSFOVScale=Clamped Horizontal ADSAllowUserOverrideFOV=false ForceFirstPersonInADS=true Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=100.0 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=false DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=false DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=0.0 BlockedByWorld=false SpreadSSA=0.0,0.1,0.0,0.0 SpreadSCA=0.0,0.1,0.0,0.0 SpreadMSA=0.0,0.1,0.0,0.0 SpreadMCA=0.0,0.1,0.0,0.0 SpreadSSH=0.0,0.1,1.2,1.2 SpreadSCH=0.0,0.1,0.0,0.0 SpreadMSH=0.0,0.1,1.2,1.2 SpreadMCH=0.0,0.1,0.0,0.0 MaxRecoilUp=0.0 MinRecoilUp=0.0 MinRecoilHoriz=0.0 MaxRecoilHoriz=0.0 FirstShotRecoilMult=1.0 RecoilAutoReset=true TimeToRecoilPeak=0.05 TimeToRecoilReset=0.35 AAMode=0 AAPreferClosestPlayer=false AAAlpha=1.0 AAMaxSpeed=1.0 AADeadZone=0.0 AAFOV=30.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=false VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.175 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=false PBS0=0.0,0.0 PBS1=1.25,23.0 PBS2=1.8,27.0 PBS3=1.1,360.0 PBS4=2.0,40.0 PBS5=1.6,98.0 PBS6=1.3,270.0 PBS7=1.7,170.0 [Sprint Ability Profile] Name=Run MaxCharges=1.0 ChargeTimer=0.001 ChargesRefundedOnKill=0.0 DelayAfterUse=0.5 FullyAuto=false AbilityDuration=0.0 BlockAttackWhileSprinting=false AbilityBlockedWhenAttacking=true SpeedModifier=1.5 45DegreeSprint=true 90DegreeSprint=true 135DegreeSprint=true 180DegreeSprint=true TapToSprint=false Block45DegreesWhenSprinting=false AIUseInCombat=true AIUseOutOfCombat=false AIUseOnGround=true AIUseInAir=true AIReuseTimer=1.0 AIMinSelfHealth=0.0 AIMaxSelfHealth=100.0 AIMinTargHealth=0.0 AIMaxTargHealth=100.0 AIMinTargDist=0.0 AIMaxTargDist=2000.0 AIMaxTargFOV=15.0 AIDamageReaction=true AIDamageReactionIgnoreChance=0.0 AIDamageReactionMinDelay=0.125 AIDamageReactionMaxDelay=0.25 AIDamageReactionCooldown=1.0 AIDamageReactionThreshold=0.0 AIDamageReactionResetTimer=0.1 [Map Data]
9dffe47aa9ed28eae6b4436ef504311f905ec823
a5e2e29746cbbbfd0c0bd14cc542cd3ba2bf7d3f
/Sem2_Mathe/random nice shit/dgl2.sci
503ddf5e4f70b4a6200e8d8e3f314349d3b76b8c
[]
no_license
DonnyAwesome/UNI
99580eabc0ff200eeecb72d866313b89cd28d0cb
c028434b672ae1962c2074fc249012d68a63db2b
refs/heads/master
2020-04-02T13:05:02.067280
2019-02-14T02:14:06
2019-02-14T02:14:06
154,466,384
0
0
null
2018-10-24T08:33:10
2018-10-24T08:33:10
null
UTF-8
Scilab
false
false
107
sci
dgl2.sci
function zp = dgl2(t, z) zp = [z(2); -sin(z(1))+cos(t)]; endfunction
77daae314a579827fba3841a0295ccb776a345a3
449d555969bfd7befe906877abab098c6e63a0e8
/278/CH10/EX10.5/ex_10_5.sce
0ff0c7c09ef69d630dc83f66b5b7891a2335d979
[]
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
591
sce
ex_10_5.sce
clc //solution //given //ref fig 10.15 b=75//mm//width t=12.5//mm//thickness ft=70//N/mm^2 T=56//N/mm^2 l1=b-t//mm s=12.5//mm //let l2 be length of each parallel fillet for static loading //P=A*ft P=b*t*ft//N//max load P1=0.707*s*l1*ft//N //P2=1.414*s*l2*T=990*l2//N //P=P1+P2 l2=(P-P1)/990//mm printf("the value of length of static weld is,%f mm\n",l2+12.5) //length of parallel fillet for fatique loading ft1=ft/1.5//N/mm^2 T1=T/2.7//N/mm^2 P11=0.707*s*l1*ft1//N //P2=1.414*s*l2*T1=366*l22//N //P=P1+P2 l22=(P-P11)/366//mm printf("the value of length of static weld is,%f mm\n",l22+12.5)
9d1597183bfc14c05137f90de5c002d2126386ac
54fd723dac36be365af923d211b9f3e81ce1169b
/src/test_meta_2_c.tst
1a530ee053655093c249215e729010fbba7faca3
[ "Zlib", "OML", "MIT", "BSD-3-Clause" ]
permissive
Xenland/ciyam
3644e7d257628780a62d9b4c8d0669a0f990aee3
c0b56234eb97b8650051d8f62e4a880c10e81e9e
refs/heads/master
2021-01-18T03:36:35.181092
2013-01-25T06:40:57
2013-01-25T06:40:57
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,345
tst
test_meta_2_c.tst
> storage_init ciyam > perform_fetch Meta Class "" Name,Plural,Id -min System,System,M001C100 User,User,M001C101 > perform_fetch Meta Field "" Name,Id -min Name,M001C100F100 Vendor,M001C100F101 Reference,M001C100F102 Message,M001C100F103 Actions,M001C100F104 User_Id,M001C101F100 Actions,M001C101F101 Active,M001C101F102 Template,M001C101F103 User_Hash,M001C101F104 Password,M001C101F105 Password_Hash,M001C101F106 Class_Id,M001C101F107 Created_On,M001C101F108 Description,M001C101F109 Email,M001C101F110 Email_Failure,M001C101F111 Email_Address,M001C101F112 Hide_Email_Address,M001C101F113 Permissions,M001C101F114 Is_Self_Or_Admin,M001C101F115 Key,M001C101F116 > perform_fetch Meta Enum "" Name,Id -min Day_Type,E100 Customary_Event,E101 Month,E102 Day_Of_Month,E103 Day_Number,E104 Day_Set,E105 Date_Cycle,E106 Day_Of_Week,E107 Occurrence,E108 Orientation,E109 primitive,E000 primitive,E000 > perform_fetch Meta Type "" Name,Id -min bytes,T100 str010,T101 str030,T102 str100,T103 str200,T104 year,T105 duration,T106 filename,T107 0..100,T108 std_date,T109 std_datetime,T111 std_time,T110 std_timestamp,T112 std_numeric,T113 std_percentage,T114 bool,T006 date,T002 datetime,T001 foreign_key,T007 bool,T006 date,T002 datetime,T001 foreign_key,T007 int,T005 numeric,T004 string,T000 time,T003 int,T005 numeric,T004 string,T000 time,T003 >
d1a49ee96d0dd48d9d764508787cb25a0b0d7402
449d555969bfd7befe906877abab098c6e63a0e8
/45/CH3/EX3.14/example_3_14.sce
b4e44dd02ea5f94f3bd0db43fc2cefa95d426ed8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
2,151
sce
example_3_14.sce
//example 3.9 clc; clear; close; c = [1 1 0 0 0 0 0]; //given values a= [1 1 1 1 1 1 1]; b= [1 1 1 1 1 1 1] ; for i=1:7 y1(i)=0 y2(i)=1 y3(i)=0 y4(i)=1 y(i)=0 end for(i=1: 7) // finding the Y values for next clock periods y1(i+1) = bitcmp(c(i),1); y2(i+1) = bitand(a(i),c(i)); end; for i=1: 5 y3(i+2) = bitand(y1(i+1),b(i)); end; for i=1:4 y4(i+3) = bitor(y3(i+2),y2(i+2)); end; for i=1:3 y(i+4) = bitand(y4(i+3),y1(i+3)); end; y11p=1; y22p=1; y33p=1; y44p=1; cp=1; yf1p=1; for i=1:7 // ploting all of them in to graph if y1(i)==1 then for o=1:100 y11(y11p)=1; y11p=y11p+1; end else for o=1:100 y11(y11p)=0; y11p=y11p+1; end end if y2(i)==1 then for o=1:100 y21(y22p)=1; y22p=y22p+1; //z(bp)=3 end else for o=1:100 y21(y22p)=0; y22p=y22p+1; //z(bp)=3 end end if y3(i)==1 then for o=1:100 y31(y33p)=1; y33p=y33p+1; //z(bp)=3 end else for o=1:100 y31(y33p)=0; y33p=y33p+1; //z(bp)=3 end end if y4(i)==1 then for o=1:100 y41(y44p)=1; y44p=y44p+1; //z(bp)=3 end else for o=1:100 y41(y44p)=0; y44p=y44p+1; //z(bp)=3 end end if c(i)==1 then for o=1:100 c1(cp)=1; cp=cp+1; end else for o=1:100 c1(cp)=0; cp=cp+1; end end if y(i)==1 then for o=1:100 yf1(yf1p)=1; yf1p=yf1p+1; end else for o=1:100 yf1(yf1p)=0; yf1p=yf1p+1; end end end z=[2 2]; //ploting the results subplot(6,1,1); title('Timing Diagrm'); plot(c1); plot(z); ylabel('C'); subplot(6,1,2); plot(y11); ylabel('Y1'); plot(z); subplot(6,1,3); plot(y21); ylabel('Y2'); plot(z); subplot(6,1,4); plot(z); ylabel('Y3'); plot(y31); subplot(6,1,5); plot(z); ylabel('Y4'); xlabel('Time in milli seconds'); plot(y41); subplot(6,1,6); plot(z); ylabel('Y'); xlabel('Time in milli seconds'); plot(yf1);
9ec93de328ba848936790db012514f0c20e0d298
449d555969bfd7befe906877abab098c6e63a0e8
/278/CH14/EX14.2/ex_14_2.sce
c65e9872ef03cd7c0152a09f68f18135d3b91682
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
241
sce
ex_14_2.sce
clc //solution //given P=10^6//W N=2400//rpm //Tmax=1.2*Tmean t=60//N/mm^2 //let d be dia of shaft Tmean=(P*60000)/(2*%pi*N)//N-mm Tmax=12.*Tmean //Tmax=(%pi/16)*t*d^3=8.25*d^3 d=(Tmax/11.78)^(1/3)//mm printf("the dia of shaft is,%f mm",d)
835e383fe6019ef22afc985639ae71701c7bc823
449d555969bfd7befe906877abab098c6e63a0e8
/1727/CH5/EX5.7/5_7.sce
b9db0baefefa07d933e645855f0f154310a73c9c
[]
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
374
sce
5_7.sce
clc //Initialization of variables g=9.81 //m/s^2 rho=10^3 //kg/m^3 z1=1.2 //m z2=4 //m d=5 //cm //calculations Va=sqrt(2*g*(z2-z1)) Q=%pi/4 *(d/100)^2 *Va Pc= - z2*rho*g P=25*10^3 //Pa Zab=(101325 - P)/rho/g //results printf("rate of discharge = %.4f m^3/s",Q) printf("\n Pressure at C = %.2f kPa",Pc/1000) printf("\n Max. permissible length = %.2f m",Zab)
e3d1df26324914974d5003547a03c7d5bf284181
449d555969bfd7befe906877abab098c6e63a0e8
/3648/CH5/EX5.12/Ex5_12.sce
57c8f60a699288c9d9285bb8dba394e3576941c9
[]
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
589
sce
Ex5_12.sce
//Example 5_12 clc(); clear; //How far the average velocity and how far beyond B does the car goes m=2000 //units in Kg vb=5 //units in meters/sec va=20 //units in meters/sec hb_ha=8 //units in meters g=9.8 //units in meters/sec^2 sab=100 //units in meters f=-((0.5*m*(vb^2-va^2))+(m*g*(hb_ha)))/sab //units in Newtons printf("Average frictional force is f=%d N\n",f) Sbe=(0.5*m*vb^2)/f //units in meters printf("The distance by which the car goes beyond is Sbe=%.1f meters",Sbe) //In text book answer is printed wrong as f=2180 N but correct answer is f=2182N
367275234788f91949e272f2954aac4ac654b0a6
449d555969bfd7befe906877abab098c6e63a0e8
/1571/CH3/EX3.20/Chapter3_Example20.sce
78858bfa6413d29b5bec173319f6049d670894fc
[]
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
410
sce
Chapter3_Example20.sce
clc clear //INPUT t1=0;//temperature of water in deg.C t2=0;//temperature of ice in deg.C J=4.18*10^7;//the joules thomson coefficent in erg/cal l=80;//latent heat og fusion kj/kg g=981;//accelaration due to gravity in cm/sec^2 //CALCULATIONS h=l*J/(15*g);//height from which ice has fallen //1/15 ice has been melted //OUTPUT mprintf('the height from which ice has fallen is %3.2f cm',h)
2d82fdb6e725f25ad1666a5cd3ce36b7ac11f007
449d555969bfd7befe906877abab098c6e63a0e8
/1913/CH2/EX2.6/ex6.sce
c7dff53c07fe8665ad81ff8e516741d33397962f
[]
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,055
sce
ex6.sce
clc clear //Input data Q1=50;//Heat developed in the 1-2 process in kJ/kg U1=20;//Change in energy in the 1-2 process in kJ/kg Q2=-30;//Heat developed in the 2-3 process in kJ/kg W2=-40;//Work done in the 2-3 process in kj/kg U3=-30;//Change in energy in the 3-1 process in kJ/kg Wt=30;//Net work done per kg of fluid in kJ/kg m=0.1;//Mass of fluid in the cycle in kg N=10;//Number of cycles per sec in cycles/sec //Calculations W1=Q1-U1;//Work done in the 1-2 process in kJ/kg U2=Q2-W2;//Change in energy in the 2-3 process in kJ/kg W3=Wt-W1-W2;//Work done in the 3-1 process in kJ/kg Q3=W3+U3;//Heat developed in the process in kJ/kg m1=m*N;//mass flow rate per sec in kg/sec P=Wt*m1;//Rate of power in kW //Output printf('(a)Work done in the 1-2 process W =%3.0f kJ/kg \n (b)Change in energy in the 2-3 process U = %3.0f kJ/kg \n (c)Work done in the 3-1 process W = %3.0f kJ/kg \n (d)Heat developed in the process Q = %3.0f kJ/kg \n (e)mass flow rate per sec m = %3.0f kg/sec \n (f)Rate of power P = %3.0f kW',W1,U2,W3,Q3,m1,P)
58ece45fceb5c97cc77d4cb6af1614b38827700d
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/tests/examples/poly.man.tst
4d41cb2ca95e53fe6ec054f46d2b949028c921d7
[ "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
67
tst
poly.man.tst
clear;lines(0); s=poly(0,"s");p=1+s+2*s^2; A=rand(2,2);poly(A,"x")
877444070ecbcf6728cbe833220b68811124a020
449d555969bfd7befe906877abab098c6e63a0e8
/2921/CH16/EX16.5/Ex16_5.sce
b00b8e7ea57b162dcd0bbc083241dad5b2b5e929
[]
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
537
sce
Ex16_5.sce
clc; clear; mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-16.5 Page No.365\n'); W=3500; V=73; g=32.2; V=50*5280/3600; V=round(V); //Kinetic energy to be absorbed KE=W*V^2/(2*g); mprintf('\n Kinetic energy to be absorbed = %f ft-lb.',KE); //Temperature rise Uf=KE; Wb=40; c=93; deltaT=Uf/(Wb*c); mprintf('\n Temperature rise = %f deg.',deltaT); //Stopping time a=20; t=V/a; mprintf('\n Stopping time = %f sec.',t); //Frictional power t=round(t*10)/10; fhp=Uf/(550*t); mprintf('\n Frictional power = %f hp.',fhp)
d4bc7c927702d3cad87d32e568223f72eb4a2fcc
449d555969bfd7befe906877abab098c6e63a0e8
/2660/CH4/EX4.12/Ex4_12.sce
bdc010ce0521593fb5b83ab628768b1c14212e43
[]
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
232
sce
Ex4_12.sce
clc // from figure 4.5 v = 60 // cutting speed m/min. f = 0.375 // feed in mm/rev D = 38 // mm N = (1000*60)/(%pi*D) // rev/min l = 32 // mm Tm = l/(f*N) // min printf("\n Time to turn external relief = %0.2f min." , Tm )
2449ba277102f412a0d776438c458b6067a40451
449d555969bfd7befe906877abab098c6e63a0e8
/2741/CH10/EX10.61/ExampleA61.sce
1a084ac72ad6a29a58023eb83d8326f45fca3824
[]
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
548
sce
ExampleA61.sce
clc clear //Page number 502 //Input data x1=20;//The initial thickness of the layer in cm x2=30;//The final thickness of the layer in cm t1=-15;//The temperature of the surroundings in degree centigrade L=80;//The latent heat of ice in cal/gram d=0.9;//The given density of ice in g/cm^3 K=0.005;//The coefficient of thermal conductivity in C.G.S units //Calculations t=((d*L)/(2*K*t1))*(x1^2-x2^2);//The time taken in sec //Output printf('The time taken for a layer of ice to increase the thickness is %3.2g sec ',t)
59accd6e407f756a6146b4071f7c0b48c0d06a93
449d555969bfd7befe906877abab098c6e63a0e8
/1319/CH4/EX4.3/4_3.sce
57cdf0b3f927cb565151f4c4ea84c9e13f8ae6c6
[]
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
727
sce
4_3.sce
// Reading on ammeters when their shunts are interchanged clc; clear; I=10; Ra=1000; Rsa=0.02; Rb=1500; Rsb=0.01; deff('x=cur(y,z)','x=I*z/y') Ia1=cur(Ra,Rsa); // Initial Current in meter A Ia2=cur(Ra,Rsb); // Changed Current in meter A Ib1=cur(Rb,Rsb); // Initial Current in meter B Ib2=cur(Rb,Rsa); // Changed Current in meter B //Factor by which the current readings change in the two ammeters A=Ia2/Ia1; // Ammeter A B=Ib2/Ib1; // Ammeter A printf('The initial current in ammeter A and ammeter B are %g A and %g A respectively. \n \n',I,I) printf('The current in ammeter A and ammeter B when the shunt resistances are interchanged are %g A and %g A respectively. \n \n',I*A,I*B)
98f80378a03018e469e06f09b7614216465701c4
449d555969bfd7befe906877abab098c6e63a0e8
/1301/CH17/EX17.3/ex17_3.sce
e1523c2d1c2f23b4afeb471db73e18e464304cf4
[]
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
272
sce
ex17_3.sce
clc; p=24; //in inch f=16; //inch q=(p*f)/(p-f); //calculating image distance disp(q,"Distance of image in inch = "); //displaying result h=3; //inch hd=(-h*q)/p; //calculating diameter disp(hd,"Diameter in inch = "); //displaying result
b7b41b0336a41ebc57d86abaecbab2d41f766c19
6f93c26af9664a4531dba8754a6166713ca83d91
/homework12/TestPriorityWorklist.tst
24eea51c7a8a04557900fee0b49254e05ff1b857
[]
no_license
terryd300/Data-Structures
b2d4cff3a86576942c1234856a4c456d97315623
fe91b086b38f2ed6a7915cf160ba01dd2c340b9f
refs/heads/main
2023-07-18T01:35:26.980071
2021-08-31T16:53:14
2021-08-31T16:53:14
401,778,521
0
0
null
null
null
null
UTF-8
Scilab
false
false
60
tst
TestPriorityWorklist.tst
1382433383="7" 1644830301="5" 1948198176="3" 1837984610="1"
07b813c11e49e170f871850fee25d306cc6cb676
449d555969bfd7befe906877abab098c6e63a0e8
/1133/CH8/EX8.31/Example8_31.sce
b3bd8a5a32bb8315dc0260599cc5b10cd40f2f27
[]
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
842
sce
Example8_31.sce
//Example 8.31 clc disp("The fig. 8.63 shows the cascaded connection of 4-bit binary counters. Let us see the circuit operation. The counter IC1 operates as a counter for countion in the UP direction since CLEAR = LOAD = 1. When the count reaches the maximum value (1111) its RC (Ripple Carry Output) goes HIGH which makes P and T (Enable) inputs of IC2 HIGH for one clock cycle advancing its output by 1 and making Q outputs of IC1, 0 at the next clock cycle. After this clock cycle P = T = 0 for IC2 and IC1 will go on counting the pulses. When the outputs of IC1 and IC2 both reach the maximum count, RC outputs of both of these ICs will go HIGH. This will make P = T of IC3 HIGH and therefore, in the next clock cycle IC3 count will be incremented and simultaneously IC1 and IC2 will be cleared. This way the counting will continue.")
2c20b2ddc8a7ba6480b848d873b7ff1acf314929
449d555969bfd7befe906877abab098c6e63a0e8
/1523/CH7/EX7.19/ex7_19.sce
584719d1f2f5e38f5643f603c9bf319010db3cc9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
673
sce
ex7_19.sce
//Graph Theory : example 7.15 :(pg 7.34 & 7.35) Q=[1 -1 0 0;0 -1 1 1]; printf("\nQ="); disp(Q); printf("\nThe KCL equation in matrix form is given by"); printf("\nQ.Yb.(Q^T).Vl=Q.Is-Q.Yb.Vs"); printf("\nQ.Yb.(Q^T).Vl=Q.Is");//Vs=0 Yb=diag([5,5,5,10]); Is=[-10;0;0;0]; printf("\nYb="); disp(Yb); printf("\n(Q^T)="); disp(Q'); printf("\nIs="); disp(Is);//current entering into nodes is taken as negative x=(Q*Yb); printf("\nQ.Yb="); disp(x); y=(x*Q'); printf("\nQ.Yb.(Q^T)="); disp(y); z=(Q*Is); printf("\nQ.Is="); disp(z); printf("\nLoad voltages:"); M=[10 5;5 20]; P=inv(M); N=[-10;0]; X=(P*N); disp(X); printf("\nvl1=-1.14 V \nvl2=0.28 V");
993814f7f28801f531be924a90d4d26f807ee6c6
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH1/EX1.4/Ex1_4.sce
37b968e759f76133949d36e16c18de782bd2883b
[]
no_license
hohiroki/Scilab_TBC
cb11e171e47a6cf15dad6594726c14443b23d512
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
refs/heads/master
2021-01-18T02:07:29.200029
2016-04-29T07:01:39
2016-04-29T07:01:39
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
149
sce
Ex1_4.sce
errcatch(-1,"stop");mode(2);//Exa:1.4 ; ; ang_d=215;//given ang_r=ang_d*%pi/180; printf("%f degree angle is %f radians",ang_d,ang_r); exit();
d7ebb85817b2c2fffc22f5d26ca4ae9156e4f10c
449d555969bfd7befe906877abab098c6e63a0e8
/1709/CH12/EX12.7/12_7.sce
f4c8e7546f0b326b68839b28cc7abe2e3b48045a
[]
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
420
sce
12_7.sce
clc //Initialization of variables g=1.4 r1=10 r2=12 r3=15 Tl=530 //R Th=1960 //R //calculations eta1=1- (r1)^(1-g) eta2=1- (r2)^(1-g) eta3=1- (r3)^(1-g) etac=1-Tl/Th //results printf("Efficiency in case 1 = %.1f percent",eta1*100) printf("\n Efficiency in case 2 = %.1f percent",eta2*100) printf("\n Efficiency in case 3 = %.1f percent",eta3*100) printf("\n Carnot efficiency = %.2f percent",etac*100)
19291d9324aa8373df8f17d68b4df042c5affc74
449d555969bfd7befe906877abab098c6e63a0e8
/3269/CH2/EX2.16/Ex2_16.sce
f81a5e5141189d46365d0c8b48ae0787762f6893
[]
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,020
sce
Ex2_16.sce
// Example 2.16 clear all; clc; // Given data rho_UO2 = 10.5; // Density of UO2 pellets in gram/cm^3 nr = 0.3; // Enrichment(w/o) of Uranium-235 // From standard data table M_U235 = 235.0439; // Atomic weight of Uranium-235 M_U238 = 238.0508; // Atomic weight of Uranium-238 M_O = 15.999; // Atomic weight of Oxygen NA = 0.6022*10^24; // Avogodro number M = 1/((nr/M_U235)+((1-nr)/M_U238)); M_UO2 = M+(2*M_O); // Molecular weight of UO2 nr_U = M/M_UO2*100; // The percent(w/o) of Uranium in UO2 pellet rho_U = nr_U*rho_UO2/100 // Density of Uranium in g/cm^3 rho_U235 = nr*rho_U // Density of Uranium-235 in g/cm^3 // Calculation N_U235=rho_U235*NA/M_U235; // Result printf("Atom density of Uranium-235 = %5.2E atoms/cm^3 \n",N_U235);
2968957bd913a4d395e9a618c03aba70d5ffa15e
fcd4bce0080771389b4a69338ed6443153942183
/cores/n64/mupen64plus-rsp-paraLLEl/lightning/check/ldstr-c.tst
6ddc86e1558e1d7aca82aa45c30ef3b1c70daa85
[ "MIT", "LGPL-2.1-only", "MPL-1.1", "LicenseRef-scancode-mame", "GPL-1.0-or-later", "Zlib", "GPL-2.0-only", "LGPL-2.1-or-later", "MPL-2.0", "CC-PDDC", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-brian-gladman-3-clause", "BSD-3-Clause"...
permissive
wulfebw/retro
d4fcf9229b257b3c495f54b1aeb3ea36004ae4aa
dad4b509e99e729e39a2f27e9ee4120e3b607f58
refs/heads/master
2022-10-23T07:17:55.320585
2020-06-12T01:38:06
2020-06-12T01:38:06
260,832,205
8
1
MIT
2020-06-12T01:38:08
2020-05-03T05:06:17
C
UTF-8
Scilab
false
false
3,064
tst
ldstr-c.tst
#include "ldst.inc" #if __WORDSIZE == 64 # define LDSTL(N, R0, R1) \ movi %R0 $(t0 + $offui) \ str_i %R0 %R1 \ movi %R0 $(t0 + $offl) \ movi %R1 L##N \ str_l %R0 %R1 # define SI(C, N, x, X, R0) \ movi %R0 $(t0 + $off##x) \ ldr_##x %R0 %R0 \ beqi L##x##C %R0 L##X##N \ calli @abort \ L##x##C: # define LDRL(C, N, R0, R1) \ UI(C, N, i, I, R0) \ SI(C, N, l, L, R0) #else # define LDSTL(C, R0, R1) # define SI(C, N, x, X, R0) \ movi %R0 $(t0 + $off##x) \ ldr_##x %R0 %R0 \ beqi L##x##C %R0 I##X##N \ calli @abort \ L##x##C: # define LDRL(C, N, R0, R1) #endif #define UI(C, N, x, X, R0) \ movi %R0 $(t0 + $offu##x) \ ldr_u##x %R0 %R0 \ beqi Lu##x##C %R0 X##N \ calli @abort \ Lu##x##C: #define LDST1(X, N, R0, R1) \ movi %R0 $(t0 + $offc) \ movi %R1 C##N \ str_c %R0 %R1 \ movi %R0 $(t0 + $offuc) \ str_c %R0 %R1 \ movi %R0 $(t0 + $offs) \ movi %R1 S##N \ str_s %R0 %R1 \ movi %R0 $(t0 + $offus) \ str_s %R0 %R1 \ movi %R0 $(t0 + $offi) \ movi %R1 I##N \ str_i %R0 %R1 \ LDSTL(N, R0, R1) \ movi %R0 $(t0 + $offf) \ SI(X, N, c, C, R0) \ UI(X, N, c, C, R0) \ SI(X, N, s, S, R0) \ UI(X, N, s, S, R0) \ SI(X, N, i, I, R0) \ LDRL(X, N, R0, R1) \ #define LDST0(R0, R1) \ LDST1(0_##R0##_##R1, 0, R0, R1) \ LDST1(1_##R0##_##R1, 1, R0, R1) \ LDST1(2_##R0##_##R1, 2, R0, R1) \ LDST1(3_##R0##_##R1, 3, R0, R1) #define LDST(V0, V1, V2, R0, R1, R2) \ LDST0(V0, V1) \ LDST0(V0, V2) \ LDST0(V0, R0) \ LDST0(V0, R1) \ LDST0(V0, R2) \ LDST0(V1, V0) \ LDST0(V1, V2) \ LDST0(V1, R0) \ LDST0(V1, R1) \ LDST0(V1, R2) \ LDST0(V2, R0) \ LDST0(V2, R1) \ LDST0(V2, R2) .code prolog /* Simple test to simplify validating encodings before * brute force tests */ movi %r0 $(t0 + $offc) movi %r1 0x81 str_c %r0 %r1 movi %r0 $(t0 + $offuc) str_c %r0 %r1 movi %r0 $(t0 + $offs) movi %r1 0x8001 str_s %r0 %r1 movi %r0 $(t0 + $offus) str_s %r0 %r1 movi %r0 $(t0 + $offi) movi %r1 0x80000001 str_i %r0 %r1 #if __WORDSIZE == 64 movi %r0 $(t0 + $offui) str_i %r0 %r1 movi %r0 $(t0 + $offl) movi %r1 0x8000000000000001 str_l %r0 %r1 #endif movi %r0 $(t0 + $offc) ldr_c %r0 %r0 beqi Lc %r0 XC calli @abort Lc: movi %r0 $(t0 + $offuc) ldr_uc %r0 %r0 beqi Luc %r0 0x81 calli @abort Luc: movi %r0 $(t0 + $offs) ldr_s %r0 %r0 beqi Ls %r0 XS calli @abort Ls: movi %r0 $(t0 + $offus) ldr_us %r0 %r0 beqi Lus %r0 0x8001 calli @abort Lus: movi %r0 $(t0 + $offi) ldr_i %r0 %r0 beqi Li %r0 XI calli @abort Li: #if __WORDSIZE == 64 movi %r0 $(t0 + $offui) ldr_ui %r0 %r0 beqi Lui %r0 0x80000001 calli @abort Lui: movi %r0 $(t0 + $offl) ldr_l %r0 %r0 beqi Ll %r0 0x8000000000000001 calli @abort Ll: #endif LDST(v0, v1, v2, r0, r1, r2) // just to know did not abort prepare pushargi ok ellipsis finishi @printf ret epilog
c0cec3cc564072b7fd0e01f66cef15c8862016d7
449d555969bfd7befe906877abab098c6e63a0e8
/2219/CH2/EX2.14/Ex2_14.sce
6f9e3d64d55877dd98c8995288c0d67176e8ecf8
[]
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
802
sce
Ex2_14.sce
// chapter 2 example 14 //------------------------------------------------------------------------------ clc; clear; // given data f = 1000; // frequency in Hz sigma = 5*10^7; // conductivity in mho/m er = 1; // relative permitivity eo = 8.85*10^-12; // permitivity //J = 10^8sin(wt-444z)ax A/m^2 // Calculations w = 2*%pi*f // J = σE // E = 10^8sin(wt-444z)ax/sigma // E = 0.2sin(6280t-444z)ax // D = eoerE // D = 8.85*10^-12*0.2sin(6280t-444z)ax // ∂D/∂t = 1.77*10^-12*6280cos(6280t - 444z)ax A = 1.77*10^-12*6280 mprintf('Amplitude of displacement current density = %3.2e A/m^2',A); mprintf('\n Note: calculation mistake in textbook'); //------------------------------------------------------------------------------
b636614f1f4d5da355630e31012f6ace3bdccaae
449d555969bfd7befe906877abab098c6e63a0e8
/3872/CH8/EX8.3/EX8_3.sce
89a919222ac0b6dc3d86858df13d4452619f7f8c
[]
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,440
sce
EX8_3.sce
//Book - Power System: Analysis & Design 5th Edition //Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye //Chapter - 8 ; Example 8.3 //Scilab Version - 6.0.0 ; OS - Windows clc; clear; Ip = [10; 0; 10*(cos(120*%pi/180)+%i*sin(120*%pi/180))];; //given column vector of phase current in A function [Ip1]=phaseshift(x1,x2) //Function for shifting the phase [r theta]=polar(x1); Ip1=r*(cos(theta+x2*%pi/180)+%i*sin(theta+x2*%pi/180)); endfunction I0 = (Ip(1,1)+Ip(2,1)+Ip(3,1))/3; //zero sequence current in A I1 = 1*(Ip(1,1)+(Ip(2,1)+phaseshift(Ip(3,1),240)))/3; //positive sequence current in A I2 = (Ip(1,1)+Ip(2,1)+phaseshift(Ip(3,1),120))/3; //negative sequence current in A In = (Ip(1,1)+Ip(2,1)+Ip(3,1)); //neutral current in A printf('\nThe magnitude of zero sequence current I0 in Ampere is %0.3f and its angle is %0.3f degree',abs(I0), atand(imag(I0), real(I0))); printf('\nThe magnitude of positive sequence current in Ampere is %0.3f and its angle is %0.3f degree ',abs(I1), atand(imag(I1), real(I1))); printf('\nThe magnitude of negative sequence current in Ampere is %0.3f and its angle is %0.3f degree',abs(I2), atand(imag(I2), real(I2))); printf('\nThe magnitude of neutral current in Ampere is %0.3f and its angle is %0.3f degree',abs(In), atand(imag(In), real(In)));
081c741c37742e5fb0382b8a464ee7fb3141b498
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.3/Unix-Windows/scilab-2.3/macros/scicos/cos2txt.sci
db362e864910ec16dd00d13407befd203b2226d7
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain", "MIT" ]
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
998
sci
cos2txt.sci
function t=cos2txt(scs_m,count) //Generate a vector of strings containing scilab instructions whose evaluation //returns the value of scicos data structure scs_m. [lhs,rhs]=argn(0) if rhs<2 then count=0, lname='scs_m' else count=count+1 lname='scs_m_'+string(count) end bl=' ' lmax=80-3*count t=lname+'=list()' t1=sci2exp(scs_m(1),lmax); t=[t;lname+'(1)='+t1(1);t1(2:$)] for k=2:size(scs_m) o=scs_m(k) if o(1)=='Block' then model=o(3) if model(1)=='super'| model(1)=='csuper' then t1=cos2txt(o,count) t=[t;bl(ones(t1))+t1;lname+'('+string(k)+')='+'scs_m_'+string(count+1)] else lhs=lname+'('+string(k)+')=' t1=sci2exp(o,lmax-length(lhs)) bl1=' ';bl1=part(bl1,1:length(lhs)) n1=size(t1,1) t=[t;lhs+t1(1);bl1(ones(n1-1,1))+t1(2:$)] end else lhs=lname+'('+string(k)+')=' t1=sci2exp(o,lmax-length(lhs)) bl1=' ';bl1=part(bl1,1:length(lhs)) n1=size(t1,1) t=[t;lhs+t1(1);bl1(ones(n1-1,1))+t1(2:$)] end end
1fd14f20f3a7f72902667842198a6985610848d2
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/1.1/Unix/scilab-1.1/macros/signal/find_fre.sci
2ab83cbf0490f500c33ffbef182a3214e2577a11
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference" ]
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
1,264
sci
find_fre.sci
function [m]=find_freq(epsilon,A,n) //Search for m such that n=K(1-m1)K(m)/(K(m1)K(1-m)) //with m1=(epsilon*epsilon)/(A*A-1); //If m = omegar^2/omegac^2,the parameters //epsilon,A,omegac,omegar and n are then //compatible for defining a prototype elliptic filter. // epsilon :Passband ripple // A :Stopband attenuation // n :filter order // m :Frequency needed for construction of // :elliptic filter // //! //Author F.D. m1=(epsilon*epsilon)/(A*A-1); chi1=%K(1-m1)/%K(m1); m=findm(chi1/n); function [m]=findm(chi) //Search for m such that chi = %k(1-m)/%k(m) //! //Author F.D. if chi < 1 then, t=1; tn=2; m=0.9999999; mn=2; v=16*exp(-%pi/chi); while abs(t-tn) > %eps, t=tn; lln=log(16/(1-m)); k1=%asn(1,1-m); k=%asn(1,m); y=(k1*lln/%pi)-k; mn=m; m=1-v*exp((-%pi*y)/k1); tn=m+mn; end, else, t=1; tn=2; m=0.000001; mn=0.1; v=16*exp(-%pi*chi); while abs(t-tn) > %eps, t=tn; lln=log(16/m); k1=%asn(1,1-m); k=%asn(1,m); y=(k*lln/%pi)-k1; mn=m; m=v*exp((-%pi*y)/k); tn=m+mn; end, end
226efe7fe624ee166156c063101cbb8c4125cc7f
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.4/macros/percent/%b_i_spb.sci
2c717da9078322e9277e3c0a72ad4b8e208fa029
[ "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
368
sci
%b_i_spb.sci
function a=%b_i_spb(i,j,b,a) // %spis(i,j,b,a) insert full matrix b into sparse matrix a for some special cases // a(i,j)=b //! // Copyright INRIA [lhs,rhs]=argn(0) if rhs==3 then a=b; b=j; [m,n]=size(a) a=a(:) a(i)=b end [ij,v]=spget(a) if ij==[] then a=sparse([],[],[m,n]) else j=int((ij(:,1)-1)/m)+1 i=ij(:,1)-m*(j-1) a=sparse([i j],v,[m,n]) end
4364b9b8b5973e7c85bb71bd329bdae761f7e4a0
449d555969bfd7befe906877abab098c6e63a0e8
/1871/CH1/EX1.13/Ch01Ex13.sce
6789b9cd5b8a40dc5403642b0b94bf0c0bf658fb
[]
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
579
sce
Ch01Ex13.sce
// Scilab code Ex1.13: Pg:37 (2008) clc;clear; Lambda = 1e-010; // Wavelength of X-rays, m c = 3e+08; // Velocity of light, m/s h = 6.625e-034; // Planck's constant, joule-sec e = 1.6e-019; // Charge of electron, coulomb E = h*c/Lambda; // Energy of X-rays, cycles/sec // Since h*c/Lambda = e*V, solving for V V = E/e; // voltage applied to an X-ray tube, volts printf("\nThe minimum voltage applied to an X-ray tube to produce X-rays = %5.2e volt", V); // Result // The minimum voltage applied to an X-ray tube to produce X-rays = 1.24e+004 volt
373d674546495b09f448b699f2df8685779be91d
449d555969bfd7befe906877abab098c6e63a0e8
/3556/CH9/EX9.7/Ex9_7.sce
8dc1f0c8aec64178b956233a5c71081cd45780c0
[]
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
615
sce
Ex9_7.sce
clc // Fundamental of Electric Circuit // Charles K. Alexander and Matthew N.O Sadiku // Mc Graw Hill of New York // 5th Edition // Part 2 : AC Circuits // Chapter 9 : Sinusoids and Phasors // Example 9 - 7 clear; clc; close; // // Given data V = complex(50*cosd(75.0000),50*sind(75.0000)); Z = complex(4.0000,-10.0000); // // Calculations I I = V/Z; I_mag = norm(I); I_angle = atand(imag(I),real(I)); // disp("Example 9-7 Solution : "); printf(" \n I_mag = Magnitude of I = %.3f A",I_mag) printf(" \n I_angle = Angle of I = %.3f degree",I_angle)
5f908ef640aac2fdbec992b92b7d97659e0e7844
449d555969bfd7befe906877abab098c6e63a0e8
/1955/CH2/EX2.6/example6.sce
51afd371eae747815b1912a546ca09f5812f39be
[]
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
696
sce
example6.sce
clc clear //input data t=25//The camber angle of aero foil blades in degree ps=30//The blade stagger angle in degree sc=1//The pitch-chord ratio of the blades in=5//The nominal value of incidence in degree //calculations a1=ps+(t/2)//The cascade blade angle at inlet in degree a2=a1-t//The cascade blade angle at outlet in degree a1n=in+a1//The nominal entry air angle in degree a2n=atand((tand(a1n))-(1.55/(1.0+(1.5*sc))))//The nominal exit air angle in degree //output printf('(1)The cascade blade angles at \n (a)inlet is %3.1f degree\n (b)exit is %3.1f degree\n(2)The nominal air angles at \n (a)inlet is %3.1f degree\n (b)exit is %3.2f degree',a1,a2,a1n,a2n)