blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3e411d8addbbb88da22ad5063743e690c50de901 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1328/CH13/EX13.6b/13_6b.sce | bb334647ede6158a73b092e96f53f66ed1e46134 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,439 | sce | 13_6b.sce | printf("\t example 13.6b \n");
printf("\t approximate values are mentioned in the book \n");
// EXCHANGER
//Shell side
Id = 27; // inches
Bs = 16; // inches
Ps = 1; // passes
//Tube side
N = 286; // number
l = 12; // inches
Od = 1; // inch
BWG = 14; // bWG
Ptc = 1.25; //inches
Ps1 = 8; // passes
//C... |
8c01bfa66e663a528124188c6ee73a21b496da4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.10/Ex9_10.sce | 5d063e479243b8dc98914d79223a324c3fc8bf7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | Ex9_10.sce | //Example 9_10 page no:361
clc;
Vrnmag=230;
Vynmag=230;
Vbnmag=230;
Vrnang=0;
Vynang=-120;
Vbn=-240;
//calculating the line voltages magnitude and angle
Vrymag=sqrt(3)*230;
Vybmag=sqrt(3)*230;
Vbrmag=sqrt(3)*230;
Vryang=30;
Vybang=-120+30;
Vbrang=-240+30;
disp(Vrymag,"the magintude of Vry is(in volt)");
... |
e92773d3a2de249d9840ce869581fb4d9f601308 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH2/EX2.2/exa_2_2.sce | 39de168ba1e939670855257c0aa97b333abc2982 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,040 | sce | exa_2_2.sce | // Exa 2.2
clc;
clear;
close;
// Given data
p= 12;// in bar
p=p*10^5;// in N/m^2
v= 25;// in m^3
T= 30+273;// in K
// Part (a) Mass of each gas
//Formula p*v=m*R*T
R_U= 8314;// in J/kg-mole K
M_N2= 28.016;// in mole
M_O2= 32;// in mole
M_CO2= 44;// in mole
R_N2= R_U/M_N2;// in J/kg K
R_O2= R_U/M_O2;// i... |
4409d27c73cf60e0abfe6f5dbb950aac5ab1c02b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH7/EX7.15/EX7_15.sce | 27147d77aa3badbdc31857bc4623e34c1c67097b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,137 | sce | EX7_15.sce | //Example7.15 // to determine the output voltage of the precision rectifier circuit for i/p voltage a) Vi = 7 b) Vi = -7
clc;
clear;
close;
Vi = 7 ; //V i/p volt
R1 = 5 ; // K ohm
R3 = 5 ; // K ohm
R4 = 5 ; // K ohm
R2 = 15 ; // K ohm
R5 = 15 ; // K ohm
Vd = 0.7 ; // V the diode voltage drop
// the outp... |
3d24e5d7034acb0ff97a136abcf636263dfaff26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH1/EX1.21/Ch01Exa21.sce | 9bdb0616f94e38f994842249e228d9ed64fc37bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | Ch01Exa21.sce | // Scilab code Exa1.21 : : Page-58(2011)
clc; clear;
Q = 130; // Quadrupole moment, square femto metre
A = 155; // Mass number of gadolinium
R_0 = 1.4*A^(1/3) // Distance of closest approach, fm
Z = 64; // Atomic number
delR0 = 5*Q/(6*Z*R_0^2)*100; // Change in the value of R_0, percent
printf("\... |
73fda697068fab1d0e4811456f4699b16170c4bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH6/EX6.4.1/Ch06Exa6_4_1.sci | 9faac51d1fd2d888f8e078ca92e48b69da2c082a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sci | Ch06Exa6_4_1.sci | // Scilab code Exa6.4.1 : To calculate the kinetic energy of protons passing through the carbon stripper foil : Page 266 (2011)
q = 2; // Number of proton,
V = 15; // Voltage applied to the dome, MV
E = q*V; // The kinetic energy of proton,MeV
printf("\nThe kinetic energy of proton : %d MeV", E);
// Result... |
1e5222e19c7d364e3c97a4a056c07d884bc98794 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH7/EX7.3/EX7_3.sce | 35ca5aaba5c9f8d2b0ee756da5fe9663b8f6c63f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | EX7_3.sce | // Example 7.3
// Determine (a) Synchronous speed (b) Rail speed assuming slip of 16.7%
// Page No. 299
clc;
clear;
close;
// Given data
f=50; // Frequency of machine
tau=0.24; // Pole pitch
s=0.167; // Slip
// (a) The synchronous speed
Us=2*tau*f;
// (b) Rail spe... |
3390654c5d66f82c060b54d9f45f36e39a585511 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH10/EX10.3/Ex10_3.sce | 46f9afa6759fea0a5d2473255a4024acf3ac2fff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_3.sce |
i=20D-3 //current throught the coil
r=4 //resistance of coil
V=i*r
//when total current to be measured=2 A
Is=2-i //shunt current
R1=V/Is
mprintf("Resistance of shunt for 2A range=%f ohm\n",R1)
//when total current to be measured=4 A
Is=4-i //shunt current
R2=V/Is
mprintf("Resistance of shunt for 4A ran... |
531b05b7d8edc96ded201671542ba4b75bd66110 | 316e1170fe9699fa45e025d6d6064fc6da74ca0d | /retaMinimosQuadrados.sce | 03058551cab72305eae3a1b3053887858ad3ac4f | [] | no_license | RafaelRMMarsol/MetodosMinimosQuadrados | e0c6c82dbee390551da2d53036e9a2be11777ee0 | 08d6dbae7fb57b9c9e35cacef1e38402eae3dd74 | refs/heads/main | 2023-01-11T11:09:09.105578 | 2020-11-13T03:44:57 | 2020-11-13T03:44:57 | 312,466,003 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | retaMinimosQuadrados.sce | clear
x=[0 1 2 3 4 7]';
y=[1 3 4 6 5 7]';
n=size(x,1);
M=[n sum(x)
sum(x) sum(x.^2)]
b=[sum(y)
sum(x.*y)]
a=inv(M)*b;
XX = 0:0.1:10;
YY = a(1)+a(2)*XX;
plot(XX, YY, 'b')
plot(x,y,'r*');xgrid
|
7ad4b3b46b1323c820ce1e2f419507943f81af2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH12/EX12.4/ex12_4.sce | 1a1bed434d0d0b2326b142198a95feda06880426 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | ex12_4.sce | // Exa 12.4
clc;
clear;
close;
// Given data
n = 4;
V_OFS = 5;// in V
digital_input= '1000';// in binary
D= bin2dec(digital_input);// in decimal
Resolution = V_OFS/((2^n)-1);
V_out = Resolution * D;// in V
disp(V_out,"When input is 1000 then, the output in V is");
// When
digital_input= '1111';// in binary... |
53fe516c1dc7f7ae6ebdc276a80f51011f968c48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH1/EX1.2/Ex1_2.sce | 32b015ae5268cf164e130b763cc00b5d1447a20d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | Ex1_2.sce | //chapter1
//example1.2
//page10
Eg=500 // V
Ri=1000 // ohm
// for Rl=10 ohm
Rl1=10 // ohm
I1=Eg/(Rl1+Ri)
printf("load current for Rl=10ohm is %.3f A \n",I1)
// for Rl=10 ohm
Rl2=50 // ohm
I2=Eg/(Rl2+Ri)
printf("load current for Rl=50ohm is %.3f A \n",I2)
// for Rl=10 ohm
Rl3=100 // ohm
I3=Eg/(Rl... |
66e19d15dee6dda0c7e1f9c139757f3dd0c070ac | 090c4bc08ecd896fc1d76fa3454c03fa0cb805f0 | /SciLab/laba14.sce | 5eedd8c45acacd9659020f3284a7346a52a4b3dd | [] | no_license | GennadySX/pLabs | 6c64cd2fdc87a204e9b675ef7cf54f4cae4356c7 | 50810647bcc7a48ce38d51c321b165a48560b5d6 | refs/heads/master | 2020-09-05T17:22:46.474588 | 2019-11-07T06:35:33 | 2019-11-07T06:35:33 | 220,167,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,051 | sce | laba14.sce | //Лаба 14
clc
disp('********Задание 1********')
format(8)
x=1:.01:5
y=(2*(sin(x).^2))
J1=inttrap(x,y)
disp(J1,'* * * *Метод трапеций* * * * *')
J2=intsplin(x,y)
disp(J2,'* * * *Метод сплайн-интерполяций* * *')
disp('')
disp('********Задание 2********')
x=[0 1 3 4 6 9 10]
y=[1 3 2 3 5 3 4]
J=inttrap(x,y)
disp(J,'* * *... |
571009853828e267986967c18ee407d2afb0e63a | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/factsfun.tst | 0ace636ba150196d8e31750ee3dc6a6e2961b06d | [] | 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 | 288 | tst | factsfun.tst | (unwatch all)
(clear)
(dribble-on "factsfun.out")
(batch "factsfun.bat")
(dribble-off)
(clear)
(open "factsfun.rsl" factsfun "w")
(load "compline.clp")
(printout factsfun "factsfun.bat differences are as follows:" crlf)
(compare-files factsfun.exp factsfun.out factsfun)
(close factsfun)
|
adad1e295a8ead1038152ff6c82b06fb3687f7c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH3/EX3.4/ch3_4.sce | 6bbd6f5af023e54b14d9956a979b9e0b812c1692 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 687 | sce | ch3_4.sce | clc;
clear;
printf("\t\t\tChapter3_example4\n\n\n");
// Determination of the conduction shape factor for the underground portion of the configuration
// specifications of 4 nominal, schedule 40 pipe from table F1
OD=4.5/12; // diameter in ft
R=OD/2;
// For pipe A
L_A=4.5; // length in ft
// shape factor number 9 is se... |
1f35e2caa3342f0c45c7650b93e0e83e7c8aee33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.19/Ex9_19.sce | c8e602aecfeef008e28f7c320489ea1992afe149 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,570 | sce | Ex9_19.sce | //Example 9_19 page no:377
clc;
Z1real=4;
Z1img=8;
Z1mag=sqrt(Z1real^2+Z1img^2);
Z1ang=atand(Z1img/Z1real);
Z2real=3;
Z2img=4;
Z2mag=sqrt(Z2real^2+Z2img^2);
Z2ang=atand(Z2img/Z2real);
Z3real=15;
Z3img=20;
Z3mag=sqrt(Z3real^2+Z3img^2);
Z3ang=atand(Z3img/Z3real);
Vl=400;
Vrnmag=230.94;
Vrnang=0;
Vynmag=2... |
ef471c318838a81ac9cd722470a0ae3620432352 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH2/EX2.7/Ex2_7.sce | d54a73078043d752ea3e9a68d6c8057f17acc297 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 892 | sce | Ex2_7.sce | // Example 2_7
clc;funcprot(0);
// Given data
a=3;// m/s^2
v_A=100;// km/h
v_C=50;// km/h
s=120;// m
// Calculation
v_A=v_A*(1000/3600);// The velocity in m/s
v_C=v_C*(1000/3600);// The velocity in m/s
a_t=(1/(2*s))*(v_C.^2-v_A.^2);// The acceleration in m/s^2
// (a) Condition at A.
a_n=sqrt(a.^2-(a_t).^2... |
3b30cb43cac519e2a8fc48d1234a48a18fa64877 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH1/EX1.6/Exa1_6.sce | ec4ec104fb8becff0ead53aee988049ecc505950 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | Exa1_6.sce | //Exa 1.6
clc;
clear;
close;
//given data
Ad=50;//unitless
I=5;//in mA
VEE=15;//in Volts
VD=0.7;//in Volts
VT=25;//in mVolt
//desired value of emitter current is 5 mA
IE3=5;//in mA
RE=VD/(IE3*10^(-3));//in ohm
VB3=VEE-2*VD;//in volts
I2=IE3;//in mA
R2=VB3/I2;//in kohm
IE1=IE3/2;//in mA
IE2=IE1;//in mA
... |
f166d04fd2182b76dcd547ec5df651219dd66742 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH27/EX5.5.5/U5_C5_5.sce | 063f671c4d9d99387247e32fd4809be64a5db369 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,171 | sce | U5_C5_5.sce | //variable initialization
mu=1.62*10^-27; //Reduced mass of HCL (kg)
c=3*10^8; //Velocity of light (m/s)
h=6.62*10^-34; ... |
9ce414a5e4eafefe0b93f5631141cbfc0d201327 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.38/38.sce | 761e53e8b00191b4d94db53853076a907cd13321 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | 38.sce | clc
n_turbine=0.85;
n_compressor=0.80;
T3=1148; //K
T1=300; //K
cp=1; //kJ/kg K
y=1.4;
p1=1; //bar
p2=4; //bar
C=42000; //kJ/kg K
n_cc=0.90;
T2=T1*(p2/p1)^((y-1)/y);
T2a=(T2-T1)/n_compressor + T1;
ratio=0.9*C/cp/(T3-T2a) - 1; //ratio=ma/mf
disp("A/F ratio =")
disp(ratio) |
d2a6de5c5d505f4589c387efd7dd917eff6e746e | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH6/EX6.4.1/ques4_1.sce | 531f5f4cae0f5e835f013988ca9bba89b75bb883 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sce | ques4_1.sce | //ques4
clc
disp('definite integral');
syms x
g=(sin(6*x))^3*(cos(3*x))^7;
f=integ(g,x,0,%pi/6);
disp(float(f));
|
715559ff5442e58ad15dc621feb577b4627bd60d | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/tercioCompuesta.sci | 16652bd37aa42ca57505147991fcb7f3f4c0d88e | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sci | tercioCompuesta.sci | function I = tercioCompuesta(funcion,a,b,n)
x = a:(b-a)/n:b
fx0 = funcion(x(1))
fximp = sum(funcion(x(2:2:length(x)-1)))*4
fxpar = sum(funcion(x(3:5:length(x)-1)))*2
fxn = funcion(x(length(x)))
I = (b-a)/(3*n)*(fx0+fximp+fxpar+fxn)
endfunction
|
0511d66ba9de2927cad7b6dbacd66cfc0611c3cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH6/EX6.14/Ex6_14.sce | 00a1d237eaf78fd977be66011c02b6d59fa127f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | Ex6_14.sce | // chapter 6 , Example6 14 , pg 178
T=300 //temperature (in K)
l=2 //length (in m)
R=0.02 //Resistance (in ohm)
u=4.3*10^-3 // (in m^2/(V*s))
I=15 //current (in A)
V=I*R //voltage drop across wire (in V )
E=V/l //electric field across wire (in V/m)
Vd=u*E //drift velocity ... |
e7fed451cda6a1aa42c1de4ef80b95a15f6ad76a | 67ba0a56bc27380e6e12782a5fb279adfc456bad | /STAMPER_PROG_7.4/LoadIncluded.sce | f13ef03fe5107bb1400d6a929bb58d4cdd92adb9 | [] | no_license | 2-BiAs/STAMPER_PROG | 8c1e773700375cfab0933fc4c2b0f5be0ab8e8f0 | 4fdc0bcdaef7d6d11a0dcd97bd25a9463b9550d0 | refs/heads/master | 2021-01-18T19:30:06.506977 | 2016-11-10T23:32:40 | 2016-11-10T23:32:40 | 71,999,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,121 | sce | LoadIncluded.sce | //Load Included Functions///////////
exec('GetToolRegime.sci');
exec('BuildTool.sci');
exec('BuildG_Code.sci');
exec('IntersectionPoint.sci');
exec('PolylineIntersectionPairs.sci');
exec('Same.sci');
exec('PolylineIntersection.sci');
exec('Intersect.sci');
exec('SuperPlot.sci');
exec('OffsetPolyline.sci');
exec('SliceP... |
a03a69eaa8a382dd44439fd9d9c2388ab5d7ee4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH6/EX6.2.A/additional_ex_2.sce | 96855a2d7c53e86d493d62aab60e39914b54e2cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | additional_ex_2.sce | clc;
clear;
Inp_sig_pow=1.5*10^(-9); //Input Signal Power in Watts
Inp_noi_pow=1.5*10^(-18); //Input Noise Power in Watts
Pow_gain=10^(6);
int_noi=4*10^(-12); //internal noise in watts
//a)
Inp_SNR=10*log10(Inp_sig_pow/Inp_noi_pow);// input SNR in dB
//b)
Nout=Pow_gain*Inp_noi_pow+int_noi //output output... |
e70d4fd3ba56f0e759c3af6153334cf2c3cd3fe0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH34/EX34.25/34_25.sce | e803d0ae12257e5b50a7ed545088b64d6630a212 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | 34_25.sce | //ques-34.25
//Calculating concentration of a substance
clc
EC=14000;//molar absorptivity
l=1;//thickness (in cm)
A=0.85;//absorbance
C=A/(EC*l);
printf("The concentration of the given substance is %.7f M.",C);
|
9b861dc03ad24e2ca9209af2221e64345dd8534c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/examples/link-examples/ext4c.sce | 3e884e804b53d1153ff0f218ead9038a1238c6a8 | [
"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 | 391 | sce | ext4c.sce | //Copyright INRIA
files=G_make(['/tmp/ext4c.o'],'ext4c.dll');
link(files,'ext4c','C');
a=[1,2,3];b=[4,5,6];n=3;YesOrNo='yes';
c=call('ext4c',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d');
if norm(c-(sin(a)+cos(b))) > %eps then pause,end
YesOrNo='no';
c=call('ext4c',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d');
if norm(c-(... |
e8aa8e3196012ae38e7c6d6611301f64f8c1350c | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH22/EX22.5/ex_22_5.sce | 0b9d8c8a5d669ecddfab09721535fcad9d80bda9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 931 | sce | ex_22_5.sce |
clc
//solution
//given
N=600//rpm
w=62.84//rad/s
rho=7250//kg/m^3
ft=6*10^6//n/M^2
//REF fig 22.12
//let I be mont of inertia
//total energy at E =total energy at A
//Eb=E+160
//Ec=E-12
//Ed=E+156
//Ee=E-35
//Ef=E+162
//Eg=E
//Ea=E
//max energy is at F and min is a E
//dE=Ef-Ee=197
//dE=197//mm^2
//conveting to N-m
dE... |
3d9c4637bc49050d43d5dbb6abcf6d763b2fa429 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH5/EX5.25/Ex5_25.sce | ec316f544642d84243067d8ef66fca269fd73e2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | Ex5_25.sce | //==============================================================================
// chapter 5 example 25
clc;
clear;
//input data
M1 = 202; //mass number
M2 = 200; // mass number
Tc1 = 4.153; // temperature in K
alpha = 0.5;
//formula
//m^alpha*(Tc)... |
8d11cb4e61b937a131940aecdb5ee4100137dba5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH2/EX2.4/2_4.sce | 63878779d84eeb330e383e060033439fa5a190e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | 2_4.sce | //Eg-2.4
//pg-55
clear
clc
close()
//exp(x) value determination
//maclaurin expansion truncated after second term
x=0.5;
expx1=1+x;
//maclaurin expansion truncated after fourth term
expx2=1+x+x^2/2+x^3/6;
//Pade approximation
expx3=(1+2/3*x+1/6*x^2)/(1-1/3*x);
//from scilab
expx4=exp(x);
di... |
c4c544e445c213d8a39344f7784f73a3f37efdb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH2/EX2.7.1/Ex2_7_1.sce | ba3bca495cf88987d8de48ec978e772a71ef41d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | Ex2_7_1.sce | //Ex 2.7.1
clc;clear;close;
format('v',6);
//Given :
Vgamma=0.6;//volt
rf=12;//ohm
V=5;//volts
R=1;//kohm
IF=(V-Vgamma)/(R*1000+rf);//A
disp(IF*1000,"Diode current in mA :");
VF=Vgamma+IF*rf;//volts
disp(VF,"Diode voltage in volts :");
|
95240ba0e8cab5cdc98e1792abd91853de65976f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH20/EX19.18/EX19_18.sce | 25ce7b895bc5963d71a7d8e3c473af74be677b2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | EX19_18.sce | // Grob's Basic Electronics 11e
// Chapter No. 19
// Example No. 19_18
clc; clear;
// Inductance L1 is 5 mH and L2 is 10 mH. How much is Lt?
// Given data
l1 = 5*10^-3; // Inductor 1=5 mH
l2 = 10*10^-3; // Inductor 2=10 mH
Lt = l1+l2;
disp (Lt,'The Total Inductance in Henry')
disp ('i.e 15 mH')
|
e43e56651a88d96bce5e53a9cb9dda8a73ada689 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH14/EX14.8/Chap14_Ex8.sce | d21b569c256c89e1784bd1d750cdddf23535033e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 6,607 | sce | Chap14_Ex8.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-14,Example 8,Page 498
//Title: Degree of conversion for different feed conditions
//================================================================================================================
clear
clc
/... |
1a862d914e3053951064eb5d7154778e60fc1dbe | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_K._L._Kishore_1511.zip/Electronic_Devices_And_Circuits_K._L._Kishore_1511/CH2/EX2.31/ex2_31.sce | 2eee00d89657624086d86a6ec08c25427f1dee38 | [] | 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 | 298 | sce | ex2_31.sce | errcatch(-1,"stop");mode(2);// Example 2.31 page no-116
//(a)
Vt=300/11600
v=Vt*log(1.9)
printf("\n(a)\nV=%.3fV",v)
//(b)
v1=0.2
i1=10*(%e^(v1/Vt)-1)
printf("\n(b)\nFor V=0.2, I=%.2f mA",i1/1000)
v2=0.3
i2=10*(%e^(v2/Vt)-1)
printf("\n\nFor V=0.3, I=%.2f A",i2/1000000)
exit();
|
272d2314c3cb6cd9fe99a1f1efa52ffa534e96b7 | 98efda43218be3d9e665771c28742517fd4f334f | /Medfilt1/medfilt1.sci | a32ebb1f83263d4f365b71c5426e2f0974eb07ab | [] | no_license | ankurmallick/Scilab_spt | bded5b3ed7c5618770ef4bb997b5f61aa7732cd9 | e35c986f70147ee773796c839153ed7adbda3941 | refs/heads/master | 2021-01-17T06:48:24.162281 | 2016-12-05T12:54:24 | 2016-12-05T12:54:24 | 43,445,584 | 0 | 2 | null | 2015-12-10T05:15:44 | 2015-09-30T16:47:57 | Scilab | UTF-8 | Scilab | false | false | 1,024 | sci | medfilt1.sci | function y = medfilt1(x,n,blksz,DIM)
funcprot(0);
if(argn(2)<4|isempty(DIM))
DIM=find(size(x)>1,1); //First non-singleton dimension
end
if(DIM>ndims(x))
error('Invalid Dimensions');
end
perm=[DIM, 1:DIM-1, DIM+1:ndims(x)];
x=permute(x,perm); //Makes DIM the leading dimension
... |
ffa209f2d5c7452ba806ffbd0d917b603974b70f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH2/EX2.11/Example211.sce | 49ac053849bd24ef655e26426f107d768c8b2a9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 973 | sce | Example211.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 2 Example # 2.11 ")
//Initial temperature of soil in degree C
Ti = 20;
//Surface temperature of soil
Ts = -15;
//Critical temperature (Freez... |
73cc86bd73b91d23b8c347230cacc9332e37fdfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH5/EX5.1/Ch05Ex1.sce | 4e0419f27d97adc0f7ce4bfb5b5012752f043681 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | Ch05Ex1.sce | // Scilab code Ex5.1: Pg 145 (2008)
clc; clear;
N = 100; // Number of turns
delta_phi = 10e-03; // Flux linked with coil, Wb
delta_t = 2e-03; // Time during which flux changes, s
e =((-N)*delta_phi)/delta_t; // Average induced ... |
1a9a6cbc6d63c2f9b9e55ace4ef0c7d0ba9ea559 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/scicos/do_resize.sci | 4aaa5748360687db5ebc316c2f42e40b0be1f6e4 | [
"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 | 1,025 | sci | do_resize.sci | function scs_m=do_resize(scs_m)
while %t
[n,pt]=getmenu(datam);xc=pt(1);yc=pt(2)
if n>0 then n=resume(n),end
K=getblock(scs_m,[xc;yc])
if K<>[] then break,end
end
o=scs_m(K)
graphics=o(2)
sz=graphics(2)
orig=graphics(1)
[ok,w,h]=getvalue('Set Block sizes',['width';'height'],..
list('vec',1,'vec',1),string(... |
5a2a49d8e8ce5350e1821d882ce2da4e85518547 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH2/EX2.12/Example212.sce | 68b19b4380b8193a01255bd95b53fe5b0ba056ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sce | Example212.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 2, Example 12")
disp("Exit blade angle beta2 =20 degres")
beta2 = 20;
U2 = 56; //U2 in m/s
Cr2 = 7.5; //in m/s
CW2 = U2 - Cr2/tan(20... |
d1b9ebcafd5d41b99e099f91aa9e62aac80d0a4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH8/EX8.1/example8_1.sce | a9aa19aa3e0846b61753a7220eed21effb5cddfa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | example8_1.sce | //exmaple8.1
clc
disp("Given : I_E=12 mA, I_E= 1.02(I_c)")
disp("Therefore, 1.02(I_c)=12*10^-3")
i=(12*10^-3)/1.02
format(9)
disp(i,"I_c(in A)=")
disp("I_E = I_B + I_c")
b=12-11.765
disp(b,"Therefore, I_B(in mA) = I_E - I_c = (12-11.765)mA = ")
|
63b40b1449a14744a1cfe5cd4f5163ada6318c63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH4/EX4.17/exp4_17c.sce | 11e13b4cc2e3c5002129237747308a01e16f214a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | exp4_17c.sce | clc
clear
disp("example 4 17")
v1=132//line voltage at primary
v2=11//line voltage at secondary
p=10 //power
pf=0.8 //power factor
mva=p*(complex(pf,sind(acosd(pf))))
printf(" MVA rating of secondary = %dMVA =%d+%djMVA \n ",p,mva,imag(mva))
printf("\n since the power factor at primary terminals is unity,rating... |
1b7d587a6d0f9f446b0a7754767185c82f9df1e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH6/EX6.5.c/Solved_EX_6_5c.sce | b308b5c142c7922c24b41e1a8075fbd7eec6b747 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | Solved_EX_6_5c.sce | //Determine even and odd parts of the signals x(n)={4,-4,2,-2}
clc;
clear;
x1={0 0 0 4 -4 2 -2};
plot2d3(x1);//for discrete plot
x2={-2 2 -4 4 0 0 0};
Xo=(x1/2-x2/2);
Xe=(x1/2+x2/2);
disp(Xo,'Odd part');
disp(Xe,'Even part');
xset('window',1);
subplot(1,2,1);
plot2d3(Xo);
xlabel("time");
ylabel("odd p... |
70835296c94616105d2aa0a8bce69b29edb13a3e | fbed2099cbc592fa10384c5232f17cf75399bd6d | /data/SAMPLE_SCENARIO_IMPORTER/scenario/result_scenario-importer_Sce.sce | 36f9096192d45771d8c7682ff3a2b1bffafac250 | [] | no_license | AVSGuillaume/Samples-Pack-1 | ff21835de28de8f61bf8d192829b024922344f7d | 2968cb9d4269d57fb44650b2cda60da7005c0fc2 | refs/heads/main | 2023-04-19T16:42:25.925838 | 2021-04-12T19:48:40 | 2021-04-12T19:48:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,315,435 | sce | result_scenario-importer_Sce.sce | <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<sce version="20.21.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Scenario>
<description></description>
<name></name>
<online>1</online>
<steadystate>0</steadystate>
<Environment>
<gravity>9.81</gravity>
<waterVolum... |
9bfde2524711895237df676c33f2db42221395d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.31/example_3_31.sce | 9b4bf333388a47996ff20727a3bd8014f512a0e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | example_3_31.sce | clear;
clc;
disp("--------------Example 3.31---------------")
p_signal=10*10^-3; // 10 mW
p_noise=10^-6; // 1 microW
SNR = p_signal/p_noise; // SNR = signal power/noise power
SNRdB=10*log10(SNR); // formula to calculate SNR in dB
printf("SNR = %d \n\nSNRdB = %d ",SNR,SNRdB); // display result
|
daa05f1d840df9d77b7256dc629d3bc2ea209bb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH12/EX12.3/ex12_3.sce | 5296908a0cb847dc0c853c00482f636de3004e98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | ex12_3.sce | clc;
y1=0.79; // Volume of Nitrogen in 1 kg of air
y2=0.21; // Volume of Oxygen in 1 kg of air
R_1=8.3143; // Universal gas constant of air in kJ/kmol K
T0=298; // temperature of Surroundings in kelvin
del_Sgen=-R_1*((y1*log (y1))+(y2*log (y2))); //Entropy generation
LW=T0*del_Sgen; // Minimum work
disp ("kJ/kmm... |
de07f4cd4917bf3d3c4661adb4ff382735fab703 | 1ebbdce5d3f3daa6d9e8b439410e447941bc49f5 | /résolution numérique/Modele_V5.sce | c0ff75f34c4bf5c0ca27473cfd97dce91bd6897a | [] | no_license | sebastienbaur/legionella_proliferation_modeling | 2aff0e2499584e99c07116a700e43218976b9b12 | ae9b5d4dde1912a98584c6319eae41980355ef03 | refs/heads/master | 2020-03-07T15:25:49.881820 | 2018-03-31T17:27:52 | 2018-03-31T17:27:52 | 127,554,634 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,869 | sce | Modele_V5.sce | // -----------------------------------------------------------------------------
// ----------------VALEURS NUMERIQUES DES CONSTANTES DU PROBLEME----------------
// -----------------------------------------------------------------------------
T=3000
H=10^(-5)*200;
n=7200
m=200
dz=H/(m+1)
dt=T/(n+1)
D=10^(-10)
k_1 = 1... |
dacfc21089d94a860ed8f96c08ce56f768864546 | affb43e91a6a0cac39356ff1c5f9f5154b70a4a2 | /Convulation/Conv_Corr_manuall.sce | 76f429f2d144f95fb971179a85d507536c7116bb | [] | no_license | kathan-shah99/Digital-signal-processing | 87fb0615a98a764c546681ffb18fea32d69caa6d | 3d5ad3553152a2b57f98a3b1a26756ebca37d7bc | refs/heads/main | 2023-04-07T06:53:06.263109 | 2021-04-07T03:57:52 | 2021-04-07T03:57:52 | 355,397,284 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,088 | sce | Conv_Corr_manuall.sce | //---Author :Kathan-shah-----
clc
clear
function [co] = convulation(x,h)
lx = length(x)
lh = length(h)
x_ori = x
h_ori = h
if lx > lh then
h = [h zeros(1,lx-lh)]
else
x = [x zeros(1,lh-lx)]
end
N = length(h)
j = N
for i=1:length(h)
c(i) = h(j)
... |
8ce04a0b28ff612106995c6e08005e482aad6fa2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH8/EX8.4.c/8_4c.sce | 2d963e2ea5d042019356f256d5e15ba355a96aea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | 8_4c.sce | clc
clear
//Initialization of variables
T1=584.6 //R
g=32.2 //ft/s^2
k=1.4
R=53.3 //ft-lb/lb R
V1=600 //ft/s
T2=519.6 //R
//calculations
Nm1=V1/(sqrt(k*g*R*T1))
Nm22= ((1+ (k-1)/2 *Nm1^2)/(T2/T1) -1)*(2/(k-1))
Nm2=sqrt(Nm22)
Ar= Nm1/Nm2 *((1+ (k-1)/2 *Nm2^2)/(1+ (k-1)/2 *Nm1^2))^((k+1)/(2*(k-1)))
//result... |
6859d1c71685acf1cc9be75ff5c435713f5595b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH18/EX18.19/Ex18_19.sce | 5664a05fb2f6fea1552d13c03bcf97ff5cf76e7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 919 | sce | Ex18_19.sce | //Variable declaration:
//From example 18.19:
m1 = 144200 //Mass flow rate of flue gas (lb/h)
m2 = 541700 //Mass flow rate of air (lb/h)
R = 0.73 //Universal gas constant (psia.ft^3/lbmol. R)
P = 1 //Absolute pressure (psia)
T = 10... |
e0b7e23e14ecf50566e70a66eba90f632c66b358 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH6/EX6.3/Example_6_3.sce | c9884b1ca1d805ae1a9fbd42c4c38d91d7386164 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 677 | sce | Example_6_3.sce | //clear//
clear;
clc;
//Example 6.3
//Given
pa = 2.7; //[atm]
T = 288; //[K]
D = 0.075; //[m]
L = 70; //[m]
Vbar = 60; //[m/s]
M = 29;
rh = D/4; //[m]
mu = 1.74*10^-5 //[kg/m-s] Appendix 8
rho_a = (29/22.4)*(2.7/1)*(273/288) // [kg/m^3]
R = 82.056*10^-3;
G = Vbar*rho_a //[kg/m^2-s]
Nre = D*G/mu;
k... |
e1300212404a4f7ed64a9779fff84dffa6ea7979 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH2/EX2.6/Ex2_6.sce | f35e9e21f54ab031da4d5717659dec593cbb7e08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,229 | sce | Ex2_6.sce | // chapter 2
// example 2.6
// Fig. E2.6
// Calculate the mean power loss
// page-31-32
clear;
clc;
// given
// V_T=1.0+(1.1*I/60) (from graph)
I_a=23; // in A (steady current)\
I_b=18; // in A (Half-sine wave)
I_c=39.6; // in A (level current for half cycle)
I_d=48.5; // in A (level current for one-third cycle)
// ca... |
bb27f79d2fd7d5451176b87c264c2dc96cbc2bad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH2/EX2.27.b/Ex_2_27_b.sce | 733c91dac037cfcea01d2fc8af584c87d0b7c1cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex_2_27_b.sce | // Example 2.27.a:Numerical Aperture
clc;
clear;
close;
n1=1.5;//Core Refractive Index
n2=1.48;//Cladding Refractive Index
a=50;//Core radius in micro meters
NA=sqrt(n1^2-n2^2);// Numerical Aperture
Oc=asind(n2/n1);
disp(Oc,"Critical Angle")
|
65b49c46cfec11d55735b88b4c1501e99da59cc4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3308/CH22/EX22.1/Ex22_1.sce | 4f24bf3be4a6d64caee037bd2df66ce1b9e34864 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex22_1.sce | clc
// Given that
l=6//in inch Length of rod
di=1/2//in inch initial diameter of rod
df=0.480//in inch final diameter of rod
N=400//in rpm spindle rotation
Vt=8//in inch/minute axial speed of the tool
// Sample Problem on page no. 600
printf("\n # Material Removal Rate and Cutting Force in Turning # \n")... |
eccc7fa56c76ed234e81032e4c52fa0b6cbe7135 | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/4/tests/test2.tst | c5103ac774211a108d615eedbeaf7c20043ac759 | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 53 | tst | test2.tst | type t1 = int;
main()
{
var a : t1;
a[1] = 1;
} |
3d84a5ca116037692f2b650edc05aa8c057ea83b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH9/EX9.10/Chapter9_example10.sce | d7b9d99e5765bb529dde60ed43e222edd6818d51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | sce | Chapter9_example10.sce | clc
clear
//Input data
x=2.8//Height above the nozzle in mm
va=58//Velocity of air in m/s
da=1.28//Density of air in kg/m^3
dp=750//Density of petrol in kg/m^3
An=1.8//Area of cross section of nozzle in mm^2
Cd=0.6//Coefficient of discharge of nozzle
Ca=0.84//Coefficient of discharge of air
//Calculations
... |
e82efc52589fa7d87da8d9130caebf3ccfed4fff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH2/EX2.7.2/2_7_2.sce | 1a3ade16b2664950041611f26bf0a034afd8cd8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_7_2.sce | //Transport Processes and Seperation Process Principles
//Chapter 2
//Example 2.7-2
//Principles of Momentum Transfer and Overall Balances
//given data
m=0.567;//inlet vol flow rate
rho1=968.5;//density of fluid
m1=m*rho1/60;// mass flow rate in kg/s
m2=m1;//steady state
E1=7.45*1000;//energy supplied by the ... |
35253574746d03de30df380a7607b7c59f7712ea | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/scicos/drawpal.sci | 31b83c7a6f2f608d18db3d48db234f59f6a7d394 | [
"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 | 1,597 | sci | drawpal.sci | function objs=drawpal(objs)
// drawpal - dessine une palette de blocks
//%Syntaxe
// datas=drawpal(objs)
//%Parametres
// objs : liste dont le premier champ est le nom de la palette et les champs
// suivant la description des blocks
// win : numero de la fenetre
//!
//origine S Steer INRIA 1993
[lhs,rhs]=... |
f4f7a292685c9953d250049df5aacfd310152997 | 39c201c777151f939341e8f8150242bcde5a111b | /CH4/EX4.10/example10.sce | c9bbbc37e567775afe417a5a90afb0afa299562d | [] | no_license | nidhimj22/Scilab_Project- | 925a5883384736e79f1e600535461c6c9f06de40 | 4a9d1db96787ba0ea4e996349523a0b84bdacae3 | refs/heads/master | 2021-01-20T05:49:48.811688 | 2014-02-06T10:03:52 | 2014-02-06T10:03:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | example10.sce | // calculating peak inverse voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 4-10, page 114
clear;clc; close;
// Given data
V1=120;// rms input voltage in volts
// turns ratio 8:1
// Calculations
V2=V1/8;// rms secondary voltage in volts
V... |
066bba6aa80f4d93cab5b664fca54b2dd64e7986 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH16/EX16.3/Ex16_3.sce | dcf43f754ab65687dc39eecec93b32117dd10358 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex16_3.sce | clc;
//e.g 16.3
V1=230;
//a=(N2/N1)
b=(1/2);
RL=200;
V2=V1*b;
disp('V',V2*1,"V2=");
Vm=sqrt(2)*V2;
disp('V',Vm*1,"Vm=");
Im=Vm/RL;
disp('A',Im*1,"Im=");
Pm=(Im**2)*RL;
disp('W',Pm*1,"Pm=");
Vdc=0.318*Vm;
disp('V',Vdc*1,"Vdc=");
Idc=(Vdc/RL);
disp('A',Idc*1,"Idc=");
Pdc=(Idc**2)*RL;
disp('W',Pdc*1,"Pd... |
f5521f787005f6b493e30c9c75ef2d63048f827d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH6/EX6.5/Ex6_5.sce | c6731bc230cdb900b2e54d32bd9ff56b240b426e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | Ex6_5.sce | clear
//
//
//
//Variable declaration
epsilonr=5 //relative permittivity
V=12 //potential(V)
d=2*10**-3 //separation(m)
epsilon0=8.85*10**-12
//Calculation
P=epsilon0*(epsilonr-1)*V/d //polarisation(C-m)
//Result
printf("\n polarisation is %0.3f *10**-9 C-m",P*10**9)
|
25bab94ccbfc287e5b692421f329f907f9a2ad36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH2/EX2.4/Ex2_4.sce | 64e884bd64456283e2cb53b8ffb37a6b31b03df1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | Ex2_4.sce | clc
P1=200 //initial pressure in kPa
V1=0.1 //initial volume in metre-cube
P2=500 //final pressure in kPa
V2=0.2 //final volume in metre-cube
W=(P1+P2)*(V2-V1)/2 //work done,obtained after derivation in book
mprintf("W=%ikJ",W)
|
be11d68fccaa531714b8b7030e160c3586ff96db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH10/EX10.14/10_14.sce | aa8fed14a7e4b6161afb8b19b7c7eb26c8ce0ef6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | 10_14.sce | clear
clc
//Example 10.14
disp('Example 10.14')
s=%s;
G=4/((s+1)*(s+2)*(s+3));
K=10; //given in question
p=1+K*G;//characteristic equation
q=roots(numer(p));
q_abs=abs(q);
q_real=real(q);
q_imag=imag(q);
d=q_abs(2);
psi=%pi-acos(q_real./q_abs);//angle in radians
tau=1/d;
eta=cos(psi)
mprintf("\nd=%f\npsi=%f degrees... |
15f6066c50e5232262ce3ca93973deea2d43f785 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH8/EX8.12/ex8_12.sce | fd482a127e2fa5d2c376105ea99c0d9ac0d79a35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sce | ex8_12.sce | //Page Number: 8.13
//Example 8.12
clc;
//Given, Noise figure
NF=2; //dB
F=(10^(NF/10));
AG=12; //dB
A=(10^(AG/10));
//(a)Total Output Noise Power
//Also given,Input signal power
Pi=1; //W
//Input Noise power Pni
Pni=100D-3; //W
//Input SNR
Isnr=Pi/Pni;
//Output SNR
Osnr=Isnr/F;
//Total ... |
ece7a284d74c057cc17a5ba025f940fd1ba3abb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH10/EX10.3/ch10_3.sci | 1fe49748b7354904aeee813ed097565c96f0cffa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 668 | sci | ch10_3.sci | //to compute ampitudes of forward and backward stator mmf waves,magnitude of auxillary currrent and its ph angle diff
clc;
N_m=80;
N_a=100;
I_m=15*complex(cosd(0),sind(0));
I_aa=7.5*complex(cosd(45),sind(45));
I_a=7.5*complex(cosd(60),sind(60));
F_m=N_m*I_m;
F_a=N_a*I_a;
F_aa=N_a*I_aa; //mmf at 45 angle
... |
87048356529e0c2199d5a0171fe26cc35e2391b5 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_ods_fsed_4_i.tst | 78018e7c27ff73d9b12d1399402157091bec9773 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 37 | tst | test_ods_fsed_4_i.tst | cd
/
branch objects
xxx (289 B)
exit
|
571a1c56fb73eba2f0dd6b470e5e6982ffd765bc | 53a108238b9fda736d1411a9722d4043922e73e3 | /LAGRANGE.sce | 0fb35b53830907a382f7c21088e7411117662c36 | [] | no_license | 3reedm/scilab | 708d315412cdb48590c66821d78a883e28b5a7e6 | 2508a225d5e8b744da1be7443f5831b665a60aee | refs/heads/master | 2020-03-18T01:56:55.225475 | 2018-05-20T16:27:39 | 2018-05-20T16:27:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 589 | sce | LAGRANGE.sce | function[L]=LAGRANGE(X,Y,x)
L=0
n=length(X)
for i=1:n
p=1
for j=[1:i-1,i+1:n]
a=x-X(j)
b=X(i)-X(j)
p=p*a/b
end
L=L+Y(i)*p
end
endfunction
//Исходные данные
X=[0,%pi/4,%pi/2,3*%pi/2]
Y=[1,1.4,1,-1]
x1=[%pi/6,%pi/3,%pi]
x2=[-3*%pi/2:%pi/8:3*%pi/2]
//Функция для 3 точек
n=length... |
41b1f3ae488430131954eb382005aa1a0b468f09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH16/EX16.11/Ex16_11.sce | 6257131cf2cec57f39967820c835ba87a871ad19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | sce | Ex16_11.sce | clc;
Vdc=12;
Idc=100*10**-3;
y=0.01;
L=1;
C=1.195/(L*y);
disp('microF',C*1,"C=");
|
2243b7277f18d6a54a32b290594bee002ce20ec7 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/U05.prev.tst | 2a13c8c6dc6f6c27bd87031e6358c6fc196123fa | [
"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 | 384 | tst | U05.prev.tst | 0 0 0
1 0 0
0 1 0
1 1 0
0 0 1
1 0 1
0 1 1
1 1 1
2 0 0
2 1 0
0 2 0
1 2 0
2 2 0
2 0 1
2 1 1
0 2 1
1 2 1
2 2 1
0 0 2
1 0 2
2 0 2
0 1 2
1 1 2
2 1 2
0 2 2
1 2 2
2 2 2
3 0 0
3 1 0
3 2 0
0 3 0
1 3 0
2 3 0
3 3 0
3 0 1
3 1 1
3 2 1
0 3 1
1 3 1
2 3 1
3 3 1
3 0 2
3 1 2
3 2 2
0 3 2
1 3 2
2 3 2
3 3 2
0 0 3
1 0 3
2 0 3
3 0 3
0 1 3
1 ... |
c75cea6e125a9adbe199d6bc746faa9a66feccd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.7.4.c/ex_2_7_4_c.sce | 391e02a1bf26a397c973c6b6107dadcdc9cc0d2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | ex_2_7_4_c.sce | //Example 2.7.4.c://standard deviation
clc;
clear;
format('v',7)
n=8
q=[10.3,10.7,10.9,9.7,9.5,9.2,10.3,11.7];//
AM= mean(q);//arithematic mean in mm
for i= 1:8
qb(i)= q(i)-AM;
end
Q= [qb(1),qb(2),qb(3),qb(4),qb(5),qb(6),qb(7),qb(8)];//
AV=(-qb(1)+qb(2)+qb(3)-qb(4)-qb(5)-qb(6)-qb(7)+qb(8))/n;//
SD=stdev(Q);//stan... |
4723e7116942db70b0fabad51e993dbf986f05c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH12/EX12.1/12_1.sce | 932b810bcdc06f1f37178a44fa9171c4eedd0abc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | 12_1.sce | clc
//Initialization of variables
P1=10 //psia
Q=0.6 //cfs
A1=0.0491 //ft^2
g=32.2
V=39.2//fps
A0=0.0218 //ft^2
d1=2 //in
d2=3 //in
//calculations
Phead=P1*144/62.4
V1=Q/A1
V2i= sqrt(2*g*(Phead + V1^2 /(2*g)))
Cv=V/V2i
A2=Q/V
Cc=A2/A0
Cd=Cc*Cv
hL=(1/Cv^2 -1)*(1- (d1/d2)^4)*V^2 /(2*g)
//results
print... |
0a4cb94b84a003324f29f38ec963810a3e208091 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/enbw/enbw6.sce | 9a5f01589ac83623872a9ef43949af2e973ec77d | [] | 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 | 250 | sce | enbw6.sce | //check o/p when i/p arg fs has a negative value
win=[1 2 3 4 6 7];
en=enbw(win,-44.1e3);
disp(en);
////output
// !--error 10000
//Expected input number 2, Fs, to be positive.
//at line 39 of function enbw called by :
//en=enbw(win,-44.1e3);
|
600b8b43fba2ed3ca01e20728c865115d4be5a1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH2/EX2.11/EX11.sce | bd7b1e556a025c73744bb4b5bfc5dc9e0b880aab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,833 | sce | EX11.sce | // Example 2.11 (a) Alternating component of voltage acroos load resistance
// (b) Total voltage across load resistance
// (c) Total current
clc, clear
T=293; // Operating temperature in kelvins
VT=T/11600; // Voltage equivalent to temperatue at room temperature in volts
// In the Fig. 2... |
0ddf1f9713cd71473e50b65775b78e3ba8101215 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH9/EX9.2/Aerials_Ex_9_2.sce | 9a402a53a3ba60c3280912bf58f6c58214faeec5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | Aerials_Ex_9_2.sce | clc
//Chapter9
//Example9.2, page no 397
//Given
n=10//no of aerial elements
d=0.5//distance in terms of wavelength
Beam_Width=2/(n*d)//
Beam_Width_degrees=Beam_Width*180/%pi
mprintf('Angular beam width is %f degrees\nBeamWidth is %f rad',Beam_Width_degrees,Beam_Width)
|
b29e87e60b0e7345058125cfe2908732c0382088 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH5/EX5.4/Example5_4.sce | 5fe0e16111319cecf0ca501c053602ed93b3f57d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 730 | sce | Example5_4.sce | //Scilab Code for Example 5.4 of Signals and systems by
//P.Ramakrishna Rao
//Discrete Time Fourier Transform of
// X(e^j*w)=2*%pi*delta(w)
clear;
clc;
close;
N = 1;
N1 = -3*N:3*N;
xn = [zeros(1,N-1),1];
x = [1 xn xn xn xn xn xn];
ak = 1/N;
XW = 2*%pi*ak*ones(1,2*N);
Wo = 2*%pi/N;
n = -N:N-1;
W = Wo*n;... |
ba771155c652db33dff6119cbba02af0e1429fe2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH3/EX3.5/3_5.sce | 51f91170651d488a090c22f7baa278ec88dd4da1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_5.sce | //chapter 3
//example 3.5
//page 82
//find Ib(base current) Ic(collector current) for common emitter configuaration from i/p,o/p,current gain characteristics
clear;
clc ;
//given
Vbe=0.7; //base emitter voltage in volts
Vce=6; ... |
ebc269b0a52f2a7c4f72e19e91c03dc07414e1af | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH16/EX16.13/Ex16_13.sce | c88550cd36f4ae31d50a0971f5950eb0b37c2911 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | Ex16_13.sce |
// Examle 16.13
At=900; // Speed of motor
V=460; // Supply voltage
kQ=V/At; // Orignal Flux
disp(' Orignal Flux = '+string(kQ));
V1=200; // Chenged Supply voltage
N=V1/(0.7*kQ); // Speed of Motor When Supply (200 V)
disp('... |
9abf594345a7629f06cd3f7269230e8102e22828 | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/physique/mecanique/pendule/instable.sce | 29df9488261253b4113550270046db5392a5ddad | [] | no_license | scls19fr/openphysic | 647cc2cdadbdafd050d178e02bc3873bd2b07445 | 67bdb548574f4feecb99b60995238f12f4ef26da | refs/heads/master | 2021-04-30T23:16:26.197961 | 2020-11-16T20:21:17 | 2020-11-16T20:21:17 | 32,207,155 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,075 | sce | instable.sce | // Oscillations d'un pendule
// S. CELLES - 09/02/2007
// theta.. + g/l * sin(theta) = 0
// theta.. = -2*lambda*theta. - omega0^2 * sin(theta)
clear;
//m = 0.050; // kg
l = 0.20; // m
g = 9.81; // N/kg ou m/s^2
%omega0 = sqrt(g/l);
%lambda = 0.1; // frottements
// on pose u1=theta et u2=theta'=v/l
function theta... |
9f3691bd8353cb52728c7b79a025d16116180ec1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH12/EX12.18/Ex12_18.sce | 2517d65ff6cf52b2b38a31275d3cadfd61f00db0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | Ex12_18.sce | //Ex12_18 PG-12.18
clc
clear
printf(" When modulation index m=100%% ")
m=1;
disp(" Now Pdsbfc=1.5*Pc or Pdsbfc/Pc=1.5")
Pc=poly(0,'Pc')
Pdsbfc=Pc*(1+m^2/2);//power required for double sideband with full carrier transmission
Pssb=Pc*m^2/4;
%P=(Pdsbfc-Pssb)/Pdsbfc*100
x=horner(%P,1)
printf(" %%Power saving %%... |
3a33915972c0847544eb2684fbfd8b4f9504d0c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.8.1/ex_2_8_1.sce | e77f107e75dfca64a6753509e5cf986ff92a22c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | sce | ex_2_8_1.sce | //Example 2.8.1://ARITHEMATIC MEAN ,median value ,standard deviation and variance
clc;
clear;
format('v',8)
q=[25.5,30.3,31.1,29.6,32.4,39.4,28.9,30.0,33.3,31.4,29.5,30.5,31.7,33.0,29.2];//
AM= mean(q);//arithematic mean in mm
for i= 1:15
qb(i)= q(i)-AM;
end
Q= [qb(1),qb(2),qb(3),qb(4),qb(5),qb(6),qb(7),qb(8),qb(9)... |
ee47bf2397f40b49019d4b96c80daa1fb58b0d00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH4/EX4.6/4_6.sce | 219d1ca27d75181edc2df2f25ac92e73553bc7d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | 4_6.sce | clc
//Intitalisation of variables
clear
ma= 0.495 //gm
Ma= 66 //gms
mb= 0.182 //gms
Mb= 45.5 //gms
p= 76.2 //cm of hg
//CALCULATIONS
na= ma/Ma
nb= mb/Mb
nt= na+nb
pa= p*na/nt
pb= p*nb/nt
//RESULTS
printf ('Number of moles of given gas A = %.4f ',na)
printf ('\n Number of moles of given gas B = %.4f ',nb... |
83bddf057c05de1d19a2916544b832c6a72985b5 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.18_9.tst | bb969182dd1a91db1c544da5239888a41e3e43bd | [] | 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 | 28,780 | tst | bow.18_9.tst | 18 2:0.037037037037037035 5:0.16666666666666666 11:1.0 12:1.0 13:0.7142857142857143 17:1.0 28:1.0 32:1.0 42:1.0 48:0.5 49:0.5 51:0.6666666666666666 65:1.0 74:1.0 77:2.0 85:0.3333333333333333 94:1.0 119:1.5 160:3.0 371:1.0 512:1.0 529:1.0 639:1.0 922:1.5 1103:1.0 1190:2.0 1359:1.0 1505:1.0 2121:1.0 3376:0.04545454545454... |
eb73758b8e9c82a8fbc09347b6d9a7610fc6a0bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH12/EX12.7/Ex12_7.sce | a12c3be9651bfc6b738c983fcf79134b3b00b11b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,312 | sce | Ex12_7.sce | clc
Ti = 2000 // Hot gas inlet temperature in K
Te = 450 // Hot gas exhaust temperature in K
T0 = 300 // Ambient temperature in K
Q1_dot = 100 // Heating rate provided by steam in kW
cpg = 1.1 // Heat capacity of gas in kJ/kg
wg = Q1_dot/(cpg*(Ti-Te)) // mass flow rate of hot gas
af1 = wg*cpg*T0*((Ti/T0)-1-log(Ti/T0)) ... |
0d8162bab617d9e1d7e1c2f2c413342486bb8e23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH11/EX11.4/Ex11_4.sce | 15c9f9796c9bc05f79b47153ad90bf035d1b1c41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | Ex11_4.sce | clc
T=300// K
k=1.3806*10^-23// JK^-1
Na=3*10^16// cm^-3
Qss=10^11// cm^-2
VTN=0.65// V
phims=-1.13// V
epsilon0=8.85*10^-14// F/m
epsilons=11.7
epsilonox=3.9
ni=1.5*10^10// cm^-3
e=1.6*10^-19// eV
phifp=(((k*T)/e)*log(Na/ni))
disp(phifp,"the value of phifp in V is")
xdT=(4*(epsilons*epsilon0)*phifp/(e*... |
2bf0a938e8ab65280134e0ce94d791440c9c3c56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH17/EX17.4/EX17_4.sce | b47f7434df4bf26ae457dbce058fde79110620fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | EX17_4.sce | //Example 17.4
clc
r=0.321*10^-3
A=%pi*(r*r)
disp("Solution a")
disp(A,"Area in m^2=")
rho=1.5*10^-6//in ohm=m
l=rho/A
disp(l,"Resistance in ohm/m=")
disp("solution b")
Delta_v=10
I=(Delta_v)/l
disp(I,"The current in Amps=") |
5d138438741f7e3e5ee1901c53182355994b1aaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH10/EX10.8/Ex10_8.sce | da0d76a8524115bd64e9df9d8fdb398c88571793 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | Ex10_8.sce |
clc
//initialisation of variables
Tc=666//R
Pc=617//lbf/in^2
R=35.1//ft-lbf/lbm-R
Tr=760/Tc//F
T=760//F
T1=617 //F
P=1000//lbf/in^2
Pr=P/T1 //lbf/in^2
Z=0.54 //R
p=Pr*T1//lbf/in^2
g=144//ft
//CALCULATIONS
Pv=(Z*R*T)/(P*g)//ft^3/lbm
v=(R*T)/(P*g)//ft^3/lbm
Tr1=(P*g*Pv)/(R*Tc)//lbf/in^2
T1=Tr*Tc//R
//... |
0f58a86523f6d1521132cbc64c9d200769c87790 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/6_09data.sci | cbea2aa35dadae923dc49dd7b5d93f3b1633d6e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sci | 6_09data.sci | //for the CP-1:
W=13127.5;//normal gross weight(N)
S=16.165;//wingarea(m^2)
a=4.2*%pi/180;//approx minimum glide angle(radian).from example 6.7
D1=0.905;//density at 3048 m(Kg/m^3)
D2=1.155;//density at 609.6 m(Kg/m^3)
Cl=0.634;//lift coefficient corresponding to minimum glide angle i.e maximum L/D(from example 6... |
99063f4af06f9d709a5d4a83c0c7ddbc752ffa18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH5/EX5.14/Ex5_14.sce | d1878fcd1561f56d7170053dceca91e94df933f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,215 | sce | Ex5_14.sce | clc
P1=2//pressure in bar
vg=0.8854//in metre-cube/kg
Pa=1//pressure in bar
K=250//spring constant in kN/m
A=0.05//cross-sectional area in metre-square
h1=2706.3//in kJ/kg
v1=vg
V1=vg/10
P2=4 //pressure in bar
V0=V1-((((P1-Pa)*10^5)*(A*A))/(K*10^3))//from force balance equation
mprintf("V0=%fmetre-cube\n",V0... |
2d07176e507e68c6ca795b3115b5e54739d4d180 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/minus.man.tst | 250a171e9ca48a841b1e2583a136bdfc78f802fe | [
"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 | 56 | tst | minus.man.tst | clear;lines(0);
[1,2]-1
[]-2
%s-2
1/%s-2
"cat"+"enate"
|
e61bc9b587e2b734550ee33b01661518962ab7fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH26/EX26.5/26_5.sce | f08150d3825e9fe425814956eee78942942c5fcd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,521 | sce | 26_5.sce | clear//
//Variables
VCC = 10.0 //Source voltage (in volts)
RB = 470.0 * 10**3 //Base resistance (in ohm)
RE = 1.0 * 10**3 //Emitter resistance (in ohm)
RL = 1.0 * 10**3 //Load resistance (in ohm)
a = 4.0 //Turn'... |
c73b851f8e552a916c11076899dc458036aa6d0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH6/EX6.9/Ex6_9.sce | c478d444690ff5eb259b6999bce3e6157bcc3ea5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,199 | sce | Ex6_9.sce | //Chapter 6:Induction Motor Drives
//Example 9
clc;
clf();
//Variable Initialization
//Ratings of the star connected squirrel Induction motor
f=50 // frequency in HZ
Vl=400 // line voltage in V
P=4 // number of poles
N=1370 // rated speed
//Frequency variation is from 10 Hz to 50 ... |
db3e9b39a015b1367153e7c3c2dcd978b6fe5686 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH2/EX2.15/2Ex15.sce | 00d39dcc7cdf316310570e8b7b9ae7c46451c6b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sce | 2Ex15.sce | //chapter 2 Ex 15
clc;
clear;
close;
n1=12; n2=15; n3=20; n4=27;
n=lcm(int32([n1,n2,n3,n4]));
mprintf("The required number is %d",n);
|
e7e014c58fb80b71f7e055e4de0d79d24c7654f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH19/EX19.4/167ex1.sce | 2a666a5af929b6b5827e1e1231c5e0dcf94aa444 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sce | 167ex1.sce |
//value of (57.86*4.385)
clear;
clc;
close;
//log(p*q)=log(p)+log(q)
p=57.86;q=4.385;
logx=log10(p)+log10(q);
format(6)
x=10^logx
|
6a77ed9f5bcb8bbd7f0ec3e38f94d40bddda2d1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH10/EX10.17/10_17.sce | 864dd1e9e48c316264c70544e3882066f6bb2ea1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | 10_17.sce | V=250
n=800
Ra=0.15
Rse=0.1
R=Ra+Rse
Ia1=120
Ea1=V-Ia1*R
Ia2=60
Ea2=V-Ia2*R
n2=Ea2/Ea1*n/0.7
disp(n2)
|
c23f11d09aa31122b135678adab16ee4f8279c40 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.17_15.tst | e76f070faf5c4c17a6597cc877c005e6784e8dd7 | [] | 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 | 5,299 | tst | bow.17_15.tst | 17 179:1.5 227:0.1111111111111111 297:0.4 463:1.0 602:1.0 1126:1.0 1243:1.0
17 1:0.05555555555555555 13:0.5 19:0.0625 28:0.14285714285714285 54:2.0 56:0.6666666666666666 63:0.6666666666666666 65:1.0 84:1.0 187:0.5 296:1.0 297:0.6 354:1.0 441:0.6666666666666666 476:1.0 492:1.0 493:1.0 602:1.0 738:1.0 1372:1.0
17 1:0.055... |
2a6ceedbd5879ad77cba055737d08997c0e146c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH6/EX6.4/ch6_4.sce | 8a02a0a41c21443c6cb7cc2b1b370a94d7c79695 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,956 | sce | ch6_4.sce | clc;
clear;
printf("\t\t\tChapter6_example4\n\n\n");
// The average bulk temperature of the Freon-12 is [-4O +(-4)]/2 = -22°F
// properties of Freon-12 at average bulk temperature
kf=0.04; // thermal conductivity in BTU/(hr.ft.°R)
cp=0.2139; // specific heat in BTU/(lbm-°R)
rou= 1.489*(62.4); // density in lbm/cu.ft
v... |
d914088882b4c2f08d7079ec0433941fc6d6b778 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH10/EX10.5/ex10_5.sce | 6f11af73361641ada36595989cdb08e235a2a524 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | ex10_5.sce | // Example 10.5
format('v',6)
clc;
clear;
close;
// given data
V_E= 1.43;// in V
R_E= 100;// in Ω
R_L= 100;// in Ω
R_C= 1*10^3;// in Ω
bita= 200;
Vt= 25*10^-3;// in V
I_E= V_E/R_E;// in A
I_CQ= I_E;// in A
Zin= bita*R_L;// in Ω
r_desh_e= Vt/I_CQ;// in Ω
// The voltage gain of the driver stage
A= (R_C*... |
2e2a386d93feacec9110e4ab7deb566be64e5134 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.3_8.tst | 2b444f4eaf22c520ca1cb1450382b399c9ece1d2 | [] | 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 | 33,096 | tst | bow.3_8.tst | 3 15:0.0625 17:0.3333333333333333 23:0.15384615384615385 37:0.25 82:0.125 95:1.0 96:0.125 97:0.6666666666666666 114:0.5 115:1.0 116:2.0 128:0.14285714285714285 145:1.0 171:0.5 272:1.0 350:0.125 531:0.3333333333333333 561:0.3333333333333333 622:1.0 641:1.0 809:1.0 892:1.0 938:0.5 1168:1.0 1430:1.0 1618:1.0 1742:1.0 1947... |
8e817a277300129f80a79fe6f6a556b06201c778 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH1/EX1.16/Ex1_16.sce | 28584f3426dee25fcc5741ddf089703c77dc02f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sce | Ex1_16.sce | clear;
clc;
d = 9/8;//diameter of the steel bar in inches
P = 6;//tensile load in tons
del_l = 0.0036 ;//extension of length inches
l = 8;//gauge length in inches
del_d = 0.00015;//change in diameter in inches
A = 0.25*%pi*d^2;//section area in in^2
p = P/A;//stress in tons/in^2
e = del_l/l;//strain
E = p/e;/... |
7fc19f8e494dcf5f08d157827c359c1771323bcf | e9d5f5cf984c905c31f197577d633705e835780a | /GED/linear/scilab/functions/pmgei_method/method/ged_NT2.sci | 3cc2d4a5df6b3d819d5fc6aa9ada2942a5fdf654 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,823 | sci | ged_NT2.sci | function[avt1_nt1, avt1_nt2, op_nt1, op_nt2, ge_nt1_indexu, ge_nt2_indexu, ge_nt1_indexu_low, ge_nt2_indexu_low] = nodal_test2(Qnt1, Q2nt1, jac_row, runsize, zr_nt_nodal, varargin)
[lhs, rhs] = argn(0);
if rhs > 5 then
is_multiple = varargin(1);
else
is_multiple = 0;
end
//Nodal test... |
b8e630f9d10789a2b220179cde95a2e95a139c8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH18/EX18.4/Ex18_4.sce | 4480f26ea15e667e2c4f561c071d988ca3491b60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 130 | sce | Ex18_4.sce | clear
//Given
a=2.0
//Calculation
//
a=sqrt(a)/a
i=asin(a)*180/3.14
//Result
printf("\n Angle of incidence is %0.0f Degree",i)
|
95db66b0603abfc81628f32f559eeaf2cde11dd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH15/EX15.4/Ex15_4.sce | 211767976e84b5adcc91ef810795ccf3808c574f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | Ex15_4.sce | // Exa 15.4
clc;
clear all;
// Given data
// Second order filter
R=47*10^3; // Ohms(R2=R3=R)
C=0.0022*10^-6; // farads(C2=C3=C)
// Solution
Fl=1/(2*%pi*R*C); //low cutoff frequency(Hz)
printf(' The low cutoff frequency for a high pass filter =%.2f kHz\n',Fl/1000);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.