blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
214
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
6
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
21 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
141k
586M
star_events_count
int64
0
30.4k
fork_events_count
int64
0
9.67k
gha_license_id
stringclasses
8 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
50 values
src_encoding
stringclasses
23 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
5
10.4M
extension
stringclasses
29 values
filename
stringlengths
2
96
content
stringlengths
5
10.4M
df0d66240a31b86d0bf26b97f1f587c37f34cd83
449d555969bfd7befe906877abab098c6e63a0e8
/1859/CH10/EX10.1/exa_10_1.sce
d280efbd76e297c6eb1a3482ac4c1100699a75ea
[]
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
895
sce
exa_10_1.sce
// Exa 10.1 clc; clear; close; // Given data FullScale= 25;// in volt VR= 5;// voltmeter reading in volt Error= -0.25;// in volt Error_Reading= Error/VR*100;// % of reading disp(Error_Reading,"Error percentage of reading"); Error_FullScale= Error/FullScale*100;// % of full scale disp(Error_FullScale,"Error percentage of full scale") VR= 10;// voltmeter reading in volt Error= 0.25;// in volt Error_Reading= Error/VR*100;// % of reading disp(Error_Reading,"Error percentage of reading"); Error_FullScale= Error/FullScale*100;// % of full scale disp(Error_FullScale,"Error percentage of full scale") VR= 20;// voltmeter reading in volt Error= -0.4;// in volt Error_Reading= Error/VR*100;// % of reading disp(Error_Reading,"Error percentage of reading"); Error_FullScale= Error/FullScale*100;// % of full scale disp(Error_FullScale,"Error percentage of full scale")
edfaa8b36f5f7f0729b875afe163219b02808688
449d555969bfd7befe906877abab098c6e63a0e8
/3871/CH5/EX5.26/Ex5_26.sce
7674d177102fa8a45940ce73489406b2e432a8c6
[]
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
801
sce
Ex5_26.sce
//============================================================= //Chapter 5 example 26 clc; clear all; //variable declaration Vmax = 100; //maximum value of applied voltage in V R = 2; //resistance in Ω //calculations Imax = Vmax/R; //maximum value of current flowing through instruments in A mprintf("x = (Imax^2)*((sin(theta))^2)"); //Irms = sqrt((1/2*%pi)*{(integral(x*dtheta))}(0-%pi)) Irms = sqrt(((Imax^2)/(2*%pi))*((%pi/2))); mprintf("\n y = (Imax*sin(theta))"); //Iav = sqrt((1/2*%pi)*{(integral(y*dtheta))}(0-%pi) Iav = Imax/%pi; //result mprintf("\nthe hot-wire ammeter reads rms value = %3.2f A",Irms); mprintf("\nmoving coil ammeter reads average value = %3.2f A",Iav);
264dec0df2dbc1e06f535938ef0ef283a8710a60
449d555969bfd7befe906877abab098c6e63a0e8
/2594/CH2/EX2.24/Ex2_24.sce
326ab1bea60d9f3197e97af4ae8e7ec9d9a72496
[]
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
651
sce
Ex2_24.sce
clc Na=1*10^16 disp("Na = "+string(Na)+" cm^-3")//initializing the value of acceptor concentration. Ea_Ev=0.045 disp("Ea_Ev = "+string(Ea_Ev))//initializing the value of boron acceptor ionization energy. Nv=(1.04*10^19) disp("Nv = "+string(Nv)+" cm^-3")//initializing the value of effective density of state for valence band. Vt=(0.0259) disp("Vt = "+string(Vt)+" eV")//initializing the value of thermal voltage. p=(1+((Nv/(4*Na))*exp(-(Ea_Ev)/Vt)))^(-1) disp("Fraction of holes that are still in the acceptor state,(pa/(pa+p))=(1+((Nv/4*Na)*exp(-(Ea-Ev)/Vt)))^(-1)= "+string(p))//calculation //this is solved problem 2.11 of chapter 2.
8c60cff42f0d0d245dc9aa4b1b14859650e80f74
4ddecb33bb97e05b2d438a7a8cf0d366be25d69e
/Proyecto METODOS NUMERICOS/Minimos cuadrados lineal.sce
026ec6dcadd5554c8dc9abfd090b028466087c55
[]
no_license
Neydor/Numerical-Analysis
e5878521e732085b3b717b7ad2065ceb058a0adc
19e175dbbbf09defc9b0b8104ad6f75d693650d7
refs/heads/master
2021-03-24T23:37:33.116915
2020-03-15T23:55:02
2020-03-15T23:55:02
247,572,201
0
0
null
null
null
null
UTF-8
Scilab
false
false
8,460
sce
Minimos cuadrados lineal.sce
// This GUI file is generated by guibuilder version 4.2.1 ////////// f=figure('figure_position',[-8,-8],'figure_size',[1552,840],'auto_resize','on','background',[-2],'figure_name','INTERPOLACION DE LAGRANGE','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','visible','off'); ////////// handles.dummy = 0; handles.titulo=uicontrol(f,'unit','normalized','BackgroundColor',[1,1,1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[22],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0,0.912439,0.999349,0.0948509],'Relief','raised','SliderStep',[0.01,0.1],'String','APROXIMACION DISCRETA DE MINIMOS CUADRADOS','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','titulo','Callback','') handles.parteIngresos=uicontrol(f,'unit','normalized','BackgroundColor',[1,1,1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','pixels','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0013021,0.0177473,0.2527083,0.8710027],'Relief','groove','SliderStep',[0.01,0.1],'String','Entradas','Style','frame','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','parteIngresos','Callback','') handles.tituloIngresos=uicontrol(f,'unit','normalized','BackgroundColor',[1,1,1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.076224,0.8575,0.1054688,0.055],'Relief','default','SliderStep',[0.01,0.1],'String','Ingresos','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','tituloIngresos','Callback','') handles.xText=uicontrol(f,'unit','normalized','BackgroundColor',[1,1,1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0247396,0.765,0.0742187,0.05625],'Relief','default','SliderStep',[0.01,0.1],'String','Coordenadas en x:','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','xText','Callback','') handles.yText=uicontrol(f,'unit','normalized','BackgroundColor',[1,1,1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0247396,0.6925,0.0742187,0.05625],'Relief','default','SliderStep',[0.01,0.1],'String','Coordenadas en y:','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','yText','Callback','') handles.plano= newaxes();handles.plano.margins = [ 0 0 0 0];handles.plano.axes_bounds = [0.2896094,0.15,0.6915625,0.77125]; handles.tabla=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0036719,0.25375,0.2448958,0.3025],'Relief','default','SliderStep',[0.01,0.1],'String','Tabla','Style','table','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','tabla','Callback','tabla_callback(handles)') handles.inPuntosX=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.1091927,0.765,0.108724,0.05625],'Relief','default','SliderStep',[0.01,0.1],'String','','Style','edit','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','inPuntosX','Callback','') handles.inPuntosY=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.1091927,0.695,0.108724,0.05625],'Relief','default','SliderStep',[0.01,0.1],'String','','Style','edit','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','inPuntosY','Callback','') handles.btnGenerar=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0853385,0.60375,0.0846354,0.04875],'Relief','default','SliderStep',[0.01,0.1],'String','Generar','Style','pushbutton','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','btnGenerar','Callback','btnGenerar_callback(handles)') handles.errorText=uicontrol(f,'unit','normalized','BackgroundColor',[1,1,1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0110677,0.07125,0.1835938,0.0575],'Relief','default','SliderStep',[0.01,0.1],'String','','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','errorText','Callback','') handles.evalFText=uicontrol(f,'unit','normalized','BackgroundColor',[1,1,1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0110677,0.19,0.1835938,0.0575],'Relief','default','SliderStep',[0.01,0.1],'String','','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','evalFText','Callback','') handles.evalPTExt=uicontrol(f,'unit','normalized','BackgroundColor',[1,1,1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0110677,0.130625,0.1835938,0.0575],'Relief','default','SliderStep',[0.01,0.1],'String','','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','evalPTExt','Callback','') f.visible = "on"; ////////// // Callbacks are defined as below. Please do not delete the comments as it will be used in coming version ////////// function tabla_callback(handles) endfunction function btnGenerar_callback(handles) //1.3 3.5 4.2 5 7 8.8 10.1 12.5 13 15.6 vecX=evstr(strcat(['[',handles.inPuntosX.string,']'])); vecY=evstr(strcat(['[',handles.inPuntosY.string,']'])); n=length(vecX); grado=1; sumaCol=0; titulo=string([1:grado*2+grado+1]) colK=[1:n] vecSum=[1:grado*2+grado+1] titulo(1)='xi'; titulo(2)='yi'; vecSum(1)=sum(vecX) vecForMatriz=[1:grado*2] vecSum(2)=sum(vecY) subtabla = cat(1,colK,vecX,vecY); for i=2:grado*2 titulo(i+1)=strcat(['xi^',string(i)]) subtabla=cat(1,subtabla,vecX^i); vecSum(i+1)=sum(vecX^i); end for i=grado*2+1:1:grado*2+grado titulo(i+1)=strcat(['xi^',string(i-grado*2),'*yi']) subtabla=cat(1,subtabla,vecX^(i-grado*2).*vecY); vecSum(i+1)=sum(vecX^(i-grado*2).*vecY); end titulo=cat(2,['k'],titulo); colSumas=cat(2,['Σ'],string(vecSum)); disp(titulo); disp(subtabla); tabla=cat(1,titulo,string(subtabla)',colSumas); handles.tabla.string=tabla; a0=(sum(vecX^2)*sum(vecY)-sum(vecX)*sum(vecX.*vecY))/(sum(vecX^2)*n-sum(vecX)^2) a1=(sum(vecX.*vecY)*n-sum(vecX)*sum(vecY))/(n*sum(vecX^2)-sum(vecX)^2) A=string(a0); B=string(a1); polinomio=""; x=poly(0,'x'); polinomio = strcat(['y=',A,'+',B,'*x']); deff('y=g(x)',polinomio); handles.evalFText.string=polinomio; sumError= sum(abs(g(vecX) - vecY)^2); xtitle(prettyprint(polinomio),"","") graf=vecX(1)-1:0.1:vecX(n)+1; plot(graf,g); scatter(vecX,vecY); //1.3 3.5 4.2 5 7 8.8 10.1 12.5 13 15.6 endfunction
f6ee5bca335a37a3b34f8ec06c82264ac82b3c70
449d555969bfd7befe906877abab098c6e63a0e8
/2858/CH1/EX1.2/Ex1_2.sce
1a7555227d05e96f37115ac3145ad8adf0c760af
[]
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
Ex1_2.sce
//example 1.2 clc; funcprot(0); e=0.72; w=12/100; //moisture content Gs=2.72; Gammaw=9.81;//kN/m^3 Gammad=Gs*Gammaw/(1+e); disp(Gammad,"dry unit weight in kN/m^3"); Gamma=Gs*Gammaw*(1+w)/(1+e); disp(Gamma,"moist unit weight in kN/m^3"); Gammasat=(Gs+e)*Gammaw/(1+e); wa=Gammasat-Gamma;//water added disp(wa,"water added in kN/m^3");
9ba0544634d36c65e49571545b55567169b54a54
449d555969bfd7befe906877abab098c6e63a0e8
/1046/CH4/EX4.3/4_3.sce
5bf170fa57c3a27af90d72257b6129987e2fce4f
[]
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,045
sce
4_3.sce
//Example 4.3 //what will be the temp. of the wire at steady state. //Given d=7.24*10^-4 //m, diameter of wire l=1 //m, length of wire I=8.3 //A, current in a wire R=2.625 //ohm/m, electrical resistance V=10 //m/s, air velocity Tb=27 //C, bulk air temp. //the properties at bulk temp. mu=1.983*10^-5 //m^2/s, viscosity k=0.02624 //W/m C, thermal conductivity rho=1.1774 //kg/m^3, density of air cp=1.0057 //kj/kg C, specific heat of air //calculation Pr=cp*10^3*mu/k //Prandtl no. Re=d*V*rho/mu // Reynold no. //from eq. 4.19, nusslet no. Nu=0.3+(0.62*Re^(1/2)*Pr^(1/3)/(1+(0.4/Pr)^(2/3))^(1/4))*(1+(Re/(2.82*10^5))^(5/8))^(4/5) hav=Nu*k/d //W/m^2 C, average heat transfer coefficient Q=I^2*R //W, rate of electrical heat generation A=%pi*d*l dt=Q/(hav*A) //C,temp. difference T=dt+Tb //C, steady state temp. printf("The steady state temprature is %f C\n",T) //REVISED CALCULATION Tm=(T+Tb)/2 //C, mean air film temp. //the properties at Tm temp. mu1=2.30*10^-5 //m^2/s, viscosity k1=0.0338 //W/m C, thermal conductivity rho1=0.878 //kg/m^3, density of air cp1=1.014 //kj/kg C, specific heat of air Re1=d*V*rho1/mu1 // Reynold no. Pr1=(1.014*10^3*2.30*10^-5)/k1 //Prandtl no. //from eq. 4.19, nusslet no. Nu1=0.3+(0.62*Re1^(1/2)*Pr1^(1/3)/(1+(0.4/Pr1)^(2/3))^(1/4))*(1+(Re1/(2.82*10^5))^(5/8))^(4/5) hav1=Nu1*k1/d //W/m^2 C, average heat transfer coefficient dt1=Q/(hav1*A) //C,temp. difference T1=dt1+Tb //C, steady state temp. printf("The recalculated value is almost equal to previous one.")
b351c673c6f24d6fca443e06c4ea4408c651adb1
31cc146b7597c1571ad100fc4dd888898b1b4eb0
/misc/sparse_to_csr.sce
e325fa9d698af8a6a7a6e2c0185237cf7008872e
[]
no_license
rigid1980/gpp_scilab
a525ae046722e7ba52ebea6003ce712b51631ff6
fadb75dea26cf341e6dc60874efd88c016df4f3b
refs/heads/master
2016-09-11T08:37:44.538715
2014-03-26T08:37:35
2014-03-26T08:37:35
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
376
sce
sparse_to_csr.sce
function [rp,ci,val,n] = sparse_to_csr(A) [m,n] = size(A); nz = nnz(A); [I,J,V] = find(A); ci = zeros(nz,1); val = zeros(nz,1); rp = zeros(n+1,1); for i = 1:nz rp(I(i)+1) = rp(I(i)+1)+1; end rp = cumsum(rp); for i=1:nz val(rp(I(i))+1) = V(i); ci(rp(I(i))+1) = J(i); rp(I(i)) = rp(I(i))+1; end for i = m:-1:1 rp(i+1) = rp(i); end rp(1) = 0; rp = rp+1;
d8d8de4b21b3a556e7524e53bcc43519a6a26a94
6e257f133dd8984b578f3c9fd3f269eabc0750be
/ScilabFromTheoryToPractice/Programming/testfuncprot.sce
55b141e6144cf741d2bc42173c3dc0b2ddec3402
[]
no_license
markusmorawitz77/Scilab
902ef1b9f356dd38ea2dbadc892fe50d32b44bd0
7c98963a7d80915f66a3231a2235010e879049aa
refs/heads/master
2021-01-19T23:53:52.068010
2017-04-22T12:39:21
2017-04-22T12:39:21
89,051,705
0
0
null
null
null
null
UTF-8
Scilab
false
false
475
sce
testfuncprot.sce
function y=foo(x) y=1+x^2 endfunction funcprot(0) function y=foo(x) y=2+x^2 endfunction // no warning // retrieve the current value of "funcprot" : previousprot=funcprot() // change and retrieve the current value of "funcprot" : previousprot=funcprot(1) function y=foo(x) y=3+x^2 endfunction // warning (default behavior) funcprot(2) // change the current value of "funcprot" function y=foo(x) y=4+x^2 endfunction // produces error 111
30a3a2b7f5b01aaa96bd2c417ab7256458b208dd
449d555969bfd7befe906877abab098c6e63a0e8
/1631/CH3/EX3.1/Ex3_1.sce
f99565844255577268eeff8cc4e8b13020f78a0e
[]
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
393
sce
Ex3_1.sce
//Caption: Nquist Rate //Example 3.1 //page no 102 //find Nquist Rate //given clc; clear; w1=50*%pi; w2=300*%pi; w3=100*%pi; //w=2*%pi*f f1=w1/(2*%pi); f2=w2/(2*%pi); f3=w3/(2*%pi); fm=f2;//fm = maximum frquency is present at the signal disp(f2,"maximum frquency of the signal is"); disp(" Hz"); fs=2*fm;//Nyquist rate disp("Nquist Rate of Signal is"); disp(" Hz",fs);
5126b6c7a59d5f548db67765beea69f2313cf662
449d555969bfd7befe906877abab098c6e63a0e8
/24/CH41/EX41.3/Example41_3.sce
01a788558bf566089fce96a80c52d0e6310c0683
[]
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
52
sce
Example41_3.sce
//Sample Problem 41_3 printf("Sample Problem 42_3")
b792a19efe9ffe2c0b36b7e159ff5d5f3ca1ed40
449d555969bfd7befe906877abab098c6e63a0e8
/2744/CH6/EX6.4/Ex6_4.sce
cef3e2fad3bbacf315d49a89825e862e5b1f4422
[]
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
457
sce
Ex6_4.sce
clear; clc; d = 6;// feet l = 60;// feet f = 15/2;// tons/in^2 E = 13000;// tons/in^2 k1 = 2*f/(12*d);// k1 = M_r/I k2 = k1/(l*12/8);//k2 = W/I y_c = (5/384)*k2*l^3 *12^3 /E;// inches //If the giredr is of constant deapth and uniform strength, it bends to an arc of a circle of radius R R = E*d*12/(2*f);// inches delta = (l*12)^2 /(8*R);// inches printf('The deflection for a uniformly distributed load on it is,delta = %.2f inches',delta);
d35054e24a24d23261bb1fe8ef4dac15eedfba5c
449d555969bfd7befe906877abab098c6e63a0e8
/3718/CH13/EX13.8/Ex13_8.sce
47d526e4ca605f1b1d0575067cb63a339d542b36
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
639
sce
Ex13_8.sce
//Chapter 13: Fuel and Combustions //Problem: 8 clc; //Declaration of Variables C = 86 // % H = 4 // % N = 1.3 // % S = 3 // % O = 4 // % Ash = 1.7 // % wt = 500 // g // Solution wt_C = C / 100.0 wt_S = S / 100.0 wt_H = H / 100.0 wt_O = O / 100.0 mprintf("Nitrogen and ash are incombustible, so they do not require oxygen\n") wt_O_C = 32 / 12.0 * wt_C wt_O_S = 32 / 32.0 * wt_S wt_O_H = 32 / 4.0 * wt_H totw = wt_O_H + wt_O_S + wt_O_C wt_O_n = totw - wt_O wt_a = (100.0 / 23.0 * wt_O_n) * 500 / 1000.0 mprintf(" Minimum Wt. of air required by 500g of fuel %.2f kg",wt_a)
9882147ebd61d964a39febe40b8e71aaf94669fc
449d555969bfd7befe906877abab098c6e63a0e8
/3860/CH2/EX2.26/Ex2_26.sce
2a95f12849d7c4761e3a44bc9a64efb729a3311d
[]
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
373
sce
Ex2_26.sce
//Example 2.26: Conversion of Boolean expression into minterm expression clc // Clears the console disp('g = x'' + xyz') disp(' = x''yz + x''yz'' + x''y''z + x''y''z'' + xyz') disp('g(x,y,z) = summation of minterms( 3,2,1,0,7) = summation of minterms ( 0,1,2,3,7)')//Since minterm numbers are usually written in numeric order. //the reduced expression is displayed.
f62c0d532fb0bc864d8a9093893f19083be5751f
5c5fd5efaeecddf4cd7b8470a41364de7fcba737
/Scilab/SpuleEntladekurve.sce
b4761c3e59b7c755f9b30baa70f2e1adb2944333
[]
no_license
derLars/RFIDInductiveCoupling
c1ba28900af0930e7278f1764b3c02e6d2a80ec1
18a26c28ec1348674c112387109aa31b36dbd7df
refs/heads/master
2021-01-10T11:55:51.539075
2015-05-25T19:49:58
2015-05-25T19:49:58
36,164,222
0
0
null
null
null
null
UTF-8
Scilab
false
false
398
sce
SpuleEntladekurve.sce
U = 5 R = 2 L = 50 * 10^(-3) tau = L/R t = [0:tau/10:10*tau] yu = U + t yul = -U * (%e^(-(t/tau))) yi = (U/R) * (%e^(-(t/tau))) xset("thickness",3) plot2d(t,yul, style=2); plot2d(t,yi, style=5); ylabel("U, Ul, Il", "fontsize", 6); xlabel("t/s", "fontsize", 6) //xtitle('Kondensator Ladekurve','t/s','Uc, Ic',"fontsize". 5) legends(['Il in A','Ul in V'],[5 2],4, font_size=5) xgrid(1, 1, 1)
62c79679e230f4f03666ab02837cd51eff87c5c7
0812f3bb6f3cc038b570df68ccee4275da04b11f
/models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH16/EX16.1/16_1.sce
1234ff1daa03ce4b96230c9272ae429b5b74a252
[]
no_license
apelttom/20-semester_PhD_thesis
edc0b55580bae9d364599932cd73cf32509f4b7a
ff28b115fcf5e121525e08021fa0c02b54a8e143
refs/heads/master
2018-12-26T22:03:38.510422
2018-12-14T20:04:11
2018-12-14T20:04:11
106,552,276
0
0
null
null
null
null
UTF-8
Scilab
false
false
127
sce
16_1.sce
clc; lambda=10^3*0.52; x=250; t1=40; t2=20; q=lambda*(t1-t2)/x; disp("rate of heat transfer per unit area:"); disp("W/m^2",q);
4b156822d6472d4ab78480e34df62ad0543c240a
449d555969bfd7befe906877abab098c6e63a0e8
/172/CH8/EX8.5/ex5.sce
f23cb3ac91c4ca1e5623e75fcb1cfbdd690257b2
[]
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
665
sce
ex5.sce
//example 5 //entropy change clear clc Cp=1.004 //specific heat at constant pressure in kJ/kg-K R=0.287 //gas constant in kJ/kg-K P1=400 //initial pressure in kPa P2=300 //final pressure in kPa T1=300 //initial temperature in K T2=600 //final temperature in K dS1=Cp*log(T2/T1)-R*log(P2/P1) //entropy change assuming constant specific heat s1=6.8693 //specific entropy at T1 s2=7.5764 //specific entropy at T2 dS2=s2-s1-R*log(P2/P1) //entropy change assuming variable specific heat printf("\n hence,entropy change assuming constant specific heat is dS1=%.4f kJ/kg-K.\n",dS1) printf("\n and assuming variable specific heat is dS2=%.4f kJ/kg-K.\n",dS2)
1913c364a28157ecaeba30b5881d8b85bc30e5d0
82cdcedaf3c5229da7560895cc713520e3413f39
/Códigos/Códigos Funcionais Scilab/Modelagem - Marcus/Modelagem.sce
980433654868f90ec20a79c122c90ef888d74110
[]
no_license
mpsdantas/cpg
9b1ae66eeefb7f4cab970eab271ada56a673865c
aabd8a621131218d0ae68d5433caf70110c7b9e7
refs/heads/master
2021-03-22T04:40:28.689371
2018-03-12T22:58:25
2018-03-12T22:58:25
76,735,862
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,999
sce
Modelagem.sce
//A seguinte função recebe uma matriz dr 1xn. //Onde n é um número n>0 e corresponde ao número de osciladores //A função devolve m onde m = dr. function m = f(dr) m = dr endfunction //A seguinte função recebe: //Um ar que é uma constante de amplitude determinada igual a 2rad/s //Uma matriz R 1xn, onde n>0 e corresponde ao numero de osciladores, ar corresponde a amplitude max de cada oscilador. //Um r 1xn, onde n>0 e corresponde ao numero de osciladores, r é amplitude em determinado t. //Um m, 1xn, onde n> 0 e corresponde ao numero de osciladores, m é a derivada primeira da amplitude. //Um n correspondente ao numero de osciladores //A função devolve uma matriz 1xn, que correspondem as amplitudes dos osciladores em determinado tempo. function dm = g(ar,R,r,m,n) for i=1:n dm(1,i) = ar.*((ar/4).*(R(i)-r(i)) - m(i)) end endfunction //A seguinte função recebe: //Um ar que é uma constante de amplitude determinada igual a 2rad/s //Uma matriz R 1xn, onde n>0 e corresponde ao numero de osciladores, ar corresponde a amplitude max de cada oscilador. //Um r0 1xn, onde n>0 e corresponde ao numero de osciladores, r0 são o conjunto de condições iniciais da amplitude. //Um m0, 1xn, onde n> 0 e corresponde ao numero de osciladores, m0 é o conjunto de condições iniciais da primeira derivada //Um osciladores correspondente ao numero de osciladores //Um a correspondente ao inicio do periodo do calculo do tempo. //Um b correspondente ao fim do periodo do calculo do tempo. //Um h correspondente ao tamanho do passo do intervalo a - b //A função devolve uma matriz 3xn, que corresponde a amplitude de todos os osciladores em todo o espaço de tempo definido. function r = amplitude(ar,R,r0,m0,osciladores,a,b,h) r = r0; m = m0; t = a:h:b; n = length(t) for i = 1:n-1 kdm = g(ar,R,r(i,:),m(i,:),osciladores); km = f(m(i,:)); m(i+1,:) = m(i,:) + kdm*h; r(i+1,:) = r(i,:) + km*h; end endfunction
3c31106a7d80f272ded4b8e3d1adfa3d0410e23f
dbd504f73f233675d0c8c2c8c5730e866aabcd96
/codes/outagesce.sce
45fc95a20594c53b559d59c75c24379e131fd0ce
[]
no_license
surajdurgesht/Wireless-Communication-Lab
f5019be42d24fe6568e98d666efd901283a0c7a7
e8fac339daf91d24ee0dd9e22e9236fcbb68dac3
refs/heads/master
2020-06-04T19:07:54.824459
2019-06-16T06:30:21
2019-06-16T06:30:21
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
166
sce
outagesce.sce
E_b=1:0.1:10; d=2*E_b; N=1; U=0; y=d/sqrt(N/2); function y = qfunc(x) y = 0.5*erfc(x/sqrt(2)); endfunction P=qfunc(y); plot(E_b,P); xlabel("")
e845d0f6488edf84ee6189e3e4a1bf442bbda2e1
449d555969bfd7befe906877abab098c6e63a0e8
/1241/CH2/EX2.10/exa2_10.sce
e9fcb630201a7b90df33b18774bf66099fee8963
[]
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
336
sce
exa2_10.sce
//Example 2-10// //Binary Subtraction// clc //clears the console// clear //clears all existing variables// x=bin2dec('100') y=bin2dec('1') //binary to decimal conversion// z=x-y //subtraction// a=dec2bin(z) //decimal to binary conversion// disp('subtraction of two binary numbers is:') disp(a) //answer in binary form//
dde9bcf2e8493c83fe2c7364c4238a9b5b88e207
449d555969bfd7befe906877abab098c6e63a0e8
/2513/CH8/EX8.2/8_2.sce
6fb38846ee911c0057a509909a7f529cec797915
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
377
sce
8_2.sce
clc //initialisation of variables a=0.75//ft p=123//mg v=100//ft s=33//mg s1=67//mg d=26.6//mgd d1=0.0477//mgd q=0.750//gpd/sq mile d2=365//days //CALCULATIONS S=p/a//mg per sq mile Cv=v*s/s1//percent M=d*d1//mgd per sq mile D=v*q/M//MAF D1=(v*p)/(M*d2)//MAF R=p/q//days //RESULTS printf('the use monthly averages rather then daily stream flow=% f days',R)
a8517aa8a5ade09849aceab0974e273b0ac6ec78
449d555969bfd7befe906877abab098c6e63a0e8
/323/CH3/EX3.4/ex3_4.sce
7e295a878ee27ad80886682842be1a99ae36f6f7
[]
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
137
sce
ex3_4.sce
clc; f=60 Im=110 disp("(i)") t1=90/Im t2=asin(t1) disp(t2) t2=t1*180/%pi disp(t2) t=t1/21600 printf("\n t=%.2f ms \n",t*10^3)
65ca2357b040eadf73b6037cd4ae69aaf7c99356
ebd6f68d47e192da7f81c528312358cfe8052c8d
/swig/Examples/test-suite/scilab/union_parameter_runme.sci
2918856d9144bc95ea76c2681585d3d7192f359a
[ "LicenseRef-scancode-swig", "GPL-3.0-or-later", "LicenseRef-scancode-unknown-license-reference", "GPL-3.0-only", "Apache-2.0" ]
permissive
inishchith/DeepSpeech
965ad34d69eb4d150ddf996d30d02a1b29c97d25
dcb7c716bc794d7690d96ed40179ed1996968a41
refs/heads/master
2021-01-16T16:16:05.282278
2020-05-19T08:00:33
2020-05-19T08:00:33
243,180,319
1
0
Apache-2.0
2020-02-26T05:54:51
2020-02-26T05:54:50
null
UTF-8
Scilab
false
false
845
sci
union_parameter_runme.sci
// Some lines are commented out because of too long identifiers... exec("swigtest.start", -1); event = new_SDL_Event(); for i=1:2 evAvailable = SDL_PollEvent(event); evType = SDL_Event_type_get(event); if evType==1 then specEvent = SDL_Event_active_get(event); _type = SDL_ActiveEvent_type_get(specEvent); if _type <> evType then swigtesterror(); end gain = SDL_ActiveEvent_gain_get(specEvent); //state = SDL_ActiveEvent_state_get(specEvent); end if evType==2 then specEvent = SDL_Event_key_get(event); //_type = SDL_KeyboardEvent_type_get(specEvent); //if _type <> evType then swigtesterror(); end //_which = SDL_KeyboardEvent_which_get(specEvent); //state = SDL_KeyboardEvent_state_get(specEvent); end end delete_SDL_Event(event); exec("swigtest.quit", -1);
d8c51ef2c15152e01b4a07deab10c8d79a09ed3c
449d555969bfd7befe906877abab098c6e63a0e8
/1208/CH9/EX9.8/Exa8.sce
8a71fd36ef49f336a6c5819f35859fb18cd9a794
[]
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,848
sce
Exa8.sce
//Exa 8 clc; clear; close; // given data : //mix ratio is not same SQx=54//in Kgs AQx=40//in Kgs SPx=6//in rupees per Kgs APx=6//in rupees per Kgs SQy=44//in kg AQy=50//in Kg SPy=5//in rupees per Kg APy=5//in rupees per Kg SQz=20//in kg AQz=24//in Kg SPz=7//in rupees per Kg APz=7//in rupees per Kg //(1) Material cost variance MCVx=(SQx*SPx)-(AQx*APx);//in rupees MCVy=(SQy*SPy)-(AQy*APy);//in rupees MCVz=(SQz*SPz)-(AQz*APz);//in rupees //(2) Material price variance MPVy=AQy*(SPy-APy);//in rupees MPVx=AQx*(SPx-APx);//in rupees MPVz=AQz*(SPz-APz);//in rupees //(3) Material usage variance MUVx=SPx*(SQx-AQx);//in rupees MUVy=SPy*(SQy-AQy);//in rupees MUVz=SPz*(SQz-AQz);//in rupees //(4) Material mix variance RSQx=(SQx*114)/(118); RSQy=(SQy*114)/(118); RSQz=(SQz*114)/(118) MMVx=SPx*(RSQx-AQx); MMVy=SPy*(RSQy-AQy); MMVz=SPz*(RSQz-AQz); //(5) Material sub usage variance MSUVx=SPx*(SQx-RSQx); MSUVy=SPy*(SQy-RSQy); MSUVz=SPz*(SQz-RSQz); //material Cost variance disp("material Cost variances :") disp(MCVx,"MCVx="); disp(MCVy,"MCVy="); disp(MCVz,"MCVz="); //material Usage variance disp("material Usage variances :") disp(MUVx,"MUVx="); disp(MUVy,"MUVy="); disp(MUVz,"MUVz="); //material Price variance disp("material Price variances : ") disp(MPVx,"MPVx="); disp(MPVy,"MPVy="); disp(MPVz,"MPVz="); disp("As standard prices and atual prices are same, hence there is no material Price variance") //material Mix variance disp("material mix variances :") disp(MMVx,"MMVx="); disp(MMVy,"MMVy="); disp(MMVz,"MMVz="); //material Sub usage variance disp("material sub Usage variances :") disp(MSUVx,"MSUVx=") disp(MSUVy,"MSUVy=") disp(MSUVz,"MSUVz=") disp("Note : ") disp("Negative variances indicate adverse value "); disp("Positive variances indicate favourable value ")
0e2cf7b1b565982f1d21cb6694605fbe51bd2384
449d555969bfd7befe906877abab098c6e63a0e8
/623/CH11/EX3.1.6/U3_C1_6.sce
bcd325ab67807c965442f082349d7952da8df54a
[]
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,484
sce
U3_C1_6.sce
function[micro]=p(A) //function to calculate no. of microstates micro=1; i=1 for i=1:5 micro=micro*(6/(factorial(A(i))*factorial(3-A(i)))); end endfunction //variable initialization A1=[3 2 0 0 1]; //possible macrostate A2=[3 1 1 1 0]; //possible macrostate A3=[2 3 0 1 0]; //possible macrostate A4=[3 0 3 0 0]; //possible macrostate A5=[2 2 2 0 0]; //possible macrostate //calculation p1=p(A1); //no. of microstates p2=p(A2); //no. of microstates p3=p(A3); //no. of microstates p4=p(A4); //no. of microstates p5=p(A5); //no. of microstates printf("\nPossible microstates are : %.0f, %.0f, %.0f, %.0f, %.0f",p1,p2,p3,p4,p5); printf("\nThe thermodynamic probability of the system = %.0f",p1+p2+p3+p4+p5);
8d5490adb13806ddc4c2a468b9a4b3a2de5dfb45
449d555969bfd7befe906877abab098c6e63a0e8
/20/CH2/EX2.6.76/example2_6_pg76.sce
ae07a45a1ad4a5d8056bceb582538e956b1f707d
[]
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
3,811
sce
example2_6_pg76.sce
// Example2_6_pg76.sce // To find branch currents and voltages // Theory of Alternating Current Machinery by Alexander Langsdorf // First Edition 1999, Thirty Second reprint // Tata McGraw Hill Publishing Company // Example in Page 76 clear; clc; close; // Given data // Transformer data va = 100e+3; // VA rating of Transformer v1 = 11500; // Voltage in volts v2 = 230; // Voltage in volts f = 60; // Frequency in Hz OC_pow = 560; // Power in watts pf = +0.155; sc_volt = 217.5; // Volts sc_curr = 8.7; // Amperes sc_pow = 1135; // Power in watts ll_volt = 15000; // Line to line voltage z_1 = 0.6; // Impedance pf2 = +0.866; pf3 = -0.5; // Calculations power_factor = sc_pow / (sc_volt * sc_curr) ; theta_e = acos(power_factor); transformation_ratio = v1 / v2 ; // HT values z = sc_volt / sc_curr; r = z*cos(theta_e); x = z*sin(theta_e); // LT values z_lt = z/(transformation_ratio^2) ; r_lt = r/(transformation_ratio^2) ; x_lt = x/(transformation_ratio^2) ; zz = r_lt + %i*x_lt ; // Referring to figure 2.16(b) in page 77 z1 = z_1 + zz ; z_2 = z_1*(pf2 + %i*abs(pf3)); z2 = z_2 + zz; z_3 = z_1*(abs(pf3) - %i*pf2); z3 = z_3 + zz; disp('z1 = ') disp(z1); disp('z2 = ') disp(z2); disp('z3 = ') disp(z3); disp('By referring to Figure 2.16(b) in page 77, E_A, E_B, E_C can be written in terms of the unknowns x and y.'); printf("\nE_A = -(x - 150) + j(259.8 - y) \nE_B = -x - jy \nE_C = (300 - x) - jy"); printf("\n\nI_A = E_A / z1 \nI_B = E_B / z2 \nI_C = E_C / z3 \n"); printf("\nI_A = -1.649x -0.0218y +253.01 + j(425.14 -1.649y +0.0218x) \nI_B = -1.415x -0.829y + j(0.829x - 1.415y) \nI_C = -0.860x +1.439y +258 + j(-1.439x -0.860y +431.7)\n"); // I_A + I_B + I_C = 0; disp('On simplification and by separating the real and imaginary parts, we get two equations consisting of x and y as variables as shown'); printf("\n -3.924x +0.588y +511.01 = 0\n -0.588x -3.924y +856.84 = 0\n"); function y = ff(x); y(1) = -3.924*x(1)+0.588*x(2)+511.01; y(2) = -0.588*x(1)-3.924*x(2)+856.84; endfunction answer = fsolve([100;100],ff); // Answers given in prob is supposed to have some mistake in values of x and y x = answer([1]); y = answer([2]); E_A = -(x - 150) + %i*(259.8 - y) ; E_B = -x - %i*y ; E_C = (300 - x) - %i*y; I_A = E_A / z1 ; I_B = E_B / z2 ; I_C = E_C / z3 ; printf("\n\nI_A = %0.2f /_ %0.2f Amps", abs(I_A), atan(imag(I_A)/real(I_A))*180/%pi); printf("\n\nI_B = %0.2f /_ %0.2f Amps", abs(I_B), atan(imag(I_B)/real(I_B))*180/%pi); printf("\n\nI_C = %0.2f /_ %0.2f Amps", abs(I_C), atan(imag(I_C)/real(I_C))*180/%pi); printf("\n\nE_A = %0.2f /_ %0.2f Volts", abs(E_A), atan(imag(E_A)/real(E_A))*180/%pi); printf("\n\nE_B = %0.2f /_ %0.2f Volts", abs(E_B), atan(imag(E_B)/real(E_B))*180/%pi); printf("\n\nE_C = %0.2f /_ %0.2f Volts", abs(E_C), atan(imag(E_C)/real(E_C))*180/%pi); // Result // z1 = // // 0.6059982 + 0.0080014i // // z2 = // // 0.5255982 + 0.3080014i // // z3 = // // 0.3059982 - 0.5115986i // // By referring to Figure 2.16(b) in page 77, E_A, E_B, E_C can be written in terms of the unknowns x and y. // E_A = -(x - 150) + j(259.8 - y) // E_B = -x - jy // E_C = (300 - x) - jy // // I_A = E_A / z1 // I_B = E_B / z2 // I_C = E_C / z3 // // I_A = -1.649x -0.0218y +253.01 + j(425.14 -1.649y +0.0218x) // I_B = -1.415x -0.829y + j(0.829x - 1.415y) // I_C = -0.860x +1.439y +258 + j(-1.439x -0.860y +431.7) // // On simplification and by separating the real and imaginary parts, we get two equations consisting of x and y as variables as shown // // -3.924x +0.588y +511.01 = 0 // -0.588x -3.924y +856.84 = 0 // // // I_A = 108.89 /_ -82.59 Amps // // I_B = 412.73 /_ 20.30 Amps // // I_C = 402.59 /_ 4.99 Amps // // E_A = 65.99 /_ -81.84 Volts // // E_B = 251.44 /_ 50.67 Volts // // E_C = 240.00 /_ -54.13 Volts
ef16e9f989347fa4d33a176b119042481ae44812
449d555969bfd7befe906877abab098c6e63a0e8
/1529/CH5/EX5.10/5_10.sce
f378514e31b8dda8f1295bac8c054286602af226
[]
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
327
sce
5_10.sce
//Chapter 5, Problem 10, Figure 5.20 clc; R1=1; R2=2.2; R3=3; R4=6; R5=18; R6=4; //R3, R4 and R5 are connected in parallel, their equivalent resistance R7 is Z=(1/R3)+(1/R4)+(1/R5); R7=1/Z; //circuit is now equivalent to four resistors in series R=R1+R2+R7+R6; printf("Equivalent circuit resistance = %f ohm",R);
0358231e58fd003abec19ea8e8e375ab2ce032b9
449d555969bfd7befe906877abab098c6e63a0e8
/1553/CH19/EX19.7/19Ex7.sce
59591f9ed6782cf44dfa2b9a120521994b2752a5
[]
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
628
sce
19Ex7.sce
//chapter 19 Ex 7 clc; clear; close; dUp1=40; dDown1=55; dUp2=30; dDown=44; t1=13; t2=10; //let rate upstream be x km/hr and downstream be y km/hr //Equations are : 40/x+55/y=13 & 30/x+44/y=10 x=poly(0,'x'); y=(-55*x)/(40-13*x); //equation 1 y=(-44*x)/(30-10*x); //equation 2 for x=1:99 if(x~=3) //since denominator becomes 0 if (-55*x)/(40-13*x) ==(-44*x)/(30-10*x) mprintf("x=%i \n ",x); break end end end y=(-55*x)/(40-13*x); rStill=(x+y)/2; rCurrent=(y-x)/2; printf("The speed in still water is %d km/hr and rate of current is %d km/hr",rStill,rCurrent);
4bbe655dcc2377f639a2a672ede27045718f732b
e41b69b268c20a65548c08829feabfdd3a404a12
/3DCosmos/Data/SlideShows/test.SCI
a3286eb62d45c99c906d718c4e8418e00002c184
[ "LicenseRef-scancode-khronos", "MIT" ]
permissive
pvaut/Z-Flux
870e254bf340047ed2a52d888bc6f5e09357a8a0
096d53d45237fb22f58304b82b1a90659ae7f6af
refs/heads/master
2023-06-28T08:24:56.526409
2023-03-01T12:44:08
2023-03-01T12:44:08
7,296,248
1
1
null
2023-06-13T13:04:58
2012-12-23T15:40:26
C
UTF-8
Scilab
false
false
412
sci
test.SCI
Picturefolder(datadir+"\StereoPictures\Folder 1"); SoundFolder(datadir+"\sounds"); VideoFolder(datadir+"\StereoVideos"); Transition("Transient",2); PlaySound("sound1.mp3",0);FadeSound("sound1.mp3",1000,2); ShowStereoPic("Image1"); Delay(4); ShowStereoPic("Image2"); Delay(6); ShowStereoPic("Image3"); Delay(4); FadeSound("sound1.mp3",0,1); delay(5); ShowStereoVideo("Test1"); StopSound("sound1.mp3"); loop;
77c72214088d19c7dc9eb961153241581453e980
449d555969bfd7befe906877abab098c6e63a0e8
/1049/CH3/EX3.16/ch3_16.sce
bfc408bc07cbabc7a3c1510e306540e0ce0b8e74
[]
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
584
sce
ch3_16.sce
clear; clc; tr=0.5; //turns ratio I_o=10; V=230; V_s=V/tr; V_m=sqrt(2)*V_s; V_o=2*V_m/%pi; printf("o/p voltage=%.2f V",V_o); phi1=0; //displacemnt angle=0 as fundamnetal component of i/p source current in phase with source voltage DF=cosd(phi1); printf("\ndistortion factor=%.0f",DF); I_s1=4*I_o/(sqrt(2)*%pi); I_s=sqrt(I_o^2*%pi/%pi); CDF=I_s1/I_o; printf("\ncurrent displacent factor=%.1f",CDF); pf=CDF*DF; printf("\ni/p pf=%.2f",pf); HF=sqrt((I_s/I_s1)^2-1); printf("\nharmonic factor=%.2f",HF); CF=I_o/I_s; printf("\ncreast factor=%.2f",CF);
77d99b2b7c7b32aba29a6071f99e550975818123
449d555969bfd7befe906877abab098c6e63a0e8
/2087/CH3/EX3.7/example3_7.sce
c83d1aedb2e427e46328f40791bb55101865efa7
[]
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
552
sce
example3_7.sce
//example 3.7 //calculate watering frequency clc; //Given Fc=0.27; //Field capacity pwp=0.14; //permanent wilting point gammad=15; //dry density of soil gammaw=9.81; //unit weigth of water d=0.75; //effective depth of root zone Du=11; //daily consumptive use of water Am=Fc-pwp; //Available moisture //let readily available moisture be 80 percent of available moisture RAm=0.8*Am; Mo=Fc-RAm; D=gammad*d*(Fc-Mo)*100/gammaw; WF=D*10/Du; mprintf("Watering Frequency=%i days.",WF);
d844aec12ab880036999dc2f5961ebe94c4c18d0
449d555969bfd7befe906877abab098c6e63a0e8
/788/CH2/EX2.17.a/2_17_data.sci
e2eec32550542d94e7d6e02645f6a405ed691250
[]
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
201
sci
2_17_data.sci
// Aim:To find % change in volume of the oil // Given: // Volume of original oil:V=164 //cm^3 // Initial Pressure: P1=687; //kPa // Final pressure: P2=13740; //kPa // Bulk Modullus: betaa=1718; //MPa
944e80100a95499915c991d3ca4de2bc968a79a5
449d555969bfd7befe906877abab098c6e63a0e8
/3856/CH15/EX15.1/Ex15_1.sce
ccaa6fca67e37111e8d346317e8a86834c24038d
[]
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
436
sce
Ex15_1.sce
//Calculate the Percent Ionic character of the H-F bond //Example 15.1 clc; clear; mewexp=1.91*3.3356*10^-30; //Experimental dipole moment in C m Q=1.602*10^-19; //Charge on electron in C r=92*10^-12; //Distance between the ions in m mewionic=Q*r; //Dipole moment in C m I=(mewexp/mewionic)*100; //Percent Ionic character of the H-F bond in percent printf("Percent Ionic character = %.1f percent ",I);
0b3b106639bdc62e3aaddff32a048e47c6433c86
449d555969bfd7befe906877abab098c6e63a0e8
/83/CH12/EX12.1/example_12_1.sce
dcc72ab5e5c704d12e70bd177d20ac66b5d41009
[]
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,024
sce
example_12_1.sce
//Chapter 12 //Example 12.1 //page 439 //To find stored kinetic energy,rotor acceleration,change in torque angle and rotor speed clear;clc; G=100; //base machine rating H=8.0; //inertia constant P=4; //no of poles //(a)To find stored energy in rotor at synchronous speed stored_energy=G*H; printf('\nStored energy = %d MJ',stored_energy); //(b)To find rotor acceleration when mechanical input is raised 80MW for an electrical load of 50MW Pa=30; //nett power f=50; //frequency M=stored_energy/(180*f); alpha=Pa/M; //rotor acceleration printf('\n\nRotor acceleration = %0.1f elect deg/s^2 ',alpha); //(c)To calculate change in torque angle and rotor speed when the above acceleration is maintained for 10 cycles change_angle=0.5*alpha*(10*20*10^(-3)); printf('\n\nChange in torque angle = %0.2f elect degrees',change_angle); change_angle=60*alpha/(2*360); printf('\nChange in torque angle = %0.3f rpm/s',change_angle); speed=(120*f/P)+(change_angle*0.2); printf('\n\nRoor speed at the end of 10 cycles = %0.3f rpm',speed);
523266506f3a15a957f94c6e632f70503ec9aa4b
449d555969bfd7befe906877abab098c6e63a0e8
/2789/CH6/EX6.5/Ex6_5.sce
dae1ae0d96583d1a3cee1165c2ed9b40e7e3a21c
[]
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
502
sce
Ex6_5.sce
clear; clc; //page no. 186 p1 = 14.7;//psia V1 = 1732;//pfs a1 = 862;//fps M1 = V1/a1; M2 = sqrt((1+0.4*0.5*M1^2)/(1.4*M1^2 - 0.4*0.5)); p2 = p1*(1+2*(1.4/2.4)*(M1^2 -1)); V2 = V1*(2+0.4*M1^2)/(2.4*M1^2); a2 = V2/M2; T2 = a2^2/(1.4*32.2*53.3); T1 = a1^2/(1.4*32.2*53.3); del_T = T2-T1; printf('p2 = %.1f psia,\n V2 = %d fps,\n a2 = %d fps,\n T2 = %d degreeR',p2,V2,a2,T2); printf('\n Rise of temperature = %d degreeF',del_T); //There are errors in the answer given in textbook
93a83ea49e82c44803e8772d791a36044d164077
449d555969bfd7befe906877abab098c6e63a0e8
/3772/CH4/EX4.8/Ex4_8.sce
0ea0a82000a3d3f7de1fb544090bb1767d43357a
[]
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,933
sce
Ex4_8.sce
// Problem no 4.4.8,Page No.97 clc;clear; close; F_C=150 //KN //Pt LOad at C w=300 //KN //u.v.l L=6 //m //Length of beam L_AE=1;L_DC=2;L_CB=1;L_CD=1 //m //Lengthof AE,DC,CB L_ED=3 //m //Length of ED L_Ed=2 //m L_dD=1 //m //Calculations //Let R_A & R_B be the reactions at A & B //R_A+R_B=450 //Taking Moment at A //M_A=0=R_B*L-F_C*(L_CD+L_ED+L_AE)-w*(2*3**-1*L_ED+L_AE) R_B=(F_C*(L_DC+L_ED+L_AE)+w*(2*3**-1*L_ED+L_AE))*L**-1 R_A=450-R_B //Shear Force Calculations //Shear Force at B V_B=R_B //Shear Force at C V_C1=R_B V_C2=R_B-F_C //Shear Force at D V_D=V_C2 //Shear Force at E V_E=V_D-w //Shear Force at A V_A=V_E //Pt of contraflexure //Let F be the pt and EF=x //Let w1 be the rate of Loading at D we get w1=w*2*3**-1 //The rate of Loading at distance x is200*x*3**-1 //V_F=0=-R_B+200*x*3**-1*x*2**-1 //After substituting values and simplifying further we get L_EF=(R_A*3*100**-1)**0.5 x=(R_A*3*100**-1)**0.5; //Bending Moment Calculations //Bending Moment at B M_B=0 //Bending Moment at C M_C=R_B*L_CB //Bending Moment at D M_D=R_B*(L_CB+L_DC)-F_C*L_DC //Bending Moment at E M_E=R_B*(L_CB+L_DC+L_ED)-F_C*(L_DC+L_ED)-w*L_Ed //Bending Moment at A M_A=0 //Bending Moment at F M_F=R_A*(L_AE+L_EF)-200*x*3**-1*x*2**-1*x*3**-1 L_FD=L_ED-L_EF //Result printf("The Shear Force and Bending Moment Diagrams are the results") //Plotting the Shear Force Diagram subplot(2,1,1) X1=[0,L_CB,L_CB,L_CB+L_CD,L_CB+L_CD+L_ED,L_CB+L_CD+L_ED+L_AE,L_CB+L_CD+L_ED+L_AE] Y1=[V_B,V_C1,V_C2,V_D,V_E,V_A,0] Z1=[0,0,0,0,0,0,0] plot(X1,Y1,X1,Z1) xlabel("Length x in m") ylabel("Shear Force in kN") title("the Shear Force Diagram") //Plotting the Bending Moment Diagram subplot(2,1,2) X2=[0,L_CB,L_CB+L_DC,L_FD+L_DC+L_CB,L_CB+L_DC+L_ED,L_CB+L_DC+L_ED+L_AE] Y2=[M_B,M_C,M_D,M_F,M_E,M_A] Z2=[0,0,0,0,0,0] plot(X2,Y2) xlabel("Length in m") ylabel("Bending Moment in kN.m") title("the Bending Moment Diagram")
c57ab50bb6c20f9f55082d28c3edb272e6f5067e
04235b80bb5ac43154dbceab7b2b952b54418bc8
/planner/irl/mentropy/edge.sci
030feed35528f2e4e2b3bc5a295b2fa5095d38dc
[]
no_license
NO2/dmps
4370cfc08f2796f8776543d5282efc4a997fadad
9266714e5ffbc9d5f6109baac2da16651ea6fd4d
refs/heads/master
2021-03-12T21:31:05.322501
2015-03-11T14:43:30
2015-03-11T14:43:30
32,451,046
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,649
sci
edge.sci
function d=eefc(w) z1s(gsize+2,:,:)=ones(z1s(gsize+2,:,:)); for n=1:20 for i=gsize+1:-1:1 for t=3*gsize:-1:1 for sa=3*gsize:-1:1 for j=1:3 //check valid action s2=i+j-2; if s2>0 & s2<=gsize+2 then z1a(i,t,sa,j)=exp(rw(i-1,t-1,sa-1,j-2,w))*z1s(s2,t+1,sa+abs(j-2)); end end z1s(i,t,sa)=sum(z1a(i,t,sa,:)); end end end end dt=zeros((gsize+2),3*gsize,3*gsize,21); dt(1,1,1,1)=1; pr=zeors((gsize+2),3*gsize,3*gsize,3); for i=1:gsize+2 for t=1:3*gsize for sa=1:3*gize for j=1:3 pr(i,t,sa,j)=z1a(i,t,sa,j)/z1s(i,t,sa); end end end end for n=1:20 for i=1:gsize+2 for t=1:3*gsize for sa=1:3*gsize for j=1:3 //check valid action s2=i+j-2; if s2>0 & s2<=gsize+2 then dt(s2,t+1,sa+abs(j-2),n+1)=dt(s2,t+1,sa+abs(j-2),n+1)+dt(i,t,sa,n)*pr(i,t,sa,j); end end end end end end d=zeros((gsize+2),3*gsize,3*gsize,1); for n=1:21 for i=1:gsize+2 for t=1:3*gsize for sa=1:3*gsize d(i,t,sa)=d(i,t,sa)+dt(i,t,sa,n); end end end end endfunction
b79ac80f04b936172d6bfe6d78230482a35f3749
449d555969bfd7befe906877abab098c6e63a0e8
/1004/CH2/EX2.9/Ch02Ex9.sci
865fc52a5a7bc8f8e6fd4a7bfc73bbff6b6ace7c
[]
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
619
sci
Ch02Ex9.sci
// Scilab Code Ex2.9 Work function of metal: Pg:48 (2008) h = 6.624e-034; // Planck's constant, Js c = 3e+08; // Speed of light, m/s e = 1.6e-019; // Energy equivalent of 1 eV, joule/eV V = 1; // Stopping potential for the electrons emitted from the metal, V L = 2500e-010; // Wavelength of incident light, m f = c/L; // Frequency of incident light, Hz // Now KE = h*f - phi = e*V, Einstein's Photoelectric equation, solving for phi phi = h*f - e*V; // Work function of metal printf("\nThe work function of metal = %5.3f eV", phi/e); // Result // The work function of metal = 3.968 eV
ae9343112dbb8eb0b9c1422fbea694526be068ac
da80ade9da8af4cacd3e50446f56898e894a1014
/energie_question_19.sce
1fe7c934e0a476c3e1e22f74fa96d3cd1a7e7ea3
[]
no_license
RichaMax/TP_MNB_s2
207c1d25418d1f16092b2745d40e0abf1936d42a
de2a59d0691d2f3c684313645e68edddc8050462
refs/heads/master
2021-09-13T17:37:14.520456
2018-05-02T15:57:29
2018-05-02T15:57:29
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,128
sce
energie_question_19.sce
function [linf1,ldiag]=factorise(diago, sous_diag,n) // longueur_diag = size(diago) // n = longueur_diag(2) ldiag = zeros(1,n) linf1 = zeros(1,n-1) //remplissage du vecteur diagonal de L ldiag(1) = sqrt(diago(1)) linf1(1) = sous_diag(1)/ldiag(1) for i = 2:(n-1) ldiag(i) = sqrt(diago(i)-linf1(i-1).^2) linf1(i) = sous_diag(i)/ldiag(i) end ldiag(n) = sqrt(diago(n)-linf1(n-1).^2) endfunction function y = descente(linf1,ldiag,b,n) // longueur_diag = size(ldiag) // n = longueur_diag(2) y = zeros(1,n) y(1) = b(1)/ldiag(1) for i =2:n y(i) = (b(i)- y(i-1)*linf1(i-1))/ldiag(i) end endfunction function u = remonte(linf1,ldiag,y,n) // longueur_diag = size(ldiag) // n = longueur_diag(2) u = zeros(1,n) u(n) = y(n)/ldiag(n) for i =(n-1):-1:1 u(i) = (y(i)-linf1(i)*u(i+1))/ldiag(i) end endfunction function energie = cinetique(T,h,n,p) //definition des parametres initiaux u_0 = zeros(1,n) u_m1 = zeros(1,n) //nb d'iteration N = T/h //creation du vecteur qui va contenir les energies cinétiques energie = zeros(N/p,63) //creation de M diago_m = ones(1,n) for i = 1:n if modulo(i,2) == 0 then diago_m(i)=m end, end M = diag(diago_m) //définition de la diagonale de A et de sa sous diagonale sous_diag = (-h^2)*ones(1,n-1) diago = zeros(1,n) diago(1) = M(1,1) + h^2 for i1 = 2:n diago(i1)=M(i1,i1)+2*h^2 end //calcul de la facto de cholesky [linf1,ldiag]= factorise(diago, sous_diag,n) for k = 1:N t = k*h if t >=0 & t<=0.5 then f1 = t elseif t>0.5 & t<=1 then f1 = 1 -t else f1 =0 end //creation du vecteur b^k bk = zeros(1,n) bk(1) = 2*M(1,1)*u_0(1) - M(1,1)*u_m1(1) + (h^2)*f1 for j = 2:n bk(j) = 2*M(j,j)*u_0(j) - M(j,j)*u_m1(j) end //on calcul la valeur de l'energie à l'instant khp et on remplit le vecteur if modulo(k,p) == 0 then for l = 1:63 kp = k/p energie(kp,l) = 0.5*M(l,l)*((u_0(l)-u_m1(l))/h).^2 end end yk = descente(linf1,ldiag,bk,n); ukp1 = remonte(linf1,ldiag,yk,n); u_m1 = u_0; u_0 = ukp1; end for l = 1:63 energie(N/p+1,l) = 0.5*M(l,l)*((u_0(l)-u_m1(l))/h).^2 end endfunction //fonction qui trace le graphique de l'énergie cinétique function plot_cine(energie,h,p) xi = [1:63] temps = [0:p*h:135] clf() Sgrayplot(temps,xi,energie) a=get("current_axes"); a.title type(a.title) a.x_label a.y_label xtitle("Evolution de l energie cinetique pour h=0.001, p="+string(p), "temps","i") xs2jpg(0,"energie_h=0.001,p = "+string(p)+".jpg",1); endfunction //on monte la pile au maximum afin d'éviter tout soucis de mémoire stacksize(268435454) T = 135 h = 1e-3 n=63 m=1 //On définit p, on prend un diviseur de N = T/h p = 30 energie=cinetique(T,h,n,p); plot_cine(energie,h,p);
61b557123e8e8c516c94c8b500406a00aa3b96c0
449d555969bfd7befe906877abab098c6e63a0e8
/3544/CH2/EX2.36/Ex2_36.sce
dc6ae13ac87c53298bb1675be0f9a22dcbbe19c9
[]
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
648
sce
Ex2_36.sce
//Rail fence technique // Move scilab to current file directory [u,t,n] = file() n = strcat(n) file_name = basename(n)+fileext(n) file_name = strcat(file_name) ind=strindex(n,file_name) path = part(n,1:ind-1) chdir(path) exec("Chapter_2.sci",-1) disp("Original plaintext message:") pt = "Come home tomorrow" disp(pt) //function from dependency file pt = remove_spaces(pt) ct = [] k=1 //Writing diagonally for i=1:length(pt) if modulo(i,2)==0 then continue end ct(k,1) = part(pt,i:i) ct(k,2) = part(pt,i+1:i+1) k = k+1 end ct = strcat(ct) disp("") disp("Ciphertext:") disp(ct)
477b91f80c20648fadf44612ce76f1bdc2ef2c88
449d555969bfd7befe906877abab098c6e63a0e8
/462/CH2/EX2.35/ex_2_35.sce
74a81860645bb06eb148823deb67f87b9aef1cbb
[]
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
ex_2_35.sce
//example 2.35// //addition of hexadecimal number// clc //clears the screen// clear //clears already existing variables// x=hex2dec('7F') //hexadecimal to decimal conversion// y=hex2dec('BA') z=x+y //addition// a=dec2hex(z) //decimal to hexadecimal conversion// disp('addition of given hexadecimal numbers results in :') disp(a) //answer in hexadecimal form//
45b540def7c480cb9e8915c093f5d52956f945ad
885ee700356ad98a29fe87d97751e692062de746
/data/pos_exp/no_pos_data/german.high.tst
88971aea41c10a8ebeb7f4751155f828d90a8048
[]
no_license
LINGuistLIU/IGT
1e58bfea1e7d70bdff507c67fa856c55af5bbdc2
8b9ca93189424118a669582ce54192bf441fcc6a
refs/heads/master
2022-08-31T12:33:23.649666
2020-05-28T20:27:18
2020-05-28T20:27:18
267,152,155
0
0
null
null
null
null
UTF-8
Scilab
false
false
31,186
tst
german.high.tst
zunehmen nahmst_zu IND;PST;2;SG Seeräuberei Seeräuberei GEN;SG wärmen wärmte SBJV;PST;3;SG blockieren blockierest SBJV;PRS;2;SG Kissen Kissens GEN;SG quaken quaken SBJV;PRS;1;PL versperren versperrte SBJV;PST;3;SG antun tuen_an SBJV;PRS;1;PL nahen nahte IND;PST;1;SG Baumgrenze Baumgrenzen ACC;PL dünken dünkte SBJV;PST;1;SG anprangern prangertest_an IND;PST;2;SG heucheln heuchelten IND;PST;3;PL Gänsebrust Gänsebrust GEN;SG Herkunftsland Herkunftsländern DAT;PL vertonen vertont IND;PRS;3;SG banalisieren banalisierte IND;PST;3;SG pendeln pendle IND;PRS;1;SG verwundern verwunderte IND;PST;3;SG einräumen räumtet_ein IND;PST;2;PL glawben glawbet SBJV;PRS;2;PL Miete Mieten NOM;PL bescheren beschert IND;PRS;2;PL Roggenfeld Roggenfelder ACC;PL rumalbern gerumalbert PST Lotterie Lotterien DAT;PL Freilichtmuseum Freilichtmuseum ACC;SG Freitagvormittag Freitagvormittag DAT;SG Konfirmation Konfirmation GEN;SG sedimentieren sedimentierte SBJV;PST;3;SG trommeln trommelte SBJV;PST;3;SG Hundsrobbe Hundsrobbe GEN;SG Obergrenze Obergrenze DAT;SG Finnin Finninnen GEN;PL Kochtopf Kochtöpfen DAT;PL Rundschreiben Rundschreiben ACC;SG Rufmord Rufmorde ACC;PL Trappe Trappe NOM;SG Kasino Kasinos DAT;PL verheißen verheißt IND;PRS;3;SG klaffen klaffe IND;PRS;1;SG Hydrochinon Hydrochinon ACC;SG Ursache Ursachen DAT;PL erschöpfen erschöpfen IND;PRS;3;PL harmonieren harmoniert IND;PRS;3;SG ankratzen kratzten_an SBJV;PST;3;PL wälzen wälz IMP;2;SG ausschließen ausgeschlossen PST implementieren implementierest SBJV;PRS;2;SG schleifen schliffen SBJV;PST;3;PL konfigurieren konfigurieret SBJV;PRS;2;PL Krämer Krämer NOM;SG unterschlagen unterschlagen NFIN beerdigen beerdigen SBJV;PRS;3;PL befragen befragen SBJV;PRS;3;PL herabsetzen setztest_herab IND;PST;2;SG Sonnenhut Sonnenhut DAT;SG producieren producierten IND;PST;1;PL übergeben übergebe IND;PRS;1;SG Asphalt Asphalten DAT;PL retuschieren retuschieren IND;PRS;3;PL vergelten vergälten SBJV;PST;3;PL misslingen misslängest SBJV;PST;2;SG Erstarren Erstarren ACC;SG Hühnerschlag Hühnerschlägen DAT;PL bremsen bremsten SBJV;PST;1;PL Kunstspringen Kunstspringen ACC;SG tafeln tafele SBJV;PRS;3;SG riskieren riskiertet IND;PST;2;PL Pflug Pflügen DAT;PL Entkommen Entkommen ACC;SG konzipieren konzipieret SBJV;PRS;2;PL zittern zittre IND;PRS;1;SG verputzen verputzt IMP;2;PL Friedensnobelpreis Friedensnobelpreis NOM;SG Horizont Horizont DAT;SG einbringen bringest_ein SBJV;PRS;2;SG verscheuchen verscheuchtet SBJV;PST;2;PL ergeben ergeben SBJV;PRS;3;PL Scheibe Scheibe ACC;SG Mohrrübe Mohrrübe DAT;SG Vase Vasen NOM;PL bescheißen beschissen IND;PST;3;PL malen malen NFIN Abkömmling Abkömmlinge GEN;PL Alkylhalogenid Alkylhalogenide GEN;PL murksen gemurkst PST berichten berichtetest SBJV;PST;2;SG verdrehen verdrehet SBJV;PRS;2;PL erwarten erwarte SBJV;PRS;3;SG besohlen besohltest IND;PST;2;SG einrichten richten_ein IND;PRS;3;PL rangieren rangiere SBJV;PRS;1;SG anvertrauen vertrauen_an IND;PRS;1;PL umarbeiten umarbeiten SBJV;PRS;1;PL acetylieren acetyliertet IND;PST;2;PL kriechen kriechen SBJV;PRS;1;PL ködern köderet SBJV;PRS;2;PL Balgfrucht Balgfrüchte NOM;PL Bindestrich Bindestriche NOM;PL Feuerameise Feuerameise NOM;SG Donaulachs Donaulachs DAT;SG Mehrfachvererbung Mehrfachvererbungen DAT;PL schielen schieltet IND;PST;2;PL kontaktieren kontaktiert PST Steinbruch Steinbruches GEN;SG vertagen vertag IMP;2;SG hecheln hecheln IND;PRS;3;PL Alpha-Version Alpha-Version ACC;SG Münzgeld Münzgelder GEN;PL Zuckerrübe Zuckerrüben DAT;PL Dampfer Dampfer ACC;PL verhaften verhaftete SBJV;PST;3;SG Wutbürger Wutbürger NOM;PL Quecke Quecken DAT;PL Arsphenamin Arsphenamine NOM;PL einsetzen setzten_ein IND;PST;1;PL innehalten innehaltend PRS verklären verklären SBJV;PRS;3;PL Silbermöwe Silbermöwen GEN;PL anlegen legt_an IND;PRS;3;SG Fahrer Fahrer NOM;PL Latrine Latrine GEN;SG Kernreaktion Kernreaktion GEN;SG Prügelknabe Prügelknaben DAT;SG deregulieren deregulierend PRS Almanach Almanach NOM;SG verbarrikadieren verbarrikadierte IND;PST;1;SG Entschwefelung Entschwefelung DAT;SG Inhaltsstoff Inhaltsstoffes GEN;SG thun thut IMP;2;PL Thioester Thioestere ACC;PL vergraulen vergraulen SBJV;PRS;3;PL dünken dünkten SBJV;PST;3;PL Trotzkistin Trotzkistin NOM;SG Dachshund Dachshunde NOM;PL Lotse Lotsen ACC;PL Dendrit Dendriten GEN;SG grinsen grinsen SBJV;PRS;1;PL Maulbeere Maulbeere ACC;SG Widerlegung Widerlegung NOM;SG Stand Stände ACC;PL Pornografie Pornografie GEN;SG verkloppen verklopptest IND;PST;2;SG Kernwaffe Kernwaffen DAT;PL schauen schaute SBJV;PST;3;SG Jahresbericht Jahresbericht ACC;SG batiken batikt IND;PRS;2;PL abhalten abgehalten PST zweifeln zweifelst IND;PRS;2;SG Fotografin Fotografin DAT;SG gelieren gelierest SBJV;PRS;2;SG blanchieren blanchierst IND;PRS;2;SG verlassen verlassen NFIN Verkürzungszeichen Verkürzungszeichen NOM;PL Chirurgin Chirurgin NOM;SG Moloch Molochs GEN;SG Verschlimmbesserung Verschlimmbesserungen ACC;PL addieren addiert IND;PRS;2;PL bleichen bleichet SBJV;PRS;2;PL dribbeln dribbelte SBJV;PST;3;SG industrialisieren industrialisierst IND;PRS;2;SG aussteigen steiget_aus SBJV;PRS;2;PL Ehegatte Ehegatten NOM;PL Institution Institution DAT;SG piesacken piesackt IND;PRS;2;PL Regenwald Regenwälder ACC;PL Eiswürfel Eiswürfel ACC;SG Umformulierung Umformulierungen ACC;PL Bruttonationaleinkommen Bruttonationaleinkommen ACC;PL fritieren fritiere SBJV;PRS;3;SG Königstiger Königstiger ACC;SG Unterseeboot Unterseeboot ACC;SG demotivieren demotivieren NFIN Promenade Promenade GEN;SG Mitwisserschaft Mitwisserschaft NOM;SG Trapez Trapeze ACC;PL ernten ernte IMP;2;SG jagen jagtest SBJV;PST;2;SG vertiefen vertiefe SBJV;PRS;3;SG Energiezustand Energiezustand DAT;SG zerreißen zerreiße SBJV;PRS;1;SG Blaue_Nachzügler Nachzügler ACC;PL vorhersagen sagtest_vorher IND;PST;2;SG feilschen feilschtet SBJV;PST;2;PL fügen fügend PRS Graukehlralle Graukehlralle GEN;SG Amtsgericht Amtsgerichte GEN;PL Wasserstoffisotop Wasserstoffisotop DAT;SG Marjellchen Marjellchen ACC;SG katalogisieren katalogisiertet IND;PST;2;PL translozieren translozierend PRS placieren placierte SBJV;PST;1;SG downloaden downloadet IND;PRS;2;PL Affekt Affekte GEN;PL Männchen Männchens GEN;SG Butylalkohol Butylalkohol DAT;SG vermasseln vermasselnd PRS Sportlerin Sportlerin DAT;SG Stör Stör NOM;SG Nationalist Nationalisten ACC;PL Schwur Schwur ACC;SG basteln bastle IMP;2;SG Griesgram Griesgrame NOM;PL durchwachen durchwachet SBJV;PRS;2;PL Abschiedsbrief Abschiedsbrief NOM;SG Biest Biester ACC;PL Muttermilch Muttermilch GEN;SG Infrarot Infrarots ACC;PL schnurren schnurren NFIN Staffelei Staffeleien NOM;PL Dragée Dragées GEN;PL Ozonidanion Ozonidanione GEN;PL Gymnasium Gymnasien DAT;PL abspielen spieltest_ab SBJV;PST;2;SG Verspätung Verspätungen NOM;PL strecken streckten IND;PST;3;PL glosen gloset SBJV;PRS;2;PL Blütenachse Blütenachsen ACC;PL quadrieren quadriertet SBJV;PST;2;PL glücken glückte SBJV;PST;1;SG Deern Deerns NOM;PL kippen kipptest IND;PST;2;SG vorhersagen sagten_vorher SBJV;PST;1;PL pochen pochtet SBJV;PST;2;PL zerkratzen zekratzten SBJV;PST;1;PL Vestibül Vestibüls GEN;SG rülpsen rülpste IND;PST;1;SG Bengalkatze Bengalkatze GEN;SG Häutung Häutungen DAT;PL fluppen flupptet SBJV;PST;2;PL wundern wundernd PRS zerbrechen zerbrechen IND;PRS;3;PL Gebiss Gebiss NOM;SG verweilen verweilte SBJV;PST;3;SG Futon Futons DAT;PL Hitzewelle Hitzewellen ACC;PL Psychothriller Psychothriller NOM;SG bezichtigen bezichtigte IND;PST;1;SG informieren informiertest SBJV;PST;2;SG häuten häute IMP;2;SG fahnden fahnden SBJV;PRS;1;PL belassen beließe SBJV;PST;3;SG Beweis Beweisen DAT;PL Gurt Gurt ACC;SG überreden überrede IMP;2;SG Fell Fell ACC;SG Kaffeehaus Kaffeehäusern DAT;PL Tausendschön Tausendschöns GEN;SG Meeressediment Meeressedimente GEN;PL Kapitalabfluss Kapitalabflusses GEN;SG regulieren regulieren IND;PRS;1;PL projizieren projizieren NFIN Fahrradständer Fahrradständers GEN;SG Kader Kader GEN;PL verzweigen verzweigend PRS Arbeitnehmer Arbeitnehmer ACC;PL zertrampeln zertrampelten IND;PST;3;PL montieren montieret SBJV;PRS;2;PL besprechen besprechen IND;PRS;1;PL betreten betratet IND;PST;2;PL Gasflasche Gasflasche GEN;SG Stempeluhr Stempeluhr ACC;SG Maltese Maltese NOM;SG Gipfeltreffen Gipfeltreffen NOM;PL Okarina Okarina DAT;SG raffinieren raffinierten IND;PST;1;PL Pleite Pleiten NOM;PL spritzen spritzt IND;PRS;3;SG Bruchstrich Bruchstrich NOM;SG ausschalten schaltet_aus IND;PRS;2;PL camouflieren camouflierten SBJV;PST;1;PL hoppeln hoppelten SBJV;PST;3;PL Manipulierer Manipulierers GEN;SG infizieren infizierten SBJV;PST;1;PL Spelunke Spelunken ACC;PL Kleinplanet Kleinplaneten ACC;SG sträuben sträubtet SBJV;PST;2;PL Alveolar Alveolare ACC;PL Paketname Paketnamen DAT;SG Zitronensaft Zitronensaft NOM;SG Laubbaum Laubbaum ACC;SG abstellen stellt_ab IND;PRS;3;SG googeln googeltest IND;PST;2;SG zwängen zwängtest IND;PST;2;SG Nanokristall Nanokristalle ACC;PL Siderit Siderit ACC;SG vorziehen zöge_vor SBJV;PST;1;SG Trisulfid Trisulfid DAT;SG parametrisieren parametrisiertet SBJV;PST;2;PL erfolgen erfolge SBJV;PRS;3;SG entschädigen entschädigend PRS Drucker Drucker NOM;PL Füller Füller ACC;SG taxieren taxiert IND;PRS;3;SG Drehung Drehung DAT;SG ballern ballere SBJV;PRS;3;SG Fräulein Fräuleins GEN;SG Ölfarbe Ölfarben DAT;PL Lektüre Lektüren GEN;PL Empfehlung Empfehlungen GEN;PL Kortikoid Kortikoide GEN;PL Bambusameisenwürger Bambusameisenwürgers GEN;SG crèmen crèmt IND;PRS;3;SG schnaufen schnaufst IND;PRS;2;SG Sammelbegriff Sammelbegriffe ACC;PL ableben ableben NFIN Maßband Maßband ACC;SG Regenwald Regenwald NOM;SG klemmen klemmest SBJV;PRS;2;SG Dissertation Dissertation ACC;SG schnabulieren schnabuliere IND;PRS;1;SG Reporterin Reporterin NOM;SG Apotheke Apotheken NOM;PL züchten züchtend PRS meiden mied IND;PST;3;SG Make-up Make-up DAT;SG bilden bildete SBJV;PST;3;SG Vorzeichen Vorzeichen NOM;SG Nierenversagen Nierenversagen NOM;SG produzieren produziertet SBJV;PST;2;PL Schlüsselrolle Schlüsselrollen DAT;PL Genie Genies NOM;PL Wellenlänge Wellenlängen DAT;PL gilden gilde IND;PRS;1;SG Salzgurke Salzgurke ACC;SG Aspekt Aspekt NOM;SG gelingen gelinge IND;PRS;1;SG schnüffeln schnüffelte SBJV;PST;1;SG Vorsatz Vorsatzes GEN;SG Brandbeschleuniger Brandbeschleuniger NOM;SG aufmuntern munterten_auf SBJV;PST;1;PL Katalysemechanismus Katalysemechanismusen GEN;PL Blumenstrauß Blumenstrauß ACC;SG Ächselchen Ächselchen DAT;PL Herzlosigkeit Herzlosigkeiten ACC;PL glotzen glotzten IND;PST;3;PL assoziieren assoziierte SBJV;PST;1;SG Echo Echos DAT;PL wachen wache SBJV;PRS;1;SG Oligosaccharid Oligosaccharid NOM;SG Tartrat Tartrate NOM;PL Lieferant Lieferanten DAT;PL Flug Flüge GEN;PL Wölfin Wölfin NOM;SG mißlingen mißlang IND;PST;1;SG Cyan Cyans GEN;SG sintern sinteret SBJV;PRS;2;PL verdichten verdichteten IND;PST;3;PL Hauptwurzel Hauptwurzeln DAT;PL erlaben erlaben IND;PRS;3;PL kapieren kapiertet SBJV;PST;2;PL appellieren appelliertest SBJV;PST;2;SG Adenin Adenine NOM;PL flirren flirrten SBJV;PST;3;PL biwakieren biwakiertest IND;PST;2;SG verordnen verordnetest SBJV;PST;2;SG abschließen abschließend PRS lasten lastet IND;PRS;2;PL XOR-Gatter XOR-Gattern DAT;PL Verräter Verräter NOM;SG Heap Heaps NOM;PL zählen zählet SBJV;PRS;2;PL Epoche Epochen GEN;PL Grundgesetz Grundgesetz ACC;SG läuten läutete IND;PST;1;SG Morphem Morphemen DAT;PL Spätlese Spätlesen NOM;PL Kanzlerin Kanzlerinnen DAT;PL drosseln drosselte SBJV;PST;3;SG Silberamalgam Silberamalgamen DAT;PL Zyprer Zyprer ACC;SG Schlamm Schlämme GEN;PL applaudieren applaudiere SBJV;PRS;1;SG bemächtigen bemächtigen SBJV;PRS;3;PL erfragen erfragen NFIN abspecken abspecken NFIN mäkeln mäkeln NFIN geizen geiz IMP;2;SG flankieren flankierte SBJV;PST;3;SG Haarwachstum Haarwachstum NOM;SG Einteilung Einteilung DAT;SG sabotieren sabotiert IND;PRS;2;PL dröhnen dröhnte SBJV;PST;1;SG schämen schämtet IND;PST;2;PL immunisieren immunisierten IND;PST;1;PL entführen entführt IMP;2;PL Euthanasie Euthanasie GEN;SG Riesenkalmar Riesenkalmars GEN;SG Mumie Mumie DAT;SG Pfiff Pfiffe GEN;PL Eingeschlossensein-Syndrom Eingeschlossensein-Syndroms GEN;SG ergattern ergatterten SBJV;PST;3;PL drapieren drapieren SBJV;PRS;3;PL Gülte Gülten NOM;PL Dithionat Dithionate GEN;PL Aphrodisiakum Aphrodisiaka GEN;PL klemmen geklemmt PST buhen buhen IND;PRS;1;PL Erdbeben Erdbeben ACC;PL Oberkategorie Oberkategorie NOM;SG werweissen werweissen SBJV;PRS;1;PL deregulieren deregulierte IND;PST;1;SG Umwandlungspunkt Umwandlungspunkte GEN;PL platzen platztet IND;PST;2;PL erinnern erinnre IMP;2;SG wispern wisperte IND;PST;3;SG fingieren fingierten IND;PST;1;PL drillen drillten SBJV;PST;3;PL Untermauerung Untermauerungen GEN;PL emittieren emittiert IND;PRS;3;SG Bindfäden_regnen regnen_Bindfäden SBJV;PRS;3;PL Nervenkrieg Nervenkrieg ACC;SG coventrisieren coventrisierend PRS Stürmer Stürmer GEN;PL besichern besichertet IND;PST;2;PL Schummelei Schummelei GEN;SG Flinte Flinten NOM;PL Strand Stränden DAT;PL einschlafen schliefen_ein SBJV;PST;1;PL sabbeln sabbeln NFIN Kautschuk Kautschuk NOM;SG Baby Baby ACC;SG Idololatrie Idololatrie NOM;SG Standardwerk Standardwerkes GEN;SG misshandeln misshandelte IND;PST;1;SG Vorstandsmitglied Vorstandsmitglieder ACC;PL Elektronenmasse Elektronenmasse DAT;SG Pflanzenstoff Pflanzenstoffen DAT;PL beschießen beschossen IND;PST;3;PL Blattachsel Blattachsel ACC;SG grabbeln grabble IMP;2;SG Nomokratiechen Nomokratiechen NOM;PL gedenken gedächten SBJV;PST;3;PL zerstreuen zerstreutet IND;PST;2;PL zurückkommen kamen_zurück IND;PST;3;PL Innerorbitalkomplex Innerorbitalkomplex DAT;SG Druide Druiden NOM;PL Ableger Ablegern DAT;PL Saufgelage Saufgelage NOM;SG Kanone Kanonen ACC;PL beteuern beteuerest SBJV;PRS;2;SG Neutronenstern Neutronenstern ACC;SG besohlen besohlest SBJV;PRS;2;SG Christogramm Christogramms GEN;SG bewirken bewirkte SBJV;PST;1;SG Wandfarbe Wandfarbe GEN;SG Gefahrgut Gefahrgütern DAT;PL Hochdruckgebiet Hochdruckgebietes GEN;SG magnetisieren magnetisieren SBJV;PRS;1;PL Verschwörungstheoretikerin Verschwörungstheoretikerinnen ACC;PL fechten fechten SBJV;PRS;1;PL Gesetzentwurf Gesetzentwurf NOM;SG Wurmloch Wurmloch NOM;SG gewährleisten gewährleistetest SBJV;PST;2;SG bestreiten bestrittest IND;PST;2;SG umarmen umarm IMP;2;SG Kassenpatient Kassenpatienten DAT;SG korrumpieren korrumpieren IND;PRS;3;PL Kollektion Kollektionen NOM;PL stapfen stapftest SBJV;PST;2;SG Frühsport Frühsport ACC;SG Hurriterin Hurriterinnen ACC;PL Extranet Extranets ACC;PL Archäologe Archäologen ACC;PL ersteigern ersteigert IMP;2;PL Silbentrennung Silbentrennungen ACC;PL Möbel Möbel DAT;SG appellieren appellieren SBJV;PRS;3;PL Foyer Foyer NOM;SG melden meldetet SBJV;PST;2;PL Mehlschwalbe Mehlschwalben NOM;PL zurückweisen weist_zurück IND;PRS;2;PL Feigenbaum Feigenbaum DAT;SG Hefeteig Hefeteige ACC;PL zappeln zappelt IND;PRS;2;PL Senegalesin Senegalesinnen ACC;PL Hocker Hocker GEN;PL Fluorcarbon Fluorcarbons GEN;SG Alchemist Alchemisten GEN;PL reiten ritte SBJV;PST;3;SG Ataxie Ataxien DAT;PL untersagen untersagst IND;PRS;2;SG Hooligan Hooligans ACC;PL Herzversagen Herzversagen NOM;SG Hobby Hobbys ACC;PL Operationssaal Operationssäle NOM;PL tagträumen tagträumen SBJV;PRS;1;PL Befüllung Befüllungen DAT;PL gehorchen gehorchen SBJV;PRS;1;PL keulen keulte SBJV;PST;3;SG attestieren attestierten SBJV;PST;1;PL Rotgültigerz Rotgültigerz DAT;SG Spedition Speditionen DAT;PL Rinne Rinne GEN;SG Bambusameisenwürger Bambusameisenwürger ACC;SG sanieren saniertet IND;PST;2;PL Vanadat Vanadate NOM;PL Klettergarten Klettergärten NOM;PL Kindermädchen Kindermädchen GEN;PL reüssieren reüssieren SBJV;PRS;3;PL erwidern erwidere SBJV;PRS;1;SG genügen genügen SBJV;PRS;3;PL hinken hinken IND;PRS;1;PL Hamster Hamster ACC;PL Gedankenspiel Gedankenspiele NOM;PL ertragen ertragen IND;PRS;3;PL Ausführung Ausführungen ACC;PL panieren panierte SBJV;PST;1;SG Primatologin Primatologin GEN;SG vermarkten vermarktest SBJV;PRS;2;SG anschnallen schnallte_an SBJV;PST;3;SG Taufschein Taufscheine GEN;PL verursachen verursachen IND;PRS;1;PL Geier Geier ACC;PL Automatensalon Automatensalons NOM;PL Oolith Oolithen GEN;SG aussagen sagen_aus IND;PRS;1;PL erwachen erwachend PRS Ballast Ballaste ACC;PL Terrasse Terrasse DAT;SG kriminalisieren kriminalisiere IND;PRS;1;SG Schweizerin Schweizerinnen NOM;PL Isolierung Isolierung DAT;SG keuchen keuchte SBJV;PST;3;SG Kaiserpinguin Kaiserpinguine GEN;PL belohnen belohnte IND;PST;3;SG promovieren promoviere SBJV;PRS;1;SG Drei_gewinnt gewinnt GEN;SG Wasserflasche Wasserflaschen ACC;PL kribbeln kribble IMP;2;SG zuppen zuppten IND;PST;1;PL tropfen tropfen SBJV;PRS;1;PL Plätzchen Plätzchen GEN;PL Küchenmöbel Küchenmöbel ACC;PL Abkühlen Abkühlen ACC;SG Glockengießer Glockengießers GEN;SG Langschwanzpinguin Langschwanzpinguins GEN;SG improvisieren improvisierte SBJV;PST;1;SG exportieren exportiert IND;PRS;2;PL roden rodeten SBJV;PST;1;PL Fang Fang DAT;SG Vierteljahrhundert Vierteljahrhunderte ACC;PL begrenzen begrenztest IND;PST;2;SG Vakuumverdampfer Vakuumverdampfer NOM;PL Soziologe Soziologen GEN;SG ernten erntest SBJV;PRS;2;SG Löllingit Löllingiten DAT;PL erwirtschaften erwirtschaftetet SBJV;PST;2;PL Ärgernis Ärgernisse GEN;PL sorgen sorgten SBJV;PST;1;PL Fernsehgerät Fernsehgeräte GEN;PL schwänzen schwänztet SBJV;PST;2;PL mobben mobbte IND;PST;3;SG vorziehen ziehe_vor IND;PRS;1;SG Appartement Appartement DAT;SG Gefäß Gefäße ACC;PL ramifizieren ramifiziere SBJV;PRS;3;SG abstrahieren abstrahierten SBJV;PST;3;PL beantworten beantworte SBJV;PRS;3;SG Coupon Coupons DAT;PL zürnen zürnte IND;PST;1;SG schwanken schwankte SBJV;PST;1;SG partitionieren partitionierten SBJV;PST;1;PL Schwung Schwüngen DAT;PL Viertel Viertel ACC;PL schürfen schürft IND;PRS;3;SG promotieren promotiere SBJV;PRS;3;SG Kilojoule Kilojoule ACC;PL ausscheiden schieden_aus SBJV;PST;1;PL Katalane Katalanen DAT;SG Kraftfahrzeug Kraftfahrzeuge NOM;PL Ohrenschmalz Ohrenschmalz DAT;SG entfolgen entfolge SBJV;PRS;3;SG Drahtseil Drahtseile ACC;PL plumpsen plumpste SBJV;PST;3;SG Nebelgranate Nebelgranate NOM;SG Schildkrebs Schildkrebse NOM;PL Molybdopterin Molybdopterine GEN;PL Abschreibung Abschreibungen DAT;PL sträuben sträube SBJV;PRS;1;SG respektieren respektiertest IND;PST;2;SG Stück Stück NOM;SG beheizen beheizend PRS Fäßchen Fäßchen NOM;SG feuern feuerten IND;PST;3;PL Blender Blender NOM;SG Tanz Tänze GEN;PL Jahrgang Jahrganges GEN;SG Glühfaden Glühfaden ACC;SG Ethoxylat Ethoxylat ACC;SG Schwachsinn Schwachsinn ACC;SG Einwohner Einwohner NOM;PL amüsieren amüsierte IND;PST;3;SG verschieben verschiebt IND;PRS;2;PL Zyklop Zyklopen GEN;SG Glycerin Glycerins GEN;SG empören empört IMP;2;PL regenerieren regenerieren NFIN obfuskieren obfuskierte IND;PST;1;SG Rücktritt Rücktritte ACC;PL Sackhüpfen Sackhüpfen DAT;SG Weltbild Weltbild NOM;SG zeichnen zeichnetet SBJV;PST;2;PL Honigbiene Honigbienen NOM;PL regen regen IND;PRS;1;PL Lupine Lupine ACC;SG appliciren appliciren IND;PRS;3;PL panaschieren panaschiere IND;PRS;1;SG Kontaktierung Kontaktierungen ACC;PL Thing Thing NOM;SG Cyanobakterium Cyanobakterium NOM;SG schimmeln schimmelt IND;PRS;2;PL leiten leitete IND;PST;1;SG würfeln würfelten SBJV;PST;1;PL isolieren isolieren IND;PRS;1;PL beerdigen beerdigte SBJV;PST;3;SG verrosten verrosten SBJV;PRS;3;PL Dreifachklick Dreifachklicks DAT;PL Gimpel Gimpel DAT;SG massieren massierten IND;PST;3;PL Gottklasse Gottklasse ACC;SG wiehern wiehert IND;PRS;3;SG Feingehalt Feingehalte ACC;PL Pomeranze Pomeranzen DAT;PL Albit Albite ACC;PL Nukleon Nukleons GEN;SG Kegel Kegel ACC;PL Hackbrett Hackbrett DAT;SG Saibling Saibling ACC;SG Gemüsehändler Gemüsehändlern DAT;PL wägen wögest SBJV;PST;2;SG schaden schadest IND;PRS;2;SG bölken bölken SBJV;PRS;3;PL anhören hörte_an SBJV;PST;3;SG tränken tränken IND;PRS;3;PL türmen türmt IND;PRS;2;PL deuten deuten SBJV;PRS;3;PL ignorieren ignorieren IND;PRS;1;PL Lungenkrebs Lungenkrebs ACC;SG wundern wunderten IND;PST;1;PL Baumarkt Baumarkt DAT;SG würgen würgen NFIN Sulfurylhalogenid Sulfurylhalogenid DAT;SG kicken kickten SBJV;PST;3;PL Knabe Knaben GEN;PL Tätigkeitswort Tätigkeitswortes GEN;SG Tonnengewölbe Tonnengewölbe DAT;SG Gendarm Gendarmen ACC;SG Schwarzmasken-Ameisenwürger Schwarzmasken-Ameisenwürger NOM;SG Kiloelektronenvolt Kiloelektronenvolts ACC;PL Becherglas Bechergläser GEN;PL elektrisiren elektrisirst IND;PRS;2;SG blaken blaktet SBJV;PST;2;PL Hammerhai Hammerhaien DAT;PL Zimmernummer Zimmernummern GEN;PL reglementieren reglementierte SBJV;PST;3;SG Staatskasse Staatskassen ACC;PL Teilchengröße Teilchengrößen ACC;PL Bolzplatz Bolzplätze GEN;PL beschuldigen beschuldigten SBJV;PST;1;PL Fussel Fussel DAT;SG native_Speaker Speakers DAT;PL Selendefizit Selendefizits GEN;SG verschieben verschiebt IMP;2;PL Schmierblatt Schmierblättern DAT;PL Olympiastadion Olympiastadien NOM;PL Akdalait Akdalait DAT;SG streicheln streichelten IND;PST;1;PL nominieren nominierten IND;PST;3;PL auf_den_Keks_gehen gingen_auf_den_Keks IND;PST;1;PL verabscheuen verabscheute IND;PST;1;SG Kommunistin Kommunistin DAT;SG klonen klonen SBJV;PRS;1;PL mauern mauert IND;PRS;2;PL Eisenkies Eisenkieses GEN;SG Einweisung Einweisung ACC;SG Kriechtier Kriechtieren DAT;PL Knipser Knipser ACC;SG Altmaterial Altmaterialien DAT;PL Jagd Jagd GEN;SG knistern knisterten SBJV;PST;1;PL Gebärmutterschleimhaut Gebärmutterschleimhäute GEN;PL Bienenkorb Bienenkörben DAT;PL Aussprachewörterbuch Aussprachewörterbuch DAT;SG Assistentin Assistentinnen ACC;PL verärgern verärgre IND;PRS;1;SG schweißen geschweißt PST piesacken piesacket SBJV;PRS;2;PL zittern zittertest SBJV;PST;2;SG quadrieren quadrierten IND;PST;3;PL Katarakt Katarakt NOM;SG ruinieren ruinieren NFIN Impuls Impulse ACC;PL Hülse Hülsen NOM;PL schikanieren schikaniertest IND;PST;2;SG Regierung Regierung NOM;SG verästeln verästelten IND;PST;3;PL süßen süßtest SBJV;PST;2;SG stinken stanken IND;PST;1;PL Schabrackenschakal Schabrackenschakales GEN;SG Seekrankheit Seekrankheiten ACC;PL Hausschuh Hausschuh ACC;SG flechten flochtest IND;PST;2;SG Hochofenprozess Hochofenprozess NOM;SG Schleim Schleime GEN;PL Geheimcode Geheimcodes DAT;PL Arsenat Arsenaten DAT;PL kreisen kreisend PRS Raumtemperatur Raumtemperatur GEN;SG Zurschaustellen Zurschaustellen DAT;SG bedanken bedanken SBJV;PRS;1;PL gliedern gliederte IND;PST;3;SG Glücksbringer Glücksbringer NOM;SG philosophieren philosophierten SBJV;PST;1;PL Gewichtsprozent Gewichtsprozenten DAT;PL betrüben betrübt IND;PRS;2;PL überwinden überwindet SBJV;PRS;2;PL Salzwiese Salzwiese NOM;SG Reibung Reibungen DAT;PL Formatierung Formatierung ACC;SG verschwören verschwören SBJV;PST;1;PL sparen spart IND;PRS;2;PL Satyr Satyr NOM;SG erneuern erneuerten SBJV;PST;3;PL pupsen pupste IND;PST;1;SG entjungfern entjungerten SBJV;PST;1;PL fragmentieren fragmentiere SBJV;PRS;3;SG Magd Mägde NOM;PL sparen spare SBJV;PRS;1;SG Waldeinsamkeit Waldeinsamkeiten GEN;PL Wortliste Wortlisten NOM;PL folgen folgtest IND;PST;2;SG Plasmaspiegel Plasmaspiegel NOM;SG versichern versicherst IND;PRS;2;SG Übung Übungen DAT;PL Totenmesse Totenmessen NOM;PL komplexieren komplexierten SBJV;PST;3;PL orientieren orientiert PST Transistor Transistoren ACC;PL Sammler Sammler DAT;SG Biologe Biologen DAT;PL Zuschauer Zuschauer DAT;SG kündigen kündigest SBJV;PRS;2;SG verbrechen verbrächest SBJV;PST;2;SG Geisterfahrer Geisterfahrer ACC;SG tuscheln getuschelt PST dünken dünkest SBJV;PRS;2;SG Sonnabendabend Sonnabendabend DAT;SG Zinkion Zinkions GEN;SG variieren variierten IND;PST;1;PL misslingen misslangen IND;PST;1;PL Vorstellungskraft Vorstellungskraft DAT;SG geifern geifern SBJV;PRS;1;PL Myrrhe Myrrhen GEN;PL Winkeladvokat Winkeladvokaten NOM;PL Lusitaner Lusitaner ACC;SG Pendler Pendler NOM;SG Zirkus Zirkussen DAT;PL Freudentaumel Freudentaumel ACC;SG Heilbutt Heilbutte ACC;PL detektieren detektieren SBJV;PRS;3;PL frohlocken frohlocktet SBJV;PST;2;PL Kaffeeklatsch Kaffeeklatsch ACC;SG Fusionsreaktor Fusionsreaktoren NOM;PL Schmutz Schmutz NOM;SG Oboe Oboen ACC;PL geifern geiferest SBJV;PRS;2;SG Nigerianer Nigerianer DAT;SG bevorzugen bevorzugen IND;PRS;1;PL Märchenbuch Märchenbuch NOM;SG Helfer Helfer DAT;SG überfallen überfallen PST Wunsch Wunsch NOM;SG verzehren verzehrt IMP;2;PL Globulin Globulinen DAT;PL Infant Infanten ACC;PL Schabe Schabe ACC;SG partitionieren partitioniert IMP;2;PL bepflanzen bepflanze SBJV;PRS;1;SG Friteuse Friteuse NOM;SG Offizier Offiziere GEN;PL provozieren provoziere SBJV;PRS;1;SG Daumen Daumen NOM;PL downloaden downloadeten SBJV;PST;3;PL requirieren requiriertest IND;PST;2;SG Sache Sachen ACC;PL Job Jobs DAT;PL Gallenstein Gallenstein ACC;SG schwellen schwoll IND;PST;3;SG Bäuerin Bäuerin GEN;SG Haben Haben ACC;PL Sonnentau Sonnentaue NOM;PL Dichtungsmaterial Dichtungsmaterials GEN;SG Erythrozyt Erythrozyten ACC;PL Koproduktion Koproduktionen NOM;PL implodieren implodiertet IND;PST;2;PL neutralisieren neutralisierte IND;PST;3;SG Sonnenhut Sonnenhutes GEN;SG streiken streiktet IND;PST;2;PL benehmen benehme IND;PRS;1;SG Hauhechel Hauhecheln NOM;PL Beule Beule NOM;SG crèmen crème IND;PRS;1;SG Ecuadorianer Ecuadorianer GEN;PL flüstern flüsterte SBJV;PST;3;SG Dragee Dragee DAT;SG Rupie Rupien DAT;PL Denkmünze Denkmünze DAT;SG Zuckerrübe Zuckerrübe NOM;SG Pompon Pompons GEN;SG moderieren moderiert IND;PRS;2;PL Antagonist Antagonisten NOM;PL belaufen beliefen IND;PST;3;PL abnutzen nutzten_ab IND;PST;3;PL Tribüne Tribüne DAT;SG Sekretariat Sekretariat NOM;SG Deuterid Deuterid ACC;SG erwirtschaften erwirtschaften IND;PRS;3;PL schwärmen schwärmest SBJV;PRS;2;SG verändern veränderte IND;PST;3;SG zählen zählte IND;PST;3;SG klonen klont IND;PRS;3;SG konvertieren konvertieren SBJV;PRS;1;PL opfern opferte IND;PST;1;SG aufhören hörst_auf IND;PRS;2;SG wegfahren führe_weg SBJV;PST;3;SG ficken ficktet SBJV;PST;2;PL Beschreibung Beschreibungen GEN;PL Monoarsan Monoarsane NOM;PL beflügeln beflügelt IND;PRS;3;SG stinken stänkest SBJV;PST;2;SG Legastheniker Legastheniker DAT;SG googeln googelt IND;PRS;2;PL korrigieren korrigiert IND;PRS;2;PL Einfarbameisenwürger Einfarbameisenwürgers GEN;SG Skalpell Skalpell ACC;SG Lektion Lektionen ACC;PL Bratapfel Bratapfel ACC;SG grünen grüntet IND;PST;2;PL Ehrung Ehrung DAT;SG behaupten behaupten NFIN Boiler Boiler GEN;PL Alexithymie Alexithymien ACC;PL Staubblatt Staubblattes GEN;SG Pendler Pendler DAT;SG versichern versicherten SBJV;PST;1;PL flitzen flitzt IMP;2;PL ernähren ernährst IND;PRS;2;SG Aha-Erlebnis Aha-Erlebnis NOM;SG Städtepartnerschaft Städtepartnerschaft ACC;SG klassifizieren klassifiziert IND;PRS;3;SG digerieren digerierten IND;PST;3;PL gestalten gestaltete IND;PST;1;SG versenken versenke IND;PRS;1;SG nachgeben gebt_nach IMP;2;PL empfehlen empfohlen PST Dole Dolen GEN;PL Ruhetag Ruhetag DAT;SG markieren markier IMP;2;SG Eibe Eiben ACC;PL salutieren salutiert IMP;2;PL erfreuen erfreut IND;PRS;2;PL möblieren möbliertet SBJV;PST;2;PL zersetzen zersetzte SBJV;PST;1;SG stapeln stapeln IND;PRS;3;PL urbanisieren urbanisierte SBJV;PST;3;SG Säugling Säuglinge GEN;PL Asylrecht Asylrecht ACC;SG Vagina Vagina ACC;SG Gasplanet Gasplaneten ACC;PL halogenieren halogenierend PRS Schädel Schädel ACC;PL runden rundest SBJV;PRS;2;SG Phosphazen Phosphazen DAT;SG Rasur Rasur NOM;SG Polysem Polyseme ACC;PL Tatze Tatzen ACC;PL Ruder Rudern DAT;PL Silbererz Silbererzes GEN;SG Pfandhaus Pfandhaus NOM;SG erobern erobertest IND;PST;2;SG Hüllenelektron Hüllenelektron ACC;SG Verschleiß Verschleiß NOM;SG Arbeitsschutz Arbeitsschutz DAT;SG verhören verhören IND;PRS;1;PL Ejakulat Ejakulat NOM;SG plissieren plissiere IND;PRS;1;SG verschleudern verschleuderte IND;PST;3;SG prokrastinieren prokrastiniere SBJV;PRS;1;SG Aula Aula NOM;SG Diakonie Diakonien ACC;PL Inkubator Inkubators GEN;SG nuscheln nuschle IND;PRS;1;SG sengen sengten IND;PST;1;PL Algorithmus Algorithmus DAT;SG Luster Luster DAT;SG besetzen besetzt IND;PRS;2;PL Brüderchen Brüderchen GEN;PL thematisieren thematisieren IND;PRS;3;PL krösen krösten IND;PST;3;PL Endometrium Endometrien NOM;PL Wunsch Wünschen DAT;PL jähren jährt IMP;2;PL Tukan Tukane ACC;PL kränkeln kränkelst IND;PRS;2;SG sickern sickert IND;PRS;3;SG schwätzen schwätztet SBJV;PST;2;PL nageln nagelst IND;PRS;2;SG schreiten schritten IND;PST;3;PL hecken heckten SBJV;PST;3;PL Freibad Freibäder ACC;PL Eingeweihte Eingeweihten GEN;SG Unersättlichkeit Unersättlichkeit GEN;SG Absolvent Absolventen NOM;PL Glotze Glotze ACC;SG Ursprung Ursprung DAT;SG Schneeräumer Schneeräumer ACC;PL Brücke Brücken NOM;PL Rheumatismus Rheumatismus ACC;SG Keiler Keiler ACC;SG Wellenlängenbereich Wellenlängenbereiche ACC;PL Gemüseladen Gemüseladen NOM;SG Gehölz Gehölz DAT;SG Pärchen Pärchen NOM;PL Verwirckung Verwirckungen NOM;PL Laune Launen GEN;PL frustrieren frustriertest IND;PST;2;SG gewährleisten gewährleistetest IND;PST;2;SG Bleierz Bleierz ACC;SG prostituieren prostituiert IND;PRS;3;SG individualisieren individualisierten IND;PST;3;PL fluktuieren fluktuierte IND;PST;3;SG Spirale Spiralen ACC;PL Pole Polen DAT;SG Havarie Havarie NOM;SG klettern klettertest SBJV;PST;2;SG Mitbestimmung Mitbestimmung DAT;SG Helm Helm DAT;SG Schwebfliege Schwebfliegen DAT;PL menstruieren menstruieret SBJV;PRS;2;PL worfeln geworfelt PST langweilen langweiltest IND;PST;2;SG Perborat Perborates GEN;SG Lebenslüge Lebenslügen NOM;PL Hemmschuh Hemmschuhe GEN;PL winden wand IND;PST;3;SG übernachten übernachteten IND;PST;3;PL Achselchen Achselchen ACC;PL Erzieher Erziehern DAT;PL brühen brühend PRS Messdiener Messdiener NOM;SG Möglichkeit Möglichkeiten DAT;PL schmunzeln schmunzelte IND;PST;1;SG gravieren gravierte SBJV;PST;3;SG Bude Bude DAT;SG Stoppel Stoppel ACC;SG koproduzieren koproduziert IND;PRS;2;PL funktionieren funktionierten IND;PST;1;PL enthaupten enthauptet SBJV;PRS;2;PL Honorar Honorare ACC;PL vertuschen vertuschten SBJV;PST;1;PL kappen kappen SBJV;PRS;1;PL feuern feuerte SBJV;PST;1;SG zementieren zementierst IND;PRS;2;SG mumifizieren mumifizierest SBJV;PRS;2;SG überraschen überraschtet IND;PST;2;PL entrichten entrichte IMP;2;SG Demokrat Demokraten GEN;SG Aphasie Aphasien ACC;PL bereinigen bereinig IMP;2;SG rummeln rummelet SBJV;PRS;2;PL Silbergeflecht Silbergeflechten DAT;PL Superphosphat Superphosphat DAT;SG Sozialschmarotzer Sozialschmarotzer ACC;SG Ferrit Ferrit DAT;SG funkeln funkele SBJV;PRS;1;SG Schrotflinte Schrotflinte ACC;SG Entdeckung Entdeckungen NOM;PL fetzen fetze SBJV;PRS;1;SG wurschteln wurschtelte SBJV;PST;1;SG kompostieren kompostieren NFIN Halbmetallcharakter Halbmetallcharaktere ACC;PL kondensieren kondensierst IND;PRS;2;SG knirschen knirschend PRS mißtrauen mißtrauen SBJV;PRS;3;PL wildern wildertest IND;PST;2;SG Bisphosphonat Bisphosphonate NOM;PL Fäßchen Fäßchens GEN;SG widerlegen widerlegst IND;PRS;2;SG Stecker Stecker NOM;PL Pflaumensaft Pflaumensaftes GEN;SG ehelichen ehelichen SBJV;PRS;3;PL kämmen kämmten SBJV;PST;1;PL verdunkeln verdunkeltest IND;PST;2;SG übernachten übernachten SBJV;PRS;1;PL versklaven versklaven NFIN Grotte Grotten GEN;PL Jot Jot NOM;SG Lade Lade NOM;SG
8df77c221838eecd616520b2677dd3a43c828c99
449d555969bfd7befe906877abab098c6e63a0e8
/1268/CH4/EX4.20/4_20.sce
e8c870b369e13314563321ecaf52ada4ce9ecc9f
[]
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
245
sce
4_20.sce
clc; disp("Example 4.20") d=0.05 // in m G= 125 // Massflow rate per crosssection area in kg/m^2/s mew= 0.025 // in kg/ms Re=d*G/mew density=800 V=G/density Vmax= 2*V Vgrad= -2*Vmax*2/d disp(Vgrad,"Velocity gradient on the wall is ")
7ca43f47fd943dfc30f36430724df8c577324796
449d555969bfd7befe906877abab098c6e63a0e8
/1658/CH30/EX30.3/Ex30_3.sce
3bf9e128c16da9b3bca042fac6d57846e5efd056
[]
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
70
sce
Ex30_3.sce
clc; t=0.1; tao=0.2; vc=0.5*exp(-t/tao); disp('V',vc*1,"vc=");
3d4a783e8eb694c0a7774396ec92d9d4ccc7b172
62e6605ab494919b6833bf1a1b158bcb6f9b79df
/idpoli.sci
92b92a6fd2ad3cbb5b7c07472c5b2bfcb60545bc
[]
no_license
mani1250/system-identification
c597c26d10bb5dd62b1b4db650b3945afc336e37
5db0536c792dfaa4a8f01561315263503ff34d3d
refs/heads/master
2021-01-12T06:56:00.703593
2017-03-07T12:18:15
2017-03-07T12:18:15
76,865,655
0
0
null
null
null
null
UTF-8
Scilab
false
false
4,083
sci
idpoli.sci
function [X]=idpoli(A, B, C, D, F1, ioDelay, Ts) [lhs,rhs] = argn(0) if(rhs<6) ioDelay = 0; Ts = 1; end Class = "Idpoly" Type = typecheck(A,B,C,D,F1) if(Type=="arx") printf("Discrete time ARX mod A(z)y(k) = B(z)u(k) + e(k)") // check whether the print os correcty used and also check whether /n is correctly used or not elseif(Type=="armax") printf("Discrete time ARMAX model: A(z)y(k) = B(z)u(k) + C(z)e(k)") //Again check for the same elseif(Type=="oe") printf("DIscrete time OE model:r A(k) = B(z)/F(z) u(k) + e(k)") elseif(Type=="bj") printf("Discrete time Bj model : y(k) = B(z)/F(z) u(k) + C(z)/D(z) e(k)") else printf("Discrete-time Polynomial mod: A(z) y[k] = B(z)/F(z) u[k] + C(z)/D(z) e[k]") end mprintf('\n\n') // Printing standard error sequence if(size(A,'*')>1) mprintf("A(q^{-1}) = ") for(i=1:size(A,'*')) if(i-1==0) mprintf('%f',A(i))//disp(F1(i)) else if(A(i)>0) printf("+") else printf("-") end if(A(i)~=1) mprintf(' %f',abs(A(i))) temp = 'q^{'+string(-(i-1))+'}' mprintf(' %s',temp)//disp(temp) end end end end mprintf('\n') printf("B(q^-1) = ") for i = 1:size(B,'*') if(B(i)>0) printf("+") else printf("-") end printf(' %f ',B(i)) printf("q^{-"+string(i+ioDelay-1)+"}") end //for(i=1:size(B,'*')) // //pause // if(i+ioDelay-1==0) // mprintf('%f',round(B(i))); // else // if((ioDelay~=0) & (i==1)) // if(B(i)>0) // printf("+") // else // printf("-") // end // else // if(B(i)<0) then // printf("-") // end // end // // if abs(B(i))~=1 then // printf('%f',B(i)) // printf("q^{-",i+ioDelay-1,"}") // end // // //end //end mprintf('\n') if(size(C,'*')>1) mprintf("C(q^{-1}) = ") for(i=1:size(C,'*')) if(i-1==0) mprintf('%f',C(i))//disp(F1(i)) else if(C(i)>0) printf("+") else printf("-") end if(C(i)~=1) mprintf(' %f',abs(C(i))) temp = 'q^{'+string(-(i-1))+'}' mprintf(' %s',temp)//disp(temp) end end end end mprintf('\n') if(size(D,'*')>1) mprintf("D(q^{-1}) = ") for(i=1:size(D,'*')) if(i-1==0) mprintf('%f',D(i))//disp(F1(i)) else if(D(i)>0) printf("+") else printf("-") end if(D(i)~=1) mprintf(' %f',abs(D(i))) temp = 'q^{'+string(-(i-1))+'}' mprintf(' %s',temp)//disp(temp) end end end end mprintf('\n') if(size(F1,'*')>1) mprintf("F(q^{-1}) = ") for(i=1:size(F1,'*')) if(i-1==0) mprintf('%f',F1(i))//disp(F1(i)) else if(F1(i)>0) printf("+") else printf("-") end if(F1(i)~=1) mprintf(' %f',abs(F1(i))) temp = 'q^{'+string(-(i-1))+'}' mprintf(' %s',temp)//disp(temp) end end end end mprintf('\n') X = struct('Type',Type,'Class',Class,'A',A,'B',B,'C',C,'D',D,'F1',F1,'ioDelay',ioDelay,'Ts',Ts) endfunction
07c18d72144615715a88ff1b0b409a88fd7d0f4e
1b969fbb81566edd3ef2887c98b61d98b380afd4
/Rez/bivariate-lcmsr-post_mi/bfi_c_bfa_mt/~BivLCM-SR-bfi_c_bfa_mt-PLin-VLin.tst
5e32b145ed30b0b707aaefb03fc840d4ed4fdf72
[]
no_license
psdlab/life-in-time-values-and-personality
35fbf5bbe4edd54b429a934caf289fbb0edfefee
7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e
refs/heads/master
2020-03-24T22:08:27.964205
2019-03-04T17:03:26
2019-03-04T17:03:26
143,070,821
1
0
null
null
null
null
UTF-8
Scilab
false
false
11,974
tst
~BivLCM-SR-bfi_c_bfa_mt-PLin-VLin.tst
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM. ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 0.303116D+00 2 -0.206463D-02 0.232547D-02 3 -0.250394D-01 -0.152078D-02 0.400465D+00 4 -0.159320D-02 -0.271554D-03 -0.595630D-02 0.338805D-02 5 -0.523082D-03 0.974137D-04 -0.172175D-02 0.163410D-03 0.358690D-02 6 -0.183869D-03 -0.412717D-04 0.591253D-03 -0.204050D-03 -0.134403D-03 7 -0.558854D-03 -0.166253D-03 0.176094D-02 -0.184874D-03 -0.319778D-03 8 0.109472D-02 -0.584196D-04 -0.309843D-03 0.162638D-03 0.204305D-03 9 -0.306117D+00 0.889449D-02 0.167284D+00 0.828358D-02 0.475194D-01 10 -0.163410D+00 -0.120342D-01 0.164829D-01 0.135816D-01 0.109347D+00 11 0.103599D+00 0.144923D-01 -0.218281D+00 -0.114679D-04 0.423959D-01 12 -0.195631D+00 -0.128836D-01 0.453556D+00 0.101441D-01 -0.184036D-01 13 -0.102999D-01 -0.181568D-01 0.141059D+00 -0.233352D-01 -0.374948D-01 14 0.142284D+00 -0.154382D-01 0.131200D+00 0.878737D-02 0.325616D-01 15 -0.235131D+01 -0.392961D-01 -0.158989D-01 -0.436597D-01 -0.114306D+00 16 -0.599986D-01 -0.255894D-02 0.577495D-02 -0.692432D-03 -0.130131D-02 17 0.100866D-01 -0.392432D-03 0.882183D-03 0.461419D-03 -0.482135D-03 18 -0.140711D+00 -0.860196D-02 0.596182D+00 -0.167950D-01 0.659407D-01 19 0.625127D-01 0.914177D-02 0.224803D-01 -0.264101D-02 0.143327D-02 20 0.823631D+00 -0.500831D-02 0.145109D+01 -0.188419D-01 -0.576541D-01 21 -0.688998D-01 -0.807646D-02 -0.543084D-01 0.122829D-01 0.111599D-02 22 0.225054D-02 0.316996D-03 0.256349D-02 0.800421D-04 -0.173579D-03 23 0.543735D-02 0.231128D-02 -0.922002D-02 0.977515D-02 -0.217903D-02 24 -0.530983D-03 0.161273D-04 0.325099D-02 0.406503D-04 0.333292D-03 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 6 7 8 9 10 ________ ________ ________ ________ ________ 6 0.112585D-02 7 0.916942D-03 0.285020D-02 8 -0.595656D-03 -0.357287D-03 0.345717D-02 9 0.226792D-01 0.296171D-01 -0.102194D-01 0.450255D+02 10 -0.425569D-02 -0.717459D-02 0.223169D-01 0.480035D+01 0.184964D+02 11 0.260862D-01 -0.101512D-01 0.114736D-01 -0.627866D+00 0.692838D+00 12 0.501966D-01 0.220881D-01 0.658699D-01 0.858525D+01 0.231692D+01 13 0.731094D-01 0.128355D+00 -0.533362D-01 -0.111786D+01 -0.199451D+01 14 -0.778678D-01 -0.378755D-01 0.362492D+00 -0.113270D+01 0.728766D+01 15 0.100515D-02 0.258402D-01 0.212254D-02 -0.986233D+01 -0.114354D+02 16 0.396357D-03 0.187893D-02 -0.905402D-03 0.746183D+00 -0.172790D+00 17 0.432073D-04 0.265385D-04 -0.480403D-04 -0.147818D+00 0.665871D-03 18 -0.678091D-01 -0.871695D-01 0.156528D-01 -0.141797D+01 0.179363D+01 19 -0.145875D-01 0.416668D-02 -0.160635D-01 -0.275628D+00 -0.101647D+01 20 0.774804D-01 0.919004D-01 -0.298310D+00 -0.788762D+01 -0.723140D+01 21 0.119428D-01 -0.708154D-02 0.189085D-01 0.449087D+00 0.112428D+01 22 -0.137318D-03 -0.292509D-03 0.298694D-03 -0.778803D-02 0.352068D-02 23 -0.590925D-03 -0.295004D-03 -0.990988D-03 -0.182560D+00 -0.470646D-01 24 0.273246D-04 -0.255376D-03 -0.109204D-03 0.466584D-01 0.735900D-02 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 11 12 13 14 15 ________ ________ ________ ________ ________ 11 0.401008D+02 12 -0.186418D+02 0.104542D+03 13 -0.191449D+01 -0.114305D+01 0.167852D+02 14 -0.937311D+00 0.538069D+01 -0.865233D+01 0.700519D+02 15 -0.902015D+00 0.224861D+01 0.275176D+00 -0.123629D+01 0.247496D+03 16 -0.287889D+00 0.149573D+00 0.128953D+00 -0.157643D+00 0.179201D+01 17 -0.110723D-01 -0.344755D-01 0.252872D-01 0.181410D-01 -0.106134D+01 18 -0.259441D+01 -0.296211D+01 -0.564287D+01 0.765728D+01 -0.215374D+02 19 -0.304910D+00 -0.151449D+01 -0.293196D+00 -0.249087D+01 0.115169D+01 20 -0.760299D+01 -0.180177D+02 0.158364D+02 -0.501209D+02 0.300533D+02 21 0.127565D+01 0.618200D+00 -0.889759D-01 0.273782D+01 -0.163835D+01 22 -0.705458D-01 0.324935D-01 -0.273104D-01 0.116152D-01 0.338561D-01 23 -0.421798D+00 0.594175D+00 -0.167970D-01 -0.291994D+00 -0.635390D+00 24 0.492414D-01 -0.580742D-01 -0.355502D-01 -0.173437D-01 -0.135051D+00 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 16 17 18 19 20 ________ ________ ________ ________ ________ 16 0.432697D+00 17 -0.183881D-01 0.133315D-01 18 -0.350549D+00 0.171217D-01 0.204031D+03 19 0.538787D-01 -0.175820D-01 0.439686D+01 0.462195D+01 20 -0.331875D-01 -0.145960D+00 -0.243977D+02 0.218681D+01 0.449310D+03 21 -0.962214D-01 0.839427D-02 -0.200975D+01 -0.433235D+01 -0.402580D+01 22 -0.224798D-02 0.162254D-03 -0.932038D+00 -0.132828D-01 -0.252315D-01 23 -0.238348D-01 0.509626D-02 -0.290243D+00 0.660636D-01 0.469998D+01 24 0.178402D-02 0.846585D-03 -0.729647D-02 -0.111293D-01 -0.184186D+01 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 21 22 23 24 ________ ________ ________ ________ 21 0.522275D+01 22 -0.322127D-01 0.101010D-01 23 -0.600841D-01 -0.495165D-02 0.691282D+00 24 0.815115D-02 0.131628D-02 -0.607173D-01 0.184119D-01 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 1.000 2 -0.078 1.000 3 -0.072 -0.050 1.000 4 -0.050 -0.097 -0.162 1.000 5 -0.016 0.034 -0.045 0.047 1.000 6 -0.010 -0.026 0.028 -0.104 -0.067 7 -0.019 -0.065 0.052 -0.059 -0.100 8 0.034 -0.021 -0.008 0.048 0.058 9 -0.083 0.027 0.039 0.021 0.118 10 -0.069 -0.058 0.006 0.054 0.425 11 0.030 0.047 -0.054 0.000 0.112 12 -0.035 -0.026 0.070 0.017 -0.030 13 -0.005 -0.092 0.054 -0.098 -0.153 14 0.031 -0.038 0.025 0.018 0.065 15 -0.271 -0.052 -0.002 -0.048 -0.121 16 -0.166 -0.081 0.014 -0.018 -0.033 17 0.159 -0.070 0.012 0.069 -0.070 18 -0.018 -0.012 0.066 -0.020 0.077 19 0.053 0.088 0.017 -0.021 0.011 20 0.071 -0.005 0.108 -0.015 -0.045 21 -0.055 -0.073 -0.038 0.092 0.008 22 0.041 0.065 0.040 0.014 -0.029 23 0.012 0.058 -0.018 0.202 -0.044 24 -0.007 0.002 0.038 0.005 0.041 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 6 7 8 9 10 ________ ________ ________ ________ ________ 6 1.000 7 0.512 1.000 8 -0.302 -0.114 1.000 9 0.101 0.083 -0.026 1.000 10 -0.029 -0.031 0.088 0.166 1.000 11 0.123 -0.030 0.031 -0.015 0.025 12 0.146 0.040 0.110 0.125 0.053 13 0.532 0.587 -0.221 -0.041 -0.113 14 -0.277 -0.085 0.737 -0.020 0.202 15 0.002 0.031 0.002 -0.093 -0.169 16 0.018 0.054 -0.023 0.169 -0.061 17 0.011 0.004 -0.007 -0.191 0.001 18 -0.141 -0.114 0.019 -0.015 0.029 19 -0.202 0.036 -0.127 -0.019 -0.110 20 0.109 0.081 -0.239 -0.055 -0.079 21 0.156 -0.058 0.141 0.029 0.114 22 -0.041 -0.055 0.051 -0.012 0.008 23 -0.021 -0.007 -0.020 -0.033 -0.013 24 0.006 -0.035 -0.014 0.051 0.013 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 11 12 13 14 15 ________ ________ ________ ________ ________ 11 1.000 12 -0.288 1.000 13 -0.074 -0.027 1.000 14 -0.018 0.063 -0.252 1.000 15 -0.009 0.014 0.004 -0.009 1.000 16 -0.069 0.022 0.048 -0.029 0.173 17 -0.015 -0.029 0.053 0.019 -0.584 18 -0.029 -0.020 -0.096 0.064 -0.096 19 -0.022 -0.069 -0.033 -0.138 0.034 20 -0.057 -0.083 0.182 -0.283 0.090 21 0.088 0.026 -0.010 0.143 -0.046 22 -0.111 0.032 -0.066 0.014 0.021 23 -0.080 0.070 -0.005 -0.042 -0.049 24 0.057 -0.042 -0.064 -0.015 -0.063 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 16 17 18 19 20 ________ ________ ________ ________ ________ 16 1.000 17 -0.242 1.000 18 -0.037 0.010 1.000 19 0.038 -0.071 0.143 1.000 20 -0.002 -0.060 -0.081 0.048 1.000 21 -0.064 0.032 -0.062 -0.882 -0.083 22 -0.034 0.014 -0.649 -0.061 -0.012 23 -0.044 0.053 -0.024 0.037 0.267 24 0.020 0.054 -0.004 -0.038 -0.640 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 21 22 23 24 ________ ________ ________ ________ 21 1.000 22 -0.140 1.000 23 -0.032 -0.059 1.000 24 0.026 0.097 -0.538 1.000
1327a2a91a6832435e99c18e1a8f79414321ff98
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.3/macros/percent/%lsssp.sci
e38cc03135b9f5f98d1314628b0a4ad9f842e9da
[ "MIT", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
118
sci
%lsssp.sci
function s1=%lsssp(s1,d2) //s=%lsssp(s1,d2) <=> s=s1-p // s1 : syslin list // p : polynomial matrix s1(5)=s1(5)-d2
25a576053da443cc79c22efd3d92dd6ec90bb1c9
449d555969bfd7befe906877abab098c6e63a0e8
/2921/CH12/EX12.3/Ex12_3.sce
ad2d8bdf6470138ef7d16b8cff9a7d59683c08a9
[]
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
324
sce
Ex12_3.sce
clc; clear; mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-12.3 Page No.258\n'); //Pinion Su=95*10^3; Sn=0.5*Su; Y=0.320; b=1; Pd=8; Fsp=Sn*b*Y/Pd; mprintf('\n Force allowable for pinion = %f lb.',Fsp); //Gear Sn=0.5*88*10^3; Y=0.421; Fsg=Sn*b*Y/Pd; mprintf('\n Force allowable for gear = %f lb.',Fsg);
f013daa89989ba49f3d220ebd25ceba671628006
449d555969bfd7befe906877abab098c6e63a0e8
/2465/CH5/EX5.15/Example_15.sce
0b9f3a800401f996fc45a95aac4b5196e01e349b
[]
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
342
sce
Example_15.sce
//Chapter-5,Example 15,Page 128 clc(); close(); K1=2.45*10^-5 //rate constant at 273 K K2=162*10^-5 //rate constant at 303 K T1=273 //temperature in Kelvin T2=303 //temperature in Kelvin R=1.987 //gas constant Ea= log10(K2/K1)*2.303*R*T1*T2/(T2-T1) printf('the activation energy is Ea = %.f cal/mole' ,Ea)
5babb7a394ce85a9a2f68214871b00e3e27bcb89
6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee
/giarratano/SOURCE/TESTING/multinh.tst
de3b6e243a1a1a340133eb35c3fca6cd7ce2a922
[]
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
286
tst
multinh.tst
(unwatch all) (clear) (load "multinh.clp") (dribble-on "multinh.out") (testit) (dribble-off) (clear) (open "multinh.rsl" multinh "w") (load "compline.clp") (printout multinh "multinh.clp differences are as follows:" crlf) (compare-files multinh.exp multinh.out multinh) (close multinh)
3a8c108842e1ac3d82aae86579fc0b3b6d47739b
449d555969bfd7befe906877abab098c6e63a0e8
/3651/CH2/EX2.12/Ex2_12.sce
4a050e2815c7ca77d87c3044c550278aa27d4ff0
[]
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
347
sce
Ex2_12.sce
clc //Variable declaration a=3.16 lamda=1.54 n=1 theta=20.3*%pi/180 //Calculations d=(n*lamda)/(2*sin(theta)) x=a/d //let sqrt(h**2+k**2+l**2)=x //Result printf('d =%0.3f Angstorms\n',(d)) printf('sqrt(h**2+k**2+l**2) =%0.3f \n',(x)) printf('Therefore, h**2+k**2+l**2 =sqrt(2)\n') printf('h =1, k=1')
6f116f7f8e15c7728a95ae8dcb3c04d12cf036f8
449d555969bfd7befe906877abab098c6e63a0e8
/431/CH3/EX3.8/EX3_8.sce
c2efea9dd3997ff59846f1be438200c4e9e7d7e1
[]
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
629
sce
EX3_8.sce
//Calculating the current and power factor of the primary circuit //Chapter 3 //Example 3.8 //page 209 clear; clc; disp("Example 3.8") I2=30;........................//Secondary current in amperes I0=2; //load current in amperes V1=660; //primary voltage in volts V2=220; //secondary voltage in volts I1=(I2*V2)/V1; phi0=acosd(0.225); phi2=acosd(0.9); I1c=(I1*cosd(phi2))+(I0*cosd(phi0)); I1s=(I1*sind(phi2))+(I0*sind(phi0)); I=sqrt(I1c^2+I1s^2); phi=atand(I1s/I1c) printf("I1=%fA",I) printf("\nprimary power factor=%fdegrees",cosd(phi));
33671d03243cabc415ba051efc310057329775be
449d555969bfd7befe906877abab098c6e63a0e8
/69/CH8/EX8.8/8_8.sce
a2d6cb7fdbba82bbedf51dc1403cbbed6e9d0c41
[]
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
478
sce
8_8.sce
clear; clc; close; yos = 25*10^(-6); Idss = 8*10^(-3); Vp = -6; Vgsq = -2.6; Idq = 2.6*10^(-3); Rg = 1*10^(6); Rd = 3.3*10^(3); Rs = 1*10^(3); gmo = 2*Idss/abs(Vp); gm = gmo*(1-(Vgsq/Vp)); rd = 1/yos; Zi = Rg; Zo = Rd; Av = -gm*Rd/(1+gm*Rs+((Rd+Rs)/rd)); Av2 = -gm*Rd/(1+gm*Rs); disp(gm,'gm(S) = '); disp(rd,'rd(ohms) = '); disp(Zi,'Zi(ohms) = '); disp(Zo,'Zo(ohms) = '); disp(Av,'Voltage gain Av = '); disp(Av2,'Volatge gain Av(ignoring rd) = ');
c75ed1254b68235a0c9f60c65ed9d6207cbe7371
449d555969bfd7befe906877abab098c6e63a0e8
/581/CH7/EX7.2/Example7_2.sce
28c17e3a373cce6302160168b7b44278dd285dd8
[]
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
543
sce
Example7_2.sce
clear; clc; printf("\t Example 7.2\n"); T1 = 300; // air temp.,K T2=313; // final air temp.,K v=2; // air velocity,m/s D=0.01; // inner diameter of pipe,m l=0.2; // length surrounded by heater Red=v*D/(16.4*10^-6); // reynolds no. Pr=0.711; // prandtl no. G=Red*Pr*D/l; // graetz no. Q=1.159*1004*v*(T2-T1)*(1/80); // power input, W/m^2 printf("\t power input is : %.0f W/m^2\n",Q); Tex=T2+Q*D/(5.05*0.0266) // wall temp. at the exit,K Tex1=Tex-273.1; printf("\t wall temp. at the exit is: %.1f C\n",Tex1); //end
051512225cf7a362c1d0369a3e8399c0ab7bc364
449d555969bfd7befe906877abab098c6e63a0e8
/3137/CH2/EX2.2/Ex2_2.sce
c2af2ff002eb62de676eb7d40758fe6a3a28fe45
[]
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
344
sce
Ex2_2.sce
//Initilization of variables F=20 //lb theta=((60*%pi)/180) //radians L=5 //ft //Calculations F_x=F*cos(theta) //Resloving the vector F_y=F*sin(theta) //Resloving the vector M=-F_y*L //Appling Varignon's theorem //Negative sign tells that moment is clockwise //Result clc printf('The moment of the force about O is:%f lb-ft',M)
b70b0604123529d7a50a99a48e68b441424ea916
449d555969bfd7befe906877abab098c6e63a0e8
/1541/CH1/EX1.15/Chapter1_Example15.sce
c71bdf0bc3c53473f0a8769b119dcac709c8b449
[]
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
619
sce
Chapter1_Example15.sce
//Chapter-1, Example 1.15, Page 1.36 //============================================================================= clc clear //INPUT DATA V=400;//Terminal voltage in V P=8000;//Motor output power in W n=0.9;//Motor efficiency Rsh=180;//Field resistance in ohm Ra=0.6;//Armature resistance in ohm //CALCULATIONS If=(V/Rsh);//Field current in A Pi=(P/n);//Input power in W IL=(Pi/V);//Load current in A Ia=(IL-If);//Armature current in A Eb=(V-(Ia*Ra));//Back emf in V //OUTPUT mprintf('Back emf is %3.0f V',Eb) //=================================END OF PROGRAM==============================
5a24b71f62d8a31315be2c3639654032efb1ba03
089894a36ef33cb3d0f697541716c9b6cd8dcc43
/NLP_Project/test/tweet/bow/bow.3_19.tst
438b0a19fca82d12e287bbd40e7dd9cb885395f1
[]
no_license
mandar15/NLP_Project
3142cda82d49ba0ea30b580c46bdd0e0348fe3ec
1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2
refs/heads/master
2020-05-20T13:36:05.842840
2013-07-31T06:53:59
2013-07-31T06:53:59
6,534,406
0
1
null
null
null
null
UTF-8
Scilab
false
false
31,447
tst
bow.3_19.tst
3 15:0.0625 17:0.3333333333333333 23:0.2222222222222222 37:0.3333333333333333 82:0.125 95:1.0 96:0.1 97:1.0 114:0.5 115:1.0 116:2.0 128:0.3333333333333333 145:1.0 171:0.5 272:1.0 350:0.125 531:0.3333333333333333 561:0.5 622:1.0 641:1.0 809:1.0 892:1.0 938:1.0 1168:1.0 1430:1.0 1618:1.0 1742:1.0 1947:0.5 1959:1.0 1992:1.0 2297:1.0 2550:1.0 2721:1.0 3667:1.0 4220:1.0 4227:1.0 3 5:1.0 23:0.3333333333333333 42:0.6666666666666666 96:0.1 97:2.0 100:0.25 105:0.5 143:0.3333333333333333 147:0.5 165:0.1111111111111111 171:0.5 177:0.5 219:0.25 368:1.0 373:0.2 622:2.0 644:1.0 897:1.0 1058:1.0 1163:1.0 1618:1.0 1742:1.0 1780:0.5 1867:1.0 1869:1.0 1947:0.5 2188:1.0 2194:1.0 2550:1.0 2886:1.0 2942:1.0 3121:1.0 3183:1.0 3667:1.0 3 1:0.1 4:0.5 5:1.0 6:0.05 23:0.1111111111111111 34:0.1111111111111111 37:0.3333333333333333 40:1.0 42:0.6666666666666666 116:1.0 146:1.0 147:0.5 150:0.014084507042253521 258:1.0 373:0.2 399:0.5 441:0.5 517:0.5 667:1.0 1109:1.0 1377:1.0 1438:1.0 1644:0.3333333333333333 2573:1.0 5019:1.0 6527:1.0 3 6:0.3 15:0.125 17:0.3333333333333333 34:0.2222222222222222 42:0.3333333333333333 56:0.3333333333333333 63:0.3333333333333333 73:1.0 75:0.2857142857142857 82:0.125 105:0.5 114:0.5 145:1.0 190:1.0 215:0.16666666666666666 219:0.25 249:0.2 350:0.125 477:1.0 534:0.25 1154:1.0 1568:0.5 1993:1.0 2276:1.0 2515:1.0 2599:1.0 2970:1.0 2987:1.0 4003:1.0 4112:2.0 5019:1.0 5058:1.0 3 5:1.0 23:0.2222222222222222 42:0.3333333333333333 97:1.0 116:2.0 157:1.0 275:1.0 311:1.0 312:1.0 373:0.2 397:0.5 423:0.5 1657:2.0 1698:1.0 1740:1.0 2547:1.0 3000:1.0 3391:1.0 4451:1.0 3 6:0.05 17:0.3333333333333333 23:0.1111111111111111 34:0.1111111111111111 42:0.3333333333333333 56:0.3333333333333333 97:0.5 114:1.5 143:0.3333333333333333 146:1.0 165:0.1111111111111111 169:1.0 190:1.0 191:0.07692307692307693 215:0.16666666666666666 219:0.25 261:0.024390243902439025 409:1.0 644:1.0 1132:1.0 1176:1.0 1319:1.0 1492:1.0 1867:1.0 1993:1.0 2187:1.0 2974:1.0 3171:1.0 5081:1.0 5791:1.0 3 5:1.0 6:0.1 15:0.0625 34:0.2222222222222222 37:0.3333333333333333 56:0.3333333333333333 94:0.25 96:0.1 97:1.0 107:0.5 116:1.0 128:0.3333333333333333 157:1.0 165:0.1111111111111111 167:1.0 190:2.0 191:0.15384615384615385 235:1.0 461:1.0 561:0.5 1064:1.0 2524:1.0 3375:1.0 4146:1.0 3 4:0.5 6:0.2 15:0.1875 34:0.1111111111111111 37:0.6666666666666666 42:0.3333333333333333 63:0.3333333333333333 75:0.42857142857142855 82:0.125 98:0.5 150:0.014084507042253521 158:1.0 165:0.1111111111111111 185:1.0 189:1.0 191:0.07692307692307693 206:0.3333333333333333 281:1.0 295:1.0 311:1.0 319:0.08333333333333333 340:1.0 367:0.5 443:1.0 660:1.0 693:1.0 1030:1.0 1033:1.0 1298:1.0 1424:1.0 1719:1.0 2017:1.0 2462:1.0 3605:1.0 4006:1.0 4102:1.0 5095:1.0 3 6:0.05 17:0.3333333333333333 34:0.1111111111111111 37:0.3333333333333333 94:0.125 95:1.0 96:0.1 114:1.0 139:1.0 150:0.04225352112676056 165:0.1111111111111111 206:0.3333333333333333 238:0.1111111111111111 295:1.0 320:0.5 409:1.0 443:1.0 654:0.05263157894736842 982:1.0 1424:1.0 1947:0.5 2033:1.0 2211:1.0 2320:2.0 3855:1.0 3 1:0.1 34:0.1111111111111111 35:1.0 36:1.0 42:0.3333333333333333 44:1.0 63:0.3333333333333333 89:1.0 177:0.5 197:0.3333333333333333 215:0.16666666666666666 311:1.0 314:1.0 417:1.0 496:1.0 654:0.05263157894736842 800:1.0 1671:1.0 2688:0.5 4185:1.0 4370:2.0 3 1:0.1 4:0.5 6:0.15 23:0.1111111111111111 33:1.0 34:0.1111111111111111 35:1.0 36:1.0 42:0.3333333333333333 56:0.3333333333333333 146:1.0 181:0.25 307:1.0 550:1.0 647:1.0 1266:1.0 1616:1.0 1671:1.0 2231:1.0 2444:1.0 2462:1.0 2609:1.0 5765:1.0 6062:1.0 6693:1.0 3 6:0.05 17:0.3333333333333333 34:0.3333333333333333 37:0.6666666666666666 42:0.6666666666666666 56:0.3333333333333333 63:0.3333333333333333 96:0.1 107:0.5 146:1.0 150:0.014084507042253521 191:0.15384615384615385 201:1.0 206:0.3333333333333333 219:0.25 231:1.0 388:1.0 424:1.0 443:1.0 461:1.0 473:1.0 563:1.0 728:1.0 892:1.0 1139:0.5 1147:1.0 1161:1.0 1267:1.0 1404:1.0 1422:1.0 1438:1.0 1538:1.0 2041:1.0 2331:1.0 2376:1.0 2409:1.0 2695:1.0 3567:1.0 3661:1.0 3 6:0.05 14:0.07692307692307693 15:0.125 56:0.3333333333333333 63:0.3333333333333333 82:0.125 97:0.5 100:0.25 191:0.07692307692307693 219:0.25 261:0.024390243902439025 287:1.0 320:0.5 373:0.2 399:0.5 477:1.0 507:1.0 728:1.0 817:1.0 872:1.0 1399:1.0 1693:1.0 1790:0.5 2695:1.0 3128:1.0 3216:1.0 3255:1.0 3659:1.0 3661:1.0 3 1:0.1 5:1.0 6:0.1 17:0.6666666666666666 23:0.1111111111111111 33:1.0 34:0.1111111111111111 35:1.0 36:1.0 37:0.3333333333333333 115:1.0 140:0.5 191:0.07692307692307693 204:1.0 416:0.25 417:1.0 443:1.0 473:0.5 646:1.0 1126:1.0 1181:1.0 2557:1.0 2801:1.0 3515:1.0 3870:1.0 4049:1.0 4651:1.0 3 6:0.05 17:0.3333333333333333 34:0.1111111111111111 37:0.3333333333333333 96:0.1 106:0.25 128:0.3333333333333333 201:1.0 223:2.0 327:0.16666666666666666 441:0.5 442:1.0 443:1.0 531:0.6666666666666666 561:0.5 654:0.05263157894736842 689:1.0 850:1.0 1075:1.0 1217:1.0 1275:1.0 1426:1.0 1428:1.0 1438:1.0 1936:1.0 2294:1.0 3686:1.0 3981:1.0 4109:1.0 4341:1.0 4532:1.0 4911:1.0 3 5:2.0 34:0.1111111111111111 51:0.5 56:0.3333333333333333 63:0.3333333333333333 88:0.5 94:0.125 98:0.5 102:0.3333333333333333 107:0.5 127:1.0 167:1.0 173:1.0 185:1.0 191:0.15384615384615385 215:0.16666666666666666 222:1.0 223:1.0 226:1.0 353:1.0 373:0.2 438:0.16666666666666666 480:1.0 482:1.0 598:1.0 646:1.0 689:1.0 737:1.0 829:1.0 1693:1.0 1716:1.0 1867:1.0 3175:1.0 3770:0.5 3828:1.0 4497:1.0 5110:1.0 5905:1.0 3 5:1.0 6:0.1 17:0.3333333333333333 34:0.1111111111111111 42:0.3333333333333333 56:0.3333333333333333 82:0.125 96:0.1 97:0.5 102:0.3333333333333333 108:0.5 129:1.0 150:0.014084507042253521 165:0.1111111111111111 191:0.07692307692307693 210:1.0 339:0.5 350:0.125 454:1.0 488:0.5 561:0.5 595:1.0 597:1.0 689:1.0 816:0.5 1295:1.0 1404:1.0 1669:1.0 1867:1.0 1885:1.0 2123:1.0 2538:1.0 3197:0.5 3593:1.0 3671:1.0 3686:1.0 4497:1.0 5905:1.0 3 6:0.1 94:0.125 147:1.0 311:1.0 425:1.0 511:0.5 1127:1.0 1571:1.0 2856:1.0 3259:1.0 3 6:0.05 16:0.2 56:0.3333333333333333 60:1.0 82:0.125 97:0.5 128:0.3333333333333333 150:0.014084507042253521 155:0.07692307692307693 163:1.0 226:0.5 281:1.0 327:0.16666666666666666 336:0.5 399:0.5 473:0.5 1904:1.0 2055:1.0 2607:1.0 2721:1.0 2973:1.0 3663:1.0 4237:1.0 4246:1.0 4404:1.0 3 1:0.1 5:2.0 6:0.1 34:0.1111111111111111 42:0.3333333333333333 45:1.0 75:0.14285714285714285 89:1.0 120:1.0 150:0.028169014084507043 275:1.0 327:0.16666666666666666 353:1.0 367:0.5 441:0.5 448:1.0 929:1.0 1127:1.0 1241:0.5 1382:0.3333333333333333 1671:2.0 2015:1.0 2158:1.0 2313:1.0 2370:1.0 2530:1.0 2770:1.0 3392:1.0 3817:2.0 4051:1.0 4523:1.0 3 5:3.0 6:0.05 14:0.07692307692307693 51:0.25 56:0.3333333333333333 73:1.0 94:0.125 114:0.5 135:0.5 138:0.07692307692307693 146:1.0 147:0.5 150:0.014084507042253521 169:1.0 185:1.0 275:1.0 359:0.5 367:0.5 379:1.0 427:0.14285714285714285 483:0.5 531:0.3333333333333333 536:1.0 549:1.0 583:2.0 609:1.0 661:1.0 747:0.5 846:1.0 897:1.0 1035:1.0 1295:1.0 1397:1.0 1412:1.0 1426:1.0 1671:1.0 2082:1.0 2721:1.0 2789:1.0 2819:1.0 3794:1.0 4054:1.0 4261:1.0 4463:1.0 4465:1.0 4480:1.0 4635:1.0 6198:1.0 3 1:0.1 5:4.0 15:0.25 34:0.1111111111111111 37:0.3333333333333333 42:0.6666666666666666 56:0.3333333333333333 73:1.0 82:0.375 123:0.5 128:0.3333333333333333 180:1.0 191:0.07692307692307693 261:0.024390243902439025 286:1.0 287:1.0 350:0.125 373:0.2 405:1.0 411:1.0 461:1.0 473:1.0 477:1.0 483:0.5 878:1.0 1095:1.0 1753:1.0 1910:1.0 2078:1.0 2295:1.0 2313:1.0 2941:1.0 2980:1.0 4723:1.0 5070:1.0 5637:1.0 6273:1.0 6440:1.0 3 5:1.0 6:0.05 15:0.25 17:0.3333333333333333 23:0.1111111111111111 35:1.0 42:2.3333333333333335 53:1.0 82:0.25 96:0.1 97:0.5 135:0.5 155:0.07692307692307693 181:0.25 249:0.2 251:0.14285714285714285 270:1.0 272:0.5 289:1.0 441:0.5 443:1.0 534:0.75 560:1.0 561:0.5 577:1.0 615:1.0 644:1.0 717:1.0 735:1.0 1035:1.0 1160:1.0 1445:0.5 1473:1.0 1474:1.0 1538:1.0 1655:1.0 1719:1.0 1868:1.0 1992:1.0 2263:0.5 2582:1.0 2751:1.0 2752:1.0 2776:1.0 2821:1.0 3096:1.0 3144:1.0 3146:1.0 3628:2.0 3832:1.0 5766:1.0 6357:1.0 6714:1.0 3 5:3.0 6:0.05 15:0.0625 23:0.2222222222222222 34:0.3333333333333333 56:0.3333333333333333 63:0.3333333333333333 64:0.16666666666666666 71:1.0 73:1.0 82:0.125 96:0.1 97:0.5 116:1.0 143:0.3333333333333333 147:0.5 169:1.0 176:1.0 185:1.0 191:0.15384615384615385 201:1.0 245:1.0 281:1.0 319:0.08333333333333333 410:1.0 443:1.0 499:1.0 587:1.0 613:1.0 644:1.0 763:1.0 840:1.0 1102:1.0 1219:1.0 1690:1.0 1710:1.0 1910:1.0 2015:1.0 2045:1.0 2721:1.0 3064:1.0 3552:1.0 3584:1.0 3636:1.0 4306:1.0 5266:1.0 5733:1.0 3 5:1.0 6:0.15 14:0.07692307692307693 23:0.1111111111111111 97:0.5 165:0.1111111111111111 169:1.0 191:0.07692307692307693 220:1.0 241:1.0 328:1.0 397:0.5 424:1.0 473:0.5 533:0.25 1275:1.0 1700:1.0 2018:1.0 2235:1.0 3639:1.0 3840:1.0 3842:1.0 4385:1.0 3 5:2.0 6:0.25 15:0.125 17:0.3333333333333333 23:0.1111111111111111 34:0.2222222222222222 42:0.3333333333333333 45:1.0 82:0.125 89:1.0 96:0.1 97:1.0 140:1.0 150:0.014084507042253521 327:0.16666666666666666 339:0.5 410:1.0 430:1.0 443:1.0 473:0.5 623:1.0 927:1.0 1397:1.0 1399:1.0 1655:1.0 2716:1.0 2992:1.0 3 5:1.0 23:0.1111111111111111 42:0.6666666666666666 89:1.0 97:0.5 135:0.5 143:0.3333333333333333 147:1.0 150:0.04225352112676056 155:0.07692307692307693 165:0.1111111111111111 215:0.16666666666666666 327:0.16666666666666666 350:0.125 359:0.5 367:0.5 379:1.0 473:0.5 583:1.0 717:1.0 747:0.5 857:1.0 879:1.0 1180:1.0 1436:1.0 1637:1.0 2518:1.0 2672:1.0 4492:1.0 5266:1.0 3 1:0.3 5:1.0 23:0.2222222222222222 34:0.1111111111111111 36:1.0 96:0.1 97:1.5 150:0.028169014084507043 215:0.16666666666666666 409:1.0 423:0.5 617:1.0 695:1.0 941:1.0 1293:1.0 1295:1.0 1568:0.5 2183:1.0 3123:1.0 3405:1.0 3543:1.0 6454:1.0 3 1:0.2 4:1.0 6:0.05 17:0.6666666666666666 33:1.0 56:0.6666666666666666 75:0.14285714285714285 81:1.0 97:0.5 105:0.5 114:1.5 169:1.0 180:1.0 190:1.0 223:1.0 289:1.0 300:1.0 327:0.16666666666666666 399:0.5 473:1.0 482:1.0 491:1.0 511:0.5 587:1.0 615:1.0 790:1.0 1123:0.5 1154:1.0 1241:0.5 1275:1.0 1389:1.0 1959:2.0 2178:1.0 3437:1.0 3947:1.0 5896:1.0 5914:1.0 6185:1.0 3 1:0.1 5:1.0 15:0.0625 17:0.3333333333333333 23:0.1111111111111111 34:0.1111111111111111 35:1.0 36:1.0 37:0.3333333333333333 42:0.3333333333333333 60:1.0 73:1.0 82:0.25 190:1.0 215:0.16666666666666666 228:0.3333333333333333 235:1.0 340:1.0 423:0.5 496:1.0 664:1.0 714:1.0 769:1.0 1423:1.0 1538:1.0 1655:1.0 3 15:0.0625 25:0.5 42:0.6666666666666666 56:0.3333333333333333 95:1.0 145:1.0 223:1.0 319:0.08333333333333333 443:1.0 531:0.3333333333333333 534:0.25 566:1.0 595:1.0 618:0.5 622:1.0 623:1.0 671:1.0 795:1.0 1295:1.0 1407:1.0 1853:1.0 1998:1.0 2532:1.0 4616:1.0 4877:1.0 3 1:0.1 5:1.0 6:0.05 15:0.125 16:0.2 34:0.1111111111111111 56:0.3333333333333333 82:0.125 88:0.5 114:0.5 123:0.5 138:0.07692307692307693 243:1.0 261:0.024390243902439025 275:1.0 386:0.5 511:0.5 857:1.0 1009:1.0 1032:2.0 1155:1.0 1244:1.0 1295:1.0 1433:1.0 1998:1.0 2353:1.0 2609:1.0 3800:1.0 4540:1.0 5468:1.0 5479:1.0 3 1:0.1 5:2.0 6:0.05 11:1.0 42:0.3333333333333333 51:0.25 56:0.3333333333333333 128:0.6666666666666666 146:1.0 147:0.5 150:0.014084507042253521 155:0.07692307692307693 181:0.5 185:1.0 226:1.0 284:1.0 327:0.16666666666666666 350:0.125 409:1.0 443:1.0 473:0.5 588:1.0 714:1.0 1105:1.0 1109:1.0 1202:1.0 1225:1.0 1349:1.0 1538:1.0 1655:1.0 1768:1.0 1939:1.0 2059:0.3333333333333333 2409:1.0 2553:1.0 2910:1.0 2930:1.0 3085:1.0 3 37:0.3333333333333333 56:0.3333333333333333 97:1.0 147:1.0 235:1.0 261:0.024390243902439025 266:1.0 272:0.5 287:1.0 340:1.0 375:0.5 785:1.0 1109:2.0 2716:1.0 3270:1.0 3976:1.0 3 6:0.05 15:0.125 17:0.6666666666666666 37:0.6666666666666666 42:0.3333333333333333 73:1.0 114:0.5 147:0.5 169:1.0 206:0.3333333333333333 261:0.024390243902439025 295:1.0 542:0.5 615:1.0 911:1.0 1109:1.0 1354:0.5 1448:1.0 1538:1.0 1572:1.0 1655:1.0 1826:1.0 2378:0.14285714285714285 2524:1.0 3539:1.0 6261:1.0 3 4:0.5 5:1.0 15:0.125 23:0.1111111111111111 42:0.6666666666666666 73:1.0 97:1.0 150:0.028169014084507043 164:1.0 169:1.0 171:1.0 190:1.0 204:1.0 215:0.16666666666666666 226:0.5 261:0.024390243902439025 484:1.0 681:0.25 785:1.0 794:1.0 911:1.0 1126:1.0 1261:1.0 1785:1.0 1947:0.5 2723:1.0 3332:1.0 3473:1.0 4782:1.0 3 4:0.5 5:1.0 6:0.15 34:0.1111111111111111 42:0.6666666666666666 56:0.3333333333333333 63:0.3333333333333333 82:0.125 95:1.0 105:0.5 107:0.5 135:0.5 192:1.0 261:0.024390243902439025 327:0.16666666666666666 376:1.0 473:1.0 488:0.25 531:0.6666666666666666 534:0.75 542:0.5 561:1.0 785:1.0 1241:0.5 1261:1.0 1780:0.5 2614:1.0 3790:1.0 3838:1.0 4182:1.0 5269:1.0 5729:1.0 3 6:0.1 34:0.1111111111111111 42:0.3333333333333333 69:0.5 114:0.5 117:0.05555555555555555 143:0.3333333333333333 146:1.0 147:0.5 165:0.1111111111111111 170:1.0 253:1.0 261:0.024390243902439025 279:1.0 336:0.5 350:0.125 484:1.0 587:1.0 892:1.0 908:1.0 1351:1.0 1382:0.3333333333333333 1487:1.0 2221:1.0 2263:0.5 5030:1.0 3 1:0.1 5:1.0 15:0.125 30:0.5 37:0.6666666666666666 64:0.16666666666666666 69:0.5 88:0.5 116:1.0 128:0.3333333333333333 146:1.0 147:0.5 165:0.1111111111111111 228:0.3333333333333333 284:1.0 299:1.0 350:0.125 373:0.4 452:1.0 484:1.0 488:0.25 561:0.5 587:1.0 747:0.5 1003:1.0 1091:1.0 1326:1.0 1327:1.0 1885:1.0 1936:1.0 2243:1.0 2403:1.0 2626:1.0 3584:1.0 3 1:0.1 6:0.05 23:0.1111111111111111 34:0.1111111111111111 42:0.3333333333333333 49:1.0 56:0.3333333333333333 82:0.375 96:0.1 106:0.75 139:1.0 145:1.0 146:1.0 162:1.0 165:0.2222222222222222 169:1.0 188:1.0 189:1.0 328:1.0 353:1.0 393:0.5 443:1.0 488:0.25 524:1.0 618:0.5 644:1.0 671:1.0 892:1.0 1075:1.0 1103:0.3333333333333333 1241:0.5 1275:1.0 1681:1.0 1780:0.5 1885:1.0 1923:1.0 2591:0.3333333333333333 2807:1.0 4462:1.0 3 5:1.0 6:0.05 14:0.07692307692307693 34:0.1111111111111111 42:0.3333333333333333 82:0.25 96:0.1 102:0.3333333333333333 201:1.0 204:1.0 223:1.0 373:0.2 441:0.5 461:1.0 1003:1.0 1220:1.0 1278:1.0 1572:1.0 1596:1.0 2068:1.0 2441:1.0 2591:0.3333333333333333 4965:1.0 3 4:0.5 14:0.07692307692307693 69:0.5 82:0.125 138:0.07692307692307693 169:1.0 170:1.0 204:1.0 206:0.3333333333333333 219:0.25 255:1.0 367:0.5 756:1.0 1936:1.0 2539:1.0 3 6:0.05 14:0.07692307692307693 15:0.0625 37:0.3333333333333333 49:1.0 97:0.5 105:0.5 138:0.07692307692307693 177:0.5 215:0.16666666666666666 224:1.0 424:1.0 443:1.0 542:0.5 858:1.0 930:1.0 2474:1.0 2591:0.3333333333333333 3 5:1.0 6:0.05 14:0.07692307692307693 42:0.3333333333333333 82:0.125 146:1.0 228:0.3333333333333333 505:1.0 573:1.0 1091:1.0 1199:1.0 1538:1.0 1847:1.0 3605:1.0 3 5:2.0 6:0.05 69:0.5 95:1.0 106:0.25 114:0.5 135:0.5 147:0.5 261:0.024390243902439025 336:0.5 353:1.0 534:0.25 955:0.3333333333333333 1057:1.0 1087:1.0 1104:1.0 1430:1.0 2030:1.0 3550:1.0 3584:1.0 3849:1.0 5825:1.0 3 15:0.0625 17:0.3333333333333333 23:0.1111111111111111 42:0.3333333333333333 82:0.25 97:0.5 108:0.5 134:1.0 139:1.0 154:1.0 155:0.23076923076923078 201:1.0 215:0.5 272:0.5 338:1.0 359:0.5 440:1.0 482:1.0 560:1.0 1040:1.0 1219:1.0 1241:0.5 3 6:0.15 15:0.0625 17:0.3333333333333333 63:0.3333333333333333 73:1.0 105:1.0 108:0.5 167:1.0 215:0.16666666666666666 253:1.0 295:1.0 305:1.0 328:1.0 359:0.5 407:1.0 441:0.5 461:1.0 522:1.0 615:1.0 958:1.0 959:1.0 960:1.0 1045:1.0 1275:1.0 1423:1.0 1445:0.5 1464:1.0 1569:0.3333333333333333 1621:1.0 1671:1.0 2175:0.5 2282:1.0 3013:1.0 3535:1.0 4774:1.0 5278:0.3333333333333333 3 5:2.0 6:0.05 26:1.0 34:0.1111111111111111 37:0.3333333333333333 42:0.6666666666666666 56:0.3333333333333333 63:0.3333333333333333 64:0.16666666666666666 69:0.5 108:0.5 146:1.0 150:0.028169014084507043 169:1.0 181:0.25 215:0.16666666666666666 359:1.5 443:1.0 558:1.0 681:0.25 696:1.0 768:0.5 1006:1.0 1215:1.0 1521:1.0 1651:0.3333333333333333 1923:1.0 1929:1.0 1939:1.0 2683:0.3333333333333333 2770:1.0 2942:1.0 3151:1.0 3379:1.0 4076:1.0 4104:1.0 3 34:0.1111111111111111 37:0.3333333333333333 42:0.6666666666666666 54:1.0 56:0.3333333333333333 63:0.3333333333333333 64:0.3333333333333333 75:0.14285714285714285 82:0.125 108:0.5 150:0.028169014084507043 169:1.0 181:0.25 201:1.0 250:1.0 251:0.14285714285714285 350:0.125 359:1.0 373:0.2 399:0.5 443:1.0 447:1.0 511:0.5 681:0.25 768:0.5 795:1.0 1058:1.0 1192:1.0 1332:1.0 1582:1.0 1923:1.0 1929:1.0 2016:1.0 2770:1.0 2942:1.0 4076:1.0 4242:1.0 3 34:0.1111111111111111 82:0.125 97:0.5 143:0.3333333333333333 145:1.0 150:0.028169014084507043 238:0.1111111111111111 328:1.0 329:0.5 367:0.5 370:1.0 664:1.0 1097:1.0 1296:1.0 1669:1.0 1929:1.0 2370:2.0 3663:1.0 6184:1.0 6797:1.0 3 5:3.0 6:0.1 15:0.125 23:0.1111111111111111 34:0.1111111111111111 37:0.6666666666666666 42:0.3333333333333333 44:1.0 56:0.3333333333333333 64:0.3333333333333333 97:0.5 106:0.5 147:0.5 226:0.5 253:1.0 350:0.125 367:0.5 373:0.2 424:1.0 441:0.5 449:1.0 473:1.0 488:0.5 545:1.0 561:0.5 989:1.0 1143:1.0 1260:0.5 1263:1.0 1452:1.0 1511:1.0 1569:0.3333333333333333 1707:1.0 1867:1.0 2013:1.0 2248:1.0 2288:1.0 2485:1.0 3582:1.0 3745:1.0 5288:1.0 5889:1.0 6005:1.0 3 5:2.0 6:0.05 42:0.6666666666666666 69:0.5 73:1.0 97:0.5 106:0.25 108:0.5 146:1.0 165:0.1111111111111111 204:1.0 250:1.0 368:1.0 402:1.0 445:1.0 450:0.5 483:0.5 735:1.0 1066:1.0 1161:1.0 1266:1.0 1281:0.25 1386:1.0 1445:0.5 1651:0.3333333333333333 1847:1.0 1867:2.0 2297:1.0 3121:1.0 3567:1.0 4335:1.0 3 1:0.1 3:1.0 5:1.0 6:0.15 15:0.0625 17:0.3333333333333333 34:0.1111111111111111 56:0.3333333333333333 69:0.5 82:0.125 98:0.5 106:0.25 114:0.5 123:0.5 139:1.0 146:1.0 162:1.0 165:0.1111111111111111 226:0.5 353:1.0 388:1.0 587:1.0 641:1.0 717:1.0 1057:1.0 1109:1.0 1522:1.0 1743:1.0 2332:1.0 3098:1.0 3661:1.0 4262:1.0 4555:1.0 4853:1.0 4889:1.0 6223:1.0 3 1:0.1 5:1.0 6:0.05 15:0.1875 17:0.3333333333333333 23:0.1111111111111111 34:0.1111111111111111 54:1.0 56:0.3333333333333333 74:1.0 75:0.14285714285714285 82:0.125 105:0.5 123:0.5 135:0.5 147:0.5 169:1.0 219:0.25 238:0.1111111111111111 260:1.0 326:1.0 394:1.0 418:1.0 460:0.5 509:1.0 553:1.0 566:1.0 573:1.0 695:1.0 1083:1.0 1109:1.0 1221:1.0 1317:1.0 1332:1.0 1333:1.0 1692:1.0 1716:1.0 1717:1.0 2564:1.0 2721:1.0 3330:1.0 4275:1.0 4669:1.0 4703:1.0 5093:1.0 5565:1.0 6044:1.0 3 17:0.3333333333333333 25:0.5 138:0.07692307692307693 284:1.0 1332:1.0 4274:1.0 4275:1.0 3 5:2.0 6:0.05 42:0.6666666666666666 82:0.125 98:0.5 102:0.3333333333333333 150:0.014084507042253521 169:1.0 175:1.0 177:0.5 228:0.3333333333333333 350:0.125 366:1.0 409:1.0 411:1.0 443:1.0 648:1.0 768:0.5 1421:1.0 1434:1.0 1671:1.0 1719:1.0 1752:1.0 2694:1.0 5316:1.0 3 5:1.0 6:0.05 23:0.1111111111111111 37:0.3333333333333333 42:0.3333333333333333 146:1.0 150:0.014084507042253521 165:0.1111111111111111 169:1.0 191:0.15384615384615385 347:1.0 350:0.125 393:0.5 473:1.0 484:1.0 534:0.25 609:1.0 716:1.0 776:0.5 908:1.0 2532:1.0 2614:1.0 2678:1.0 3663:1.0 4571:1.0 3 5:2.0 23:0.1111111111111111 42:0.6666666666666666 49:1.0 56:0.3333333333333333 82:0.25 94:0.25 98:0.5 128:0.3333333333333333 131:0.5 165:0.1111111111111111 176:1.0 249:0.2 263:1.0 292:1.0 350:0.125 366:1.0 367:0.5 373:0.2 411:1.0 441:0.5 457:1.0 460:0.5 473:1.0 477:1.0 767:1.0 776:0.5 829:1.0 911:1.0 1580:1.0 1614:1.0 2054:1.0 2729:1.0 3030:1.0 4599:1.0 3 1:0.2 15:0.0625 17:0.6666666666666666 34:0.2222222222222222 35:1.0 37:0.3333333333333333 56:0.3333333333333333 63:0.3333333333333333 71:1.0 96:0.2 97:0.5 143:0.3333333333333333 150:0.028169014084507043 226:0.5 284:1.0 300:1.0 331:1.0 402:1.0 416:0.25 417:1.0 418:1.0 561:0.5 595:1.0 3241:1.0 3998:1.0 4238:1.0 4562:1.0 6185:1.0 3 5:1.0 6:0.1 17:0.3333333333333333 117:0.05555555555555555 138:0.07692307692307693 146:1.0 595:1.0 1920:1.0 2138:1.0 2384:0.5 4425:1.0 4789:1.0 5055:1.0 3 6:0.1 15:0.0625 17:0.3333333333333333 23:0.1111111111111111 30:0.5 34:0.2222222222222222 37:0.3333333333333333 42:0.6666666666666666 82:0.125 97:0.5 98:0.5 105:0.5 135:0.5 145:1.0 169:1.0 175:1.0 180:1.0 191:0.07692307692307693 211:1.0 286:1.0 328:1.0 340:1.0 367:1.0 385:1.0 389:1.0 411:1.0 511:0.5 542:0.5 617:1.0 620:1.0 622:1.0 624:1.0 671:1.0 695:2.0 747:0.5 811:1.0 1123:0.5 1280:1.0 2158:1.0 2219:1.0 2534:1.0 2970:1.0 3072:1.0 3330:1.0 3331:1.0 3671:1.0 3742:1.0 5844:1.0 3 5:1.0 6:0.05 14:0.07692307692307693 15:0.0625 16:0.2 34:0.1111111111111111 44:1.0 56:0.3333333333333333 96:0.1 275:1.0 320:0.5 587:1.0 595:1.0 681:0.25 866:1.0 1387:1.0 1403:1.0 2101:1.0 2478:0.3333333333333333 2504:1.0 3330:1.0 3353:1.0 3410:1.0 3653:0.5 4498:1.0 5572:1.0 3 5:1.0 6:0.05 15:0.0625 25:0.5 42:0.3333333333333333 54:1.0 56:0.3333333333333333 73:1.0 75:0.14285714285714285 98:0.5 185:1.0 245:1.0 320:0.5 367:0.5 399:0.5 423:0.5 543:0.5 717:1.0 813:1.0 866:1.0 999:1.0 1139:0.5 1373:1.0 1445:0.5 1675:1.0 1785:1.0 2688:0.5 3450:1.0 4376:1.0 4498:1.0 4612:1.0 3 5:2.0 6:0.05 14:0.07692307692307693 42:0.3333333333333333 73:1.0 95:1.0 97:0.5 191:0.15384615384615385 251:0.14285714285714285 305:2.0 328:1.0 350:0.25 353:1.0 494:1.0 506:1.0 531:0.3333333333333333 585:1.0 586:1.0 618:0.5 1017:1.0 1018:1.0 1066:1.0 1389:1.0 1496:1.0 1535:5.0 2786:1.0 4483:1.0 4893:1.0 5452:1.0 3 6:0.1 31:1.0 35:1.0 36:1.0 91:1.0 92:1.0 150:0.014084507042253521 190:2.0 261:0.024390243902439025 275:1.0 359:0.5 496:1.0 785:1.0 911:1.0 1436:1.0 1810:1.0 2059:0.3333333333333333 3031:1.0 5899:1.0 6755:1.0 3 6:0.05 14:0.07692307692307693 15:0.0625 56:0.3333333333333333 73:1.0 150:0.014084507042253521 261:0.024390243902439025 263:1.0 359:0.5 445:1.0 644:1.0 785:1.0 3870:1.0 5410:1.0 3 5:1.0 14:0.07692307692307693 34:0.1111111111111111 42:0.3333333333333333 97:0.5 147:0.5 155:0.07692307692307693 158:1.0 201:1.0 219:0.25 220:1.0 261:0.024390243902439025 367:0.5 373:0.2 375:0.5 441:0.5 563:1.0 785:1.0 1241:0.5 1479:1.0 1564:0.3333333333333333 1896:1.0 1941:1.0 2342:1.0 3 5:1.0 6:0.1 34:0.1111111111111111 56:0.3333333333333333 73:1.0 82:0.25 114:0.5 128:0.3333333333333333 146:1.0 155:0.07692307692307693 216:1.0 308:1.0 473:0.5 648:1.0 1298:1.0 1430:1.0 1611:1.0 1654:1.0 3006:1.0 3267:1.0 3 14:0.07692307692307693 37:0.3333333333333333 56:0.3333333333333333 319:0.08333333333333333 375:0.5 566:1.0 587:1.0 1432:1.0 1921:1.0 2330:2.0 2649:1.0 3 5:1.0 6:0.05 7:0.5 15:0.0625 17:0.3333333333333333 34:0.1111111111111111 37:0.3333333333333333 64:0.16666666666666666 82:0.125 97:0.5 128:0.3333333333333333 135:0.5 165:0.1111111111111111 181:0.25 220:1.0 223:1.0 275:1.0 300:1.0 347:1.0 373:0.2 440:1.0 441:0.5 587:1.0 654:0.05263157894736842 1423:1.0 1471:1.0 1695:1.0 1779:1.0 2519:1.0 2675:0.3333333333333333 2959:1.0 3391:1.0 5095:1.0 5183:1.0 6384:1.0 3 5:1.0 6:0.05 14:0.07692307692307693 17:0.3333333333333333 45:2.0 56:0.3333333333333333 128:0.3333333333333333 138:0.07692307692307693 240:1.0 319:0.08333333333333333 399:0.5 417:1.0 511:0.5 549:1.0 561:0.5 587:1.0 647:1.0 4185:1.0 4237:1.0 5510:2.0 3 1:0.1 6:0.05 42:0.6666666666666666 56:0.3333333333333333 96:0.1 97:0.5 98:0.5 101:0.5 135:0.5 165:0.1111111111111111 191:0.07692307692307693 223:1.0 319:0.08333333333333333 443:1.0 671:1.0 717:1.0 1332:1.0 1333:1.0 1403:1.0 1564:0.3333333333333333 1926:1.0 2686:1.0 3774:1.0 5905:1.0 6688:1.0 3 23:0.1111111111111111 34:0.2222222222222222 97:0.5 117:0.05555555555555555 138:0.07692307692307693 165:0.1111111111111111 181:0.25 190:1.0 531:0.3333333333333333 1105:1.0 1155:1.0 1667:1.0 1740:1.0 2609:1.0 2610:1.0 2611:1.0 2776:1.0 4059:1.0 4707:1.0 3 6:0.1 7:0.5 14:0.07692307692307693 15:0.0625 34:0.1111111111111111 42:0.3333333333333333 56:0.3333333333333333 97:0.5 190:1.0 191:0.07692307692307693 215:0.3333333333333333 275:1.0 384:1.0 711:1.0 1256:1.0 2688:0.5 3212:1.0 3353:1.0 4006:1.0 4707:1.0 6673:1.0 3 5:1.0 6:0.05 15:0.0625 31:1.0 34:0.1111111111111111 42:1.6666666666666667 101:0.5 105:0.5 109:1.0 115:1.0 128:0.3333333333333333 147:0.5 150:0.014084507042253521 180:1.0 194:1.0 204:1.0 206:0.3333333333333333 215:0.16666666666666666 240:1.0 241:1.0 251:0.14285714285714285 373:0.2 441:0.5 473:2.0 511:0.5 564:1.0 1332:1.0 1569:0.3333333333333333 1670:0.5 1717:1.0 2297:1.0 2691:1.0 2941:1.0 4238:1.0 4241:1.0 4924:1.0 4980:1.0 6475:1.0 3 5:1.0 6:0.15 7:0.5 17:0.3333333333333333 31:1.0 42:0.3333333333333333 56:0.3333333333333333 63:0.3333333333333333 75:0.14285714285714285 82:0.125 106:0.25 115:1.0 117:0.05555555555555555 146:1.0 147:0.5 149:1.0 150:0.014084507042253521 176:1.0 207:1.0 232:1.0 281:1.0 300:1.0 350:0.125 539:1.0 561:0.5 615:1.0 1161:1.0 1421:1.0 1423:1.0 1448:1.0 1719:1.0 2229:1.0 2559:1.0 2803:1.0 3584:1.0 3800:1.0 4311:1.0 3 5:1.0 6:0.05 10:1.0 11:1.0 12:1.0 15:0.0625 31:1.0 34:0.1111111111111111 42:0.6666666666666666 64:0.3333333333333333 75:0.14285714285714285 97:0.5 150:0.028169014084507043 201:1.0 235:1.0 261:0.024390243902439025 319:0.08333333333333333 327:0.16666666666666666 380:1.0 488:0.25 587:1.0 785:1.0 1003:1.0 1104:0.5 1281:0.25 1355:1.0 1440:1.0 1661:1.0 2064:0.3333333333333333 3448:1.0 4370:1.0 4707:1.0 3 5:4.0 7:0.5 30:0.5 31:1.0 42:0.3333333333333333 88:0.5 97:0.5 106:0.25 108:0.5 131:0.5 143:0.3333333333333333 146:2.0 147:0.5 191:0.07692307692307693 454:1.0 473:0.5 878:1.0 1085:1.0 1268:1.0 1535:1.0 1661:1.0 1667:1.0 2515:1.0 2591:0.3333333333333333 3416:1.0 3556:2.0 4324:1.0 4406:1.0 3 6:0.2 15:0.0625 23:0.1111111111111111 31:1.0 56:0.3333333333333333 75:0.14285714285714285 82:0.375 97:0.5 106:0.25 143:0.3333333333333333 146:1.0 147:0.5 191:0.15384615384615385 220:1.0 222:1.0 254:0.6666666666666666 261:0.024390243902439025 300:1.0 367:0.5 386:0.5 409:1.0 488:0.25 534:0.25 561:0.5 622:1.0 672:1.0 713:1.0 1332:1.0 1333:1.0 1426:1.0 1546:1.0 1865:1.0 1998:1.0 2317:1.0 2683:0.3333333333333333 3344:1.0 3870:1.0 4407:1.0 3 5:2.0 6:0.1 17:0.3333333333333333 29:1.0 31:1.0 42:0.6666666666666666 82:0.125 97:1.0 106:0.25 115:1.0 150:0.014084507042253521 165:0.1111111111111111 215:0.16666666666666666 238:0.1111111111111111 254:0.3333333333333333 273:0.3333333333333333 300:1.0 319:0.08333333333333333 339:0.5 373:0.2 410:1.0 488:0.25 541:1.0 870:1.0 1596:1.0 1667:1.0 2351:1.0 2378:0.14285714285714285 2694:1.0 3182:1.0 3231:1.0 3770:0.5 3884:1.0 5076:1.0 3 1:0.1 6:0.05 24:1.0 34:0.2222222222222222 42:0.3333333333333333 56:0.3333333333333333 73:1.0 82:0.125 97:0.5 114:0.5 146:1.0 181:0.25 221:1.0 223:1.0 225:1.0 226:0.5 251:0.14285714285714285 261:0.024390243902439025 272:0.5 300:1.0 320:0.5 399:0.5 405:1.0 406:1.0 543:0.5 654:0.05263157894736842 995:0.5 1032:1.0 1410:1.0 1667:4.0 1910:1.0 1992:1.0 2876:1.0 2923:1.0 2966:1.0 3087:0.5 3106:1.0 5288:1.0 5339:1.0 3 5:1.0 6:0.05 7:0.5 17:0.3333333333333333 23:0.1111111111111111 31:1.0 34:0.4444444444444444 54:1.0 56:0.6666666666666666 128:0.3333333333333333 222:1.0 261:0.024390243902439025 281:1.0 300:1.0 477:1.0 798:1.0 1177:1.0 1332:1.0 1333:1.0 1465:1.0 2113:1.0 2119:2.0 2609:1.0 2876:1.0 3 5:2.0 6:0.15 15:0.125 17:0.3333333333333333 42:0.3333333333333333 82:0.125 146:1.0 147:0.5 190:2.0 191:0.07692307692307693 204:1.0 290:1.0 441:0.5 577:1.0 1123:0.5 1569:0.3333333333333333 1904:1.0 2462:1.0 2776:1.0 3208:1.0 3332:1.0 3892:1.0 4155:0.5 4236:1.0 4880:1.0 4980:1.0 6001:1.0 3 5:1.0 6:0.15 14:0.07692307692307693 34:0.1111111111111111 51:0.25 56:0.3333333333333333 145:1.0 201:1.0 204:1.0 255:1.0 367:0.5 1780:0.5 2538:1.0 3183:1.0 3416:1.0 3 5:1.0 6:0.1 14:0.07692307692307693 15:0.0625 23:0.2222222222222222 56:0.3333333333333333 82:0.125 106:0.5 146:1.0 147:1.0 155:0.07692307692307693 165:0.2222222222222222 241:1.0 278:1.0 457:1.0 908:1.0 1248:1.0 1298:1.0 1830:1.0 1923:1.0 1992:2.0 2721:1.0 2722:1.0 3910:1.0 4054:1.0 4490:1.0 3 5:1.0 6:0.05 14:0.07692307692307693 17:0.3333333333333333 97:1.0 114:0.5 138:0.07692307692307693 165:0.1111111111111111 232:1.0 275:1.0 290:1.0 491:1.0 647:1.0 724:1.0 927:1.0 988:0.5 1481:1.0 1671:1.0 1888:1.0 2435:1.0 2547:1.0 2626:1.0 4344:1.0 4576:1.0 3 5:2.0 15:0.0625 25:0.5 34:0.2222222222222222 177:0.5 290:1.0 407:1.0 510:1.0 747:0.5 1064:1.0 1191:1.0 1332:1.0 1333:1.0 1578:1.0 1932:1.0 1994:1.0 2959:1.0 3101:1.0 3567:1.0 4567:1.0 3 1:0.1 6:0.05 15:0.1875 17:0.3333333333333333 30:0.5 34:0.2222222222222222 35:1.0 36:1.0 42:0.6666666666666666 56:0.3333333333333333 96:0.1 98:0.5 131:0.5 155:0.07692307692307693 175:1.0 185:1.0 188:1.0 302:1.0 320:0.5 368:1.0 393:0.5 443:1.0 496:1.0 526:1.0 800:1.0 857:1.0 1120:1.0 1345:1.0 1349:1.0 1671:1.0 1672:1.0 1708:2.0 1709:2.0 2282:1.0 2828:1.0 4250:1.0 4324:1.0 3 15:0.0625 30:0.5 34:0.1111111111111111 42:0.3333333333333333 44:1.0 82:0.125 97:0.5 261:0.024390243902439025 281:1.0 373:0.2 743:1.0 1389:1.0 1992:1.0 2539:1.0 2721:1.0 4250:1.0 6844:1.0 3 6:0.2 14:0.07692307692307693 15:0.0625 17:0.3333333333333333 94:0.25 97:1.0 149:1.0 169:1.0 171:1.0 204:1.0 226:0.5 331:1.0 531:0.3333333333333333 537:1.0 546:1.0 561:0.5 828:0.5 850:1.0 1154:1.0 1183:0.5 1672:1.0 1681:1.0 1780:0.5 2278:1.0 2468:1.0 2968:1.0 3260:1.0 4327:1.0 5102:2.0 3 6:0.1 34:0.2222222222222222 42:0.3333333333333333 82:0.125 150:0.014084507042253521 245:1.0 473:0.5 543:0.5 918:1.0 919:1.0 1044:1.0 1256:1.0 1361:1.0 1446:1.0 1569:0.3333333333333333 2041:1.0 2263:0.5 3049:1.0 3410:1.0 3700:1.0 3 5:1.0 6:0.1 14:0.07692307692307693 23:0.1111111111111111 26:1.0 42:0.6666666666666666 54:1.0 97:1.0 101:0.5 191:0.07692307692307693 219:0.25 226:0.5 238:0.1111111111111111 255:1.0 272:0.5 329:0.5 371:1.0 441:0.5 1426:1.0 1637:1.0 1992:1.0 2996:1.0 3823:1.0 5788:1.0 3 4:0.5 5:2.0 6:0.1 17:0.3333333333333333 37:0.6666666666666666 56:0.3333333333333333 75:0.14285714285714285 98:0.5 138:0.07692307692307693 143:0.3333333333333333 150:0.014084507042253521 246:0.5 307:1.0 327:0.16666666666666666 350:0.125 394:1.0 896:1.0 981:1.0 1143:1.0 1166:2.0 1332:1.0 1333:1.0 1664:1.0 2478:0.3333333333333333 2500:0.5 2567:1.0 3672:1.0 4141:1.0 4979:1.0 6391:1.0 3 5:1.0 56:0.3333333333333333 117:0.05555555555555555 138:0.07692307692307693 215:0.16666666666666666 443:1.0 461:1.0 1295:1.0 1332:1.0 1333:1.0 2680:1.0 2927:1.0 3101:1.0 3241:1.0 3737:1.0 5027:1.0 3 1:0.1 5:3.0 6:0.15 15:0.0625 34:0.1111111111111111 42:0.3333333333333333 44:1.0 56:0.3333333333333333 73:1.0 75:0.14285714285714285 82:0.125 97:0.5 98:0.5 132:1.0 165:0.1111111111111111 190:1.0 197:0.3333333333333333 204:1.0 206:0.3333333333333333 211:1.0 215:0.3333333333333333 367:0.5 399:0.5 412:1.0 478:1.0 563:1.0 1116:1.0 1160:1.0 1177:1.0 1222:1.0 1522:1.0 1596:1.0 1661:1.0 1693:1.0 2688:0.5 2843:1.0 3175:1.0 4177:1.0 4317:1.0 4523:1.0 5222:1.0 3 1:0.1 4:0.5 6:0.1 16:0.2 25:0.5 34:0.1111111111111111 56:0.3333333333333333 138:0.07692307692307693 164:1.0 386:0.5 654:0.05263157894736842 716:1.0 717:1.0 1222:1.0 2929:1.0 3 5:1.0 34:0.1111111111111111 42:0.3333333333333333 56:0.3333333333333333 97:1.0 101:0.5 128:0.3333333333333333 191:0.07692307692307693 261:0.024390243902439025 272:0.5 353:1.0 367:1.0 595:1.0 597:1.0 599:1.0 785:1.0 1241:0.5 1332:1.0 1333:1.0 1389:1.0 1410:1.0 2973:1.0 3832:1.0 4158:1.0 4497:1.0 3 6:0.15 15:0.0625 34:0.1111111111111111 42:1.0 56:0.3333333333333333 82:0.125 169:1.0 201:1.0 245:1.0 350:0.125 439:1.0 441:0.5 496:1.0 511:0.5 693:1.0 843:1.0 892:1.0 927:1.0 1046:1.0 1116:1.0 1174:1.0 1307:1.0 1332:1.0 1333:1.0 1363:1.0 1569:0.3333333333333333 1719:1.0 2018:1.0 2188:1.0 3208:1.0 3 5:1.0 6:0.2 17:1.0 34:0.1111111111111111 42:0.6666666666666666 44:1.0 56:0.3333333333333333 82:0.375 114:0.5 138:0.07692307692307693 139:1.0 147:0.5 275:1.0 300:1.0 318:1.0 343:1.0 488:0.25 650:1.0 1028:1.0 1044:1.0 1104:1.0 2017:1.0 2141:1.0 2158:1.0 2161:1.0 2162:1.0 2182:1.0 3 14:0.07692307692307693 15:0.0625 34:0.1111111111111111 37:0.3333333333333333 73:1.0 165:0.1111111111111111 240:1.0 290:1.0 297:1.0 298:1.0 399:0.5 418:1.0 449:1.0 473:0.5 635:1.0 1332:1.0 1333:1.0 1596:1.0 1719:1.0 1883:1.0 1992:1.0 2071:1.0 2941:1.0 3031:3.0 3829:1.0 4221:1.0 4924:1.0
ce65ca725a10abd4dc623df0fad2ccde67c260f2
449d555969bfd7befe906877abab098c6e63a0e8
/2282/CH4/EX4.13/ex4_13.sce
83b63fcbd38a3e22c7dfe3d3f20d1e055dac243f
[]
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
469
sce
ex4_13.sce
// Example 4.13, page no-155 clear clc f=2.0 //reflector focal length d=2.0 // reflector diameter l=90/100 //90% of the angle theta=4*(atand(1/(4*f/d))) theta=4*atand(0.25007) // this value gives exact answer as in book dbw=l*theta printf("The angle subtended by the focal point feed\n at the edges of the reflector is, theeta = %.2f°\n\n 3dB beam width = %.2f°\n null-to-null beam width = % .2f°",theta,dbw,floor(200*dbw)/100)
df8bbbc5654a5c93bdf72f9d40db039d3ff7b20b
449d555969bfd7befe906877abab098c6e63a0e8
/767/CH4/EX4.7.5/Ch04Exa4_7_5.sci
db2e4e4c2f37c36085d704d5877a0fb358c21d59
[]
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
763
sci
Ch04Exa4_7_5.sci
// Scilab code Exa4.7.5: To determine the number of nuclear fission and decrease in mass during explosion at hiroshima : Page 191 (2011) E = 200*1.6e-013; // Energy released during fission of one nucleus, J E_t = 20000*4.18e+09; // Energy released in detonation of 20000 tons of TNT, J N_f = E_t/E; // Number of fission occured during eplosion, fissions c = 3e+08; // Velocity of light, m/s m = E_t/(c)^2*10^6; // Decrease in mass during explosion, mg m_r = round(m) printf("\n Number of fissions occured during explosion = %4.2e fissions \n Decrease in mass during explosion = %d mg ", N_f, m_r) // Result // Number of fissions occured during explosion = 2.61e+024 fissions // Decrease in mass during explosion = 929 mg
078f810be7ca5eff355cb17fe95f00e86c321957
4a1effb7ec08302914dbd9c5e560c61936c1bb99
/Project 2/Experiments/FURIA-C/results/FURIA-C.abalone-10-1tra/result4s0.tst
d3780c1cc08e097bd14be472a3ffae7c658970eb
[]
no_license
nickgreenquist/Intro_To_Intelligent_Systems
964cad20de7099b8e5808ddee199e3e3343cf7d5
7ad43577b3cbbc0b620740205a14c406d96a2517
refs/heads/master
2021-01-20T13:23:23.931062
2017-05-04T20:08:05
2017-05-04T20:08:05
90,484,366
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,402
tst
result4s0.tst
@relation abalone @attribute Sex{M,F,I} @attribute Length real[0.075,0.815] @attribute Diameter real[0.055,0.65] @attribute Height real[0.0,1.13] @attribute Whole_weight real[0.002,2.8255] @attribute Shucked_weight real[0.001,1.488] @attribute Viscera_weight real[5.0E-4,0.76] @attribute Shell_weight real[0.0015,1.005] @attribute Rings{15,7,9,10,8,20,16,19,14,11,12,18,13,5,4,6,21,17,22,1,3,26,23,29,2,27,25,24} @inputs Sex,Length,Diameter,Height,Whole_weight,Shucked_weight,Viscera_weight,Shell_weight @outputs Rings @data 16 9 7 7 10 7 11 9 11 8 11 9 9 8 8 7 10 8 8 7 11 9 9 9 12 9 7 8 9 8 8 7 9 7 13 9 14 9 4 5 11 9 21 9 13 9 10 9 12 8 9 8 10 8 9 8 7 7 11 9 9 6 19 9 10 9 11 9 13 9 18 9 15 9 8 7 13 9 21 9 14 9 7 7 12 8 8 7 11 9 9 8 10 9 15 9 10 8 10 8 16 9 12 8 10 7 9 8 10 8 9 7 19 9 14 9 12 9 15 9 13 9 12 9 9 7 5 4 11 8 7 5 15 8 17 8 9 7 12 7 18 8 7 7 10 7 10 8 6 5 10 7 19 8 14 8 17 8 23 8 16 9 9 7 7 7 4 4 16 7 14 8 9 7 11 7 13 8 12 8 20 9 17 9 14 9 11 9 11 9 5 5 12 9 12 9 6 6 6 7 6 7 9 7 7 7 9 8 6 9 11 9 11 9 6 5 6 5 5 7 6 7 8 7 8 8 7 8 6 8 7 8 8 8 9 8 8 9 9 9 8 9 11 9 4 4 6 5 7 7 8 8 8 8 6 8 9 8 10 8 8 8 8 8 9 9 9 8 9 8 9 9 8 8 8 8 14 9 9 9 10 9 11 9 6 5 5 7 5 7 8 8 9 8 9 8 10 8 9 8 8 8 11 8 11 9 10 8 12 9 10 9 11 9 10 9 11 9 3 4 4 5 5 6 7 7 5 7 7 8 9 8 11 9 11 9 6 5 7 6 7 6 7 7 9 8 8 8 10 9 10 8 10 8 9 8 9 9 13 9 11 9 10 9 9 9 12 9 11 9 5 7 10 9 10 8 9 9 10 9 9 9 8 8 7 8 8 8 9 8 9 8 9 8 9 9 9 8 11 9 15 9 11 9 12 9 10 9 10 9 13 9 13 9 6 5 7 7 8 7 9 8 10 8 5 5 9 7 8 9 10 9 8 8 7 7 9 7 8 8 8 8 9 8 7 7 10 8 7 5 8 7 20 9 9 8 17 9 17 9 7 6 14 9 7 5 8 8 9 8 15 9 8 6 17 9 13 9 18 9 10 7 12 8 14 8 16 8 14 9 10 8 13 9 16 9 10 7 10 7 8 7 11 8 13 8 11 8 20 9 8 8 14 8 8 8 9 8 9 9 10 9 12 9 7 8 7 8 9 9 12 9 5 5 6 6 6 7 7 8 7 8 7 8 7 8 7 8 9 8 9 9 6 6 8 7 7 7 8 8 8 8 8 8 10 8 10 9 10 9 11 8 9 9 13 9 11 9 7 7 8 8 10 9 11 9 5 7 10 8 8 9 9 8 9 9 10 9 10 9 10 9 11 9 11 9 12 9 12 9 6 7 10 9 10 9 9 9 9 8 9 9 13 9 11 9 6 5 8 7 10 8 10 8 9 8 15 9 15 9 10 9 6 7 5 4 10 8 14 7 12 9 11 8 13 8 12 9 18 9 11 8 13 8 12 8 11 8 12 7 12 7 8 5 15 8 16 9 6 5 7 7 6 7 8 8 8 9 10 9 10 9 3 4 6 6 8 8 10 9 6 5 6 6 8 7 8 8 8 8 8 8 10 9 9 9 11 8 9 9 11 9 11 9 8 6 8 7 8 8 7 8 10 8 11 9 9 9 12 9 10 9 11 9 11 9 12 9 10 9 11 9 7 7 7 6 9 8 9 8 10 9 10 8 11 8 9 8 8 9 8 8 10 9 9 9 11 9 9 7 15 9 7 8 12 8 12 9 4 4 13 8 9 8 11 9 6 8 10 9 8 7 7 7 10 8 8 8 13 9 13 9 9 9 13 9 11 9 9 9 11 8 7 6 8 8 9 9 8 8 10 8 10 9
1aaea31ee2fe2003db835e00fb47361d3bb46ab7
5f48beee3dc825617c83ba20a7c82c544061af65
/tests/s/84.tst
03fbb487af4211a6f2629c423cc2c38260fb8f7e
[]
no_license
grenkin/compiler
bed06cd6dac49c1ca89d2723174210cd3dc8efea
30634ec46fba10333cf284399f577be7fb8e5b61
refs/heads/master
2020-06-20T12:44:17.903582
2016-11-27T03:08:20
2016-11-27T03:08:20
74,863,612
3
0
null
null
null
null
UTF-8
Scilab
false
false
86
tst
84.tst
int f(float x) { return x; } typedef struct B { int b; } B; void g(B b) { b; }
688c2026ee7e5c58c6add430f82bc2a106844c05
1db0a7f58e484c067efa384b541cecee64d190ab
/macros/zplane.sci
f0cf610520202a31b56b30ecb43388d3e1f2902a
[]
no_license
sonusharma55/Signal-Toolbox
3eff678d177633ee8aadca7fb9782b8bd7c2f1ce
89bfeffefc89137fe3c266d3a3e746a749bbc1e9
refs/heads/master
2020-03-22T21:37:22.593805
2018-07-12T12:35:54
2018-07-12T12:35:54
140,701,211
2
0
null
null
null
null
UTF-8
Scilab
false
false
3,825
sci
zplane.sci
<<<<<<< HEAD //Pole-Zero plot for Discrete time systems //Calling Sequence //zplane(z) //zpalne(z,p) //Parameters: //z: vector containing numerator coefficients //p: vector containing denumerator coefficients //Description: //This function gives pole zero plote of discrete time systems //Example : //zplane([1 2 3],[4 5 6]) //Output : //Output is pole zero plot of respective discrete time system. //************************************************************************************************** //______________________________________version1 code (not working)_________________________________ //__________________________________________________________________________________________________ //************************************************************************************************** //function [y] = zplane(z,p) //funcprot(0); // //rhs = argn(2) // //if(rhs<1 | rhs>2) //error("Wrong number of input arguments.") //end // select(rhs) // case 1 then // callOctave("zplane",z) // case 2 then // callOctave("zplane",z,p) // end //endfunction //************************************************************************************************** //______________________________________________version2 code ( working)____________________________ //__________________________________________________________________________________________________ //************************************************************************************************** function zplane(z,varargin) funcprot(0); [nargout nargin] = argn(); if nargin == 1 then p = []; else p = varargin(1); end [rows_z columns_z] = size(z); [rows_p columns_p] = size(p); if (nargin < 1 | nargin > 2) error("Invalid inputs") end if columns_z>1 | columns_p>1 if rows_z>1 | rows_p>1 // ## matrix form: columns are already zeros/poles else // ## z -> b // ## p -> a if isempty(z), z=1; end if isempty(p), p=1; end M = length(z) - 1; N = length(p) - 1; z = [ roots(z); zeros(N - M, 1) ]; p = [ roots(p); zeros(M - N, 1) ]; end end xmin = min([-1; real(z(:)); real(p(:))]); xmax = max([ 1; real(z(:)); real(p(:))]); ymin = min([-1; imag(z(:)); imag(p(:))]); ymax = max([ 1; imag(z(:)); imag(p(:))]); xfluff = max([0.05*(xmax-xmin), (1.05*(ymax-ymin)-(xmax-xmin))/10]); yfluff = max([0.05*(ymax-ymin), (1.05*(xmax-xmin)-(ymax-ymin))/10]); xmin = xmin - xfluff; xmax = xmax + xfluff; ymin = ymin - yfluff; ymax = ymax + yfluff; // text(); // plot_with_labels(z, "o"); // plot_with_labels(p, "x"); // refresh; r = exp(2*%i*%pi*[0:100]/100); plot(real(r), imag(r),'k'); //hold on; // axis equal; // grid on; xgrid ; mtlb_axis(1.05*[xmin, xmax, ymin, ymax]); if (~isempty(p)) h = plot(real(p), imag(p), "bx"); //set (h, 'MarkerSize', 7); end if (~isempty(z)) h = plot(real(z), imag(z), "bo"); //set (h, 'MarkerSize', 7); end legend('unit circle','poles','zeros'); // hold off; endfunction //function plot_with_labels(x, symbol) // // [rows_x columns_x] = size(x); // // if ( ~isempty(x) ) // // x_u = unique(x(:)); // // for i = 1:length(x_u) // n = sum(x_u(i) == x(:)); // if (n > 1) // xstring(real(x_u(i)), imag(x_u(i)), [" " msprintf('string', n)]); // end // end // // col = "rgbcmy"; // for c = 1:columns_x // plot(real( x(:,c) ), imag( x(:,c) ), [col(pmodulo(c,6)),symbol ";;"]); // end // // end // //endfunction ======= function [y] = zplane(z,p) funcprot(0); rhs = argn(2) if(rhs<1 | rhs>2) error("Wrong number of input arguments.") end select(rhs) case 1 then callOctave("zplane",z) case 2 then callOctave("zplane",z,p) end endfunction >>>>>>> 6bbb00d0f0128381ee95194cf7d008fb6504de7d
73212079d94e9419db3eda1b9ebb5cb835998a69
449d555969bfd7befe906877abab098c6e63a0e8
/278/CH5/EX5.19/ex_5_19.sce
247116097ce8d8404424ff7b8a3cf59b753f02fe
[]
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
ex_5_19.sce
//find max and min intensties of stress in the section clc //solution //given //refer fig 5.21 b=150//mm d=120//mm P=180*10^3//N e=10//mm A=b*d//mm^2 fo=P/A//N/mm^2//direct compressive stress //Z=Iyy/y Z=d*b^2/6//mm^3 M=P*e//N-mm fb=M/Z//bending stress//N/mm^2 Fm=fo+fb//max stress Fmi=fo-fb//min stress printf("the max stress is,%f N/mm^2\n",Fm) printf("the min stress is,%f N/mm^2",Fmi)
a6cb201b09c138df01a859d95a3636498c5675e2
449d555969bfd7befe906877abab098c6e63a0e8
/3886/CH17/EX17.2/17_2.sce
62ab5d8b1f7d176c1ff6a79a86495b00aeb1a509
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
442
sce
17_2.sce
//batsman //refer fig 17.2 (a) and (b) //Let Fx be the horizontal component and Fy be the vertical component //Applying impulse momentum equation in horizontal direction Fx=(48*cosd(30)+20)/(9.81*0.02) //N //Applying impulse momentum equation in vertical direction Fy=(48*sind(30))/(9.81*0.02) //N //Resultant force F=sqrt(((Fx)^2)+((Fy)^2)) //N theta=atand(Fy/Fx) //degree printf("\nF=%.3f N\ntheta=%.3f degree",F,theta)
6ab7a9abc33c630d054a6c0693df04b0849f7d7f
449d555969bfd7befe906877abab098c6e63a0e8
/569/CH5/EX5.54/5_54.sci
4b6360b6dc2b4b6c44af2a949e8fd337815cd72a
[]
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
249
sci
5_54.sci
// Find the value of current clc; A=1935*10^-6; r=0.914; S_angle=A/r^2; I=180; L_flux=I*S_angle; disp(L_flux,'lumnious flux=') disp('Corresponding to lumnious flux o.417 lm and a load resistance of 800 ohm the current is 120 micro Ampere')
10f16846b33643155dd0d329c0f58f74440e7982
c0aa53c5c57ef13997c78f6723cd4302b10db35a
/Segunda Unidade/verificarJacob.sce
3e2fa91dc08d73a5cf45a1d7ac09c61ef14c619d
[]
no_license
mpsdantas/computacao_numerica
4a47a71c849f04f0493817ba1c502dfd22118598
5906b38941b99c7e702f730911878aba2b12bc71
refs/heads/master
2021-01-15T08:36:48.054724
2016-12-17T16:52:24
2016-12-17T16:52:24
67,094,751
1
0
null
null
null
null
UTF-8
Scilab
false
false
416
sce
verificarJacob.sce
function converge = verificarJacob(B) [l c] = size(B); C = abs(B); converge = %T for i=1:l if (sum(C(i,:))>1) then converge = %F; break end if (sum(C(:,i))>1) then converge = %F; break end end if (converge==%F) then if (max(abs(spec(B)))<1) then converge = %T end end endfunction
9817a56b2d8d995aa10d3f42ca5eecaeb713c0ad
449d555969bfd7befe906877abab098c6e63a0e8
/2195/CH2/EX2.8.4.c/ex_2_8_4_c.sce
fa78498573701db0eed1fa588317da22b7d1bb33
[]
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
320
sce
ex_2_8_4_c.sce
//Example 2.8.4.c // error clc; clear; close; //given data : format('v',5) V=100;//in volts I=5*10^-3;// in A S=1000;//in ohm/volts R_app=(V/I)*10^-3; V1=150;//in volts Rv=S*V1*10^-3; Rx=Rv/6.5;//actual resistance in kilo ohms per=(Rx-R_app)/Rx;// disp(per*100,"percentage error due to loading effect of voltmeter is")
2f0d6afaaf1714d6a3d9508acf8a7bdca3cbf123
449d555969bfd7befe906877abab098c6e63a0e8
/2021/CH17/EX17.1/EX17_1.sce
7ddd305ae88512631993ef18ddd3c4d08ce9573e
[]
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
152
sce
EX17_1.sce
//Finding of Force exerted //Given rho=1000; d=0.04; V=25; //To Find A=(%pi/4)*d^2; P=rho*A*V^2; disp("Force Exerted ="+string(P)+" Newtons");
1fa716bcaa7e96919a6c1ad2fa2d47129dd83538
449d555969bfd7befe906877abab098c6e63a0e8
/2318/CH5/EX5.3.b/ex_5_3_b.sce
ec1a2a0fc321197a7fea3c3043524a52ba74ff36
[]
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
231
sce
ex_5_3_b.sce
//Example 5.3.b:frequency clc; clear; close; //given data : theta1=12.5; theta2=10; lamda=log(theta1/theta2); x=lamda^2;// y=x/(%pi^2-x);// y1=sqrt(y);// f=0.125;//Hz fo=f/(sqrt(1-y1^2));//Hz disp(fo,"undamped frequency is,(Hz)=")
50dfbfb70146a350b051873fa2b0d58993d0d5bf
0a726f544943ff6c97cb18dd5942769cbcfacdf2
/SourceCode/emu_computers/0/C/Tests/itemDB_Test.tst
7d0004186b5c28308f27d811bba4df26ecebea88
[]
no_license
phil1025/ComputerCraft
371062c94098233cba52b70dcf06f03a7a60b6db
12d28dc285707469ce24eeba8e965c1bda8eb12b
refs/heads/main
2023-06-02T05:17:16.468445
2021-06-19T19:56:42
2021-06-19T19:56:42
355,140,799
1
0
null
2021-04-08T03:18:02
2021-04-06T10:01:34
Lua
UTF-8
Scilab
false
false
279
tst
itemDB_Test.tst
m = peripheral.wrap("left") --os.loadAPI("C/MyPrograms/APIs/itemDB/itemDB_API") local iDB_API = apiManager.load("itemDB_API") print(" itemDB_API: "..tostring(iDB_API)) local success = iDB_API.create("MyDatabase") print("Create db: MyDatabase => success="..tostring(success))
c55ba0567f4476f70587ed1b4f4fb44d0e271226
449d555969bfd7befe906877abab098c6e63a0e8
/2384/CH1/EX1.26/ex1_26.sce
c4e2e938e5d22df554aaba2493455d23a361125b
[]
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
ex1_26.sce
// Exa 1.26 clc; clear; close; format('v',7) // Given data R1 = 10;// in ohm R2 = 10;// in ohm R4 = 80;// in ohm V1= 100;// in V I2= 0.5;// in A V2= I2*R4;// in V // Applying KVL : -R1*I1-V2+V1-R1*I2=0 I1= (V1-V2)/(R1+R2);// in A V_R1= I1*R1;//voltage across R1 resistor in V V_R2= I1*R2;//voltage across R2 resistor in V disp(V_R1,"The voltage across R1 resistor in V is : ") disp(V_R2,"The voltage across R2 resistor in V is : ")
e5640d9b1253754a6ce69bb5507cfcaef2fa9110
449d555969bfd7befe906877abab098c6e63a0e8
/2660/CH21/EX21.4/Ex21_4.sce
2738b77d82d7ce52afb9d6cc6ee9220bf0982b39
[]
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
Ex21_4.sce
clc n = 1000 // number of units s = 4 // random sample d = 50 // defectives z = d*s/n pp0 = exp(-0.2)*1 // poisson probabilities for 0 defectives pp1 = exp(-0.2)*(z) // poisson probabilities for 1 defectives pp2 = exp(-0.2)*(z^2/factorial(2)) // poisson probabilities for 2 defectives pp3 = exp(-0.2)*(z^3/factorial(3))// poisson probabilities for 3 defectives printf("\n Proabilities for 0,1,2 and 3 defectives are : %0.3f ,%0.4f, %0.4f, %0.5f" , pp0,pp1,pp2,pp3)
51b7fe2fa91e28dd039845f5aedf079e4c34902e
449d555969bfd7befe906877abab098c6e63a0e8
/213/CH3/EX3.20/3_20.sce
1ed3dae815d544761b5592887e22ff62075201d5
[]
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,759
sce
3_20.sce
//To find the speed and energy dissipated clc //Given: m1=15*1000,m2=5*1000 //kg u1=20*1000/3600,u2=12*1000/3600 //m/s s=1000*10^3 //N/m e=0.5 //Solution: //Calculating the common speed v=(m1*u1+m2*u2)/(m1+m2) //m/s //Calculating the strain energy stored in one spring SE=mulf('1/2*s','x^2') //Strain energy, N-m //Calculating the strain energy stored in four buffer springs SE4=mulf('4*1/2*s','x^2') //Strain energy, N-m //Calculating the difference in kinetic energies before impact and during impact d=m1*m2/(2*(m1+m2))*(u1-u2)^2 //Difference in kinetic energies, N-m //Equating the difference between kinetic energies to the strain energy stored in the springs x=sqrt(d*2/(4*s))*1000 //mm //Calculating the speed of the loaded wagon immediately after impact ends v11=2*v-u1 //m/s //Calculating the speed of the empty wagon immediately after impact ends v21=2*v-u2 //m/s //Calculating the speeds of the wagons taking into account the coefficient of restitution, e=0.5 v12=(1+e)*v-e*u1 //m/s v22=(1+e)*v-e*u2 //m/s //Calculating the amount of energy dissipated during impact EL=m1*m2/(2*(m1+m2))*(u1-u2)^2*(1-e^2) //N-m //Results: printf("\n\n The magnitude of common speed, v = %d m/s.\n",v) printf(" The maximum deflection of each buffer spring during impact, x = %d mm.\n",x) printf(" The speed of the loaded wagon immediately after the impact ends, v1 = %.2f m/s.\n",v11) printf(" The speed of the empty wagon immediately after the impact ends, v2 = %.2f m/s.\n",v21) printf(" When coefficient of restitution is taken into account, v1 = %.3f m/s.\n",v12) printf(" When coefficient of restitution is taken into account, v2 = %.3f m/s.\n",v22) printf(" The amount of energy dissipated during impact, EL = %d N-m.\n\n",EL)
fd1f02cba011e8bd1c9f4e9165d7b898db28effa
dbcfa4caa5d6e2d5279839cfd63d1aab084e1740
/question_subsidiaire2.sce
1298f13254e865c5c9cab965c8f69c902ac020ba
[]
no_license
quentin-duchemin/Modeliser_alea
d20b8d1d1519eb99c4d7f7aa3f57605766776d8a
e10d25e62787d59e4e94e025271818a5e7f81847
refs/heads/master
2021-06-15T20:19:56.468355
2017-04-25T21:24:44
2017-04-25T21:24:44
null
0
0
null
null
null
null
ISO-8859-1
Scilab
false
false
4,120
sce
question_subsidiaire2.sce
clear // Loi normale function [x]=normale(y,m,s2) x=%e^(-(y-m).^2/2/s2)/sqrt(2*%pi*s2) endfunction; // Ouvrir le fichier de donnees (nombre de crabes par intervalle) x=fscanfMat('crabe.txt'); x=x; // intervalles y=.580+.002+.004*[0:28]; yM=y+.002; ym=y-.002; Max=25; // Dessiner la loi normale correspondante // A FAIRE probas = x / sum(x); ls_abs = [0.58:0.004:0.696]; moyenne = y*probas var = (y.^2)*probas - moyenne^2; sigma = sqrt(var) densite = normale(ls_abs,moyenne,var); plot(ls_abs,densite/sum(densite)); // Tracer l'histogramme // A FAIRE bar(y,x/sum(x)); // TEST DU CHI 2 // Cette fonction retourne la p valeur P(chi2>zeta_n) // du test du chi2 d'adequation de loi // N est un vecteur ligne des occurences observees // p0 est un vecteur ligne correspondant a la loi sous H0 function[proba]=test_chi2(N,p0) n=sum(N);// taille de l'echantillon observe // calcul de zeta_ n zeta_n=n*sum(((N/n-p0).^2)./p0); // nombre de degres de liberte (= nombre de classes dans N-1) d= length(N)-1; // on calcule la proba pour un chi 2 à d-1 degres d'etre superieur a zeta [p,q]=cdfchi("PQ",zeta_n,d) proba=q; endfunction; // On ne considère que les classes ayant un effectifs supérieur à 5 effectifs = x(2:27); classes = y(2:27); p_empirique = effectifs / sum(effectifs); moyenne = classes * p_empirique; var = ((classes-moyenne).^2) * p_empirique; p0 = normale(classes,moyenne,var)'; p0 = p0 /sum(p0); p_valeur = test_chi2(effectifs,p0) // Donnees pi0=[1; 3 ; 6]/10; pi=pi0; mu=[.57; .67; .67]; s2=[1 ;1;1]/10000; rho=ones(3,1000); // Algorithme EM pour les crabes //------------------------------ N=1000; R=zeros(8,N+1); R(:,1)=[mu(1);mu(2);mu(3);pi(1);pi(2);s2(1);s2(2);s2(3)]; Y = []; [r,n]=size(y); for l=1:n for m=1:x(l) Y = [Y ; y(l)]; end; end; function[proba]=probabilite(i,ite) if i==1 proba = R(4,ite); end; if i==2 proba = R(5,ite); end; if i==3 proba = 1 - R(4,ite) - R(5,ite); end; endfunction; for ite=1:N for k=1:N // Iteration k // A FAIRE // Calcul de rho for i=1:3 rho(i,k) = probabilite(i,ite) * normale(Y(k),R(i,ite),R(i+5,ite)); end; rho(:,k) = rho(:,k) / sum(rho(:,k)); end; // calcul de pi(1), pi(2) R(4,ite+1) = (1/N) * sum(rho(1,:)); R(5,ite+1) = (1/N) * sum(rho(2,:)); // calcul mu R(1,ite+1) = rho(1,:) * Y / sum(rho(1,:)); R(2,ite+1) = rho(2,:) * Y / sum(rho(2,:)); R(3,ite+1) = rho(3,:) * Y / sum(rho(3,:)); // calcul sigma R(6,ite+1) = ( rho(1,:) * ((Y-R(1,ite+1)).^2) ) / sum(rho(1,:)); R(7,ite+1) = ( rho(2,:) * ((Y-R(2,ite+1)).^2) ) / sum(rho(2,:)); R(8,ite+1) = ( rho(3,:) * ((Y-R(3,ite+1)).^2) ) / sum(rho(3,:)); end; // Affichages // A FAIRE figure(2); // Affichage de la loi empirique bar(y,x/sum(x)); // Affichage de la loi de melange ls_abs = [0.58:0.004:0.696]; densite = normale(ls_abs,R(1,N+1),R(6,N+1)) * R(4,N+1); densite = densite + normale(ls_abs,R(2,N+1),R(7,N+1)) * R(5,N+1); densite = densite + normale(ls_abs,R(3,N+1),R(8,N+1)) * (1- R(4,N+1)- R(5,N+1)); plot2d(ls_abs,densite/sum(densite)); xtitle('Loi empirique des données et loi de mélange obtenue pour 3 classes'); figure(3); // Affichage de la probabilité d'appartenir à la classe 1 sachant le ratio proba_appartenir_1 = []; proba_appartenir_2 = []; proba_appartenir_3 = []; for i=1:n ftheta = R(4,N+1) * normale(y(i),R(1,N+1),R(6,N+1)) + R(5,N+1) * normale(y(i),R(2,N+1),R(7,N+1)) + (1 - R(4,N+1) + R(5,N+1)) * normale(y(i),R(3,N+1),R(8,N+1)) ; proba_appartenir_1 = [proba_appartenir_1 , R(4,N+1) * normale(y(i),R(1,N+1),R(6,N+1)) / ftheta ] ; proba_appartenir_2 = [proba_appartenir_2 , R(5,N+1) * normale(y(i),R(2,N+1),R(7,N+1)) / ftheta ] ; proba_appartenir_3 = [proba_appartenir_3 , (1 - R(4,N+1) + R(5,N+1)) * normale(y(i),R(3,N+1),R(8,N+1)) / ftheta ] ; end; plot2d(y,proba_appartenir_1,style = 1); plot2d(y,proba_appartenir_2,style = 2); plot2d(y,proba_appartenir_3,style = 3); legends(['Probabilité d appartenir à la classe 1 sachant le ratio','Probabilité d appartenir à la classe 2 sachant le ratio','Probabilité d appartenir à la classe 3 sachant le ratio'],[1,2,3],'ur') ;
8de33bfb4900f6de0c1f748b9dfc249ca22fc97b
449d555969bfd7befe906877abab098c6e63a0e8
/608/CH41/EX41.03/41_03.sce
ee1ba8d55c373865f5d53ab618e209ddb8e0e564
[]
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
306
sce
41_03.sce
//Problem 41.03: An amplifier has a gain of 15 dB. If the input power is 12 mW, determine the output power. //initializing the variables: gain = 1.5; // in dB Pi = 0.012; // in Watt //calculation: //output power Po = Pi*10^gain printf("\n\n Result \n\n") printf("\noutput power is %.4f W",Po)
8bf8fa99c49be3edb34448beae0daaa7aa440644
449d555969bfd7befe906877abab098c6e63a0e8
/545/CH5/EX5.8/ch_5_eg_8.sce
d04093eba5b8e154a94e2dc208794266e917e3ce
[]
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,083
sce
ch_5_eg_8.sce
clc disp("the soln of eg 5.8--&gt;Chemical Reaction and Diffusion in Pore"); lnght=.001 k_const=.001 D=10^-9 delta_x=lnght/100 C=1 //in mol/m3 //B.C. are C=1 at x=0 // dC/dx=0 at x=10^-3 since at the end point conc. is const. //using central difference method we get the following eqns which can be solved using TDMA method for i=2:99, a(i)=1 //sub diagonal assignment end a(100)=2 //since C99=C100 using B.C. for j=1:100, b(j)=-2.0001, //main diagonal assignment end for k=1:99, c(k)=1; //super diagonal assignment end d(1)=-1 for l=2:100, d(l)=0; end //given values assignment i=1; n=100; beta1(i)=b(i); //initial b is equal to beta since a1=0 gamma1(i)=d(i)/beta1(i); //since c7=0 m=i+1; for j=m:n, beta1(j)=b(j)-a(j)*c(j-1)/beta1(j-1); gamma1(j)=(d(j)-a(j)*gamma1(j-1))/beta1(j); end x(n)=gamma1(n); //since c7=0 n1=n-i; for k=1:n1, j=n-k; x(j)=gamma1(j)-c(j)*x(j+1)/beta1(j); end disp(x(50),"the values of conc. at x=.5mm or at the 50th node is");
d7954fb58b30e2d11029354eb8b0f7d7608cc781
449d555969bfd7befe906877abab098c6e63a0e8
/1538/CH10/EX10.16/Ex10_16.sce
02dc53585d8b2ac1d0fdc5a99ec3a7074ff548d8
[]
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
331
sce
Ex10_16.sce
//example-10.16 //page no-332 //given //ASTM number n=4 //as we know that N=2^(n-1) //per inch^2 at a magnification of 100 //let r be the radius of grain //so //N*A=1/100 inch^2 where A=(%pi)*r^2 //so r=sqrt(1/100/N/(%pi)) //inch //radius of grain in mm R=r*25.4 //mm printf ("the radius of grain is %f mm", R)
1eeb8a4ae81d2f749e94adbf670f1e401bea0a8f
449d555969bfd7befe906877abab098c6e63a0e8
/1871/CH4/EX4.18/Ch04Ex18.sce
13eb6244de436d234c93a1d95228308a4222a64f
[]
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,237
sce
Ch04Ex18.sce
// Scilab code Ex4.18 : Pg:157 (2008) clc;clear; D = 1; // For simplicity assume the distance between the biprism and narrow slit to be unity, unit d = 1; // Assume half the distance between two coherent sourcesto be unity, unit lambda = 5893; // Mean wavelength of sodium light, angstrom lambda1 = 5461 // Wavelength of green color, angstrom lambda2 = 4358; // Wavelength of violet color, angstrom omega = lambda*D/(2*d); // Fringe width with yellow color, unit omega1 = lambda1*D/(2*d); // Fringe width with green color, unit omega2 = lambda2*D/(2*d); // Fringe width with violet color, unit n = 62; // Number of fringes obtained with light from sodium lamp // As n1*omega1 = n*omega, solving for n1 n1 = n*omega/omega1; // Number of fringes obtained with green color // As n2*omega2 = n*omega, solving for n2 n2 = n*omega/omega2; // Number of fringes obtained with violet color printf("\nThe number of fringes with green filter = %2d", ceil(n1)); printf("\nThe number of fringes with violet filter = %2d", ceil(n2)); // Result // The number of fringes with green filter = 67 // The number of fringes with violet filter = 84 // The second answer is given wrong in the textbook
369c00634f388cc1771cf3ea103798d8c2d3fab4
449d555969bfd7befe906877abab098c6e63a0e8
/3760/CH3/EX3.35/Ex3_35.sce
f295338c2b5751ae0d341f1bb5dac4a13d9531f9
[]
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,092
sce
Ex3_35.sce
clc; p=4; // number of poles np=3; // number of phases f=50; // frequency of alternator sap=8; // slot angular pitch c=12; // number of concentric coils in field winding tf=6; // turns per field coil ta=28; // series armature turn per phase ar=0.6; // armature radius la=4; // armature length g=0.06; // gap length w=0.96; // winding factor for armature winding fc=1000; // field current disp('case a'); kd=sind((np*sap)/2)/(np*sind(sap/2)); // distribution factor kp=1; // coil span factor kf=kd*kp; // winding factor for field winding nf=tf*c; // number of field turn F=(4*kf*nf*fc)/(%pi*p); printf('Peak value of fundamental mmf produced by field winding is %f AT/pole\n',F); disp('case b'); uo=4*%pi*10^-7; // free space permeability B=(uo*F)/g; printf('Peak value of fundamental flux density wave is %f T\n',B); disp('case c'); v=(4*B*la*ar)/p; printf('Fundamental value of air gap flux per pole is %f W\n',v); disp('case d'); eph=sqrt(2)*%pi*f*v*ta*w; printf('EMF per phase is %f V\n',eph); el=sqrt(3)*round(eph); printf('Line EMF is %f V',el);
cadd862ccbeb534cf7b9a0bbd335bdd91275c0bb
eec0cb8a9a3987d4e28fc22c89750a158a00ea84
/Assignment3_Team8/Q2/testCase456.tst
c4a76f9555cf558ceffc338345b15bddebf05101
[]
no_license
Archaic-Mage/CS2310_LAB_Assignments
8ac90e0123de95f5cf8db709cd7761962bf8cef2
e922b59fc1350db3f23b07b8f5986ac54f197c8d
refs/heads/main
2023-08-29T23:42:07.913682
2021-11-16T14:00:05
2021-11-16T14:00:05
401,640,543
1
1
null
2021-10-01T05:55:36
2021-08-31T09:10:15
Scilab
UTF-8
Scilab
false
false
378
tst
testCase456.tst
load CLA4b16bsA.hdl, output-file testCase456.out, compare-to testCase456.cmp, output-list x%D3.6.3 y%D3.6.3 z%D3.6.3 isoverflow%B5.1.4; //test case 1 for signed int set x %D8, set y %D12, eval, output; //test case 2 for signed int set x %B0011111111111111, set y %B0110000000000000, eval, output; //test case 3 for signed int set x %D-20, set y %D-12, eval, output;
03d3b9366a0dcf77042a189e5bf268acaf8b55a7
449d555969bfd7befe906877abab098c6e63a0e8
/1595/CH1/EX1.14/ex1_14.sce
77113e1b003da659c9f562229d75505687e0a157
[]
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
497
sce
ex1_14.sce
//Introductory Topics :example 1-14 : (pg no. 42) R=2; L=3*10^-3; C=0.47*10^-6; x=(2*%pi*sqrt(L*C)); y=1/x; XL=(2*%pi*y*L); Q=(XL/R); Z=((Q^2)*R); BW=(R/(2*%pi*L)); //part(a) : resonant frequency printf("\nfr = 1/2.pi.sqrt(LC) = %.f Hz",y); //part(b) : Quality factor printf("\nQ = XL/R \n XL =2.pi.f.L \nXL = %.1f Ohm",XL); printf("\nQ = %.1f",Q); //part(c) : maximum impedance printf("\nZmax = Q^2*R = %.f Ohm",Z); //part(d) : Bandwidth printf("\nBW = R/2.pi.L = %.f Hz",BW);
89d7585597f065b3248eb53fa3ec647f96aab447
449d555969bfd7befe906877abab098c6e63a0e8
/1964/CH5/EX5.32/ex5_32.sce
76134e4d09bb0ecba8b4072aa3fe82961eb1256c
[]
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
806
sce
ex5_32.sce
//Chapter-5, Example 5.32, Page 196 //============================================================================= clc clear //INPUT DATA V=220;//applied voltage in volts f=50;//frequency in hz Imax=0.4;//maximum current in A Vc=330;//voltage across capacitance in volts //at resonance condition I0=0.4 A I0=0.4//current in A //CALCULATIONS Xc=(Vc)/(I0);//capacitive reactance in ohms C=inv(2*%pi*f*Xc);//capacitance in F //at resonance condition Xc=Xl, hence L=Xc/(2*%pi*f);//inductance in henry R=V/(Imax);//resistance in ohms mprintf("Thus resistance,inductance and capacitance are %d ohms,%1.2f H and %g F respectively\n",R,L,C); //=================================END OF PROGRAM======================================================================================================
3f2d7be7bf8387991792317da0072f6eb197ec84
3cbee2296fd6b54f80587eead83813d4c878e06a
/sci2blif/rasp_design_added_blocks/adc.sce
b4a210654bd91b0b3e8e7088d56130aca723cb95
[]
no_license
nikhil-soraba/rasp30
872afa4ad0820b8ca3ea4f232c4168193acbd854
936c6438de595f9ac30d5619a887419c5bae2b0f
refs/heads/master
2021-01-12T15:19:09.899590
2016-10-31T03:23:48
2016-10-31T03:23:48
71,756,442
0
0
null
2016-10-24T05:58:57
2016-10-24T05:58:56
null
UTF-8
Scilab
false
false
93
sce
adc.sce
style.fontSize=16; style.displayedLabel="ADC"; pal6 = xcosPalAddBlock(pal6,"adc",[],style);
f3d53bc8c9e97dd50f0b524c89e998ce70db1654
449d555969bfd7befe906877abab098c6e63a0e8
/1472/CH8/EX8.3/8_3.sce
d214dfd8951f388f9468e4e78e0d5dd6bc35952b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
186
sce
8_3.sce
clc //initialization of varaibles T1=50+460 //R T2=150+460 //R m=1 cp=0.240 //calculations ds=m*cp*(log(T2) - log(T1)) //results printf("Change in entropy = %.4f B/ F abs",ds)
db2f9a55bf7b0409eeb7c7e6bae05cbfedbe6ec6
c22c8dd61032718b3204a62b85d86b8fb0a72d49
/Exp.6.sce
8596779ff44ba2280eec48d4ad91e5de6876ad7c
[]
no_license
DhavalRavat/SS_Scilab_Submission
8f107dac2aaf95bd4f4a7c3dadf7ee2b352bca11
2af97e9e26d183eb35cff0b5ea7c3fbc5f13d0b2
refs/heads/main
2023-01-24T00:23:22.516846
2020-11-25T18:10:54
2020-11-25T18:10:54
316,017,998
0
0
null
null
null
null
UTF-8
Scilab
false
false
232
sce
Exp.6.sce
clc; n=0:1:100; fs=0.02; T=1/fs; t=n*T; x=cos(2*%pi*0.02*t); plot2d3(n,x); figure; n=0:1:100; fs=0.04; T=1/fs; t=n*T; x=cos(2*%pi*0.02*t); plot2d3(n,x); figure; n=0:1:100; fs=0.4; T=1/fs; t=n*T; x=cos(2*%pi*0.02*t); plot2d3(n,x);
6cc455bb8e608788c2e3ebb7b7be351945943cea
1db0a7f58e484c067efa384b541cecee64d190ab
/macros/hann.sci
b95ed4f99f26648840f13a6dd8e7c33dee615fda
[]
no_license
sonusharma55/Signal-Toolbox
3eff678d177633ee8aadca7fb9782b8bd7c2f1ce
89bfeffefc89137fe3c266d3a3e746a749bbc1e9
refs/heads/master
2020-03-22T21:37:22.593805
2018-07-12T12:35:54
2018-07-12T12:35:54
140,701,211
2
0
null
null
null
null
UTF-8
Scilab
false
false
1,049
sci
hann.sci
function w = hann (varargin) //This function returns the filter coefficients of a Hanning window. //Calling Sequence //w = hann(m) //w = hann(m, "symmteric") //w = hann(m, "periodic") //Parameters //m: positive integer value //opt: string value, takes in "periodic" or "symmetric" //w: output variable, vector of real numbers //Description //This is an Octave function. //This function returns the filter coefficients of a Hanning window of length m supplied as input, to the output vector w. //The second parameter can take the values "periodic" or "symmetric", depending on which the corresponding form of window is returned. The default is symmetric. //Examples //hann(6,"symmetric") //ans = // 0. // 0.3454915 // 0.9045085 // 0.9045085 // 0.3454915 // 0. funcprot(0); rhs = argn(2) m = varargin(1) if(rhs<1 | rhs>2) error("Wrong number of input arguments.") end select(rhs) case 1 then w = callOctave("hann",varargin(1)) case 2 then w = callOctave("hann",varargin(1),varargin(2)) end endfunction
55111ef323b07614ca6ece1fa53823b7e62d7429
449d555969bfd7befe906877abab098c6e63a0e8
/1535/CH6/EX6.7/Ch06Ex7.sci
1a161982c4672fbedc7103b2c6aa946730e82cd0
[]
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
865
sci
Ch06Ex7.sci
// Scilab Code Ex6.7 : Angle of reflection by using wavelength of X-ray: Page-136 (2010) lambda = 1.440e-010; // Wavelength of X-rays, m d = 2.8e-010; // Interplanar spacing of rocksalt crystal, m // 2*d*sin(theta) = n*lambda **Bragg's law, n is the order of diffraction // Solving for theta, we have // For Ist Order diffraction n = 1; theta = asind(n*lambda/(2*d)); // Angle of diffraction, degrees printf("\nThe angle of reflection for first order diffraction = %4.1f degrees", theta); // For IInd Order diffraction n = 2; theta = asind(n*lambda/(2*d)); // Angle of diffraction, degrees printf("\nThe angle of reflection for first order diffraction = %4.1f degrees", theta); // Result // The angle of reflection for first order diffraction = 14.9 degrees // The angle of reflection for first order diffraction = 30.9 degrees
1e74c94e39e560ac0a4f25cdc131e5e466d60e1a
449d555969bfd7befe906877abab098c6e63a0e8
/2204/CH4/EX4.24/ex4_24.sce
39572f56ed87bbc7bd80008296b3a1f98d1ae810
[]
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
ex4_24.sce
// Exa 4.24 clc; clear; close; // Given data R1= 100;// in kΩ R2=200;// in kΩ R3= 20;// in kΩ R4=40;// in kΩ //Vout= [1+R2/R1]*[R4/(R3+R4)]*Vin1-R2/R1*Vin2 A=[1+R2/R1]*[R4/(R3+R4)];// (assumed) disp("Output voltage is "+string(A)+"*(Vin1-Vin2)")
d11cb237a18e4af8991f385112e4ac779171e2fe
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH1/EX1.53/Ex1_53.sce
583edb703c40f9ab454598237b4cd4316f283baf
[]
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
431
sce
Ex1_53.sce
errcatch(-1,"stop");mode(2);//Example 1_53 ; ; //To find the radius of the curvature lamda=5890 //units in angstroam lamda=5890*10^-8 //units in cm //diameter of the 15th ring m=15 Dm=0.590 //units in cm //diameter of the 5th ring n=5 Dn=0.336 //units in cm R=(Dm-Dn)/(4*lamda*(m-n)) printf("the radius of the curvature of the convex lens is %.2f cm",R) exit();
8a02d579c7716be3badd04965505b75b935b74d7
449d555969bfd7befe906877abab098c6e63a0e8
/2939/CH3/EX3.3/Ex3_3.sce
38543aedfcb709370777904447d36d167d894e30
[]
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
346
sce
Ex3_3.sce
// Ex3_3 clc; // Given: E=6;// in MeV z1=79; z2=2; q=4.8*10^-10; // Solution: // At the closest distance of approach, the kineic energy of the alpha particle balances the columb barrier energy. r1=(z1*z2*q*q)/(E*1.6*10^-6);// distance in cm r=r1*10^13;// distance in fm printf("The closest distance of approach is = %f fm",r)
677eeb054a48cd5bbb4e42a59911d66c1a59b1ea
1ccfcf39e5941044f7809d7bd29f3a001877ffac
/experimento_05/autoco.sce
889e0a8e33bf8b9f02516bf24a57fb0fa8a5f565
[]
no_license
victoribeir0/experimentos_pds
9ebe7aa4f678fa7e39942398543217bc2d6807a7
283fcfd16b743ae8cc864e0f5abcac955c8552d0
refs/heads/main
2023-04-30T01:48:48.984254
2021-05-01T09:25:13
2021-05-01T09:25:13
351,879,262
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,054
sce
autoco.sce
/* Calcula a autocorrelação do sinal x em janelas e determina o f0 (estimado) para cada janela. x = Sinal de entrada. Njan = Núm. de amostras em cada janela. f0 = Freq. fundamental para cada janela analisada. */ function f0 = autoco(x, Tjan, fs) x = x(1,:); // Evita que seja anlisado os dois canais de áudio. Njan = round((Tjan/1000)*fs); // Num. de amostras em cada janela. NAv = round((10/1000)*fs); // Num. de amostras para o avanço (sobreposição). Tam = round((length(x)-Njan)/NAv); // Num. total de janelas. R = zeros(Tam,round(Njan/3)); // Inicialização da matriz de autocorrelaçao. j = 1; ji = 1; for i = 1:NAv // Laço for para cada janela. ap = ((i-1)*NAv)+1; for m = 1:round(Njan/3) // Laço for para cada varrer dentro da janela. // Caso esteja na última janela, o alg. não pode mais calcular a autoco. if (ap+Njan-1)+m-1 <= length(x) a = x(ap:ap+Njan-1); // Seleciona o segmento do sinal. b = x((ap:ap+Njan-1)+m-1); a = a-mean(a); // Remove o nível DC subtraindo pela média. b = b-mean(b); R(i,m) = mean(a.*b); // Calcula a autocorrelação: end end end ind_skip = 20; // Variável onde começa a valer para encontrar o máx. [m,k_0] = max(R(:,ind_skip:$),'c'); /* Devido o calculo do máximo (passo anterior) ser feito a partir do índice 20, os valores de max_pos devem ser somados a ind_skip-1, para voltar para os valores de origem. */ k_0 = k_0 + (ind_skip-1); k_0 = fs./k_0; // Para obter a freq. em Hz divide Fs/max_pos. k_0 = k_0(k_0 <= 500); //Matem somente os menos que 500 Hz. mdn = median(k_0); range_med = 15; // Valor em que a mediana pode variar (para mais ou para menos). // Obtém os índices em que k0 que não estão distantes da mediana. idx_n = find(k_0 <= mdn+range_med & k_0 >= mdn-range_med); f0 = k_0(idx_n); // Atualiza os k0 (descarta os que estão distantes de mediana). endfunction
6ab1a075833a87a84dfb04509b9e75060c4ada16
99b4e2e61348ee847a78faf6eee6d345fde36028
/Toolbox Test/slewrate/slewrate14.sce
7d9de49e62f9b2caef9026eecf91507286a3176d
[]
no_license
deecube/fosseetesting
ce66f691121021fa2f3474497397cded9d57658c
e353f1c03b0c0ef43abf44873e5e477b6adb6c7e
refs/heads/master
2021-01-20T11:34:43.535019
2016-09-27T05:12:48
2016-09-27T05:12:48
59,456,386
0
0
null
null
null
null
UTF-8
Scilab
false
false
175
sce
slewrate14.sce
//check o/p when i/p parameters are x,t, and statelevels x=[1.2, 5, 10, -20, 12]; t=1:length(x); [s,LT,UT,LR,UR]=slewrate(x,t,'StateLevels',[0,2]); disp(s) //output // -30 32
f8c33e645b6d2ff85b5cefe445d570095c70ad55
449d555969bfd7befe906877abab098c6e63a0e8
/2672/CH5/EX5.37/Ex5_37.sce
9233db7f2a9f6b130bff82784105ffd6ed7ef923
[]
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
297
sce
Ex5_37.sce
//Example 5_37 clc; clear; close; format('v',5); //given data : I1=0.5;//mA V1=340;//mV I2=15;//mA V2=465;//mV kBTBye=25;//mV(It is kB*T/e) //I=Is*(exp(V/Eta/kBTBye)-1) Eta=(V2/kBTBye-V1/kBTBye)/log(I2/I1);//neglecting 1 as exp(V/Eta/kBTBye)>>1 disp(Eta,"Ideality Factor(Eta) : ");
53e35ed14ce669863571a2477d4505a392c1984b
449d555969bfd7befe906877abab098c6e63a0e8
/1280/CH2/EX2.2/2_2.sce
1af015be4bf72d31db44f9ed535c0604743ef5e1
[]
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
177
sce
2_2.sce
clc //initialisation of variables F= 1500 //lb t1= 10 //sec F1= 1200 //lb //CALCULATIONS t2= F*t1/F1 //RESULTS printf ('time required to raise the load = %.1f sec',t2)
5495efeffca888a6e8b9f932943178170df1b694
449d555969bfd7befe906877abab098c6e63a0e8
/1757/CH4/EX4.8/EX4_8.sce
b42f577e35abb22cd2d4ec3f970e77b0bacb7d43
[]
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
682
sce
EX4_8.sce
//Example4.8 // to find out closed loop gain and output voltage Vo clc; clear; close; R1 = 10 ; //kilo ohm // input resistance R3 = 10 ; //kilo ohm // input resistance R2 = 25 ; // kilo ohm // feedback resistance R4 = 25 ; // kilo ohm // feedback resistance Vin2 = 10 ; //volt // input voltage Vin1 = -10 ; //volt // input voltage // closed loop gain of differntial op-amp is given by Ac = (R2/R1) ; Ac = abs(Ac); disp('The closed loop gain of differntial op-amp is = '+string(Ac)+' '); // the output voltage of an non-inverting op-amp is given by Vo = (R2/R1)*(Vin2-Vin1) ; disp('The output voltage of an non-inverting op-amp is= '+string(Vo)+' V ');
9b7ad915f45b4a54ca602a32820c25e5febdc98d
1bb72df9a084fe4f8c0ec39f778282eb52750801
/test/TM21.prev.tst
70717b95d4f489ec993b902ce1f3fbcd61d329eb
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
gfis/ramath
498adfc7a6d353d4775b33020fdf992628e3fbff
b09b48639ddd4709ffb1c729e33f6a4b9ef676b5
refs/heads/master
2023-08-17T00:10:37.092379
2023-08-04T07:48:00
2023-08-04T07:48:00
30,116,803
2
0
null
null
null
null
UTF-8
Scilab
false
false
5,633
tst
TM21.prev.tst
TranspositionSet={[0,2,1],[1,0,2],[1,2,0],[2,1,0],[2,0,1]} Expanding for base=2, level=6, reasons+features=base,transpose,same,similiar invall,norm,showfail Refined variables=x,y,z [0+1x,0+1y,0+1z]: unknown -> [1] [0,0,0] x²+y²-2x*y*z+z² -> solution [0,0,0],trivial(3) ---------------- level 0 expanding queue[0]^-1,meter=[2,2,2]: x²+y²-2x*y*z+z² [0+2x,0+2y,0+2z]: unknown -> [1] [0,0,0] x²+y²-4x*y*z+z² -> solution [0,0,0],trivial(3) [1+2x,0+2y,0+2z]: failure constant=1, vgcd=4 [1,0,0] 4x+4x²+4y²-8y*z-16x*y*z+4z²+1 [0+2x,1+2y,0+2z]: failure constant=1, vgcd=4 [0,1,0] 4x²+4y+4y²-8x*z-16x*y*z+4z²+1 [1+2x,1+2y,0+2z]: failure constant=1, vgcd=2 [1,1,0] 2x+2x²+2y+2y²-2z-4x*z-4y*z-8x*y*z+2z²+1 [0+2x,0+2y,1+2z]: failure constant=1, vgcd=4 [0,0,1] 4x²-8x*y+4y²+4z-16x*y*z+4z²+1 [1+2x,0+2y,1+2z]: failure constant=1, vgcd=2 [1,0,1] 2x+2x²-2y-4x*y+2y²+2z-4y*z-8x*y*z+2z²+1 [0+2x,1+2y,1+2z]: failure constant=-1, vgcd=2 [0,1,1] 2x-2x²-2y+4x*y-2y²-2z+4x*z+8x*y*z-2z²-1 [1+2x,1+2y,1+2z]: failure constant=1, vgcd=4 [1,1,1] 4x²-8x*y+4y²-8x*z-8y*z-16x*y*z+4z²+1 endexp[0] ---------------- level 1 expanding queue[1]^0,meter=[2,2,2]: x²+y²-4x*y*z+z² [0+4x,0+4y,0+4z]: unknown -> [2] [0,0,0] x²+y²-8x*y*z+z² -> solution [0,0,0],trivial(3) [2+4x,0+4y,0+4z]: failure constant=1, vgcd=4 [1,0,0] 4x+4x²+4y²-16y*z-32x*y*z+4z²+1 [0+4x,2+4y,0+4z]: failure constant=1, vgcd=4 [0,1,0] 4x²+4y+4y²-16x*z-32x*y*z+4z²+1 [2+4x,2+4y,0+4z]: failure constant=1, vgcd=2 [1,1,0] 2x+2x²+2y+2y²-4z-8x*z-8y*z-16x*y*z+2z²+1 [0+4x,0+4y,2+4z]: failure constant=1, vgcd=4 [0,0,1] 4x²-16x*y+4y²+4z-32x*y*z+4z²+1 [2+4x,0+4y,2+4z]: failure constant=1, vgcd=2 [1,0,1] 2x+2x²-4y-8x*y+2y²+2z-8y*z-16x*y*z+2z²+1 [0+4x,2+4y,2+4z]: failure constant=-1, vgcd=2 [0,1,1] 4x-2x²-2y+8x*y-2y²-2z+8x*z+16x*y*z-2z²-1 [2+4x,2+4y,2+4z]: failure constant=1, vgcd=4 [1,1,1] 4x-4x²+4y+16x*y-4y²+4z+16x*z+16y*z+32x*y*z-4z²+1 endexp[1] ---------------- level 2 expanding queue[2]^1,meter=[2,2,2]: x²+y²-8x*y*z+z² [0+8x,0+8y,0+8z]: unknown -> [3] [0,0,0] x²+y²-16x*y*z+z² -> solution [0,0,0],trivial(3) [4+8x,0+8y,0+8z]: failure constant=1, vgcd=4 [1,0,0] 4x+4x²+4y²-32y*z-64x*y*z+4z²+1 [0+8x,4+8y,0+8z]: failure constant=1, vgcd=4 [0,1,0] 4x²+4y+4y²-32x*z-64x*y*z+4z²+1 [4+8x,4+8y,0+8z]: failure constant=1, vgcd=2 [1,1,0] 2x+2x²+2y+2y²-8z-16x*z-16y*z-32x*y*z+2z²+1 [0+8x,0+8y,4+8z]: failure constant=1, vgcd=4 [0,0,1] 4x²-32x*y+4y²+4z-64x*y*z+4z²+1 [4+8x,0+8y,4+8z]: failure constant=1, vgcd=2 [1,0,1] 2x+2x²-8y-16x*y+2y²+2z-16y*z-32x*y*z+2z²+1 [0+8x,4+8y,4+8z]: failure constant=-1, vgcd=2 [0,1,1] 8x-2x²-2y+16x*y-2y²-2z+16x*z+32x*y*z-2z²-1 [4+8x,4+8y,4+8z]: failure constant=5, vgcd=4 [1,1,1] 12x-4x²+12y+32x*y-4y²+12z+32x*z+32y*z+64x*y*z-4z²+5 endexp[2] ---------------- level 3 expanding queue[3]^2,meter=[2,2,2]: x²+y²-16x*y*z+z² [0+16x,0+16y,0+16z]: unknown -> [4] [0,0,0] x²+y²-32x*y*z+z² -> solution [0,0,0],trivial(3) [8+16x,0+16y,0+16z]: failure constant=1, vgcd=4 [1,0,0] 4x+4x²+4y²-64y*z-128x*y*z+4z²+1 [0+16x,8+16y,0+16z]: failure constant=1, vgcd=4 [0,1,0] 4x²+4y+4y²-64x*z-128x*y*z+4z²+1 [8+16x,8+16y,0+16z]: failure constant=1, vgcd=2 [1,1,0] 2x+2x²+2y+2y²-16z-32x*z-32y*z-64x*y*z+2z²+1 [0+16x,0+16y,8+16z]: failure constant=1, vgcd=4 [0,0,1] 4x²-64x*y+4y²+4z-128x*y*z+4z²+1 [8+16x,0+16y,8+16z]: failure constant=1, vgcd=2 [1,0,1] 2x+2x²-16y-32x*y+2y²+2z-32y*z-64x*y*z+2z²+1 [0+16x,8+16y,8+16z]: failure constant=-1, vgcd=2 [0,1,1] 16x-2x²-2y+32x*y-2y²-2z+32x*z+64x*y*z-2z²-1 [8+16x,8+16y,8+16z]: failure constant=13, vgcd=4 [1,1,1] 28x-4x²+28y+64x*y-4y²+28z+64x*z+64y*z+128x*y*z-4z²+13 endexp[3] ---------------- level 4 expanding queue[4]^3,meter=[2,2,2]: x²+y²-32x*y*z+z² [0+32x,0+32y,0+32z]: unknown -> [5] [0,0,0] x²+y²-64x*y*z+z² -> solution [0,0,0],trivial(3) [16+32x,0+32y,0+32z]: failure constant=1, vgcd=4 [1,0,0] 4x+4x²+4y²-128y*z-256x*y*z+4z²+1 [0+32x,16+32y,0+32z]: failure constant=1, vgcd=4 [0,1,0] 4x²+4y+4y²-128x*z-256x*y*z+4z²+1 [16+32x,16+32y,0+32z]: failure constant=1, vgcd=2 [1,1,0] 2x+2x²+2y+2y²-32z-64x*z-64y*z-128x*y*z+2z²+1 [0+32x,0+32y,16+32z]: failure constant=1, vgcd=4 [0,0,1] 4x²-128x*y+4y²+4z-256x*y*z+4z²+1 [16+32x,0+32y,16+32z]: failure constant=1, vgcd=2 [1,0,1] 2x+2x²-32y-64x*y+2y²+2z-64y*z-128x*y*z+2z²+1 [0+32x,16+32y,16+32z]: failure constant=-1, vgcd=2 [0,1,1] 32x-2x²-2y+64x*y-2y²-2z+64x*z+128x*y*z-2z²-1 [16+32x,16+32y,16+32z]: failure constant=29, vgcd=4 [1,1,1] 60x-4x²+60y+128x*y-4y²+60z+128x*z+128y*z+256x*y*z-4z²+29 endexp[4] ---------------- level 5 expanding queue[5]^4,meter=[2,2,2]: x²+y²-64x*y*z+z² [0+64x,0+64y,0+64z]: unknown -> [6] [0,0,0] x²+y²-128x*y*z+z² -> solution [0,0,0],trivial(3) [32+64x,0+64y,0+64z]: failure constant=1, vgcd=4 [1,0,0] 4x+4x²+4y²-256y*z-512x*y*z+4z²+1 [0+64x,32+64y,0+64z]: failure constant=1, vgcd=4 [0,1,0] 4x²+4y+4y²-256x*z-512x*y*z+4z²+1 [32+64x,32+64y,0+64z]: failure constant=1, vgcd=2 [1,1,0] 2x+2x²+2y+2y²-64z-128x*z-128y*z-256x*y*z+2z²+1 [0+64x,0+64y,32+64z]: failure constant=1, vgcd=4 [0,0,1] 4x²-256x*y+4y²+4z-512x*y*z+4z²+1 [32+64x,0+64y,32+64z]: failure constant=1, vgcd=2 [1,0,1] 2x+2x²-64y-128x*y+2y²+2z-128y*z-256x*y*z+2z²+1 [0+64x,32+64y,32+64z]: failure constant=-1, vgcd=2 [0,1,1] 64x-2x²-2y+128x*y-2y²-2z+128x*z+256x*y*z-2z²-1 [32+64x,32+64y,32+64z]: failure constant=61, vgcd=4 [1,1,1] 124x-4x²+124y+256x*y-4y²+124z+256x*z+256y*z+512x*y*z-4z²+61 endexp[5] ---------------- level 6 Maximum level 6 [7] mod 2: x²+y²-2x*y*z+z²
69b4bd2c24534b4c4ffb7286a440851470d72f7a
449d555969bfd7befe906877abab098c6e63a0e8
/1364/CH7/EX7.8.3/7_8_3.sce
32eef97e9176a1af049aa9f116d4d5f04b9f9700
[]
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
252
sce
7_8_3.sce
clc //initialisation of variables U= 352 //ft/km.hr a= 0.0315 d= 0.629 //kg/m^3 //CALCULATIONS b= 2*a V= U*(1+b) P= d*U^2*b*0.002378*(1+a) //RESULTS printf (' axial velocity= %.f ft/sec',V) printf (' \n pressure increase = %.f lbf/ft^2',P)
3278a0a0c765b6f35916e73de9b990fa7a49be71
449d555969bfd7befe906877abab098c6e63a0e8
/575/CH4/EX4.3.3/4_3_3.sce
7e57ccb1d04806aa950c6824c838fe3f00eecd72
[]
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
599
sce
4_3_3.sce
clc pathname=get_absolute_file_path('4_3_3.sce') filename=pathname+filesep()+'433.sci' exec(filename) printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook") disp("Using NaOH balance") m2=inputx*basis/outputx printf("m2=%f Kg NaOH",m2) disp("Using Total mass balance") m1=m2-basis printf("m1=%f Kg Water",m1) V1=m1/D printf(" \n V1=%f Litres",V1) Ratio1=V1/basis Ratio2=m2/basis printf(" \n Ratio of lt water/Kg Feed = %f lt water/Kg Feed",Ratio1) printf(" \n Ratio of Kg product/Kg Feed = %f Kg product/Kg Feed",Ratio2)
ff1a58b575717d46ad30f01095694cee8bef7955
449d555969bfd7befe906877abab098c6e63a0e8
/1628/CH3/EX3.16/Ex3_16.sce
2e43606183ba8ace0f3ee6caf6e2ffde777e0afb
[]
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,143
sce
Ex3_16.sce
// Examle 3.16 // From the diagram (3.30) Apply KVL to all the 3 loop. // Loop-1 5Ix+0Iy-10I1-= 100..............(i // Loop-2 7Ix+ 2Iy-2I1= -50...............(ii // Loop-3 3Ix-5Iy-3I1= -50................(iii // By using matrix form will get A*X = B formate delta=[5 0 10 ; 7 2 -2 ; 3 -5 -3 ]; // value of A d=det(delta); // Determinant of A delta1=[100 0 10 ; -50 2 -2 ; -50 -5 -3 ]; // value of A1 (when 1st colomn is replace by B) d1=det(delta1); // Determinant of A1 delta2=[5 100 10 ; 7 -50 -2 ; 3 -50 -3 ]; // value of A2 (when 2nd colomn is replace by B) d2=det(delta2); // Determinant of A2 Ix=d1/d; // Current (Ix) disp(' The value of Current (Ix) = '+string(Ix)+' Amp'); Iy=d2/d; // Current (Iy) disp(' The value of Current (Iy) = '+string(Iy)+' Amp'); // p 71 3.16
9d61bef76cc01cd07f6b7b7cea7f98e22df8950c
449d555969bfd7befe906877abab098c6e63a0e8
/858/CH1/EX1.17/example_17.sce
7f0cb4be62c64eda05881af9611e021d5e468c9f
[]
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
368
sce
example_17.sce
clc clear printf('example 1.17 page number 50\n') //to find the specific gravity of plasstic L=1 //length of prototype in m L1=10*L //length of model in m density_prototype=2.65 //gm/cc density_water=1 //gm/cc density_model=(L^3*(density_prototype-density_water))/(L1^3)+1; printf("specific gravity of plastic = %f",density_model)
3546a3652bbd0db140c5e24d2a632ce9372b64fc
449d555969bfd7befe906877abab098c6e63a0e8
/611/CH11/EX11.5/Chap11_Ex5.sce
86a1e18584db87e5b991c764e8012381aa1516ba
[]
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
3,772
sce
Chap11_Ex5.sce
// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India. //Chapter-11,Example 5,Page 386 //Title:Composition of the liquid and vapor streams leaving the flash unit //================================================================================================================ clear clc //INPUT //For convenience, n-pentane is taken as 1 , n-hexane as 2, and n-heptane as 3 P=200;//pressure at which the flash vaporizer is maintained in kPa T=90;//temperature at which the flash vaporizer is maintained in degree celsius zf1=0.3//mole fraction of n-pentane in feed stream (no unit) zf2=0.3//mole fraction of n-hexane in feed stream (no unit) zf3=0.4//mole fraction of n-heptane in feed stream (no unit) antoine_const_pentane=[6.87632;1075.780;233.205];//Antoine's constants for n-pentane from Table A.7 antoine_const_hexane=[6.91058;1189.640;226.280];//Antoine's constants for n-hexane from Table A.7 antoine_const_heptane=[6.89386;1264.370;216.640];//Antoine's constants for n-heptane from Table A.7 //CALCULATION //The form of the Antoine's equation used is logP=A-(B/(t+C)), where P is in Torr and t is in degree celsius P1_s=10^(antoine_const_pentane(1,:)-(antoine_const_pentane(2,:)/(T+antoine_const_pentane(3,:))));//calculation of saturation pressure of n-pentane at T in Torr P1_s=P1_s*133.322*10^-3;//conversion from Torr to kPa P2_s=10^(antoine_const_hexane(1,:)-(antoine_const_hexane(2,:)/(T+antoine_const_hexane(3,:))));//calculation of saturation pressure of n-hexane at T in Torr P2_s=P2_s*133.322*10^-3;//conversion from Torr to kPa P3_s=10^(antoine_const_heptane(1,:)-(antoine_const_heptane(2,:)/(T+antoine_const_heptane(3,:))));//calculation of saturation pressure of n-heptane at T in Torr P3_s=P3_s*133.322*10^-3;//conversion from Torr to kPa K1=P1_s/P;//calculation of K factor using Eq.(11.22) (no unit) K2=P2_s/P;//calculation of K factor using Eq.(11.22) (no unit) K3=P3_s/P;//calculation of K factor using Eq.(11.22) (no unit) tol=1e-6;//tolerance limit for convergence of the system using fsolve L_F_guess=0.1;//taking a guess value for the L/F ratio, where L is the mole number of liquid stream leaving the unit at T and P, and F is the mole number of feed stream function[fn]=solver_func(L_F) fn=((zf1/((L_F)+((1-L_F)*K1)))+(zf2/((L_F)+((1-L_F)*K2)))+(zf3/((L_F)+((1-L_F)*K3))))-1.0;//Function defined for solving the system endfunction [L_F]=fsolve(L_F_guess,solver_func,tol)//using inbuilt function fsolve for solving the system of equations x1=(zf1/((L_F)+((1-L_F)*K1)));//calculation of mole fraction of n-pentane in liquid stream leaving the unit at T and P (no unit) x2=(zf2/((L_F)+((1-L_F)*K2)));//calculation of mole fraction of n-hexane in liquid stream leaving the unit at T and P (no unit) x3=(zf3/((L_F)+((1-L_F)*K3)));//calculation of mole fraction of n-heptane in liquid stream leaving the unit at T and P (no unit) y1=K1*x1;//calculation of mole fraction of n-pentane in the vapour stream leaving the unit at T and P (no unit) y2=K2*x2;//calculation of mole fraction of n-hexane in the vapour stream leaving the unit at T and P (no unit) y3=K3*x3;//calculation of mole fraction of n-heptane in the vapour stream leaving the unit at T and P (no unit) V_F=1-(L_F);//calculation of the fraction that has vaporized //OUTPUT mprintf('The composition of the liquid leaving the flash unit is : x1=%f \t\t x2=%f \t\t x3=%f\n',x1,x2,x3); mprintf('The composition of the vapour leaving the flash unit is : y1=%f \t\t y2=%f \t\t y3=%f\n',y1,y2,y3); mprintf('The fraction of feed that has vaporized in the unit=%f \n ',V_F); //===============================================END OF PROGRAM===================================================