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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2b7002d29b09610933cbbbaa11893b5c80506900 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH4/EX4.5/EX4_5.sce | 5660bbd6752272bd453ab6507e5b617c0ea605aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | EX4_5.sce | //Finding of Density
//Given
h1=0.4;
h2=0.6;
rho=1000;
rho1=13600;
g=9.81;
wd=rho*0.6;
md=rho1*0.4;
rho2=wd+md;
disp("Density is = "+string(rho2)+" Kg/m^3");
|
eccd375665ed7367fadbd28a77ba24a67e34976e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/tests/dialogs.tst | 5c596c90258b05535ea17a79e3f30625ab6b0e03 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,691 | tst | dialogs.tst | //This part of the test verify visual aspect of the dialogs window
// and in particular scroll bars
// It must be checked visually
mode(-1)
// x_message
// =========
x_message(['Simple message';'No scroll bar at all']);
x_message(['message with huge vertical part';
'Only vertical scroll bar'
stri... |
bcaf4e64d9e0f3a7ea48c687935d24871802690a | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH12/EX12.4/Ch12Exa4.sci | 5c5ab1213c65a47044bdaecf59e7f98dcbef8cb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Ch12Exa4.sci | //Refer to Example 12.3
Ro= 155; //initial activity, Ci
Lambda= 2.11*(10^(-6)); //decay constant, s^(-1)
t= 7; //days
t= t*86400; //converting to s
R= Ro*((%e)^(-(Lambda*t))); //final activity, Ci
disp(R,"The activity after one week, in Ci, is: ")
//Result
// The activity after one week, in Ci, is:
/... |
058a38ba578be58bb70b7931d4e8c236d620f8c3 | 9adf1bc6de8cda036ee25fde7a658b3ca8cdf477 | /TABELLE/src/result0s0.tst | e17d720eb3d41b7f456ba8e48303ead30c9c4296 | [] | no_license | deepak0431/granada | fc9acf52590a1315805702af41d87760ef089545 | 077460440ded909242697d5f0fd1de8526c53ac6 | refs/heads/master | 2021-01-10T11:58:32.017549 | 2011-12-15T01:51:29 | 2011-12-15T01:51:29 | 51,353,969 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 16,246 | tst | result0s0.tst | @relation unknow
@attribute Sex {M, F, I}
@attribute Length real [0.075, 0.815]
@attribute Diameter real [0.055, 0.65]
@attribute Height real [0.0, 1.13]
@attribute Whole_weight real [0.002, 2.8255]
@attribute Shucked_weight real [0.001, 1.488]
@attribute Viscera_weight real [5.0E-4, 0.76]
@attribute Shell_weight real... |
477199e6c61854e1c6dfdf4960e6be542240538a | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_blocks/mdaq_profiler_sim.sci | b2d7da238a66dc94af7ac35471f4cc3661b34f5e | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 517 | sci | mdaq_profiler_sim.sci | // Generated with MicroDAQ toolbox ver: 1.2.1
function block=mdaq_profiler_sim(block,flag)
global %microdaq
if %microdaq.dsp_loaded == %F then
select flag
case -5 // Error
case 0 // Derivative State Update
case 1 // Output Update
case 2 // State Update
case 3 // OutputEv... |
08eb37d29131453eccb01c581bafec1e736b108d | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/synthesis.sci | 7224686946dc66bce56a18500a1c766e3225efc9 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 654 | sci | synthesis.sci | function x= synthesis(Y,C)
//Compute a signal from its short-time Fourier transform
//Calling Sequence
//X= synthesis(Y,C)
//Parameters
//Y: Shirt-time fourier transform
//C: 3-element vector C specifying window size, increment, window type.
//Description
//Compute a signal from its short-time Fourier transform Y and ... |
e2302e8fb7a3287b0a989cd0d6959293be686769 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH12/EX12.10/Ex12_10.sce | cb65c41bd627dd6197008bb2ad932bb0897345f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,184 | sce | Ex12_10.sce | clear;
clc;
HP = 80;
RPM = 120;
b = 10;// feet
h = 3;// feet
F = 8000;// lb-wt
m = 4;
T = HP*33000*12/(2*%pi*RPM*2240);// ton-inches
M = F*h*(b-h)*12/(b*2240);// ton-inches
//(i) The major principal stress f1 is given by
f1 = 6;// tons/in^2
d1 = ((M+sqrt(M^2 + T^2))*16/(%pi*f1))^(1/3);// inches
//(ii) If... |
39b3ac5bdbfaa10ffee9741cb5043ada38315ea1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH9/EX9.2/9_2.sce | 057d564cfa44fb0240b241a25339ecc49c8a2f8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | 9_2.sce | clc
clear
//Initialization of variables
g1=150670 //kJ/kmol
g2=71500 //kJ/kmol
R=8.314
Ts=298 //K
T=700 //K
//calculationd
G=g1-g2
G2=33875 //kJ/kmol
K1=exp(-G/R/Ts)
K2=exp(-G2/R/T)
//results
printf("In case 1, equilibrium constant = %.2e",K1)
printf("\n In case 2, equilibrium constant = %.5f",K2)
|
631e906d0ba428d169aceccadd4dcaf03dc475da | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH35/EX35.3/Example35_3.sce | 94791899b4a2a4c329a86a96859560382f75adda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,093 | sce | Example35_3.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 9: PROTECTION OF TRANSFORMERS
// EXAMPLE : 9.3 :
// Page number 636
clear ; clc ; close ; // Clear the work space and conso... |
f5ad1ef0283b1709eeb99b912be801b0a6d75bfd | d60e8cf5de9384449a9b6a643bfe4c1d2339b1ae | /linux/nxt.sci | 764a120d4aa50cf29112e01605b4b6a1e3271158 | [] | no_license | tizar/lego | 165ec2ac333bed642d96a33db77ab7d00ffbfba9 | 351c8824b3457f4735cf65ec4740d1c9fc89dd21 | refs/heads/master | 2016-09-08T05:06:23.607494 | 2011-03-03T10:46:31 | 2011-03-03T10:46:31 | 1,434,570 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,369 | sci | nxt.sci | if isdef('nxt_sci') then
return
end
nxt_sci=1;
if isdef('lusb') then
unlink()
end
lusb=link('libusb.so');
functions=['comm_open','nxt_playtone','nxt_batterylevel', ...
'nxt_motor_setforward', 'nxt_motor_setreverse', 'nxt_motor_stop', ...
'nxt_motor_resetrotation', 'nxt_motor_getrotation' ...
];
llego=lin... |
7a2ac9aba012a35e1beec210abb5443f4a91c733 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH5/EX5.28/Ch05Ex28.sce | 7bc649462d611f9ee21f33d25121ea743e308407 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | Ch05Ex28.sce | // Scilab Code Ex5.28: Page:311 (2011)
clc;clear;
lambda = 5.5e-07;....// Wavelength of light used, m
f = 3.0;....// Focal length of telescope objective, m
a = 0.01;....// Diameter of the telescope objective, m
// As x/f = 1.22*lambda/a, the Rayleigh criterian for resolution, solving for x
x = 1.22*f*lambda/a; ... |
ba90356e167c737e6d5e87b3419c5c54e4a82b13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH10/EX10.17/10_17.sce | 14d9eada70f1b47de11cba8b962e3be56bb0a141 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10_17.sce | an = 20.183; // molecular weight of neon
Pc = 2.73; // Critical pressure
Tc = 44.5;
Vc = 0.0416;
Pr = 2; // Reduced Pressure
Tr = 1.3;
Z = 0.7;
P = Pr*Pc;
T = Tr*Tc;
R = 8.314;
v = (Z*R*T)/(P*1000*an);
vr = (v*an)/Vc ;
disp("m3/kg",v,"Specific volume is")
disp("K",T,"Specific temperature is")
disp("kPa"... |
21a65b1af418608e4029a83b80af6113173fff7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH10/EX10.16/ch10_ex_16.sce | f2fd3915019a9ff7f8af2cd8ab3fc1f86224d458 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,142 | sce | ch10_ex_16.sce | //CHAPTER 10- THREE-PHASE INDUCTION MACHINES
//Example 16
disp("CHAPTER 10");
disp("EXAMPLE 16");
//VARIABLE INITIALIZATION
ratio1=1.5; //ratio of T_est and T_efl
ratio2=2.5; //ratio of T_em and T_efl
//SOLUTION
s=1;
//solution (a)
//directly solving the quadratic equation
a=1;... |
46faa365d378920236a837d0d1c6e136d3d0a87e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH6/EX6.21/EXAMPLE6_21.SCE | 263e982dd443360fd8df94c77a0461956fa48065 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 935 | sce | EXAMPLE6_21.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 6
//NOISE
clear all;
clc;
printf("EXAMPLE 6.21(PAGENO 311)");
//given from the figure
G_1ratio = 1000//gain of master amplifier
G_2ratio = 100//gain of TWT
G_3ratio = 10000//gain of mixer and IF amplifier
F_2ratio = 4//noise figure of TWT ... |
e69e9d1ec7229989885561d0454b191c951d7bcc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH11/EX11.6/exa11_6.sce | 276d86b99aaa6ba59679298eb7f1cb6b88882e0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | exa11_6.sce | // Example 11.6
// Design of a Bandpass filter
L=1*10^-3;
R_w=1.2;
B=2*%pi*2*250; // Bandwidth
omega_0=2*%pi*20*10^3;
Q=omega_0/B; // quality factor
f_l=20000-250;
f_u=20000+250;
f_0=sqrt(f_l*f_u);
Q_par=Q;
C=1/(omega_0^2*L); // Required value of Capacitor
R_par=L/(C*R_w); // Parallel equivalent of winding ... |
a4d1e48d0c6c88fef766e7935f4e75dd80e11888 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.69/69.sci | 03fbe5f6bada61fb1dc377f72f5be23f4d817967 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sci | 69.sci | clc;
clear all;
disp("Thermal conductivity of insulation")
r1=1.5/2;//m
r2=r1+0.1;//m
Lcyl=8-1.5;//m
m=10.8;//kg/h
hv=214;//kJ/kg
Qboil=m*hv;//kJ/h
Qcyl=Qboil/(1+(2*r1*r2*log(r2/r1))/(Lcyl*(r2-r1)));
disp("kJ/h",Qcyl,"Rate of heat in Q =")
Qcyl=Qcyl/3.6;
disp("J/s",Qcyl,"Rate of heat in Q =")
ti=-183;//de... |
8c305c0d4ea9dcc91f4223ad0b40835273535701 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH10/EX10.11/10_11.sce | f1e1a7146b8db5fbf0c7b3b6385387b66b87436f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | 10_11.sce | clc
//initialisation of variables
d= 0.5 //in
n= 315 //rpm
t1= 5000 //psi
r1= 8 //in
r2= 4 //in
n1= 6
n2= 4
//CALCULATIONS
t2= r2*t1/r1
T= r1*n1*(%pi/4)*d^2*t1+r2*n2*(%pi/4)*d^2*t2
hp= T*n/63000
//RESULTS
printf ('Premissible horsepower= %.f hp',hp)
|
a19253e0b8e99c0fdf3799f6cf78dbca1f607afb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH5/EX5.1/Ex5_1.sce | 2a7ec7153ccb05b5249589f34cf7d84699f51e17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,074 | sce | Ex5_1.sce | // chapter 5
// example 5.1
// Fig. 5.15
// What will be the maximum and minimum firing angle
// page-155
clear;
clc;
// given
Vc=40; // in V (breakdown voltage)
R1_min=1; R1_max=25; // in k-ohm
C=470; // in nF
Erms=240; // in V
f=50; // in Hz (AC supply frequency)
// calculate
C=C*1E-9; // changing unit from nF to F... |
8473f9e7f0c5e7659bb18ecda53164b6785a28cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH6/EX6.3/example_6_3.sce | fb624c2ddf3b454ab876a12d0c78228e63a73033 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,325 | sce | example_6_3.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 6
// Heat Transfer by Natural Convection
// Example 6.3
// Page 260
printf("Example 6.3, Page 260 \n \n");
s = 0.2 ; // [m]
d = 0.005 ; // [m]
rho = 7900 ; // [kg/m^3]
Cp = 460 ; // [J/kg K]
T_air = 20 ; // [C]
// For 430 C to ... |
1d0963e9cbfb8cfb20623a8e87c1d62974ea0978 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH1/EX1.6/ch1_6.sce | f25808fc1a057e3b0639146997f0c981900c263f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | ch1_6.sce | clear;
clc;
printf("\t\t\tchapter1_example6\n\n\n");
// determination of radiation thermal conductance
A=14*30; // area in sq.ft
T1=120+460; // driveway surface temperature in degree Rankine
T2=0; // surface temperature assumed to be 0 degree Rankine
Qr=73320; // heat loss rate in BTU/hr
hr=Qr/(A*(T1-T2)); // r... |
e057e763d25cfc082e2697ec4ec391841a2104d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH13/EX13.18/Ex13_18.sce | 5ee0cdf00c06abcbd2e98ebc3edb640367d778dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 792 | sce | Ex13_18.sce | // chapter 13
// example 13.18
// Determine the maximum power disspation
// page-843
clear;
clc;
// given
Cs=0.2; // in J/degree C (thermal capacity)
theta=0.7; // in degree C/W (thermal resistance)
T_J=40; // in degree C (junction temperature)
t=0.1; // in s
// calculate
power_diss_per_degreeC=1/theta; // calculation ... |
1983762c183d72d0bfbaccedebf65611521a64e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.13/Ex9_13.sce | be0cd71692861e16ad4c59106790337799ccfc93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | Ex9_13.sce | clear
//Given
E=3.4*10**4 //V/m
B=2*10**-3 //Wb/m**2
m=9.1*10**-31
e=1.6*10**-19
//Calculation
v=E/B
r=(m*v)/(e*B)
//Result
printf("\n Radius of the circular path is %0.1f *10**-2 m",r*10**2)
|
fa7daf0d0b787775381b033083d3d7a790ba9632 | 481f3317298608c37d4cb96f148faf5068d712bb | /lib/scilab/getTransferFunction.sci | 00791fffd7a2cd066d40fde7f8f53a5e7b37d84d | [] | no_license | masilvabustos/xcos2uc | 1f83c0710da6506cec8c8aad5a97848903f6ad32 | 531c35a53b7efc11e69e98c643ebad3df3d362f5 | refs/heads/master | 2020-04-05T22:41:50.570623 | 2016-11-13T18:18:22 | 2016-11-13T18:18:22 | 22,852,879 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sci | getTransferFunction.sci |
function trfun = getTransferFunction(block)
if block.gui <> 'DLR' then
error('getTransferFunction: invalid block (must be DLR)')
end
num_str = block.graphics.exprs(1)
den_str = block.graphics.exprs(2)
z = poly(0, 'z')
num = evstr(num_str)
den = evstr(den_str)
... |
6a665c182044b0c12530fb461ae8cf3a407df256 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH6/EX6.4/Ex6_4.sce | 28fc9bc2d97ab9436c5a6bf1096914559c8f7cdf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 769 | sce | Ex6_4.sce | //Ex6_4
clc
RC = 2.3*10^3
Re = 1*10^3
VCC = 12
VCE = 5
VBE = 0.7
beta = 50
disp("RC = "+string(RC)+"ohm")//collector resistance
disp("Re = "+string(Re)+"ohm")//emitter resistance
disp("VCC = "+string(VCC)+"V")//supply voltage
disp("VCE = "+string(VCE)+"V")//voltage across collector and emitter
disp("VBE = "... |
69471c694d9ae6350faac443e0d1ce1159414d92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH2/EX2.a.2/Example_a_2_2.sce | 2f298a6e8506518b0e14d705ce8aedb148bc9690 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sce | Example_a_2_2.sce | //Example 2_2 page no:86
clc;
V1=(4.8+2+3.6)/((1/5)+(1/20)+(1/10));
I=(V1-24)/5;
disp(I,"the current delivered by the 24V source is");
|
e863fde366617c42c92de4b2a9749b6ff36e75d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.93/Ex93.sce | bfc82a22724c41ac136f1eb0c334e47cababe944 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | Ex93.sce | //Ex:93
clc;
clear;
close;
b_c=36;//carrier BW in MHz
f_d=4000;//Dowm link freq in MHz
f_i=70;// first intermediate freq in MHz
f_smx=4200;//max uplink freq spectrum in MHz
f_smn=3700;//min uplink freq spectrum in MHz
f_dl2=1000;// in MHz
f_l2=f_d-f_dl2;// in MHz
f_l1=f_d-f_i-f_l2;// in MHz
printf("The max ... |
42be4d7840c50cfd122c4dc5e10d819230cc2d87 | f5bb6b6e5afdd322c5cd22aa132ef6cd9671b83e | /GaussSeidel.sce | 371e56016060f0e13969fed36607d47fdbfdc651 | [] | no_license | MEGCHICHEFarid/Calcul_Num-rique-TP2 | b47cb66cc2c7b8ed7b5dad7992ee03dc8e0ca98f | 121a72c376848daf12d0d81ec628572a2ea573cd | refs/heads/main | 2023-01-30T23:20:31.667199 | 2020-12-18T23:56:13 | 2020-12-18T23:56:13 | 322,196,749 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | GaussSeidel.sce |
function [x, relres, it] = GaussSeidel(A,b,tol,maxit)
n = size(A,1);
x0 = zeros(n,1);
normb = norm(b);
resvec = zeros(maxit,1);
res = b-A*x0;
relres = norm(res)/normb;
DmE = 1 / tril(A);
quali = zeros(maxit,1);
it = 0;
while (relres > tol) & (it < maxit)
it = it + 1... |
c1dbb79713bb8c16c2f72bef6774a2984659fadb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH9/EX9.3/3.sce | f8f397489318750b885f4e17f42ab33465a9f8b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 558 | sce | 3.sce | clc
clear
//INPUT DATA
EF=11.63*1.6*10^-19//fermi energy of conducting electron in aluminium in J
t=7.3*10^-15//relaxation time for electron in sec
m=9.11*10^-31//mass of electon in Kg
//CALCULATION
Vf=(sqrt((2*EF)/m))/10^6//The fermi velocity fo conducting electron in aluminium in ms^-1*10^6
x=(t*Vf*10^6)/10... |
30edb659b494292ea7f49a4d731351de27edf39f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH4/EX4.11/Example_4_11.sce | d664cc853878daf8d8d9d807c551ad21646d3d6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sce | Example_4_11.sce | //Example 4.11 A sample of 6500 screws is taken from a large consignment and 75 are found to be defective
clc;
clear;
n=600;
m=75;
P=m/n;
Q=1-P;
SE=sqrt((P*Q)/n);
disp("percent",(P-3*SE)*100,"to",(P+3*SE)*100,"Limits of P are from ");
|
65708dd984c35ed27973ea9f9b23ebecf8306def | 449d555969bfd7befe906877abab098c6e63a0e8 | /1499/CH3/EX3.26/q26.sce | 1e83aa4b246719b46bbeb93a3686dd00dc9f891b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 102 | sce | q26.sce | s=%s;
syms k;
num=k*(s+0.5);
den=(s^2)*(s+4.5);
t=syslin('c',num,den);
clf;
evans(t)
xgrid;
|
f0419efb110b2039ef1e682411b3c5a3deb9b526 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH11/EX11.3/Example11_3.sce | c87c3830bdf2137ccc81b736c0f07615c6803d5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | Example11_3.sce | //Example 11.3
clc;
clear;
close;
format('v',9);
//Given data :
l=2;//meter
d0=0;//meter
d1=0.3;//meter
d2=1.0;//meter
d3=1.2;//meter
d4=1.6;//meter
d5=2.0;//meter
d6=1.4;//meter
d7=1.0;//meter
d8=0.4;//meter
d9=0.3;//meter
d10=0.2;//meter
V0=0;//meter
V1=0.5;//meter
V2=0.7;//meter
V3=0.8;//meter
... |
4968660bceb868f98766021158a7fa48f0b19b4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH2/EX2.4/4.sce | 37417072d263978003b1a832832e5f7a4ccaa284 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,363 | sce | 4.sce | clc
clear
//Input data
Po1=3.344 //Stagnation pressure in bar
To1=900 //Stagnation temperature in K
P2=1.05 //Exit pressure in bar
k=1.4 //Adiabatic Constant
R=287 //Specific gas constant in J/kg-K
Cp=1005 //Specific heat capacity at constant pressure in J/kg-K
//Calculation
p1=P2/Po1 //Pressure ratio
M... |
8a6e368be522355d509f57352819785b63f6ee5f | d0bfac87f2b3ffda5c8ccce7d4bee07131503a5f | /Typewriter.Demo/Scripts/Models/_models.tst | 56e1332db3f92af49ad9af702e4748cc5279c1ed | [] | no_license | barestan/TypewriterCli | da9e8e99098b3e43dd8bc77cf8ce666d96313f6d | 2731b19e47ca11b4ef51cbd099ec8ddb68c60397 | refs/heads/master | 2022-06-14T21:31:21.588291 | 2020-12-12T07:47:46 | 2020-12-12T07:47:46 | 152,133,955 | 23 | 8 | null | 2022-05-31T08:45:09 | 2018-10-08T19:21:56 | C# | UTF-8 | Scilab | false | false | 107 | tst | _models.tst | module App { $Classes(*Model)[
export class $Name { $Properties[
public $name: $Type;]
}]
} |
f1dea908278f57ccd1e9b84dd2d8c7ff3959f127 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.4/Ex19_4.sce | 6026653cee84c46c5b549f83bf5773c36717ba83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | Ex19_4.sce | //Ex19_4 Pg-958
clc
a=1
b=1
c=0
d=1
dec=a*2^(-1)+b*2^(-2)+c*2^(-3)+d*2^(-4) //decimal output
disp("The decimal equivqlent of 0.1101 is")
disp(dec)
|
d482195904188bc0e98fe2c05729b25aa16c6258 | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH12/EX12.2/example_12_2.sce | 372d1eb7203767c24e312291c65c5c384e6ab33f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,980 | sce | example_12_2.sce | //Chapter 12
//Page 311
//Example 12.2
//linetolinefault
clear;clc;
//Given
P = 20e6;
V = 13.8e3;
P_b = 20e6;
V_b = 13.8e3;
Z1 = %i * 0.25;
Z2 = %i * 0.35;
Z0 = %i * 0.10;
a = 1 * (cos(120 * %pi / 180) + %i * sin(120 * %pi / 180));
//Calculations
Ea = V / V_b;
Ia1 = Ea / (Z1 + Z2);
Ia2 = - Ia1;Ia0 = 0;
Ia = Ia1 + Ia2 +... |
404ae2db9a8a8db014b54c2df145dc0175ee113d | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH3/EX3.01/3_01.sce | c32e266fd513ef62fe5fee5ea956384f8f36e669 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sce | 3_01.sce | //pathname=get_absolute_file_path('3.01.sce')
//filename=pathname+filesep()+'3.01-data.sci'
//exec(filename)
//Pressure in the gas cylinder(in kPa):
p=689
//Final volume(in m^3):
v2=0.045
//Initial volume(in m^3):
v1=0.04
//Work done by the paddle(in kJ):
Pw=-4.88
//Work done by the system on the piston(in k... |
0f634368b0ab806f67c078a402788d6f2c450224 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH9/EX9.11/11.sce | 4e7fac62dcfbf4be6e4a6ba9f064188e01c4c6a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,019 | sce | 11.sce | clc
Cv_O2=21.07; //kJ/mole K
Cv_CO=20.86; //kJ/mole K
p_O2=8*10^5; //Pa
p_CO=1*10^5; //Pa
V_O2=1.8; //m^3
V_CO=3.6; //m^3
T_O2=323; //K
T_CO=293; //K
R0=8314;
n_O2=p_O2*V_O2/R0/T_O2;
n_CO=p_CO*V_CO/R0/T_CO;
n=(n_O2+n_CO);
V=(V_O2+V_CO);
disp("(i) Final temperature (T) and pressure (p) of t... |
b54514985f207a99828911ffbfe9f935c5318de5 | 777ac7fa75f240739af167655f7fab95cba80ef6 | /docs/Basics.New/All_in_One.tst | 2c3a7613ad7011e6197d21c4fb5d64a7cc05450c | [] | no_license | Karabur/TML-project | 8d498d8133f4b1ea8e8c3fe6f6f47f7ab5de4b5c | 0bfe006b0e66628427b769bc1be903875e77d5b7 | refs/heads/master | 2021-01-02T09:20:39.055827 | 2013-12-28T22:02:15 | 2013-12-28T22:02:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 980 | tst | All_in_One.tst | Title:
TestName: < Type in smth>;
Difficulty: < Type in >;
FullTime: < Type in a number of seconds for the test >;
Questions: < Type in a number of the question in the test>;
EndTitle.
StartTest:
Question: 1;
Weight: 1.0;
BeginText:
EndText;
Choice: AtX: 8; AtY: 8; Width: 500; Height: 450;
1: endcase;
2: endc... |
130caef0f27fb908109b148933d160c58c8e6259 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.41/Ex41.sce | f2978c2345a4f02784dc77a9f33eb7135e001f2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | Ex41.sce | //Ex:41
clc;
clear;
close;
k=-228.6;// in db
t_s=10*log(150)/log(10);// in dbK
b_n=51.1;// in dbHz
n_h=k+t_s+b_n;//the noise power in the hub station receiver in dbw
printf("noise power=%f dbW",n_h); |
499b38f410e110cae5931928b64b5305bfb66671 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/sci2for/ins2for.sci | 3b721f55b63562596dc1c473eb401e967f77d7fb | [
"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 | 424 | sci | ins2for.sci | function [txt,vnms,vtps,nwrk]=ins2for(lst,ilst,vnms,vtps,nwrk)
// traduit un ensemble d'instructions debutant a l'adresse ilst de la
// liste courante lst
//!
// Copyright INRIA
nlst=size(lst)
txt=[]
while ilst<=nlst then
if type(lst(ilst))==15 then
[t1,vnms,vtps,nwrk]=cla2for(lst(ilst),vnms,vtps,nwrk)
ilst=i... |
e041f10d121b9b7a77be6fb2b2dd57b331b6f82a | abac61d8c2d8d88bc272a883215a7bf0b32a58ee | /amplitudemodulation.sci | 95a9fb054a235d39b8794e3307180bbe2365d3e4 | [] | no_license | praveen-739/sci_lab-implemention | 9f095ff1202df36a98f51acdc2f98a1db7634922 | 997ec61631e701a9782424bbccff7a2594bfa3fc | refs/heads/master | 2020-03-10T10:23:09.515658 | 2018-04-13T09:38:14 | 2018-04-13T09:38:14 | 129,331,740 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sci | amplitudemodulation.sci | function [x,vm,vc]=amp_mod(em,ec,fm,fc,fs)
t=0:1/fs:1;
vm=em*sin(2*%pi*fm*t);
vc=ec*sin(2*%pi*fc*t);
x=(ec+em*sin(2*%pi*fm*t).*sin(2*%pi*fc*t));
subplot(3,1,1);
plot(vm);
title('modulated signal')
subplot(3,1,2);
plot(vc);
title('carrier signal')
subplot(3,1,3)
... |
d4eb69a75e2e501293b76015b34afc78501e6648 | 9ce4292954000fd66bcdbd0797a280c306308d08 | /mooc/nand2tetris/projects/05/ComputerMax-external.tst | 52b6befef6c51b825a6dec5b85b4e8cc87a20439 | [
"MIT"
] | permissive | JiniousChoi/encyclopedia-in-code | 0c786f2405bfc1d33291715d9574cae625ae45be | 77bc551a03a2a3e3808e50016ece14adb5cfbd96 | refs/heads/master | 2021-06-27T07:50:10.789732 | 2020-05-29T12:50:46 | 2020-05-29T12:50:46 | 137,426,553 | 2 | 0 | MIT | 2020-10-13T08:56:12 | 2018-06-15T01:29:31 | Python | UTF-8 | Scilab | false | false | 952 | tst | ComputerMax-external.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/05/ComputerMax-external.tst
load Computer.hdl,
output-file ComputerMax-external.out,
compare-to ComputerMax-external.cmp,
output-list time%S1.4.1 reset%B2.... |
21662da04e693acdde37213ed80475444df9d665 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/examples/link-examples/ext11c.sce | a3e9b5e08142b4598eb41b8c7f30597819176429 | [
"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 | 263 | sce | ext11c.sce | //Copyright INRIA
//Passing a parameter to argument funtion of ode
files=G_make(['/tmp/ext11c.o'],'ext11c.dll');
link(files,'ext11c','C');
param=[0.04,10000,3d+7];
y=ode([1;0;0],0,[0.4,4],'ext11c')
//param must be defined as a scilab variable upon calling ode
|
eaecd3dc86b0c9dac7f54b9a0de99f4d77d2619e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH17/EX17.5/Ex17_5.sce | 3ccd413f7e9d40e41cee25b9812c125779a0d3fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 855 | sce | Ex17_5.sce | //Chapter 17: Antenna Temperature, Remote Sensing and Radar Cross Section
//Example 17-3.1
clc;
//Variable Initialization
k = 1.38e-23 //Boltzmann's constant (J/K)
trans_pow = 5 //Transponder power (W)
r = 36000e3 //Distance (m)
wave_lt = 7.5e-2 //Wavelength (m)
ant_gain = 30 //Antenna gain (dB)
earth_an... |
da806c9036d2631c06668f30d73cd15961e036c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH7/EX7.2/2.sce | d686957747a629a3f922ad4d9080b726a425d795 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 611 | sce | 2.sce | clc;funcprot(0); //Example 7.2
//Initializing the variables
x = 120*(2*%pi)/180; //Theta
r = 1;
v0 = 0.5;
q = 2;
//Calculations
function[y] =shi(r,theta)
y = v0*r*sin(theta) +q*theta/(2*%pi);
endfunction
//--Approx differentiation at a point using central difference formula--//
h=0.0000001;
at... |
c590a383c323716035441702419a5790f029d73a | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH14/EX14.1/Chap14_Ex1.sce | 8417234c0e32b5fb044776e896ac320ea74cd1ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,633 | sce | Chap14_Ex1.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-14, Example 1, Page 343
//Title: Flow with Elutriation
//==========================================================================================================
clear
clc
//INPUT
Fo=2.7;//F... |
3bdb2d96e8235171e741ef2f29b1c7bdfa4702ab | e58ee115056e7db70e0a5c071ab5146400e8e539 | /funcoes_sc.sce | ac2fdaaa8e2b7ee3ba1b0d55e4c5f2d904bc40bf | [
"MIT"
] | permissive | mofreitas/algoritmosSistemasControle | 7236f5a4020f242a8db69e641c817ad99a8638ef | fb666ab6708554caa8259e1f505f35225d1046c8 | refs/heads/master | 2020-07-07T20:30:51.712572 | 2019-08-20T23:47:44 | 2019-08-20T23:47:44 | 203,469,282 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,032 | sce | funcoes_sc.sce | i=%i;
//Observador de estados
function[] = observador(A, B, C, polos)
V = zeros(length(polos), length(polos));
for i=1:length(polos),
V(i,:) = C*(A^(i-1));
end
printf("Matriz V/Wo ------------------------\n");
disp(V);
if(rank(V) == size(V, 'r')) then
printf("\nSi... |
7a907f5221912b19d97fab0d6b6e1884cb8d2c7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH1/EX1.7/Exa1_7.sce | b579f326f098e2aaf992fc9f6ced375e759b66a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,031 | sce | Exa1_7.sce | //Exa 1.7
clc;
clear;
close;
//given data
Ri=600;//in kohm
Vopp=5;//in volts
VEE=15;//in volts
VT=25;//in mVolts
VD=0.7;//in Volts
BETAac=100;//unitless
BETAdc=100;//unitless
VBE=0.7;//in volts
BETAact=BETAac*BETAdc;//unitless
//formula : Ri=2*BETAact*(2*re1)
re1=Ri/(4*BETAact);//in ohm
//formula : re1=... |
488daedde0b83172a9b6d7fc350b2f4493af584c | f95a4301aef1a5e8894c410a4841c1bd95c7b14c | /variable/ivpsolver.sce | 35149111f9b709ab8e605fbe0ebc12aa26601636 | [] | no_license | e-scheiber/scilab-ivpsolvers | ee827f13a23d483be1e0863551a3fd314b94ddfc | 0db0a69d57c1f958880d391f268648258f9f984b | refs/heads/master | 2021-01-15T10:42:41.821051 | 2017-08-07T16:26:26 | 2017-08-07T16:26:26 | 99,597,309 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,942 | sce | ivpsolver.sce | function [u,x]=ivpsolver()
// Dispatcher function
// Initializes the data
[deri,x0,y0,h,n]=datas()
// Calls the IVP solver
[u,x,Nf]=picard(deri,x0,y0,n,h)
printf('Number of calling f : %d\n',Nf)
// Computes the real solutions
s=zeros(n+1,length(y0))
for i=1:n+1 do
s(i,:)=so... |
f9f20256aecd09ce0981768c24966ecf878b7825 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH4/EX4.13/ex_4_13.sce | 5fccf8919085318acc10c1186935f17be6a9eab5 | [] | 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 | 506 | sce | ex_4_13.sce | //find the internal diameter of the tyre and least temp upto which type must be heated
clc
//solution
//given
D=1200//mm//diameter of wheel
f=100//N/mm^2//stress
E=200*10^3//N/mm^2//young's modulus
a=6.5*10^-6//per degree celcius
//we know stress/strain=E
//100/x=E
x=100/E//
//x=(D-d)/d
//x=D/d-1
d=D/(x+1)... |
a2b0f8312dc89c6b072165d15f71466fed7aff86 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/metanet/l2g.sci | c6dc3e207149f8247ecaaf59fdf8fd4ea4bbb4b5 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sci | l2g.sci | function g1=l2g(a1,p1,s1,dir)
[a2,p2,s2]=compl2(a1,p1,s1,dir)
[he,ta]=compht(a1,p1,s1,dir)
m=prod(size(s1)), n=prod(size(p1))-1
if dir==1 then ma=m, mm=2*m
else ma=m/2,mm=m, end
g1=list(' ',dir,m,n,ma,mm,a1,p1,s1,a2,p2,s2,he,ta,...
n,1:n,ma,1:ma,...
0*(1:n),0*(1:n),0*(1:n),0*(1:n),0*(1:n),0*(1:ma),...
0*(1:ma),0*(1:ma... |
f2c51ffb0e99b883d27c4f80327f1e9792438d9f | 463377b6374a24bbe111707a34e24949f3bd2543 | /fitch.sci | b72b4729c5b2958e1a1a3a7c142d04837da6f354 | [] | no_license | solothinker/Scilab-Identification | 3a46c0f3b8b1a7430f8a799be5e1310e2723b535 | cdad0d7292c31c29d377b640f6966a7c3bb81bb9 | refs/heads/master | 2022-01-05T12:39:07.410803 | 2019-06-15T02:18:13 | 2019-06-15T02:18:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,315 | sci | fitch.sci | function varargout = fitch(varargin)
[lhs , rhs] = argn()
if ( rhs <> 1 ) then
errmsg = msprintf(gettext("%s: Wrong number of input arguments"), "fitch");
error(errmsg)
elseif typeof(varargin(1)) <> "idpoly" then
error(msprintf(gettext("%s:Input model must be ""idpoly"" type.\n"),"fitch"))
end
... |
4eaab3f9420e35b338fa2d621b0d3c61f26a3844 | 2eac84edf941c64588fef76f10d02309aabcb2fb | /Library/Basic/Scilab/builder_x64.sce | 3afa0717cd07ad60d9bac6a5e7b0d06b2ab30e05 | [
"BSD-3-Clause"
] | permissive | AlexisTM/X2C | fdd93bd33b931ea448ba516f5e3f9af6a5149a6a | 31f39b598afe271a7fd46ef1ee9e06c410b1120c | refs/heads/master | 2021-08-07T04:26:24.391617 | 2017-11-07T14:34:33 | 2017-11-07T14:34:33 | 109,844,123 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,142 | sce | builder_x64.sce | // Copyright (c) 2014, Linz Center of Mechatronics GmbH (LCM) http://www.lcm.at/
// All rights reserved.
//
// This file is licensed according to the BSD 3-clause license as follows:
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followin... |
e1e0f36b7dcfef7361fe8cbc82729e92da3218eb | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/fraclab/MFAG_net.sci | d6ff5f1d738335ad9d74b285bbb474c28cf60941 | [
"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 | 3,581 | sci | MFAG_net.sci | function [min_sp,min_lsp,nsp]=MFAG_net(n,m,lp_norm);
// This Software is ( Copyright INRIA . 1998 1 )
//
// INRIA holds all the ownership rights on the Software.
// The scientific community is asked to use the SOFTWARE
// in order to test and evaluate it.
//
// INRIA freely grants the right to use modify the Sof... |
00c0dddf83c7d847c9ccf7b20534b603b70efc31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH18/EX18.17/Ex18_17.sce | 005607caf77451511464ed9351017736bccbabbb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | Ex18_17.sce | //Initilization of variables
m1=5 //kg
m2=7 //kg
mp=5 //kg
r=0.6 //m
k=0.45 //m
vi=3 //m/s
vf=6 //m/s
g=9.8 //m/s^2
//Calculations
I=m1*k^2 //kg.m^2
wnet=(vf/r)-(vi/r) //rad/s
//Solving the system of linear equations
//Simplfying the equation we get
t=((I*wnet)+m1*(vf-vi)+m2*(vf-vi))*r/(r*(m2-m1)*g) //s
... |
35b1d7c2eb6aa25f7dc48d413c51e9c4c7ca4283 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH3/EX3.12/exa3_12.sce | 5066e9893f7a61592b6d0a61fe04c09af7d652b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | exa3_12.sce | //Exa 3.12
clc;
clear;
close;
//given data
k=30;// in W/mK
h=100;// in W/m^2K
T_infinite=300;// in degree C
d=2*10^-2;// in m
t=1*10^-3;// in m
err=1;// in % of applied temperature difference
// Formula m=sqrt(h*rho/(K*A)) and rho=%pi*d and A=%pi*d*t, putting value of rho and A
m=sqrt(h/(k*t));
// From (... |
765b185ff0f7111aefef57b6df6107ba569c5ec8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH7/EX7.11/7_11.sce | bd997839a11918f896eef6aa364358c778f319fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,086 | sce | 7_11.sce | //Example 7.11
//Newton's Divided Difference Interpolation
//Page no. 247
clc;close;clear;
x=[-1,1,2,3]
y=[-21,15,12,3];
y1=y;h=0.0000001
deff('yi=P(a,b,d,e)','yi=(b(d+1)-b(d))/(a(d+e)-a(d))') //function for finding polynomials
for i=1:3
for j=1:4-i
z(j,i)=P(x,y,j,i)
y(j)=z(j,i)
... |
b7660642ec9d04c6eba5419de2176bad02734d76 | 4a1949be12fbe9a81d9308381b34c611e65877ca | /tests/arbre/2.tst | ac0de6cc827a1feca5a54e131414be2d4a794ecf | [] | no_license | ng88/trad | 26439d8fe2284ece19d6fbfaa397d3f6f0d13e78 | e4d3d4d56928539144d30c5c49e01e65c9b8729c | refs/heads/master | 2020-12-05T07:31:25.854231 | 2008-02-29T10:15:34 | 2008-02-29T10:15:34 | 67,351,952 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | tst | 2.tst |
class TEST
public TEST(string a, integer b, integer c, integer d, integer e, real f)
{
}
end
class MaClasse
public MaClasse() {}
public void main()
{
VAR integer a;
VAR TEST t;
a := 1 + 1;
t := new TEST("arg1", 2, 3, 4, 5, 6+6);
}
end
|
4bd36068cc98eb25aeda22b7779c042d10e0dc0a | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/WR25MDG/ATWM1_Working_Memory_MEG_WR25MDG_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | d6a677682f7600657ca627a0a1008fd3e9921f8f | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,599 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
e2d80591f8a4d919f6fdf066216f0abdd1f78db3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH7/EX7.6/Example_7_6.sci | 40ee58c6e1c685a1dd0c877a917c3850759e8da7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,427 | sci | Example_7_6.sci | clear;
clc;
printf("\n Example 7.6");
A=0.6*0.6*%pi; //in m^2
rate=1.25*10^-4; // in m^3/s
v_w=0.2/(3*10^3);
v_f=10^-3-v_w;
v=v_w/v_f;
v_rate=rate*v;
w=360*0.2;
t=v_rate*w/A;
printf("\nThickness of cake produced is : %.1f mm",t/10^-4);
K = poly([0],'K');
K1 = roots((1.25*10^(-4)*360)^2-K*(6... |
c52614cce04e45b5c16c947d443af3eb29fc2ed8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos/do_load.sci | 60b0adc1d67602e26e31254831722cedbcd5e1da | [
"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 | 1,608 | sci | do_load.sci | function [ok,scs_m,cpr,edited]=do_load(fname,typ)
// Copyright INRIA
[lhs,rhs]=argn(0)
edited=%f
if rhs<2 then typ='diagram',end
if alreadyran&typ=='diagram' then
do_terminate(),//end current simulation
end
current_version=scicos_ver
scicos_ver='scicos2.2' //default version, for latter version scicos_ver is stor... |
ff5169b75b386dcdb65bbd1926a02d41050ab26a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH8/EX8.19/example19.sce | d39cce0ca7fb4ac5d2e352765f6dd07ab71c968f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | example19.sce | s=%s ;// convert to state space
TFcont=syslin ('c',(s+2)/(s^3+3*s^2+2*s+10))
SScont=tf2ss (TFcont )
[Ac ,Bc ,U, ind ]=canon( SScont( 2 ) , SScont( 3 ) )
disp(Ac,"Matrix A=")
disp(Bc,"Matrix B=")
C=[2 1 0]
disp(C," Matrix Ct=")
|
d7e65917fa49e2138fdc742b7798fd38ef0d33f7 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/preproc_constants_runme.sci | adbd1af7ea927ffe6f20bf234fca598413efaa1e | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | preproc_constants_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:0b83a374c28cc9a4b678a18e23c5626457861291380c9936a675eefb08b705f5
size 889
|
1013343e1f6c253af7d0d6313108854fdddcf963 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH1/EX1.6/ex1_6.sce | 42785e8f0be68692f8b15e2b3aec5ab53a313a84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sce | ex1_6.sce | // Exa 1.6
clc;
clear;
close;
format('v',6)
// Given data
R1= 2;// in ohm
R2= 4;// in ohm
R3= 6;// in ohm
V1= 4;// in V
V2= 44;// in V
//Applying KVL in ABEFA : -R1*I1 + R2*I2 = V1 (i)
//Applying KVL in BCDEB: R3*I1 + I2*(R2+R3)=V2 (ii)
A= [-R1 R3; R2 (R2+R3)]; // assumed
B= [V1 V2];// assumed
I= ... |
fbf0e676c1e42e35f28b2e9c2712c4d182be4b09 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/59.tst | 2aa71e555fc57a13b0807a4555f01773a8ca3ee6 | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | WINDOWS-1251 | Scilab | false | false | 42 | tst | 59.tst | int f(float x, int x); /* ошибка */
|
a4661033dc29c54d729f8ae9c5a24f72e1d35330 | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /subfuntiondemo.sci | 0dd2846e1e0ae0102797c76e9d917f7f49e4aa5a | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sci | subfuntiondemo.sci | //SCI2C: DEFAULT_PRECISION= FLOAT
function subfuntiondemo()
a = 10;
b = 7;
c = a - b; //d0d0OpMinusd0
disp(c)
endfunction
|
96eb66c2577c93751a593a0f5da8cafee90947a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH3/EX3.27/example_27.sce | e99d03ca8820fa2c71abd557161ac2e99ccffc33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 762 | sce | example_27.sce | clc
clear
printf("example 3.27 page number 114\n\n")
//to find the area of heating surface
F = 1000 //in kg
xF = 0.01
solid_feed = F*xF;
water_feed = F - solid_feed;
tF = 40 //in degree C
hF = 167.5 //in kJ/kg
xL = 0.02;
solid_liquor = 10 //in kg
L = solid_liquor/xL;
tL = 100 //in degree... |
f8c703c2fda65b998756ebdeea7e7f4414ee5754 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH17/EX17.4/174.sce | 4a1708b39140585910ed308d184096ec081275d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | 174.sce | clc;
//Example 17.4
//page no 208
printf(" Example 17.4 page no 208\n\n");
//a pump is in process
//given: parabolic pump pressure flow
//P=a-b*q^2 equation
//a and b calculate from conditions
a=25
b=5
//then equation becomes P=25-5*q^2
//pressure at 1m^3/s flow rate
q=1//flow rate,m^3/s
P=a-b*q^2//pre... |
5c31c77db0a250f8ee276adb962af96e9aae2009 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH7/EX7.25/ex_7_25.sce | 1c7db219a50ab201b91176106c1be5dc7aea5e5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | ex_7_25.sce | //Example 7.25.//trailing weight and maximum gradiant
clc;
clear;
close;
format('v',6)
//given data :
w1=100;//tonnes
w=w1+500;//tonnes
we=1.1*w;//effective weight
alpha=1;//
G=1;//
r=45;//
ft=((277.8*we*alpha)+(98.1*w*G)+(w*r));//in newtons
ad=0.7;//adehsive percent
mu=(ft)/(100*10^3*9.81*ad);//
w2=130;//tonnes
ad2=w2... |
98516dbf0644d1894df0e8b0a9b2c0e0b7a7b21c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH9/EX9.1/ex9_1.sce | 9d0c9963e44f2c8faf7d59489f2d91b3c101c32d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 497 | sce | ex9_1.sce | // Exa 9.1
clc;
clear;
close;
format('v',5)
// Given data
R = 10;// in ohm
L = 20;// in mH
L = L * 10^-3;// in H
C = 0.05;// in µF
C = C * 10^-6;// in F
f_r = (1/(2*%pi))*sqrt( (1/(L*C)) - ((R^2)/(L^2)) );// in Hz
f_r = round(f_r * 10^-3);// in kHz
disp(f_r,"The resonant frequency in kHz is");
Q = (2*%pi*... |
792c387418502c0eb1fc3854136a26543adf608e | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/10_02.sci | e612973fa83b0a6f9cc4eb8a6797caa5b2bd746f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sci | 10_02.sci | //Tip Diameter in metres:
Dt=1.1;
//Hub Diameter in metres:
Dh=0.8;
//Operating Speed in rpm:
w=1200;
//Absolute inlet angle in degrees:
alpha1=30;
//Blade inlet angle in degrees:
betta1=30;
//Blade outlet angle in degrees:
betta2=60;
//Density of air in kg/m^3
p=1.23; |
58c01a28fbd2cb98adc37f109c7de332c829c245 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH3/EX3.13/ex_13.sce | c45fefecd762fb24dca360522973c950ed1920fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | ex_13.sce | // Chapter 3_The Semiconductor in Equilibrium
//Caption_Position of Fermi Energy level
//Ex_14//page 121
T=300 //temperature in kelvin
Ef=0.20;
kT=0.0259
ni=1.5*(10^10) //intrinsic carrier concentration
Efa=3*kT //Ef-Ea=3kT
Eav=0.045
Efif=Ef/2-(Eav)-(Efa) //The position of fermi level at the maximum doping
Na=... |
9ef15f35122c345124c60322424c84fdcee8380f | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH5/EX5.16/example_5_16.sce | fc17b2a36682c5740436631ce7e126cfcf69524b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sce | example_5_16.sce | syms G1 G2 G3 H1 H2
// combine the two summing points
a= G3+G1
b= G2/(1-(G2*H1))
c= a*b
Y=c/(1+c*H2)
disp(Y,"C/R = ") |
67bacd5f7c4de2afa1a600fe49bb49256cc4122c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.52/example4_52.sce | 480e6793e4ca2d304ec8f0a611178caa3ce0d726 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | example4_52.sce | //example 4.52
//find the equation of infiltration capacity
clc;funcprot(0);
//given
fc=1; //constant infiltration rate
ft=[10.4 5.6 3.2 2.1 1.5 1.2 1.1 1 1]; //infiltration capacity
f=ft(1)-fc;
t=[0:0.25:2];
for i=1:9
r(i)=ft(i)-fc;
end
for i=1:7
h(i)=log10(r(i));
end
s=0.775... |
c8153c34e921efac0e1d933bd3498e93ddf1f13b | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH16/EX16.4/16_4.sce | 42ffce1209950c890b97954bfa65b275c65cb1a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 937 | sce | 16_4.sce | pathname=get_absolute_file_path('16_4.sce')
ilename=pathname+filesep()+'16_4data.sci'
exec(filename)
Yc=(b^2 -t^2 +a*t)/(2*(a+b-t));
Xc=((((a/2)-a1+ 0.5*t)*a) +((b-t)*t/2))/(a+b-t);
Ixx=(1/3)*((t*((Yc-t)^3 -(Yc-b)^3))+(a*((Yc)^3 -(Yc-t)^3)));
P=a1- 0.5*t +Xc;
Iyy=(1/3)*((t*(P^3 -(P-a)^3))+((b-t)*(Xc^3- (Xc-t)^3)... |
3991f3810f0f0cdff525c46337abb5f8e34e0b5c | f7e981eeadbb0bba2edc23eccc7168670c099d2d | /bsp05.sce | 816659de245b98966f2c6e523dc41ffbd398f893 | [] | no_license | mr-georgebaker/Scilab-Exercises | bf1e79d68b856f92e2be86b6b002f4eb657ff0ef | fc63d68aeaf495da81a0c557a4f07192aacbd1c6 | refs/heads/master | 2016-08-05T01:37:09.841260 | 2015-05-22T18:24:17 | 2015-05-22T18:24:17 | 32,216,608 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,540 | sce | bsp05.sce | clear
// Calculates the activation energy E and the factor A for the formula
// K_i = A*exp(-E/(R*T_i))
// based on a lookuptable (Bsp05_Messdaten.txt) and regression analysis with least squares
// ||Mx - b|| = min
// where M_i = [1, -1/T_i]
R = 8.3144621
function D = open_file(path)
// Reads a file and returns a m... |
a212cd01798447376f07c4e22aa20143508d0fe0 | e708f81011d4a09a8ad1ee85f0c1872e1634f35c | /Documentation/Wrapping/Scilab/btk/sci_gateway/builder_gateway.sce | 33ebd1677591a63868b26717ec6b1fe421800488 | [
"BSD-3-Clause"
] | permissive | allardhoeve/BTKCore | ef26f818acf06780c3e57147097f65f2d72c1c27 | f6805699fe37f64ac6434a92736c6b59f0ea148d | refs/heads/master | 2020-04-27T07:58:51.948297 | 2019-03-28T11:03:41 | 2019-03-28T11:03:41 | 174,155,043 | 0 | 1 | NOASSERTION | 2019-03-06T14:27:02 | 2019-03-06T13:55:59 | C++ | UTF-8 | Scilab | false | false | 200 | sce | builder_gateway.sce | sci_gateway_dir = get_absolute_file_path('builder_gateway.sce');
tbx_build_gateway_loader([], sci_gateway_dir);
clear tbx_builder_gateway_lang tbx_build_gateway_loader;
clear sci_gateway_dir;
|
9c788ede40d94540d5f743ee3afd537af3be1e2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /824/CH4/EX4.6/4_6.sce | e735f4728825820406c83cc858e665bc0c0e90eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | 4_6.sce | //clear//
clc
clear
exec("4.6data.sci");
FT0 = FA0+FB0+FI;
yA0 = FA0/FT0;
e = yA0*(1-.5-1);
PA0 = yA0*P0;
kdes = k*PA0*(1/2)^(2/3);
alpha = 2*bita0/(Ac*(1-phi)*rhoc*P0);
W = (1 - (1-(3*alpha*FA0/(2*kdes))*((1+e)*log(1/(1-X))-e*X))^(2/3))/alpha;
disp("W")
disp(W)
disp("lb of catalyst per tube")
|
c153b5e7f59fb380deee49c267e770030f92e1c5 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Aula 6/Teste1.sce | e5ef1c1fff8589c0b5f4cf63ab14c6eb1aacd34c | [
"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 | 80 | sce | Teste1.sce | A = [12 1 4
8 -1 0
12 6 13]
disp(norm(A,1))
disp(norm(A,%inf))
|
ab51dd8bb8db1ef68ac948dd6015968619340a7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH7/EX7.2/Ex7_2.sce | bcc5fef405316b860dfb57bd729623c109bc434b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,133 | sce | Ex7_2.sce | // exa 7.2 Pg 200
clc;clear;close;
// Given Data
P=30;// kW
N=750;// rpm
//Tmax=1.2*Tm;// MPa
tau_s=35;// MPa
tau_b=35;// MPa
tau_k=35;// MPa
sigma_cs=70;// MPa
sigma_ck=70;// MPa
sigma_cb=70;// MPa
tau_ci=15;// MPa
pb=0.8;// MPa
//sigma_cs=2*tau_s;// MPa
//Tmax=1.5*Tm
mu=0.15;// coefficient of friction
//SHAFT DIA... |
f33d2a1d1236bff28d61be97e0c1c89725b4351a | b2efed85f1632d9ed4b7d9f4eebc7126d3074940 | /ted_mini/artandsci_positive/184.ted.sci | 9847a34cb77b8065e428f0516c5a4039ee14b012 | [] | no_license | joytafty-work/unsupervised_nlp | 837d8ed75eb084b630d75a1deba7bdd53bbcf261 | 7812c7d24bb677c90cf6397ed0e274caba1b884c | refs/heads/master | 2021-01-10T09:24:33.254190 | 2015-11-11T20:40:32 | 2015-11-11T20:40:32 | 45,651,958 | 2 | 7 | null | 2018-01-28T18:54:18 | 2015-11-06T01:42:42 | Scilab | UTF-8 | Scilab | false | false | 23,749 | sci | 184.ted.sci | well as chris pointed out i study the human brain the functions and structure of the human brain and i just want you to think for a minute about what this entails here is this mass of jelly three pound mass of jelly you can hold in the palm of your hand and it can contemplate the vastness of interstellar space it can c... |
9da1883e05e31b568bbbc1277ae01e8180d96f02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH5/EX5.4/ex5_4.sce | 9f2dc7ed3b7da54213539cb5990b9d5cf84e03ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,225 | sce | ex5_4.sce | clc;
V1=0.3; // Initial volume of water upto stop 1 in m^3
p1=1; // Initial pressure of water in bar
x1=0.2; // Dryness fraction at initial state (1)
p2=3; // Pressur required to lift the piston in bar
V4=0.45; // Volume of water upto stop 2 in m^3
vf1=0.001043; // Specific volume at state (1) from steam table in... |
8921c6f12e05f9e4e1e2b398b220f5bb9beca369 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH23/EX23.15/Ex23_15.sce | b029d0ee4fe0138194933ab30dd1ce1a3c9a4cb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sce | Ex23_15.sce | clear
//Given
v=100
//Calculation
//
l=12.27/sqrt(v)
//Result
printf("\n Wavelength of an electron is %0.3f A", l)
|
8ef16fe31e4e3076381e54c8bba6f7189f554674 | fd4b1f9f2f7fc4cac772482125a749e51c444ca1 | /Gerschgorin.sci | 85f4fac78c7d6e24283d1424473f186f36a9ae9e | [] | no_license | barufa/Metodos_Numericos | db0cb98dbf81654ec14f73cb34b84ba7c98ac52a | 012d08e8de6e971a38a32c9768f463ca58a07839 | refs/heads/master | 2020-03-15T22:49:33.054047 | 2018-09-03T13:18:24 | 2018-09-03T13:18:24 | 132,380,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sci | Gerschgorin.sci | function [C,R] = Gerschgorin(A,n)
C=%inf
R=-%inf
for i=1:n
r=0
d=0
c=0
for j=1:n
if i==j then
c=A(i,j)
else
r=r+abs(A(i,j))
end
end
d=r+c
if C>c then
C=c
end
... |
92f8977c51d15f4a9a8d62a455a74bddf70a0fba | e02aa9695b075784e5d6aba93cab02d1864f1039 | /Analyse/TP1/carre.sce | b9127fd69f69d66325418735e16329890475e705 | [] | no_license | michelprojets/Ensimag1 | 1a4cf84203f0e63a71ece278bf364d32d2219825 | b9ed4a050c7c548781a9e26d99747e8883c5c1f5 | refs/heads/master | 2021-09-13T15:47:16.632446 | 2018-05-01T18:17:26 | 2018-05-01T18:17:26 | 103,514,194 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 66 | sce | carre.sce | //fonction carre
function d = carre(x)
d = x .* x
endfunction
|
2a3f53711c984026cc1cfb477e45025a9d384104 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.107/EX2_107.sce | 3aebaf261b453738d4a6376d56a2b142fa501521 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | EX2_107.sce | //EXAMPLE 2-107 PG NO-145
Vm=100;
RMS=Vm/{sqrt(3)};
disp('i) RMS (RMS) is = '+string (RMS) +' ');
AVG=50;
FF=RMS/AVG;
disp('ii) Form Factor (FF) is = '+string (FF) +' ');
|
8e14a975d96903d419bd68c4b743fd763850a806 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH7/EX7.37/example737.sce | dffbf31186d0ec088e0e711b8a79d7dc060fc864 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 73 | sce | example737.sce | //Example 7.37
clc;
syms z n;
x=(1/2)^n;
X=symsum(x*(z^-n),n,0,%inf); |
813f008892127dcd0003877b4b3f855503608bd0 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /2-DOF_manual/2dof/2dof.sci | 96308d3b6ce9427695f150a42c7cd73ca05a8c6f | [] | 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,252 | sci | 2dof.sci | mode(0)
//2DOF Controller
//Heater input is passed as input argument to introduce control effort 'CO'
//Fan input is passed as input argument which is kept at constant level(disturbance)
//Range of Fan input :60 to 252
//Temperature is read
function [temp,heat,e_new] = twodof(setpoint,fan)
global temp CO u_new... |
323f1619ffd730eec8dc4d05477054cc526b9c5a | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/S00.prev.tst | 2906124776e128fda7ae01038f1da42b088ee56c | [
"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 | 65 | tst | S00.prev.tst | new PolyVector(" [ x^2 ,4 * y, y * z * 3 ] ") = [x^2,4*y,3*y*z]
|
a49ec04e8b4771badffd0f6c0fc279cef64e2f62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH7/EX7.17/Ex7_17.sce | 31f7834cc5b5837ff5b3fa9bf2a93ea1bec39421 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | Ex7_17.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 7 Field Effect Transistors Pg no. 254 and 255
clear;
clc;
//Given Data
//Figure 7.50
IDSS=15D-3;//drain saturation current in amperes
VGS0=-6;//cut-off gate to source voltage in volts
VDD=20;//drain supply voltage in volts
RD=470;//drain resistance in ohms
R... |
93becf124690782900526068029486cfc5067ecc | 97017a470429005680749e532db421e227811489 | /SampleDesign2/AddSub.tst | 11f48d2ff7f40f3660f71da8f83ae0bfef60876d | [] | no_license | Shradha97/CSD_Lab | fe8d688c4e166a2d1208379490567a7cdcf26956 | 75946ae44f4cafdea6c97941bb788afe6039f6f9 | refs/heads/master | 2020-07-12T02:52:18.602256 | 2019-11-18T21:04:50 | 2019-11-18T21:04:50 | 204,697,978 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 770 | tst | AddSub.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/02/Add16.tst
load Add16.hdl,
output-file AddSub.out,
compare-to AddSub.cmp,
output-list a%B1.16.1 b%B1.16.1 out%B1.16.1;
set a %B0000000000000000,
set b %B0000000... |
b1d63b5b8dd1f0aa5105a11d097676be76e819a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH14/EX14.6.b/14_6_soln.sce | ea0b5e39d81e103ed526d4fffb9dfc0496fdafa9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 14_6_soln.sce | clc;
pathname=get_absolute_file_path('14_6_soln.sce')
filename=pathname+filesep()+'14_6_data.sci'
exec(filename)
// Solutions:
// time required to achieve the desired vacuum pressure,
t=(V/Q)*log(p_atm/p_vacuum); //min
// time required to achieve perfect vacuum pressure,
t1=(V/Q)*log(p_atm/0.5); //min
// Results:
pri... |
42b643a83e60f26ae27857a0896fe10dab4b24ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH6/EX6.11.2/Ex6_2.sce | 57501ef5b1b9afd77d869c53b5c0cc5364b9caf9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,059 | sce | Ex6_2.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 6:Diode Circuits
clc;
clear;
//given data
Rf=100; //forward resistance in ohms
Rl=1000; //load resistance in ohms
n=10; //Primary to secondary turns ratio
Vp=240; //Primary input V(rms)
Vm=24*(2^(1/2))/2; //secondary peak voltage from cenre tap
Vs... |
2d7f3d6c4e2e72673794252fa09a986b37586ef1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH1/EX1.5/Ex1_5.sce | 101298f80e32c84a2abb9dd54c2825f137b702b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 961 | sce | Ex1_5.sce | //Ex1_5 Pg-45
clc
disp("Refer to the figure 1.55")
disp("(a) R_L varies from 1 ohm to 10 ohm.")
disp("Currents for two extreme values of R_L are")
Vs=10 //supply voltage
RL1=1 //resistance RL1
Rs=100 //source resistance
IL1=(Vs/(RL1+Rs))
RL2=10
IL2=(Vs/(RL2+Rs))
per_var_cur=((IL1-IL2)/IL1)*100
printf("\n Percentage var... |
91f14a1ae81f3aec911854de7561eba62733e593 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH4/EX4.21/ex4_21.sce | 330c03757248f5a0956298af57015abb2301cb0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | ex4_21.sce | clc
r1=0.3 //Assigning values to parameters
r2=0.01
x1=1.1
x2=0.035
kva=100
v1=2200
e1=v1
n1=400
n2=80
k=n2/n1
r01=r1+r2/(k*k)
x01=x1+x2/(k*k)
z01=sqrt(r01*r01+x01*x01)
e2=k*e1
i2=kva*1000/e2
r02=k*k*r01
x02=k*k*x01
t=acosd(0.8)
pr1=(i2*r02*cosd(t)-i2*x02*sind(t))*100/e2
v2=e2-(e2*pr1/100)
disp("ohms",z01,"The e... |
4518e2019e35a148331eb0fe15f41760a0d8f3fd | 06a62d768e69fd9dda11b30011c252807e301813 | /pgm15.sci | 81adf691e5c92c159603bff14bda20a568ad0511 | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | sci | pgm15.sci | function [y] = pgm15(t)
r = 0.35;
g = 9.8;
v0 = 20;
vr = g/r;
y = ((v0 + vr)/r)*(1-exp(-1*r*t)) - (vr*t);
endfunction
|
30502a59b8d9602c92d4cae43dc675daf98e405f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH3/EX3.1/3_1.sce | 1cad54dffb95453ad48f8a1989b387cf5fc8bf30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 562 | sce | 3_1.sce | //ques-3.1
//Calculating weight average and number average molecular mass of polymer
clc
n1=10; m1=5000; //Type-1
n2=20; m2=7500; //Type-2
n3=20; m3=10000; //Type-3
n4=25; m4=15000; //Type-4
n5=20; m5=20000; //Type-5
n6=5; m6=25000; //Type-6
N_avg=(n1*m1+n2*m2+n3*m3+n4*m4+n5*m5+n6*m6)/(n1+n2+n3+n4+n5+n6);//Num... |
706a12332f11156b2d38e95d642a99662f32a30e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH7/EX7.3/Ex7_3.sce | 505c50461aa891ff8ca68988f6e21e834556f6c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Ex7_3.sce | // Given Data
// given data
clear();
clc();
u0=15.0 // wind speed in m/s
R=80/2.0 // radius of rotor in m
n=3 // number of blades
Lambda=4*%pi/n // condition of tip ratio for maximum output
w=Lambda*u0/R // using Eq 7.21 rotor speed in rad/s
N=w*60/(2*%pi) // rotor speed in RPM
printf( "For optimum en... |
7b1e2f6ca0224a6a705786803bc017fb577b1af5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH12/EX12.5/ex_12_5.sce | d2514ea37c244f96e57bf372eac06321f8281146 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | ex_12_5.sce | //Example 12.5: SBS threshold power
clc;
clear;
close;
//given data :
gb=4*10^-11;// in m/W
A_eff=55*10^-12;// in m^2
L_eff=20;// in km
lamda_p=1.55;// micro-m
n=1.46;// constant
Va=5960;// for the silica fiber in m-s^-1
Vb=(2*n*Va)/lamda_p;
del_v=100*10^6;// in Hz
del_Vb=20*10^6;// in Hz
b1=1;
b2=2;
P_th=((21*b1*A_eff... |
89523e0df25cbb81e01d61971652f6d954a84085 | b948892b36eefdb35c47c821c51f69bb60989633 | /DownSampler.sce | 97625dee08eb654c3e8efb7a584e14645c0359d5 | [] | no_license | lucas-medeiros/Digital-Signal-Processing | c5479eab20119e72ccb6adfe1c1d45fddf6dae7c | ba329ce5e5f6ca9ba7d46faba8661e9344627f9d | refs/heads/master | 2020-07-15T04:51:18.868263 | 2019-08-31T02:20:15 | 2019-08-31T02:20:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | DownSampler.sce | function vet = DownSampler(sinal,M)
//M = input('Insira o valor de M: ');
if (M < 1) then //M deve ser maior ou igual a 1
printf('Insira um valor válido para M');
return
end
N = length(sinal); //tamanho do sinal de entrada
vet = zeros([1:1:N/M]); //vetor resposta tera tamanho ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.