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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f803976909275a1b785c4f7e40ae970b959d7c6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH7/EX7.3/Exa7_3.sce | 138bc1305f0b981f86f02b68c838bdb78b7ddd4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | Exa7_3.sce | //Exa 7.3
clc;
clear;
close;
//given data :
disp("Open mouth aperture, D = 10*lambda");
disp("Power gain : GP = 6*(D/labda)^2");
GP=6*10^2;//unitless
GPdB=10*log10(GP)
disp(GPdB,"Power gain in dB : "); |
a4073a384e02e4d84cc294e9357a359937c02619 | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/fiin3.sce | 7d60df303f65ba94cb011161bbd4cb1fce1ab67c | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,739 | sce | fiin3.sce | clc
clear
x=4
z=15
pop=10
iter=10000
a=zeros(pop,z)
rag=zeros(iter)
rag=zeros(iter)
bd=10000*ones(1,pop)
gppd=zeros(pop,x)
cap=[288 95 115 133 107 22 34 28 186 190 33 56 100 90 82 143 68 166 44 73 72 60 68 8 20
]
tim=[0 40 1.5 39 6.8 11 16 12 36 20 27 17 51 4.5 17;
40 0 42 9.1 43 38 33 39 51 41 48 45 21 34 33;
1.5 42 0... |
693f02f4d7e9e7f3f8c2459b2f51fc6799d48f34 | 881e0bcc7118244a24f736786ac36140acfb885e | /yeast/results/GAssist-ADI-C.yeast-3/result2s0.tst | 975a8041b76322e184c0343da0f2bdf8b756e6d9 | [] | no_license | woshahua/Experiment_File | 3e34e5a4a622d6d260fbdf8d5ef2711712aad9bc | 6a139cd3f779373799cb926ba90d978235b0de0d | refs/heads/master | 2021-01-01T06:57:13.285197 | 2017-07-28T08:17:38 | 2017-07-28T08:17:38 | 97,557,409 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,593 | tst | result2s0.tst | @relation yeast-3
@attribute Mcg real [0.11, 1.0]
@attribute Gvh real [0.13, 1.0]
@attribute Alm real [0.21, 1.0]
@attribute Mit real [0.0, 1.0]
@attribute Erl real [0.5, 1.0]
@attribute Pox real [0.0, 0.83]
@attribute Vac real [0.0, 0.73]
@attribute Nuc real [0.0, 1.0]
@attribute Class {MIT, NUC, CYT, ME1, ME2, ME3, E... |
9bf527d5597fef7e4886d34c2bfbf0ec6ae07d47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH8/EX8.5/EX5.sce | 00952c8f98d5df4feaf28b2201f6124363d36529 | [] | 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 | 514 | sce | EX5.sce | // Example 8.5: AV, Ri, Ro
clc, clear
VGSQ=-1.8; // in volts
rd=40; // in kilo-ohms
IDSS=8; // in mili-amperes
Vp=-2.8; // in volts
// From Fig. 8.16
RD=3.3; // in kilo-ohms
RS=1.5; // in kilo-ohms
gmo=2*IDSS/abs(Vp); // in mili-Siemens
gm=gmo*(1-VGSQ/Vp); // in mili-Siemens
mu=rd*gm; // Amplification factor... |
9e4139a3b3354e85dcf9211c8f3ad67a9ee5d6c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH2/EX2.21/Ex2_21.sce | a4e725572b0bef58044b4f12166c3091426e0eac | [] | 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 | Ex2_21.sce | //Ex2_20
clc
V = 2
disp("V1 = V2 = V3 = V4 = "+string(V)+"V")//four batteries of equal voltage connected in series
disp("VT = V1 = V2 = V3 = V4 = "+string(V)+"V")//parallel voltage
|
4d25379d5f1255c1c5cfcf5a7a895ff9782396eb | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/percent/%c_n_l.sci | f65e79f5b51ad183db665b122cb62a0715cbf897 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 83 | sci | %c_n_l.sci | function r=%c_n_l(l1,l2)
//%c_n_l(l1,l2) : l1==l2
//!
// Copyright INRIA
r=%t
|
b1a5de910a60c3f0197529ef2382293c9a2df900 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH5/EX5.16/ex_5_16.sce | 3e9a013027e8287e1b5dde1ae7f806b9f1f7a9ec | [] | 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 | 411 | sce | ex_5_16.sce | //Example 5.16 //MAGNETIC FORCE ,FLUX DENSITY AND RELATIVE PERMEABILITY
clc;
clear;
close
k=1;//micro-C
th=100;//turns
r=5000;//ohm
n2=350;//turns
as=10;//cm^2
b=((k*th*r*10^-6)/(2*n2*as*10^-4));//Wb/m^2
disp(b,"magnetic flux is ,(Wb/m^2)=")
n1=100;//turns
i=4;//A
l=100;//cm
H=(n1*i)/(l*10^-2);//AT/m^2
disp(H,"flux den... |
468507575449ff759e91389c76d41bccd75597df | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_getsystempath.sci | ba8d9477d8e0b1b4f849a1571d69ce5aa795a28c | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sci | kiks_getsystempath.sci | function [k2path] = kiks_getsystempath()
// Ouput variables initialisation (not found in input variables)
k2path=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// !! L.2: Matlab function which not yet converted, original calling sequence used
//kpath = which("kiks");
//i = max... |
3a2437fb282a01fd47bd0722cc81db90c39461d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH11/EX11.6/Ex11_6.sce | 04a7891f618ec7739cf28c10d41205072353e8b4 | [] | 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 | 688 | sce | Ex11_6.sce | clear
//
//variable declaration
//Let the principal plane make anticlockwise angle theta with the plane of px with y-axis. Then
px=(-100) //N/mm^2
py=(-75) //N/mm^2
q=(-50) //N/mm^2
p1=(px+py)/2+sqrt((((px-py)/2)**2)+(q**2))
printf("\n p1= %0.2f N/mm^2",p1)... |
96a3389da713b5f1d2f710eb990e68baaec955be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH1/EX1.3/Ch01Ex3.sce | f60139a4896e6e4e14d9b2bb7a461f0c49ea4a2b | [] | 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 | 450 | sce | Ch01Ex3.sce | // Scilab code Ex1.3: Pg.5 (2008)
clc; clear;
m = 750/1e+03; // Mass of the body, kg
F = 2; // Force acting on the mass, N
// Since F = m * a, (Newton's Second Law of motion), solving for a
a = F/m; // Acceleration produced in the body, metre per second square
printf("\nThe acceleration produced in the b... |
c24185bd6c71d3ed07beb14db1a0c425529d4b45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH8/EX8.6/Example8_6.sce | 7d27a1597f96d69cbce38ed451b59e9ed382b176 | [] | 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 | 263 | sce | Example8_6.sce | //chapter-8,Example8_6,pg 499
Cr=0.01*10^-6//capacitance at resonance
Cu=0.014*10^-6//capacitance at upper half
Cl=0.008*10^-6//capacitance at lower half
Qac=((2*Cr)/(Cu-Cl))//actual Q-factor
printf("actual Q-factor\n")
printf("Qac=%.2f \n",Qac) |
c65248d3fc9259f158fd0eec7d690084ddccea37 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_ones.sci | 2f7056a8d268ab0eb4f3c1227bdf61271037eafb | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 823 | sci | sci_ones.sci | function [stk,txt,top]=sci_ones()
// Copyright INRIA
txt=[]
if rhs==0 then
stk=list('1','0','1','1','1','?')
top=top+1
elseif rhs==1 then
[m,n]=checkdims(stk(top))
if m==1&n==1 then
stk=list('ones('+stk(top)(1)+','+stk(top)(1)+')','0',stk(top)(1),stk(top)(1),'1','?')
elseif m*n==2 then
temp=gettempvar... |
cb1c83639667fa2727d26652d42d7b4729c83d6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.21/Ex6_21.sce | b48ac82d913b1fc2c5208d0bd6b8d84ac520925e | [] | 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 | 524 | sce | Ex6_21.sce | clc;
f=50;
P=6;
Pmsh=10000; //Shaft Output
N=930;
Pw=600;
Pf=0.01*Pmsh; //Friction and Windage losses
Ns=(120*f)/P;
NmT=800; //Speed at maximum torque
//for part a
disp('for part a');
sfl=(Ns-N)/Ns;
Pm=Pmsh+Pf;
Pg=Pm/(1-sfl);
Pst=Pg+Pw;
mprintf('Total Rotor input is %f W \n Total Stator input is %f W... |
44e5b63138994d69d4468eaa4e4bf87d553f117f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH4/EX4.12/ex4_12.sce | a11cd3052f852283ed0213f5278568c66da29e05 | [] | 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 | 873 | sce | ex4_12.sce | //Chapter-4, Example 4.12, Page 138
//=============================================================================
clc
clear
//CALCULATIONS
Im=141.4;//instantaneous current
f=50;//freq in hz
w=2*%pi*f;//angular freq in rad/sec
//instantaneous current equation is i=141.4*sin(w*t);
function f=myfun(t)
f=Im*s... |
4abbd6d2dae41aa191ee3856d7ea13e0af50d7ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH13/EX13.1/Ex13_1.sce | 817b50978794edfcba8e89817d668b41b9ecf496 | [] | 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,088 | sce | Ex13_1.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 13.2
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
//Vc(t)=V0*(1-exp(-t/(R*C))) is the voltage across capacitance in an RC circuit
//Hence, the time t=R*C*(-log(1-Vc/V0))
//The Rise time is t... |
5b8ac981d4f64751ee964ad01c57cf501a880653 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH1/EX1.13/Exa1_13.sce | 3dbce9c06f6f29b326175aa9b6643a89efa050bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 579 | sce | Exa1_13.sce | //Exa 1.13
clc;
clear;
close;
//given data
Ia=60;//in Ampere
disp("EMF induced on 900 Volt on open circuit can be ragarded as being responsible for circulationg short circuit current of 150 mA, through the synchronous impedence of the winding when the excitation current is 10 mA.");
disp("The value of synchronou... |
239c4751a9e4c12e0a812cec81ff98752af5c66f | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH2/EX2.5/2_5.sce | f4c104262ff1dbc73e0cf3d0aee73c05c4878a6a | [] | 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 | 572 | sce | 2_5.sce | clc
//ex2.5
i_s=15; //source current
R_1=10;
R_2=30;
R_3=60;
R_eq=1/((1/R_2)+(1/R_3)); //R_2 and R_3 in parallel
i_1=R_eq*i_s/(R_1+R_eq); //current through R_1(current-division principle)
disp(i_1,'current through R1 in amperes from resistance method')
//we can also do the above calculations usi... |
2981f4a297e4236c583cc1a17aed4d9430550769 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH3/EX3.7/Exa3_7.sce | e50c8ecba9e5f8f5851b866c4876d51396823339 | [] | 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 | 193 | sce | Exa3_7.sce | //Exa 3.7
clc;
clear;
close;
//given data
Io=2.5;//in uA
I=10;//in mA
Vt=26;//in mVolt
n=2;//for silicon
V=n*Vt*10^-3*log((I*10^-3)/(Io*10^-6))
disp(V,"Forward voltage in volts is "); |
fbd0e0d0a250ce902e3598067f39a45a95e0470f | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH10/EX10.1/prob_10_1.sce | 002056a0fc121b1e84738e6af73cd13c31473191 | [] | 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 | 212 | sce | prob_10_1.sce | //page no 437
//prob 10.1
// referred to fig 10.1 on the page no. 435
// the occurance of each outcome is essumed to be equal.
n=input("number of outcomes= ");
p=1/n;
disp(p,"probability of each outcome="); |
0eff86e49f397e9e4f8abba4fe99ecd5b2651fbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH2/EX2.2/ex2_2.sce | 694aa970c6f7c26c70abe2ee08ff89702c31a329 | [] | 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 | 367 | sce | ex2_2.sce | // Example 2.2, page no-37
clear
clc
A=45000 //Apogee in km
P=7000 //Perigee in km
//(a)
a=(A+P)/2
//(b)
e=(A-P)/(2*a)
//(c)
e=(floor(e*100))/100
d=a*e
printf("(a)\nSemi-major axis of elliptical orbit is %d km",a)
printf("\n(b)\nEccentricity = %.2f",e)
printf("\n(c)\nThe distance between centre... |
275655c38c0d4b75eec2cc702d8c5d0210319aa8 | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map2205.sce | 1fdb8ec30cef95c5ccd1cd084ce41c63cfd5fce5 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 5,655 | sce | map2205.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map2205" Width="13" Height="15" CellSize="40" BackgroundSize="1" Background="15plus.png">
<Cell Name="十字架" X="2" Y="1" />
<Cell Name="南瓜" X="3" Y="1" />
<Cell Name="md-履带-右" X="4" Y="1" arg0="3" />
<Cell Name="南瓜" X="5" Y="1" />
<Cell Name="md-履带-右" X="6"... |
0ed35fbfe6fcda209708bd85b082512d1a680122 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH6/EX6.2/Example6_2.sce | 830baf156e8873fdca65a63bf962480067c03edb | [] | 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 | 398 | sce | Example6_2.sce | //clear//
//Caption: Calculation of Quantum efficiency
//Example6.2
//page 226
clear;
clc;
close;
Ip_q = 5.4*(10^6);//electron-hole pairs generated
Pin_hv = 6*(10^6);//number of incident photons
etta = Ip_q/Pin_hv;
disp(etta,'Quantum efficiency =')
disp(etta*100,'Quantum efficiency in percentage =')
//Resul... |
535e3a1a9b455a6590b815eabc5fb65f6a7f55f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH6/EX6.11/6_11.sce | b634f8953ff2805256cd1b5dd35ce63f7b0790a1 | [] | 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 | 229 | sce | 6_11.sce | //find necessary effort
//effective wheel diameter
D=(6/2)+500+(6/2) //mm
//effective axle diameter
d=(20/2)+200+(20/2) //mm
VR=D/d
eta=0.7
MA=eta*VR
W=1200
P=1200/1.63 //N
printf("The effort necessary=%.2f N",P)
|
977c5a4cf53989e412e7a989d9adac8858903787 | 367fb86cc145c187bc8aa89afab0f15f7e8826e4 | /functions/cv_rgb2gray_path.sci | ea4fc04d8a49159012ccfbe61becaf5f4128a25d | [] | no_license | rishubhjain/funcforscilab | 19180cefb15a88df5cd55d91c2e50ab1829e4860 | 3f9fb8b1f467e1e89da1297bee8bd14645da5605 | refs/heads/master | 2021-01-23T00:15:23.622940 | 2015-04-22T09:32:28 | 2015-04-22T09:32:28 | 31,612,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sci | cv_rgb2gray_path.sci | function [image] = cv_rgb2gray_path(path)
pyImport rgb2gray_file
image=rgb2gray_file.rgb2gray(path)
endfunction
|
c5600719ea995416ef6608ec0b7d83380b2f52f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH5/EX5.19/Ex5_19.sce | fb3fd9d2959aba42fee500395b01768e4d769ed8 | [] | 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 | 335 | sce | Ex5_19.sce | //Ex:5.19
clc;
clear;
close;
h=200;// height in km
B=20;// angle of elevation in degree
B1=B*3.14/180;// angle of elevation in radians
R=6370;// radius of earth in km
D=2*h/tan(B1);// in km
D1=2*R*((3.14/2)-(B1)-asin((R*cos(B1))/(R+h)));// transmission-path distance in km
printf("The transmission-path distanc... |
250e85d70e879852893d7cfd677413b2479da41a | 9259b6956725757e65e1f7d903c9d22c66945902 | /readme.tst | e0e65cdff544c3f726203c676ed6b292d9364cca | [] | no_license | gushijie-hub/learngit | a6102c2621c1ef4a34a4c49d926467543acf9f18 | b6b356adf7ca11c6d7e46ce02d144e7a64522c00 | refs/heads/master | 2022-04-18T02:17:24.814146 | 2020-04-15T02:04:45 | 2020-04-15T02:04:45 | 255,489,083 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 34 | tst | readme.tst | aaasdfasfas
asdfsfasfasdf
1
2
3
4
|
59f475c510a6a902b3ac9f40e5cc8706593a1e5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3257/CH10/EX10.7/Ex10_7.sce | 42ee1398eb225da251522f69ce3a5b6b51249cc8 | [] | 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 | Ex10_7.sce | // Injection molding of gears
clc
D = 110 // diameter in mm
p = 100 // pressure on mould cavity in MPa
C = 980 // capacity of machine in KN
printf("\n Example 10.7")
A = %pi*D^2/4
f = A*1e-6*p*1e6/1e3 // required force in kN
k = floor(C/f)
printf("\n Mould can support the production of %d gear per cycle.",k)... |
c40ed67dc08239c399f1427476dc37c2cb491c53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH7/EX7.15/Ex7_15.sce | 6b4d6cc43a5369461ee1de25b569e2d824a4bad9 | [] | 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 | 268 | sce | Ex7_15.sce | clc
//initilization of new variables
clear
wt=0.8 //cm
ft=1.4 //cm
w=10 //cm
y=20 //cm
T=750 //T==750*sigma_y
// calculations
MpF=ft*w*(40-2*ft)
c1=((40-2*ft)/2)^2-(T-MpF)/wt
c=sqrt(3*c1)
// results
printf('Elastic core of %.1f cm depth is present',2*c)
|
9653ced38af11a4a43b3363ffa1d7854831658e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH7/EX7.19/7_19.sce | c3fe038aacba9634231ecd6ec46aba8bd66f91fd | [] | 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 | 398 | sce | 7_19.sce | //7.19;
clc;
p=4
f=50;
ns=2*f*60/p;
TL_1300=40*(1300/1440)^2;
printf("Load torque=%.2f Nm",TL_1300)
n=1300;
s=(ns-n)/ns;
r2s=0.08*2^2; // in book r2'=r2s
x2s=0.12*2^2;
I2s=(TL_1300*2*%pi*s*25/(3*r2s))^0.5;
I2=2*I2s;
printf("\nRotor current=%.2f A",I2)
r1=0.64;
x1=1.1;
V1=I2s*((r1+r2s/s)^2+(x1+x2s)^2)^0.... |
340e8430bbb7577de9e2dd19c583c6a2fb82eef4 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2lp/test_4.sce | e68c067ea6be0b1a7b19fa76aa0aea458fa89d3d | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | test_4.sce | // Test # 4 : Input Argument #1 is of complex type
exec('./allpasslp2lp.sci',-1);
[n,d]=allpasslp2lp(%i,0.2);
//!--error 10000
//Wo must be real ,numeric and scalar
//at line 36 of function allpasslp2lp called by :
//[n,d]=allpasslp2lp(%i,0.2)
|
8fdce444e1e5ec46c86cb17c4b7dbd115266ecf3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH14/EX14.12.2/Ex14_2.sce | c6e165ef939d6f71c0c81be3d5f865ed1eec8335 | [] | 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 | 390 | sce | Ex14_2.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 14 Integrated Circuits and Operational Amplifiers
clc
clear
R1=2*1000//R1=input resistance in ohms in the non-inverting amplifier circuit
Rf=5*1000//Rf=feedback resistance in ohms
AV=1+(Rf/R1)//AV=voltage gain of the non-inverting amplifier circuit
disp(AV,"... |
ab47984a251761229a713764304a67f4d8258a51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH15/EX15.2/Ex15_2.sce | 7b1e85836daa568dcb8ba2ca268de606abe170d6 | [] | 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 | 411 | sce | Ex15_2.sce | clc
clear
//Initalization of variables
U=121200 //Btu/mol
Uco2=51635 //Btu/mol
Un2=27589 //Btu/mol
Uco22=57875 //Btu/mol
Un22=21036 //Btu/mol
T1=5000 //R
T2=5500 //R
//calculations
Ut1=Uco2+1.88*Un2
Ut2=Uco22 + 1.88*Un22
disp("By extrapolation,")
Tx=5710 //R
//results
printf("Max. Temperature reached = ... |
92b54bcf5ac31ad5ec63dd3fcfd6bd3749edc77e | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH6/EX6.3.2/6_3_2.sce | a4b786a58f2ea342dcfe6b030de1b3ad2355983b | [] | 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 | 942 | sce | 6_3_2.sce | clc
pathname=get_absolute_file_path('6_3_2.sce')
filename=pathname+filesep()+'632.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
P=y*PT
if(P<760)
disp("The Vapour is Super heated")
elseif(P=760)
disp("The vapou... |
fceb952f4e52a18ec3b6f445a67acd053e3286fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH10/EX10.9/10_9.sce | 3d9f71a5b19d036447d4bae8b632fdc2f78a4530 | [] | 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 | 180 | sce | 10_9.sce | clc
//Initialization of variables
ps=0.64 //psia
p=14.7 //psia
M=29
M2=46
//calculations
xa=ps/p
mb=xa*9/M *M2/(1-xa)
//results
printf("percentage = %d percent",mb*100)
|
d7299edc459f8f94e80e0fe8cfefc1f7c0b6e339 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH1/EX1.16/Exa1_16.sce | 631bed969df441aadc3874c6e0204c1aced14226 | [] | 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 | 198 | sce | Exa1_16.sce | //Exa 1.16
clc;
clear;
close;
//given data :
format('v',8);
lambda=300/(50*10^-6);//in m
r=round(lambda)/(2*%pi);//in m
disp(r,"Distance in meter : ");
//Note : Answer in the book is wrong. |
82ca6aea96d582863d90f68d295c34e1e9a8a76c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH6/EX6.18/Ex6_18.sce | c5938e1639910a5bf8a3a9a3a924238fb4af7be7 | [] | 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,262 | sce | Ex6_18.sce | clear all; clc;
disp("Scilab Code Ex 6.18 : ")
//Given:
M = 12; //kNm
l_bc = 0.2; //m
l_be = 0.4; //m
//Internal Moment Components:
My = (-4/5)*M;
Mz = (3/5)*M;
Iy = (1/12)*(l_be*l_bc^3);
Iz = (1/12)*(l_bc*l_be^3);
//Bending Stress:
sigma_B = (-Mz*1000*(l_be/2))/Iz + (My*1000*(-l_bc/2))/Iy;
sigm... |
da56e0073e6e3b3b3133ebca9ecf5fc372cf4c08 | 9182a918c195a40e939d89161585e04a97513ad9 | /induced_velocity_6.sce | 63dbaec549620f45a607fffdfd85116ed47f1463 | [] | no_license | marcellorighi/haps_optimization | 996f7fbae18e8128a4e9d55ceafe0758ea513960 | 0ac1d1053350bbed2d747a1fe1b31b75f47e69a0 | refs/heads/main | 2023-01-02T11:27:55.854626 | 2020-10-21T11:03:08 | 2020-10-21T11:03:08 | 305,994,280 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,098 | sce | induced_velocity_6.sce |
// G defined w/o cl and aoa
clear;
function y=h1(x)
y = x;
endfunction
function y=h2(x)
// y = -1 + x^2;
y = 0.5*(3*x.^2 -1);
endfunction
function y=h3(x)
// y = -3*x + x^3;
y = 0.5*(5*x.^3 - 3*x);
endfunction
function y=h4(x)
// y = 3 - 6*x^2 + x^4;
y = 0.125*(35*x.^4 - 30*x.... |
f6e70c5fd853bf6a2f3185740e29e9732d6c786d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH6/EX6.1/Ex6_1.sce | 965444c95df8c31b60c58835e9f350b85c80ad09 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | Ex6_1.sce | clear;
clc;
//Example 6.1
Vtn=1;
//let x= u_n*Cox*1/2
x=20*10^-3;
//let y=W/L
y=40;
I_D=1;
Kn=x*y;
printf('\nconduction parameter=%.3f mA/V^2\n',Kn)
g_m=2*sqrt(Kn*I_D);
printf('\ntransconductance=%.3f mA/V\n',g_m)
|
b049f8580a84f68977f12991d979339cce039d5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH14/EX14.9/ex14_9.sce | f095b60e659e3190a5121559277d564cabe6f24a | [] | 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,750 | sce | ex14_9.sce | clear;
//clc();
// Example 14.9
// Page: 390
printf("Example-14.9 Page no.-390\n\n");
//***Data***//
Temp = 904.7;//[R] Temperature of the pure liquid water
P_NBP = 400;//[psia] Saturation pressure of the pure liquid water at the given temperature
T = 1.76*10^(-4);//[lbf/inch] Surface tension of water
R ... |
756a0789b2063cac5f4ccd0c8704908fa757ad22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH13/EX13.3/3.sce | 42a72e0fec6346ee837a934e7dff459c75ec6da5 | [] | 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 | 870 | sce | 3.sce | clc
// Static head upstream = -11 mm H2O = -11*1000/1.2 mm air = -9.167 m air
h=9.167; // m air
g=9.81; // m/s^2
d1=0.75; // m, tip diameters
d2=0.4; // m, hub diameters
d3=0.075; // m, diameter above atmospheric pressure
d4=0.011; // m, diameter below atmospheric pressure
P=6500; // W
w=25;
rho=1000; // ... |
820ed595bcc50f6250764b293c150406d477d095 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/Self_tuning_controller/SelfTuning_Vikas/PIDControllersetpointchange/clientwrite.sce | 4a25a8c5a22c42b0f5cef953316eb88404f2b2dc | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,470 | sce | clientwrite.sce | 0.10000E+00 0.10000E+01 0.00000E+00 0.25100E+03
0.10000E+01 0.10000E+01 0.39000E+02 0.10000E+03
0.20000E+01 0.20000E+01 0.39000E+02 0.10000E+03
0.30000E+01 0.30000E+01 0.00000E+00 0.10000E+03
0.40000E+01 0.40000E+01 0.00000E+00 0.10000E+03
0.50000E+01 0.50000E+01 0.00000E+00 0.10000E+03
0.60000E+01 0.60000E+01 0.... |
3a8ada0caa97a84edd8493747d924caea9a48d50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH35/EX35.02/35_02.sce | 6a88c7075d6a38729905af542f79e58000f8a09b | [] | 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 | 104 | sce | 35_02.sce | clear;
clc;
is=5;
pr=2;
ir=2.5;
pe=pr*(is/ir)^2
mprintf("the burden on transformer Pe=%dVA",pe);
|
81210be9c5e9342f0b08b2a2f7aa2518002acde4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH5/EX5.13/Chapter5_Example13.sce | 6ae29c6a5becbeb18917eee46a9a10f9d8151409 | [] | 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 | 309 | sce | Chapter5_Example13.sce | clc
clear
//Input data
T=300;//The given temperature in K
k=1.38*10^-16;//Boltzmann constant in erg/molecule-deg
//Calculations
E=(3/2)*k*T;//The average Kinetic energy of a molecule in ergs
//Output
printf('The Average Kinetic energy of a molecule of a gas at 300 K is K.E = %3.4g ergs ',E)
|
3aa1cfa05359992df4059fc83d2258cfe35d2df6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH5/EX5.22/Chapter5_Example22.sce | 3ad7fa7234906275ba1bbfe56cdc6afd7cbb3fc7 | [] | 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 | 965 | sce | Chapter5_Example22.sce | //Chapter-5, Example 5.22, Page 214
//=============================================================================
clc
clear
//INPUT DATA
T=[800,200];//Limits in which temperature varies in degree C
t=12;//Cycle time in h
x=0.1;//Depth of penetration in m
k=1.8;//Thermal conductivity in W/m.K
a=0.02;//Therm... |
d4b7e241c5f38bbaf1aa018cc5002d4e7ac61470 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH2/EX2.1/2_1.sce | e282ab8f53351a820d3b941d6f7ac9f58cee090f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | 2_1.sce | clc
//initialization of variables
k=20 //lb/in
x=3 //in
//calculations
function [y]=fun(x)
y=k*x
endfunction
w=intg(0,3,fun)
//results
printf("Work done = %d in-lb",w)
|
6dacf3bd65b01800f0cbfbc11554456fb4975999 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/goertzel/goertzel5.sce | df112c162b71030bb2d0938f138ddc5da7cc01db | [] | 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 | 604 | sce | goertzel5.sce | //only 1 i/p arg
data=[1 2+5*%i 3 4 6*%i 7 4 5 9];
freq_indices = 50;
dft_data = goertzel(data);
disp(dft_data);
//output
// column 1 to 2
//
// 35. + 11.i 5.5038849 + 7.0553363i
//
// column 3
//
// - 2.1777868 + 8.5426888i
//
// column 4
//
// 5.5262794 + 4.8923048i
//
// ... |
ff3b5b2dcd4348977e946a619c57f568599272c7 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Aula 6/Avaliativo6.sce | 1a471fd3988adede2d92e211cf4461304062de58 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 87 | sce | Avaliativo6.sce | A = [6 1
-1 4]
b = [1 2]'
x1 = [2 0]'
jacobi(A,b,x1,-1,10)
disp(resolve(A,b))
|
126b6227e390b0ac382ed9382b4bc84391af424d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH13/EX13.13/Ex13_13.sce | 4660ddd4afdaa1f6bbbfdd3af70f0d44be1af01b | [] | 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 | 753 | sce | Ex13_13.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 13.13
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
L=40;//Total fiber length in km
alphat=0.5;//Fiber transmission loss in dB/km
Pmin=-39;//Receiver sensitivity in dBm is the minimum power rec... |
68b52fd27c0ea4967299df050e10b3069d3ae1ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.46/ex2_46.sci | f9b0de858c37e33f3c739a907c9a5d54393cbe39 | [] | 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 | 271 | sci | ex2_46.sci | //Chapter 2,Ex2.46,Pg2.57
clc;
disp("Refer to the diagram shown in the question")
I1=50/10
I2=20/20
Vth=(4*I1)+2-(15*I2)
printf("\n Vth=%.0f V \n",Vth)
Rth=(6*4/(6+4))+(5*15/(5+15))
printf("\n Rth=%.2f ohms \n",Rth)
Il=7/(Rth+10)
printf("\n Iload=%.2f \n",Il)
|
8367176bc859e0baf98656ef3903ec6c4be80e98 | 8bc8cad4ff08d4d9e353e7a5a1baa8b188b994f3 | /PropertiesOfConvolution/DistributiveProperty/distributivePropertyConvolution.sce | 36b05f0456bd794cbee646af8640138b41e8de12 | [] | no_license | ROHITDH/scilabBasics | 259c74030901258dbe8d77c61eacd467fc58b9de | f29b20b645d0f8181a3abc14c0d03ff59b69bd40 | refs/heads/main | 2023-02-22T12:21:31.459103 | 2021-01-27T01:24:22 | 2021-01-27T01:24:22 | 333,165,290 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 774 | sce | distributivePropertyConvolution.sce | //Distributive Property
clc
clear
close
x = input("Sequence x(n): ")
h1 = input("Sequence h1(n): ")
h2 = input("Sequence h2(n): ")
//zero padding
l_h1 = length(h1)
l_h2 = length(h2)
N = max(l_h1,l_h2)
h1 = [h1 zeros(1,N-l_h1)]
h2 = [h2 zeros(1,N-l_h2)]
//lhs = x(n)*[h1(n)+h2(n)]
lhs = conv(x,(h1+h2))
//rhs = x(n)*... |
6f1ff7aeec2bacb242437e70987effa6aa852249 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH18/EX18.14/example18_14.sce | 069460d0bad1ce6a3dfefaa3741cf25988b1244e | [] | 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 | 594 | sce | example18_14.sce | clc
// Given that
w = 168.5 // molecular weight
d = 4370 // density of material in kg/m^3
H = 2e5 // magnetic field in A/m
T = 300 // room temperature in K
mu_ = 4 * %pi * 1e-7 // magnetic permittivity of space]
NA = 6.02e26 // Avogadro no. in per kg
mu_b = 9.24e-24 // Bohr magnetons in Am^2
k = 1.38e-23 // Boltzman... |
6c8a05029d6571068eb08b93015deb0d261ce985 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Circuits_And_Systems_Y._N._Bapat_2561.zip/Electronics_Circuits_And_Systems_Y._N._Bapat_2561/CH11/EX11.4/Ex11_4.sce | 7f59a59db1d5643667719a48e298e9c32a3d13bf | [] | 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 | 390 | sce | Ex11_4.sce | errcatch(-1,"stop");mode(2);//Ex11_4
tphL=40*10^(-9)
disp("tphL= "+string(tphL)+" seconds") // Time taken from Clear to output
n=3
disp("n= "+string(n))// Number of bits in counter i.e no. of flip-flops used
fmax=1/(n*tphL) // Using formulae fmax<= 1/(n*tphL)
disp("fmax=1/(n*tphL) = "+string(fmax)+" Hz")// Maxi... |
1537ce0f11a97d282260d6f716be8e6a51717587 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH5/EX5.03/5_03.sce | ec34443789da7cb3c4e49f1b8d9cbd1ee71174b2 | [] | 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 | 630 | sce | 5_03.sce | //Problem 5.03: A 12 V battery is connected in a circuit having three series-connected resistors having resistances of 4 ohms, 9 ohms and 11 ohms. Determine the current flowing through, and the p.d. across the 9 ohms resistor. Find also the power dissipated in the 11 ohms resistor.
//initializing the variables:
V... |
df73962a1b3c711c09dd2f344931fc3011a57d59 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH7/EX7.1/EX7_1.sce | 7d75c07fbe5c39dee5042ae1409a2a4c88580d9f | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,267 | sce | EX7_1.sce | clc;funcprot(0);//Example 7.1
//Initilisation of Variables
Do=0.03;.....//Outer diameter of tube in m
L=4;.....//Length of tube in m
Tw=35;....//Uniform temparature of tube in degrees celcius
Tv=65;......//Temparature of condence steam in degrees celcius
Kl=640*10^-3;.....//Thermal conductivity of tube in W/m K
... |
557b3178d2c61df044d4b4788503f4e8b5645f85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH7/EX7.12/Example7_12.sce | f2c38953b4ed8c7cacb5769aa872900be07d16f7 | [] | 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 | 603 | sce | Example7_12.sce | ///Chapter No 7 Fluid Mechanics
///Example 7.12 Page No 122
/// Find Intensity of pressure of water
///Input data
clc;
clear;
Z1=1.5; //open tank contain water in m
Z2=2.5; //oil of specific gravity for depth in m
S=0.9; //oil of specific gravity
rho1=100... |
1e5a3d1a0fc1e9742efca44dde4c0e2805b31fef | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /demos/follow/builder.sce | c3164526b499d511b1f7e612d2169b4948466af7 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 68 | sce | builder.sce | path=get_absolute_file_path("builder.sce")
genlib("followlib",path)
|
07eb08e478f04e25479c8bc3678532eb87e5f94e | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnCh/ench.1.tst | 254f715488e2eca5fc61484b0436a714a7c30048 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98,504 | tst | ench.1.tst | a a l t o 阿 尔 托
a a r o n s o n 阿 伦 森
a b a t e 阿 巴 特
a b b a d e s s a 阿 巴 德 萨
a b b e 阿 贝
a b d y 阿 布 迪
a b e 阿 贝
a b e r g a v e n n y 阿 伯 加 文 尼
a b e r s f e l l e r 阿 伯 斯 费 勒
a b l o n 阿 布 隆
a b m a n s o n 阿 曼 森
a c c l e s t o n e 阿 克 尔 斯 通
a c h i n s t e i n 阿 钦 斯 坦
a c k e r l y 阿 克 利
a c l y 阿 克 利
a c r e e ... |
56a3442f187f9480cc76786abdf38e92925c3e06 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/teststep.sce | 5d0d40dbda9e6ee888e6ab3547277105afbba241 | [] | 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 | 179 | sce | teststep.sce | //increment with step=2
txt='';
for i=1:2:10
txt=txt+string(i)+' ';
end
i,txt
//negative increment
txt='';
vector=[10:-1:1];
for i=vector
txt=txt+string(i)+' ';
end
i,txt
|
5b088aef151798a4f450067d90729c1348be0516 | bae725b750433ba5d58470784eeb87687023da7e | /macros/Chaos01.sci | 62c12a05399168c335e78c85b8a65f6d252a7ca0 | [
"MIT"
] | permissive | aamadou/IsItChaos | eac61da272b4fb22f83bdceaceb5774385f481e5 | def74ddd5710898f876a9a7d39916e5cc1a8b6b5 | refs/heads/master | 2016-08-04T21:00:17.832904 | 2014-03-24T13:18:39 | 2014-03-24T13:18:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sci | Chaos01.sci | function [K,C]=Chaos01(orbit)
if ~isdef('N','local')...
then N=2000,
end;
K=[];
C=[];
for i=1:100
CC=[0];
while CC==[0],
CC=rand(1,1)*2*%pi;
end;
C=[C CC];
end;
i=0;
for j=C
mdelete('tmp')
write('tmp',[j;orbit]);
test=host('Chaos01.exe tmp tmp1');
if test~=... |
bb82999ff1879c85ee825ca430ebaf5206a292b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.13/ex5_13.sce | 087c7c049654f4cc4123db5f20ee9d390ad2f7c3 | [] | 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 | 522 | sce | ex5_13.sce | //Chapter-5, Example 5.13, Page 170
//=============================================================================
clc
clear
//INPUT DATA
C=0.05;//capacitance in uf
F=500;//freq in hz
//CALCULATIONS
Xl=1/(2*%pi*F*C*10^-6);//capacitive reactance in ohms
//at resonance Xl=Xc
L=(Xl/(2*%pi*F));//inductance in H... |
e9c508735ee8de5b538179ee45098aefa40f47b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH8/EX8.12/Ex8_12.sce | 8fe8ad5c89e2ded9194601f16628d6f967e886b1 | [] | 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 | 325 | sce | Ex8_12.sce | //mouth diameter and capture area
//given
clc
f=4d+9//hertz
v=3d+8//m/s
NNBW=8//degree
lemda=v/f//metre
Da=140*(lemda/NNBW)//degree
A=%pi*(Da^2)/4//actual area
Ac=0.65*A//capture area
Ac=round(Ac*1000)/1000///rounding off decimals
disp(Ac,Da,'the mouth diameter and capture area in metre and metersquare')//m,... |
871329f2452f5b2458b312a820ad0209227e7058 | c5053c3f1ca96c1e831f1ce6476faaac1af94a07 | /practs_exp6samplingandaliasing2.sce | c97bebd6193c8748129f05328a317baf09055082 | [] | no_license | AdrikaSingh/SS-submissions | 7c3ec7278cce4aa497c825df74762700abcb59fa | f64769b999434bcc862ff3515864750f2ba4552f | refs/heads/main | 2023-01-22T10:08:05.507278 | 2020-11-25T16:09:37 | 2020-11-25T16:09:37 | 315,981,084 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | practs_exp6samplingandaliasing2.sce | //fs/2 is the folding frequency after which all the graphs start folding in and giving the same output
clc;
n=0:1:25;
fs=50;
T=1/fs;
t=n/fs;
x1=cos(2*%pi*5*t);
plot2d3(n,x1);
xlabel('n');
ylabel('x1');
figure;
n=0:1:25;
fs=50;
T=1/fs;
t=n/fs;
x2=cos(2*%pi*45*t);
plot2d3(n,x2);
xlabel('n');
ylabel('x... |
ca9f61f0cedadde094015b231bbd5494a684598e | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH1/EX1.5.4/1_5_4.sci | f532a2bb5e060a4ceee59dbf735c14e9e9bd9c1f | [] | 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 | sci | 1_5_4.sci | //page 34
clear;
close;
clc;
a=rand(1);
b=rand(1);
c=rand(1);
L=[1 0 0;a 1 0;b c 1];
disp(L,'L=');
U=eye(3,3);
disp(U,'U=');
E=[1 0 0;-a 1 0;0 0 1];
disp(E,'E=');
F=[1 0 0;0 1 0;-b 0 1];
disp(F,'F=');
G=[1 0 0;0 1 0;0 -c 1];
disp(G,'G=');
disp('A=inv(E)*inv(F)*inv(G)*U')
A=inv(E)*inv(F)*inv(G)*U;
dis... |
a40e0ba9c77305feebc9606d8b88661b90432180 | 676ffceabdfe022b6381807def2ea401302430ac | /utilities/FieldConvert/Tests/naca0012_bnd_equispacedoutput.tst | 8a3c484c73f877c54a172f5b545bb9460fc9ea68 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,482 | tst | naca0012_bnd_equispacedoutput.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description> Equispaced output of a 2DH1D field </description>
<executable>FieldConvert</executable>
<parameters> -f -e -m equispacedoutput naca0012_bnd.xml naca0012_b0.fld output.vtu</parameters>
<files>
<file description="Session File">naca0012_bn... |
629f94dc60d8311cc38244294ed3e4e6151f1b5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH3/EX3.16/3_16.sce | 0bef764dd2ace97a3c814716bf936520d1b38349 | [] | 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 | 124 | sce | 3_16.sce | L=0.25
R=250
V=10
T=L/R
t=0.5E-3
i=V/R*(1-exp(-t/T))
disp(i)
t=2E-3
i=V/R*((exp((1E-3-t)/T)-exp(-t/T)))
disp(i) |
68abed7b63faeb98aa6f7acaa313ce97cbfb0b7c | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH8/EX8.12/EX8_12.sce | 01a968ac358aaf8c755cbdfe39c672bee48ae697 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,085 | sce | EX8_12.sce | clc;funcprot(0);//Example 8.12
//Initilisation of Variables
Di=0.03;....//Inner diameter of brass tube in m
Do=0.04;....//Outer diameter of brass tube in m
K=110;....//Thermal conductivity of brass tube in W/m^2k
hi=1200;....//Inside heat transfer coefficient in W/m^2 K
ho=2000;.....//Outside heat transfer coeffi... |
4d751d0939e1074876c6873295966de5ab5feb69 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/tf2zpk/tf2zpk1.sce | 9625de4e24ec4132bec1c4c401f8c66b1044002c | [] | 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 | 310 | sce | tf2zpk1.sce | //check o/p when the both b and a are row vectors
b=[1 2 3 4];
a=[2 3 4 6];
[z,p,k]=tf2zpk(b,a);
disp(z);
disp(p);
disp(k);
//output
//
// - 1.6506292
// - 0.1746854 + 1.5468689i
// - 0.1746854 - 1.5468689i
//
// - 1.5
// 1.4142136i
// - 1.4142136i
//
// 0.5
//
|
d7f2f61b9ec8f1d9a5afc8f125e2fc65c73f643a | b2675f983fedb79e5e6f1940962373bda0570ec4 | /testing/Tests/rrpair1.tst | 2c54ec41ef11db2773033536a0353f6398e79741 | [] | no_license | Meena92/Projects | b854c40b91515bb429c9e13fb0cbc95c03e0a9d6 | 06361e24bf51883ff4140db5c37c3f40836a5752 | refs/heads/master | 2020-03-29T01:45:03.726432 | 2019-06-11T05:26:08 | 2019-06-11T05:26:08 | 149,404,524 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,025 | tst | rrpair1.tst | <?xml version="1.0" ?>
<TestCase name="rrpair1" version="5">
<meta>
<create version="10.0.0" buildNumber="10.0.0.431" author="admin" date="04/09/2018" host="inbasdpc10722" />
<lastEdited version="10.0.0" buildNumber="10.0.0.431" author="admin" date="04/09/2018" host="inbasdpc10722" />
</meta>
<id>85CD1DA138B81... |
f105310fcb8e68f810991faba27fc0b05100a751 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH12/EX12.4/Ex12_4.sce | f87ca53349256bc740aa41c365d548a79bbd080d | [] | 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 | Ex12_4.sce | // scilab Code Exa 12.4.b Radially tipped blade impeller
phi2=0.268; // Flow coefficient
T01=293; // in Kelvin
p01=1; // Initial Pressure in bar
dr=2.667; // diameter ratio(d2/d1)
gamma=1.4;
R=287;
N=8e3; // rotor Speed in RPM
d1=0.18; // Mean diameter at the impeller entry in m
u1=%pi*d1*N/60;
a1=sqrt(gamm... |
caf4f8886d2032a9a0775d2f8410483fa1f872f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH5/EX5.2/ex5_2.sce | fb0c87a3b92f6c07917fc273773eb81a16efd5bf | [] | 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 | ex5_2.sce | // Example 5.2
format('v',6)
clc;
clear;
close;
// given data
V_CC= 30;// in V
R_C= 1.5;//in kΩ
Ver_intercept= V_CC/R_C;//in mA
Hor_intercept= V_CC;// in V
V_CE= 0:0.1:Hor_intercept;// in V
I_C= (V_CC-V_CE)/R_C;// in mA
// DC load line
plot(V_CE,I_C)
xlabel("V_CE in volts");
ylabel("I_C in mA")
title("D... |
93da683005a00af43a501d6aedec2787932cc332 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH17/EX17.13/Ex17_13.sce | 4bf8728ee06ba6ca6c078fdae9cc2ed080ca36ba | [] | 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,632 | sce | Ex17_13.sce | //Variable declaration:
w = 1 //Width of single of fin (m)
t = 2/10**3 //Fin base thickness (m)
l = 6/10**3 //Fin length thickness (m)
T1 = 250 //Surface temperature ( C)
T2 = 20 //Ambient air temperature ( ... |
08d0a36f8e8a731c98470924a011dbc5e9555af7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH9/EX9.12/9_12.sce | 0244feb71bff96afb8879d3f0d081c04d5294808 | [] | 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 | 163 | sce | 9_12.sce | clc
//initialisation of variables
kw= 10^-14
Ka= 1.8*10^-5
//CALCULATIONS
Kb= Ka
B= sqrt(kw/(Ka*Kb))
//RESULTS
printf (' degree of hydrolysis = %.1e ',B)
|
e75cc84249d3dfa0f02cbba4001a94593a28c9a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH3/EX3.12.b/Example_3_12b.sce | c6e1ab9ed6606d8dcb42d137014aa015595c29f4 | [] | 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 | 350 | sce | Example_3_12b.sce | //Diffraction Angle Computations
clear;
clc;
printf("\tExample 3.12\n");
a=0.2866; //Lattice parameter in nm
h=2;
k=2;
l=0;
d_hkl=a/(sqrt(h^2+k^2+l^2));
printf("\n\tPart B");
lambda=0.1790; //Wavelength in nm
n=1;
theta=asind(n*lambda/(2*d_hkl));
printf("\nDiffraction angle is %.2... |
36aa69b2a5eacc281790f92cc004f00b8ab54710 | 6d2caab84011487d2fb307dec2c9d5428bd3a25a | /C/Shell/eshtests/basic.tst | 45cb486d21809004fe0b7d7a1819070166e3977d | [] | no_license | hjiahui7/MyProjects | 23c791abc7a4bf9a01146a26a39c06e8b71de293 | e6d34db3fa0afa9c3139bf36eacfc67684c0aee4 | refs/heads/master | 2023-02-06T10:34:58.988543 | 2019-08-06T02:38:28 | 2019-08-06T02:38:28 | 200,756,944 | 2 | 1 | null | 2023-01-25T12:21:37 | 2019-08-06T01:52:59 | C | UTF-8 | Scilab | false | false | 203 | tst | basic.tst | = Basic Tests
6 basic/ctrl-z_test.py
6 basic/ctrl-c_test.py
8 basic/fg_test.py
8 basic/jobs_test.py
7 basic/stop_test.py
8 basic/bg_test.py
1 basic/reap_on_child_termination_test.py
6 basic/kill_test.py
|
1b9a3538b695da1300fab182a13f8a3a671b4558 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH17/EX17.1/17_1.sce | 44703847d5283935ebba5e45deec732204f3ed96 | [] | 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 | 159 | sce | 17_1.sce | //example 17.1
clc; funcprot(0);
// Initialization of Variable
k=integrate('x^-0.1','x',0,1);
disp(k,"ratio of average convection coefficient");
clear()
|
36c04222be988c9b4e4dfb9141c8f68dbd5bf2af | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH3/EX3.4/3_4.sce | 6b27ff822433713f5e0f389fc97046f2e4cfeb2f | [] | 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 | 488 | sce | 3_4.sce | // example no.-3.4,page no.-88.
// program to find input impedence and SWR of line.
clc
clear
exec("DEPENDENCIES/reflection_coefficient.sci");
exec("DEPENDENCIES/swr.sci");
exec("DEPENDENCIES/input_impedence.sci");
Zo=75;Zl=37.5+75*%i;l=0.02;eipsilar=2.56;f=3*10^9;c=3*10^8;
b=(2*%pi*f*sqrt(eipsilar))/c; // beta
tao=re... |
5a055171a400fe12f2f3d81692b0e10f09a48359 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rlevinson/rlevinson5.sce | 00626735a19631aef92a5516485d4fc5a3c333f8 | [] | 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 | 505 | sce | rlevinson5.sce | //check o/p when i/p parameters are X:prediction polynomial matrix and final prediction error and the o/p parameters are autocorrelation coefficients and U:a upper triangular matrix of order (length(X)*length(X)),k:matrix containing reflection coefficients and e :prediction error
X = [1 7 6 5 8 3 6];
efinal=0.3;
[R,... |
f3088381997bbacd71f7f537e612f4a33e029c4d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/gamma.man.tst | 3b084401508cf9b3bfaf689b477152b9dec2033c | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 46 | tst | gamma.man.tst | clear;lines(0);
gamma(0.5)
gamma(6)-prod(1:5)
|
a464f4793b4bf1ad5742916aa3826cc1e1688bdd | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Materials_Science_R._S._Khurmi_And_R._S._Sedha_2153.zip/Materials_Science_R._S._Khurmi_And_R._S._Sedha_2153/CH3/EX3.16/ex_3_16.sce | 092ae57ace9e43ea86bb913081cb1ff1123f6de3 | [] | 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 | 183 | sce | ex_3_16.sce | errcatch(-1,"stop");mode(2);//Example 3.16 : volume
;
;
format('v',7)
//given data :
a=0.2665; // in mm
c=0.4947;// in mm
V=(3*sqrt(3)*a^2*c)/2;
disp(V,"volume,V(mm^3) = ")
exit();
|
9107cfa1df99b74c44817f9661f478f050a65c80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH6/EX6.9/Ex6_9.sce | 0e9c95ff27f5d0edd0888886e6998af79bffceed | [] | 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 | 290 | sce | Ex6_9.sce |
//Example No.6.9.
//Page No.189.
clc;clear;
d = 0.2338;//'d' is the interplanar distance -[nm].
// (h,k,l) are the miller indices of the given plane.
h = (-1);
k = 1;
l = 1;
a = (d*sqrt(h^2+k^2+l^2));//'a' is the lattice constant
printf("\nThe lattice constant is %.4f nm",a);
|
8159c08a59543a961a907157a32c082cb7156bc1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH6/EX6.5.A/additional_ex_5.sce | 649e0069efed63d655efce2beb96cb6849494265 | [] | 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 | 167 | sce | additional_ex_5.sce | clc;
clear;
F=5; //noise figure in dB
SNR_input=55;//Input Signal to noise ratio in dB
SNR_output=SNR_input-F;
disp("Output SNR (in dB) is");
disp(SNR_output);
|
6668f13aa1c91981a1a9d8e2bc8131a1d88aae5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH2/EX2.4/2_4.sce | 4c7af3b7594622559d3b7591fc3146f33be4ba8b | [] | 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 | 323 | sce | 2_4.sce | clc;
p=150;//bar
h=3309;//kJ/kg
//from tables
hg=2611;//kJ/kg
//hence the steam is superheated.
//from table
t=500;//C
v=0.02078;//m^3/kg
disp("temperature is:");
disp("C",t);
disp("specific volume is:");
disp("m^3/kg",v);
u=h-(p*10^5)*(v/1000);
disp("specific internal energy is:")
disp("kJ/kg",u... |
28479797d2e920164fe1a820dcd71b80ccecef2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH1/EX1.21/Ex1_21.sce | f07a47cc568d1e69faa0171aa4967f97d242016b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | Ex1_21.sce | //Example 1.21: Overflow for unsigned numbers in Example 1.21(a) and for signed numbers in Example 1.21(b)
clc;
disp('Example 1.21(a)')
x=bitcmp(7,4) //finds complement of 5
y=1;
u=x+y //1 is added to the complement
w=5
z=w+u;
r = dec2bin(z); // binary equivalent of decimal number
disp('The binary number is = ... |
1ef78ae851f529758bf0b822b2fb8c2fe82040a0 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/codegen/scs_c_n2c_fmt.sci | 1a6c7449af3945a62fe45f1ebf6ba3f317d93717 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 816 | sci | scs_c_n2c_fmt.sci |
//==========================================================================
//scs_c_n2c_fmt : scicos C number to C format
//
//input : c_nb : a C scicos type
//
//output : txt : the string of the C format string
// of the data of outtb
//
//16/06/07 Author : A.Layec
//Copyright INRIA
function [txt]=scs_... |
a489ce34cd32874a45b9a4391d31acefeb5b3884 | f575b6ff7e0f0e2a1e8b41f9ab83ac853231ba68 | /pkg/nq/examples/G2.tst | 850e0f20c4ec0508734bad2a527e0ac0116ff894 | [] | no_license | jmichel7/gap3-jm | 756c6e6c5d3c7956fe4dc20b2f76f320f49a11b5 | 3eeb3c4d174d567c51e712f997febb1e8e2ad65f | refs/heads/master | 2023-08-23T19:04:53.627679 | 2023-08-21T14:21:33 | 2023-08-21T14:21:33 | 124,115,667 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 4,975 | tst | G2.tst | #
# The ANU Nilpotent Quotient Program (Version 1.1d, 18 May 1994)
# Calculating a nilpotent quotient
# Nilpotency class: 11
#
# Calculating the abelian quotient ...
# The abelian quotient has 2 generators
# with the following exponents: 0 0
#
# Calculating the class 2 quotient ...
# Layer 2... |
6284395785dac463a615a0280b0293102aa6c9fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH4/EX4.2/4_2exam.sce | 9a0df64ef70eca9db60cef21371a874d18ade835 | [] | 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 | 507 | sce | 4_2exam.sce | //Engineering and Chemical Thermodynamics
//Example 4.2
//Page no :176
clear ; clc ;
//Given //
C6_Ar_HCl_tab = 76 * 10^-60 ;//From table E4.2
C6_Ar_Ar_tab = 52 * 10^-60 ;//From table E4.2
C6_HCl_HCl_tab = 134 * 10^-60 ;//From table E4.2
C6_Ar_HCl_gmean = sqrt(C6_Ar_Ar_tab * C6_HCl_HCl_tab) ; //[erg/cm^6]
... |
1fa94776dd3c8b9c5939129cabe0adeef7624840 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.46/Ex6_46.sce | ca77363ab5c4ba3e0ed5fe3a0a28f08c2e711181 | [] | 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 | Ex6_46.sce | clc;
f=60; // frequency
p=6; // number of poles
n=1175; // speed of induction motor
re=0.06; // reduction in frequency
dv=0.1; // reduction in voltage
ws1=(120*f)/p; // synchronous speed
s1=(ws1-n)/ws1; // slip
s2=((1-re)/((1-dv)^2))*s1; // new slip
ws2=ws1*(1-s2)*(1-re);
printf('New operating speed is %f r... |
6937be97a0dc56d9baa861503989ce640953f587 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH30/EX30.2/CD_2.sce | 6bcc9db020faa7d937495a6c270e05cf7f33ad06 | [] | 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 | 407 | sce | CD_2.sce | // sum 30-2
clc;
clear;
G=4;
n1=17;
n2=n1*G;
N1=2300;
Kc=1.2; //from table 30-2
p=12.7; //fom table 30-1
D1=p*n1;
D2=p*n2;
phi=2*10.6;
x=tan(phi/2); //phi/2 = 10.6deg, from table 30-3
Da1=(p/x)+(0.6*p);
Da2=(p/x*4)+(0.6*p);
Cmin=Kc*((Da1+Da2)/2);
Ln1=(2*Cmin/p)+((n1+n2)/2)+((((n2-n1)/(2*%pi))^2)*(p/Cmin... |
d483be826aa6be2a85b8d067ecdff18861c1ae2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH8/EX8.17/TL_Ex_8_17.sce | 4fb4f2424e2518c149a845f7715b5c5660b0a60c | [] | 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 | 282 | sce | TL_Ex_8_17.sce | clc
//Chapter8
//Example8.17, page no 349
//Given
l=0.5//half line distance
Vs=10//Excitation voltage
Gamma=0.7+%i*0.3//propagation constant
[Vr,Vi]=polar(Vs*(%e^(-Gamma*l)))//vtg at mid point
mprintf('The voltage at the mid point of the line is %f /_%f ',Vr,Vi*180/%pi)
|
a2fdc09c67e1d60fae821551def0c5d692d74901 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/ident/scilab/ma_pacf.sci | 3df83465c3fe32db17e29164296c646f47b480c7 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sci | ma_pacf.sci | // Updated (5-4-07)
// 6.12
m = armac(1,0,[1,-0.9,0.2],1,1,1);
xi = 0.1*rand(1,10000);
v = arsimul(m,xi);
getf plotacf.sci;
getf pacf.sci;
plotacf(v,1,11,1);
xset('window',1);
pacf(v,11);
|
4177d0f3a7038e275d8227f449c5eb9b905ef030 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH5/EX5.11/Ex5_11.sce | 5f1fbadc4ee545b9f71302bf4570b733bf35aea5 | [] | 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 | Ex5_11.sce | //pagenumber 292 example 11
clear
beta1=90;
re=2*10^3;//ohm
rb=240*10^3;//ohm
vcc=20;
ib=(vcc-0.7)/(rb+(1+beta1)*(re));
ic=beta1*ib;
vce=vcc-(ib+ic)*re;
disp("emitter current = "+string((ib+ic))+"ampere");
disp("vce = "+string((vce))+"volt");
|
871fc77666f6a92a269786c6c8e2313647264786 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH5/EX5.2/5_2.sce | b91c320f07b33e64af8e879b22efb09ee373356e | [] | 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 | 303 | sce | 5_2.sce | ni=1.5*10^16;
n=10^22;
Nd=10^22;
T=300;
p=(ni^2)/n;
printf('\n The value of p = %f',p);
a=0.913; //say a=me/m0;
b=-log(10^22/(4.83*10^21*(T^1.5)*(a^1.5)))*0.026; //say b=Ec-Ef
printf('\n The value of Ec-Ef is %f eV',b);
printf('\n The fermi energy is %f eV below the conduction band edge',b); |
93e6040438fbf8c44cc4049bea5707b63b1c3be2 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpkshift/test_9.sce | 4e6a21c007a327524396f9411fe5a45fe5c1db3d | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 826 | sce | test_9.sce | // Test #9 : For vector inputs
exec('./zpkshift.sci',-1);
[z,p,k,n,d]=zpkshift([6.3,7.5],[1.4,4.2],3,0.2,0.8);
disp(d);
disp(n);
disp(k);
disp(p);
disp(z);
//
//Scilab Output
//d=1. 0.6180340 0.
//n=0. - 0.6180340 - 1.
//k=24.107143
//p=- 0.5297434 + 0.6585269i
// - 0.5297434 - 0.6585269i
// ... |
aaf760ca48615a6a73b15c4a0a45d9f1fd3d93ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH4/EX4.9/9.sce | 8357f4e0b565ab79d30cca7bc8b3f42788158a0f | [] | 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 | 431 | sce | 9.sce | clc
clear
//INPUT DATA
w=5*10^-7//wavelength in m
Re=1.5573//Refractive index for e ray when the emergent beam will be plane polarised
Ro=1.5442//Refractive index for o ray when the emergent beam will be plane polarised
//CALCULATION
t=((w/(4*(Re-Ro))))/10^-6//least thickness of a plate in m *10^-6
//OUTPUT... |
37112304cdb9fcee1d2418b902831a4b5748f16c | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/overload_extend2_runme.sci | bf474ddbf342ad91fd326a970f3018e1eedcb18e | [
"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 | 431 | sci | overload_extend2_runme.sci | exec("swigtest.start", -1);
try
x = new_Foo();
catch
swigtesterror();
end
if Foo_test(x, 1) <> 1 then swigtesterror(); end
if Foo_test(x, "Hello swig!") <> 2 then swigtesterror(); end
if Foo_test(x, 2, 3) <> 3 then swigtesterror(); end
if Foo_test(x, x) <> 30 then swigtesterror(); end
if Foo_test(x, x, 4) <> 2... |
b14e8c6a5bc16ed8bf2733f0be3509ed106a8b60 | e9055927e732d0c1e72fcd04ec0881c94c4603ea | /Scilab/Connexion.sce | 5b9fca389294447d91f888205895c5cbbf84c58c | [] | no_license | jalelbene/Connexion | 81acfda7269eb9e84af82bea26d6e1ee73cad3d1 | 5ecef183ef725da90723fa2b21dcb0907865eb5f | refs/heads/master | 2021-01-21T13:57:25.180385 | 2016-05-27T06:07:41 | 2016-05-27T06:07:41 | 52,877,841 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 841 | sce | Connexion.sce | //getf('test.sce')
//for k = 2:n
// nN = points(1,:)
// for pt = 2:k-1
// if Distance([points(k,:)],[nN]) > Distance([points(k:)],[points(pt:,)]) then
// nN = points(pt:,)
// end
// end
// plot(points(k,:),nN)
//end
//for k = 2:n
// nN = 1
// d_min = Distance(points(nN,1),... |
2d1a0ad20dba8aacbb1fb1a2e1bea40d21301fe5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH3/EX3.23/Ex3_23.sce | 14e034f02c78ab8148432d6445979e21162c6ddf | [] | 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 | 616 | sce | Ex3_23.sce |
//
//given
BB_AB=41+(15/60)
BB_BC=79+(30/60)
BB_CD=20+(0/60)
BB_DA=80+(00/60)
FB_AB=40+(30/60)
FB_BC=80+(45/60)
FB_CD=19+(30/60)
FB_DA=80+(00/60)
printf("\n %0.3f correct %0.3f correct %0.3f correct", FB_DA,FB_AB,BB_DA)
//calculations
correctionatB=-0+(45/60)
FB_BC=(80+(45/60))+correctionatB
correctionatC=0+(... |
c8d88f5e0ed06afe24e45dfbdc69548329923acc | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH11/EX11.3/Ch11Ex03.sce | 216263c1c05bb59a77851fa24ad0122049397b03 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 333 | sce | Ch11Ex03.sce | // Scilab code Ex11.3: Pg.484 (2008)
clc; clear;
M = 1.99e+30; // Mass of neutron star, kg
rho = 1e+17; // Density of neutron star, kg/m^3
R = (3*M/(4*%pi*rho))^(1/3); // Radius of neutron star, m
printf("\nThe radius of the neutron star = %4.1f km", R*1e-03);
// Result
// The radius of the neutron st... |
cb632be17af720431243301405e2adddf34fc40e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH2/EX2.5/2_5.sce | dd49a36025f3338840f5c14018496634f0f95399 | [] | 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 | 372 | sce | 2_5.sce | //Network Theorem-1
//pg no.-2.9
//example2.5
//converting delta network to star network
a=25;
b=20;
c=35;
R1=(b*c)/(a+b+c);
R2=(a*b)/(a+b+c);
R3=(a*c)/(a+b+c);
printf("\nConverting the delta formed by resistors 20 Ohm ,25 Ohm, 35 Ohm into an equivalent star network");
printf("\nR1= %.2f Ohm",R1);
printf("... |
c6c01d795d6fa04741d1e0b5b3271ffb3587f126 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.51/2_51.sci | 6568340ff0ee607a33fe676d507a82416833a69a | [] | 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 | 193 | sci | 2_51.sci | // 2.51
clc;
M=0.95;
tc=1.5*10^-3;
w=(1/tc)*[(M^2)/(1-M^2)]^0.5;
printf("\n Minimum frequency=%.2f rad/sec",w)
ph={(%pi/2)-[atan(w*tc)]}*(180/%pi);
printf("\n Phase shift=%.2f deg",ph)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.