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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1aea3b7a032d2800bd5fabe7dad0f82bc4f1073b | 94d8b66f6512f2f17f77000729fd8ac999484ed3 | /workspace/Analysis/General/2D-2Transponders-All.sce | b16151753d319807ce6be98b67a51cf28c8b5bc2 | [] | no_license | utctao/reliable-slam | 7885c098574afb5284675a6f022d368f7f303ba6 | 1f00c584d9dacfc17e31e0aa91b0d717998b0310 | refs/heads/master | 2021-01-20T19:49:49.038094 | 2013-07-22T21:50:55 | 2013-07-22T21:50:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,566 | sce | 2D-2Transponders-All.sce | //chdir(fullpath('../../Simulations/Scenarios/2D-2Transponders'))
cd /media/Documents/Etudes/ENSTA-Bretagne/Stages/ENSI3-UFRGS/reliable-slam/workspace/Simulations/Scenarios/2D-2Transponders
raw_file=read_csv('2D-2Transponders.res',';');
// avoid the first comment line + parse strings to double
data=evstr(raw_file(2:s... |
1e5980546c09a0a7fbe98f8cd40ab6f47846b9e3 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.11_12.tst | 721cad6617e63188c0d7fce13d6ef43f2816c3ca | [] | 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 | 35,883 | tst | bow.11_12.tst | 11 5:0.5 7:3.0 9:0.4 12:0.06451612903225806 15:1.0 31:0.14285714285714285 41:2.0 46:0.14285714285714285 50:0.5 53:0.25 59:0.16666666666666666 66:0.1111111111111111 105:0.07142857142857142 110:0.1 111:0.5 153:0.5 324:1.0 330:1.0 342:0.07692307692307693 348:0.3333333333333333 457:1.0 508:2.0 582:1.0 618:2.0 670:0.5 960:1... |
f50ae33f63752824372d9cef2032b3a783bb7dc8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH47/EX47.2/Ex47_2.sce | 128670c0e4720e6442aa8465152bd39075e18345 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 591 | sce | Ex47_2.sce |
//To Calculate the height of Passenger in the Ground Frame
//Example 47.2
clear;
clc;
L=6;//Height of Passenger in the train frame
v=3*10^7;//Speed of the train(in which the person is sitting) in m/s
c=3*10^8;//Speed of light in m/s
L1=L*sqrt(1-(v/c)^2);//Height of Passenger in the Ground Frame
... |
4dab9b65a0a476a51f0052df892747301f4bcaa2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH7/EX7.1/Chapter7_Example1.sce | 0627d50ec3e8e3136200161b2bf07ea922b4a270 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 797 | sce | Chapter7_Example1.sce | //Chapter-7, Example 7.1, Page 275
//=============================================================================
clc
clear
//INPUT DATA
Ta=20;//Temperature of air in degree C
Tp=134;//Temperature of heated plate in degree C
v=3;//Velocity of flow in m/s
L=2;//Length of plate in m
W=1.5;//Width of plate in ... |
e21d283d24da013838639f6fabfc0be4b7d36521 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH12/EX12.13/Ex12_13.sce | ae1c93cebc8a34d19155f335b682436254ae4a87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 818 | sce | Ex12_13.sce | //Fluid Systems - By - Shiv Kumar
//Chapter 12- Reciprocating Pumps
//Example 12.13
//To Determine the Crank Angle, at which there is no flow of water to or from the vessel.
clc
clear
//Given Data:-
D=17.5; //Bore diameter, cm
L=35; //Stroke Length, cm
d_s=15; ... |
f7485257cf904557a1a4ca294caff4180a2f7be4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2549/CH3/EX3.5.2/Ex3_5_2.sce | 9d06a47900e402704e6c9fbcad6ac9b3902ed37e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 990 | sce | Ex3_5_2.sce | //Ex3.5.2
//calculation of parameter for full wave rectifier ckt
clc;
clear;
//given
Rs=10;//resistance of transformer secondary winding
Rf=5;//forward resistance of diode
Rl=100;//load resistance
N=1/2;//ratio of no. of turns secondary to primary winding (Ns/Np)
V=240;//input ac voltage
Vs_rms=N*V;//rms seco... |
677a58ee228f09cebf60db9bf3808c8232c65c93 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/NU13TYH/ATWM1_Working_Memory_MEG_NU13TYH_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | d535de1d8d601d7d6636a38a76e13caed2ff3969 | [] | 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 | 48,617 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_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... |
293eeeb388c8d9f651f1c0ee1a3e02d5b489bbba | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH9/EX9.17/9_17.sce | d9741847a72acd59b86c2663f11126f7e2b8461e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | 9_17.sce | //relative stability
s=%s;
sys=syslin('c',(100)*(s+5)*(s+40)/(s^3*(s+100)*(s+200)))//K=1
bode(sys)
show_margins(sys,'bode')
gm=g_margin(sys)
pm=p_margin(sys)
disp(gm,"gain margin=")
disp(pm,"phase margin=")
if (gm<=0 | pm<=0)
printf("system is unstable")
else
printf("system is stable")
end |
a98b807c58f3315d1b09375efcd4ed751d01315f | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH10/EX10.12/10_12.sce | 5de267d2d3fb271971d9d7080b3541089e3d254f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | 10_12.sce | clear; clc; close;
B1 = 1*10^(6);
Avd = 200*10^(3);//converting from V/mV
f1 = B1;
fc = f1/Avd;
disp(fc,'Cutoff frequency(Hertz) = ')
|
f9864a892e83d4196079a121251393823194026b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH21/EX21.3/21_3.sce | aedca974735be0c4e5d7bc2679d8d5ca8c9c15be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,433 | sce | 21_3.sce | clear
clc
//Example 21.3
disp('Example 21.3')
T=70;sigma=3;p=100;//p is the no. of samples
x=grand(p,1, "nor", T, sigma);
delta=0.5*sigma;
x(11:$)=x(11:$)+delta;
//Limits for Shewart charts
UCL_1=T+sigma*3;
LCL_1=T-sigma*3;
subplot(3,1,1);
plot2d(repmat(UCL_1,1,p));
plot2d(repmat(LCL_1,1,p));
plot2d(x,style=1,rect... |
999b9bba79dda83a0eae47a00cb49991515d6396 | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH6/EX6.11/example_6_11.sce | 88513291b98268711379674f0b6fdfda582212c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 900 | sce | example_6_11.sce | //Chapter 6
//Example 6.11
//Page 160
//terminalvoltage
clear;clc;
//Given
P_g = 300e6;
V_g = 20e3;
X11_g = 0.20;
l = 64;
V_m = 13.2e3;
P_m1 = 120e6;
P_m2 = 60e6;
X11_m = 0.20;
T1_P = 350e6;
T1_vht = 230e3;
T1_vlt = 20e3;
x_T1 = 0.10;
T2_1_P = 100e6;
T2_1_vht = 127e3;
T2_1_vlt = 13.2e3;
x_T2 = 0.10;
x_line = 0.5;//onh... |
541363e27d25a3575d52f60a73de4d3c430da4ef | aaed93cd725f036a5d5147cdd752f4baa808be38 | /Algoritmos/grafico_autovalores_pesado.sce | caab92d9543af2888ed291653aac2a12079e94fc | [
"MIT",
"CC-BY-4.0"
] | permissive | alexkidd16/TCC-WhippleModel | 9758bbc56ca096a3420572d6d94c68e8c3b6c884 | 0db049ac52b7771d6f06276490aac6f198e420de | refs/heads/master | 2020-05-27T15:44:39.013191 | 2014-02-06T20:56:47 | 2014-02-06T20:56:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,523 | sce | grafico_autovalores_pesado.sce | w = 1.02 // base da roda (m)
c = 0.08 // trilha (m)
lambda = %pi/10 // steer axis tilt (rad)
g = 9.81 // gravidade (N/kg_1)
//Roda traseira R
rR = 0.3 // raio da roda (m)
mR = 2 ... |
b86327515f0673f7bc707d5d2f5b784618359193 | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/Link.sci | 2a4c57df168627dcef6c1ddecf13779db697ddd4 | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 8,070 | sci | Link.sci | // Link.sci create robot manipulator link
// www.controlsystemslab.com July 2012
//
// Link function returns a data structrue that holds all information related
// to a robot link such as kinematics parameters, rigid-body inertial
// parameters, motor and transmission parameters.
//
// theta kinematic: j... |
6133f4ebcf9e85171973b9ce2b646a08d3dd8c7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/4_28data.sci | 96baa85677853841e70ae8f16e37442a4c0635a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 711 | sci | 4_28data.sci | //In this example flow over the wing is both turbulent and laminar.so to find drag we need to find drag on both laminar and turbulent layer and add them.
b=12.202;//wing span in meter
S=23.69;//wing area in m^2
c=S/b //wing width
Ret=6.5*10^5;//transition reynolds number or critical reynolds number
D=1.225;//densi... |
93f05cffe9af48d8f67be1acc4e9a17a99ef88b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH15/EX15.6/15_6.sce | 15f88ac08bcea6df43dfffbd19c863d42e2e4f64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | 15_6.sce | //example 15.6
clc; funcprot(0);
// Initialization of Variable
//solving for Ts
Tinfinity=293;
Tsurr=303;
epsilon=0.5;//emmisivity
alpha=0.8;
G=2000;
h=15;
sigma=5.67e-8;
deff('y=f(x)','y=alpha*G-h*(x-Tinfinity)-epsilon*sigma*(x^4-Tsurr^4)');
[x]=fsolve(307,f);
disp(x,"temperature in K");
disp(x-273,"temp... |
30348efe90bf4070b3adeb9a8b3b98975d2faf70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH19/EX19.7/19_7.sce | aaed16aeb29a146a44dd54b13e173e0dd9208844 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | 19_7.sce | //Aeroplane
//refer fig. 19.10
r=1300 //m
W=8 //kN
v=(400*1000)/(60*60) //m/sec
//Angle of bank
alpha=atand((111.111^2)/(9.81*1300)) //degree
//Lift under flight condition is
N=80*((cosd(alpha))+(((sind(alpha))*111.111^2)/(9.81*1300))) //kN
printf("\nalpha=%.2f degree\nN=%.2f kN",alpha,N)
|
b90c68b50f787d6b864232f569e13cb5bca04ee8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH3/EX3.23/Ex3_23.sce | 3fa1a68aa1c93540bca0a0ae297fab58a99ab62d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | Ex3_23.sce | //EX3_23 PG-3.59
clc
Rf=0.1;//riplle facto
Edc=10;
Vrip=Rf*Edc;//rms value of voltage
printf("\n rms value of ripple voltage is %.0f V \n ",Vrip)
Vp_p=2*sqrt(2)*Vrip;
printf("\n peak to peak voltage is %.4f V ",Vp_p)
|
a5f86530c09f63b3c11a6cd24096c1fc0e302161 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_oo_aspfin_d/~BivLCM-SR-bfas_oo_aspfin_d-PLin-VLin.tst | 058e0d0e8ccedec86c6194d3e963fed7b1b89dc3 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_oo_aspfin_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.274905D+00
... |
adb5a26df9f7f3b952ef8d5f5d5b828647c2917e | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH5/EX5.9/5_9.sce | e44d632f23ad1b1b0c71a13459eafe420b0d13cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 922 | sce | 5_9.sce | //Eg-5.9
//pg-232
clear
clc
A = [0 1 1.5;-5 -0.5 1;-1 2 3.5];
z = [1;1;1];
lambda = zeros(3,1);
z_in = z;
for(i = 1:50)
a = A*z;
b = (sum(a.^2))^.5;
lambda(1) = b;
z = a/b;
z0 = z;
end
B = A - lambda(1)*eye(3,3);
y = B*z_in;
for(i = 1:50)
c = B*y;
d = (sum(... |
a28dac010efef431ef081d86c07260ec3e068f73 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/percent/%l_n_m.sci | e4a4980aa5b08efac643bc14c911f235504b9e0c | [
"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 | 104 | sci | %l_n_m.sci | function [r]=%l_n_m(l1,l2)
//%l_n_m(l1,l2) <=>l1==l2 l1 list l2 function
//!
// Copyright INRIA
r=%t
|
1c0759adc4336635da4fff77f9c2a807c9d8101b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH8/EX8.8/example8_8.sce | 72d70845801fbead49e5e62d860df9ca33abeb04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,130 | sce | example8_8.sce |
//example 8.8
//calculate Heigth of dam when
//no tension is permissible
//factor of safety against slidingis 1.5
clc;funcprot(0);
//given
wb=3; //width of dam;
miu=0.5; //coefficient of friction
Sg=2.4; //specific gravity of masonary
gamma_w=9.81; //unit weigth of water
c=1;
/... |
94c68a7fc458b8c427b97499be77eb7d97d195ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH12/EX12.4/Ex12_4.sce | 0ea7b47b4fcdc2289d33d9867cf5ecfdab0c8577 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | Ex12_4.sce | Bc=1.25*10^6
Rb=9600
SrmindB=3
Srmin=10^(SrmindB/10)
Mmax=(Bc/Rb)*(1/Srmin)//maximum no. of simultaneous users
SrmaxdB=9
Srmax=10^(SrmaxdB/10)
Mmin=(Bc/Rb)*(1/Srmax)//minimum no. of simultaneous users
mprintf('A single cell IS-95 CDMA system can support from %i to %f users',Mmin,Mmax)
|
f2a759971b224a70c3e61527ea17828f361ee5ca | 046ea46a778b27d8ff89beae826af39101e25bd4 | /seqperiod/seqperiod_testcase.sce | 0f1a06cc2cb50de5c8d99d2eed902a62c2209516 | [] | no_license | deepankarc/scilab-toolbox-testing | f804143f17f124589f19bc4755265847d235bb1c | a0e75160748321b6a6e5873615e00f98fb0d96ed | refs/heads/master | 2021-06-15T08:01:50.929704 | 2017-03-15T07:27:31 | 2017-03-15T07:27:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,624 | sce | seqperiod_testcase.sce | // test cases for seqperiod()
funcprot(0)
exec('seqperiod.sci',-1);
// ***********
// Test case 1
// ***********
x = [1 2 3 3 2 1 1 2 3 3; 0 0 0 5 0 0 0 5 0 0]
desiredRes = [6 4 1.67 2.5];
[p,num] = seqperiod(x);
res = [p num];
assert_checkalmostequal(res,desiredRes);
// repeated incomplete sequ... |
bc30268f2688857a0b6405db8aa05e2901248feb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH2/EX2.3/Ex2_3.sce | 0a261adbd6157d1f183063fe5ca48204e8490934 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | Ex2_3.sce | h1=1
k1=0
l1=0
h2=1
k2=1
l2=0
h3=1
k3=1
l3=1
a=1
//Calculations
d1=a/(sqrt(h1**2+k1**2+l1**2))
d2=a/(sqrt(h2**2+k2**2+l2**2))
d3=a/(sqrt(h3**2+k3**2+l3**2))
//Result
printf('d1 =%0.2f\n",d1 )
printf('d2 =%0.2f\n",(d2))
printf('d3 =%0.2f\n",(d3))
printf('d1:d2:d3 =%0.2f:%0.2f:%0.2f",d1,(d2),d3)
|
a80ebd9886bf5069f861f7e87bd0f459ea6280ca | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_S._L._Kakani_And_K._C._Bhandari_2825.zip/Electronic_Devices_And_Circuits_S._L._Kakani_And_K._C._Bhandari_2825/CH21/EX21.6/Ex21_6.sce | e07f04e459bc0aefbec300e58f18f5559f08aed7 | [] | 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 | 328 | sce | Ex21_6.sce | errcatch(-1,"stop");mode(2);//Ex21_6 Pg-1070
C=0.01*10^(-6) //capacitance in farad
f0=2000 //frequency in Hz
Req=1.45/(f0*C) //equivalent resistance or R1+R2
disp(" Because a square wavw has duty cycle of 50% each resistor must be the same")
R1=Req/2
R2=R1
printf(" R1 = R2 = %.2f kohm",R2*1e-3)
... |
e4a4a7ee5997c241d123c6077930746f3f71296d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3535/CH10/EX10.7/Ex10_7.sce | ec044083ac3439427c989e3cf53d0e6722e7d1aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | Ex10_7.sce | //Chapter 10, Example 10.7, Page 285
clc
clear
// Keff
Keff = 1/(1-0.0065*0.1)
printf(" Keff = %f \n",Keff)
//Answer may vary due to round off error
|
9118fe72adc3dc8095975addaf55707d42be37d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH2/EX2.29/EX2_29.sce | 4670066506b778378df432b15b411425f9a2930a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | EX2_29.sce | clear;
clc;
printf("\nEx2.29\n");
//page no.-72
//given
v=1.05*10^4;..............//speed of e in m/s
m=9*10^-31;......//mass of e
h=6.62*10^-34;......//planck's constant
del_v=0.0001;........//change in velocity
p=m*v;.................//momentum in kg*m/sec
del_p=p*del_v..........//change in momentum in ... |
1ebbcf6509eb39e5345923a32046882c0c9834b2 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Ransom Reaction Bot.sce | 38990422e83e2ea19881531c2125c22622aafe58 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 30,334 | sce | Ransom Reaction Bot.sce | Name=Ransom Reaction Bot
PlayerCharacters=Quaker
BotCharacters=Reaction Bot.bot;Static Marker Bot 1.bot;Static Marker Bot 2.bot;Static Marker Bot 3.bot;Static Marker Bot 4.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker
AddedBots=Reaction Bot.bot;Static Marker Bot 1.bot;Static Marker Bot 2.bot;Static Marker Bo... |
aef1461771f2f6ab0a8cb90cb338b932ac7dadcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH3/EX3.37/Chapter3_Exampl37.sce | fad7410fa13d6a8954d98426e993aae91cad4a91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 748 | sce | Chapter3_Exampl37.sce | clc
clear
//INPUT DATA
cp=1.005;//specific pressure
cv=42000;//specific volume
R=0.287;//gas constant
g=1.4;//constant
t1=300;//temperature in K
t3=1000;//temperature in K
Rp=5;//Pressure ratio
ma=42.93;//mass of air
mf=0.5;//mass of fuel
nc=0.8;//compressor efficiency
nt=0.85;//turbine efficiency
//CAL... |
fa43ed276bc1cd02fda8b94e55d1e2756fee1bf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH2/EX2.3b/Exa_2_3b.sce | ec3e8ba9b2799cd969cb5753b184ff66b6839d3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_2_3b.sce | //example 2.3a pg.no.14
clear;clc;close;
x1=[0 0 0 0 0 1 1 1 1 ];
n=-4:4;
x2=0.5*x1//x[n]
x3=0.5*[x1(length(x1):-1:1)]//x[-n]
xe=(x2+x3);//even part
xo=(x2-x3);//odd part
a=gca();
a.thickness=2;
a.y_location="middle";
a.x_location="middle";
plot2d3('gnn',n,xe,rect=[-4 -1 4 1]);
xtitle('graphical representa... |
65d5b961cdd3fef0fb7918bb97299555cd4caedc | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/DEPENDENCIES/1_3.sci | 4321a7dfcf1849ed7d21f731e5c1d7fce5bca13b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 40 | sci | 1_3.sci | k = 0.23; //min^-1
v0 = 10;//dm^3/min
|
2ee29ec93c9c466470492b39ab49c84c31afad67 | 310f08c933909d2bce7a7c446faed77197d22cc5 | /lab5_approximation/lab5.sce | a72d511077db4fc323ad1646ec9908e646fc3c58 | [] | no_license | proxodilka/numerical-analysis-labs | 2bf58a70d52c2a6981d09d31c73c7c1df3384a1b | f970bda7e77efa1177e574f848e9bab935deb0dd | refs/heads/master | 2023-05-05T01:15:16.162980 | 2021-05-11T20:26:13 | 2021-05-16T19:48:28 | 356,952,590 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,116 | sce | lab5.sce | X=[0.351, 0.664, 0.978, 1.291, 1.605, 1.918, 2.232, 2.546, 2.859]
Y=[0.605, 0.265, 0.064, 0.116, 0.415, 0.728, 1.673, 3.138, 5.092];
x_approx = 0:0.1:3
function [y]=square_sum(x)
y = 0
for i=1:length(x)
y = y + x(i) ^ 2
end
endfunction
function [y]=approx(params, x)
a = params(1)
b = param... |
3b4a42bbe95fd865196c5c5b10f0da85890525ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH7/EX7.5/example5.sce | 5258ec89d8021186ca0ba30bfeb886a68d0344df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | example5.sce | // calculate collector-emitter resistance voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 7-5, page 232
clear;clc; close;
// Given data
Bdc=100
Vbb=15;// in volts
Vcc=15;// collector supply voltage in volts
Vbe=0.7;// in volts
Rb=1*10^6;//... |
d37979a5ab93479940844e78815b151d329b1f01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH5/EX5.23/Chapter5_Example23.sce | a8388505ab89469bee102fe0fa2fc55f781824a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | Chapter5_Example23.sce | //Chapter-5, Example 5.23, Page 215
//=============================================================================
clc
clear
//INPUT DATA
N=2000;//Speed of the engine
a=0.06;//Thermal diffusivity in m^2/h
//CALCULATIONS
t=1/(60*N);//Period of on oscillation in h
x=(1.6*sqrt(3.14*a*t))*1000;//Depth of pe... |
248f5dc53c4aa2514a5feca6e705a7e239c24916 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3890/CH3/EX3.14/Ex3_14.sce | 29bb6aa933ff26d6c53731f9c54adaa718d89a74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 760 | sce | Ex3_14.sce | //Electric machines and power systems by Syed A Nasar
//Publisher:TataMcgraw Hill
//Year: 2002 ; Edition - 7
//Example 3.14
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
Q=25; //power in kvA
v1=440; //primary voltage in V
v2=220; //secondary voltage in v
vO=220;Io=9.6;Po=710; //open circuit p... |
c2f5b8f58dd18ab5bea998ee5dcef435df92c805 | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /Simulation_Codes/lab10_18i190002/tv.sce | 13e819b3f28c00c6750b47db822525e4ec407c6e | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 596 | sce | tv.sce | demand = [3028
5872
4391
4226
5888
5338
4945
2711
5478
2594
9474
8005
8969
8081
8407
9590
9317
9990
9651
9036
5707
5661
5953
5175
5273
5818
5721
6491
5730
5224
6279
2855
9803
3120
860
7947
4337
3648
6530
8429
3234
4633
5159
761
7936
7065
9339
4322
3822
7663
3644
7620
... |
3d2ba84a172f0ecf04c155841b7f06aa0b93468f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH1/EX1.24/Ex1_24.sce | 57fb10b48db30de292b7066e5b35371cf9a56c75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Ex1_24.sce | //Example 1_24
clc();
clear;
//To calculate the refractive index of the liquid
lemda=5.895*10^-7 //units in mts
D=0.3*10^-2 //units in mts
R=1 //units in mts
n=5
u=(4*R*n*lemda)/D^2
printf("The reractive index of the liquid... |
e6c6406d907c7937a65df93f1a7ba375af5e8bf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH6/EX6.20/ex6_20.sce | 64a35e08aeb234f131902277f4c085a69e25c1b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,047 | sce | ex6_20.sce | //Programming Example 6.20
//Encoding a string of characters
//read in the entire string
line=input("Enter a ine of text : ","string"); //scanf in scilab do not accept space
//input serves the work of oth printf and scanf here and exits as new line character (enter) is encoun... |
902587dea92a406f347f4ac898cf6e83a2fc6f00 | 52d9841ccd56eacdf87597ee3666ce340445b089 | /003-SAP-webservices/ws-tools/fix-attr/fix-it.tst | f1ceba18089a8bb504ba2f1ed9ed1c0e6ab59739 | [] | no_license | jTyma/_RepositoryNET | 594667851c6829391d47460c8732123ff49b55f0 | 71c312268a093fa18e723714cc80dc6cd1548470 | refs/heads/master | 2021-01-22T11:54:47.031544 | 2014-04-04T13:12:13 | 2014-04-04T13:12:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 78,686 | tst | fix-it.tst | PL/SQL Developer Test script 3.0
1493
-- Created on 3.7.2008 by AVI
declare
procedure set_values (nbr varchar2, sap_id varchar2, s_code varchar2) is
rc number;
poc number;
begin
select count(*) into poc
from subs s
inner join prod p on (p.id=s.id)
where s.acc_nbr=nbr and p.prod_state='A'... |
620d0dc4fcc29c574e09f98f99b23c859bc3b0fa | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Throbbing Flick.sce | a00f436dd0306c909e1563ba166fa11fb92cc425 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 83,411 | sce | Throbbing Flick.sce | Name=Throbbing Flick
PlayerCharacters=TF Challenger
BotCharacters=TF Large Target.bot;TF Small Target.bot;TF Timekeeper.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=TF Challenger
AddedBots=TF Timekeeper.bot;TF Large Target.bot;TF Large Target.bot;TF Large Target.bot;TF Small Target.bot;TF Small Target.bot;TF Small... |
ce332a33cce9f62aa0a45f5b14da4386a614ca8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH5/EX5.2/IPV_2.sce | e83b9948d6f70b4391a57b39d313cf6be0e566be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | IPV_2.sce | // sum 5-2
clc;
clear;
//Elastic limit=sige
sige=310;
//inside diameter=di
di=300;
p=1.8;
FOS=2;
//design stress=sigd;
sigd=sige/2;
c=0.162;
d=380;
//cover plate thickness=t;
t=d*sqrt(c*p/sigd);
t=17;
M=di*p*t/4;
z=(1/6)*1*t^2;
//bending stress=sigb;
sigb=M/z;
// printing data in scilab o/p wi... |
bace946bbb952d89d288f5118a7ad4d465ed78b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH9/EX9.13/9_13.sce | 4615efd52af6c754f17010fa1613fa967702dc50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 627 | sce | 9_13.sce | x1 = 1; x2 = 0.8;
// at 0.2MPa
vg = 0.8857; v1 = vg; hg = 2706.7; h1 = hg;
m1 = 5 ; V1 = m1*v1;
// at 0.5MPa
m2 = 10;
hf = 640.23; hfg = 2108.5
vf = 0.001093; vfg = 0.3749;
v2 = vf+(x2*vfg);
V2 = m2*v2;
//
Vm = V1+V2;
m = m1+m2;
vm = Vm/m;
u1 = h1;
h2 = hf+(x2*hfg);
u2 = h2;
m3 = m;
h3 = ((m1*u1)+(m... |
2671f0c48520001f0130aae6461246186a353463 | 948c6e0314c1822f872350cf63aaceb3d28fa497 | /tests/test-print-UTF-32BE.tst | aed553839e5dde4ad9a74a1585b22b13f54a0098 | [
"Apache-2.0"
] | permissive | archiecobbs/bom | 832eb815b40f4955e6551496bdd2598cb4f00442 | 0bab1a015bb5e53345e5422902e16f802bd4c07f | refs/heads/main | 2023-08-25T05:43:51.470221 | 2021-11-04T16:12:49 | 2021-11-04T16:12:49 | 417,213,171 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | tst | test-print-UTF-32BE.tst | FLAGS='--print UTF-32BE'
STDIN=''
STDOUT='\x00\x00\xfe\xff'
STDERR=''
EXITVAL='0'
|
3988b05cfd8040a4c500a0cc22857cd8c57fb9c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH5/EX5.8/5_8.sce | ee8cad3f0723d31d9caae8107cab48ea0c0f870f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,927 | sce | 5_8.sce | clear;
clc;
//Example - 5.8
//Page number - 201
printf("Example - 5.8 and Page number - 201\n\n")
//Given
m_water = 10000;//[kg/h] - Mass flow rate of cold water
m_water = m_water/3600;//[kg/s]
T_1_water = 30 + 273.15;//[K] - Cold water entering temperature
m_HC = 5000;//[kg/h] - mass flow rate of hot hydr... |
b990e66af29bd355b200d9e6137ae31312bb90ef | d1683dcae8b74aca0495cff44d267c6bed200950 | /scilab/FBench.sci | 0a2cf127befc52493a9072d5ea8cdbd614b997fb | [] | no_license | jeffmurphy/fbench | 215df184c3c48b1a63890694de58b30e18d5d437 | c0c0fd0c9fd1ee35a75944a566113ec91abf5702 | refs/heads/master | 2021-01-10T21:15:10.540350 | 2015-05-16T04:52:22 | 2015-05-16T04:52:22 | 35,710,353 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,083 | sci | FBench.sci |
function fbench(niter)
global object_distance;
global axis_slope_angle;
// FBench for SciLab :
// original C code by John Walker
// (Autodesk, inc)
// www.fourmilab.ch/fbench/fbench.html
//
// SciLab adaapt'n by Jim White
// ... |
6613ea50ba1f5ede704cd992165a78d179008d49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH7/EX7.5/ch7_5.sce | ccd79141ef86454f661762e59546bd223c0c7d54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | ch7_5.sce | //chapter 7
//example 7.5
//page 203
clear all;
clc ;
//given
V1=1; //output voltage when signal frequency is 5khz in V
V2=0.707; //output voltage when signal frequency is 20khz in V
//change in output voltage in decibel
P=20* log10(V2/V1)
printf('change in output power in decibel=%d dB',P);
|
c817c9c802992b0faf8b94ff793b46951ced030e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH5/EX5.7/Ex5_7.sce | ac192211aae83c9438dc5152e8b3dc900062c37f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,780 | sce | Ex5_7.sce | // Example no.5.7
// To find the peak current if (a) LO power = 10 dBm, (b) LO power = −10 dBm for the balanced receiver
// Page no.234
clc;
clear;
// Given data
L=100; // Length of fiber
loss=0.2*L; // Total fiber loss
PtdBm=1... |
8e1c55852d0abab46ff73499938edc965a1ef8e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3289/CH7/EX7.9/Ex7_9.sce | 80ef4c304834edd303325ad6315c9290786a7bde | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sce | Ex7_9.sce | clc
L=76.2 //mm
h=50.8 //mm
t=25.4 //mm
p=6895 //kPa
E=207 //GPa
v=0.15
//solution a: exact solution
//p=Mh/I
//sigmax=-(y/h)*p
sigmay=0
tauxy=0
//derivative(u,x)=-(yp/Eh)
//derivative(v,y)=(v*y*p)/(Eh)
//derivative(u,y)+derivative(v,x)=0
//u=-(p/E*h)*x*y // for u(0,0)=v(0,0)=0... |
5fdc14b0fe6e12efa8800c840ab5bc22c3787ae5 | f891f5aed2e66371488173c2b9c4e8f977a9f64a | /Sandia Inverter Test Protocol/Tests/BasicPowerControl.tst | 117d72f359120834818e34831509dd837df4c399 | [] | no_license | jakedm/svp_directories | d9b85c41b45a3ded7572f9f730e8d1efc8515099 | 19272f8784baabf83e197778768933aef015432c | refs/heads/master | 2021-01-18T18:08:29.224016 | 2017-01-16T20:09:35 | 2017-01-16T20:09:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | tst | BasicPowerControl.tst | <scriptConfig name="BasicPowerControl" script="RemotePowerControl">
<params>
<param name="comm.slave_id" type="int">126</param>
<param name="comm.ipport" type="int">502</param>
<param name="comm.ipaddr" type="string">134.253.142.234</param>
<param name="comm.ifc_type" type="string">TCP</param>
</par... |
4bb22eb419d2aa5863b873b19e2539b82c7e76ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH5/EX5.14/5_14.sce | 46c7ea514f0d18a8851defd6ce5f23e2a4efb6b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | 5_14.sce | pathname=get_absolute_file_path('5_14.sce')
filename=pathname+filesep()+'5_14data.sci'
exec(filename)
Cl=L/(q*S);
disp(Cl,"Cl=","Cl=L/(q*S)","Lift coefficient Cl:")
printf("\Answer:\n")
printf("\n\Lift coefficient: %f \n\n",Cl) |
2275cf92d65348715b18dc8828fb506321e4a4ee | 244971ae8af51184d278cdc2be1c80775413adae | /SSSeQPSKcoder.sci | bd08d7ad180c23b2b0031de85dfcc75c6776fe6c | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sci | SSSeQPSKcoder.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function [Out,bitsFi]=SSSeQPSKcoder()
global MNT MNS MSR;
x0=SSSeSourceData();
x0=2*x0-1;
x2=[x0;x0];//dekorelacja I i Q
k=MNT/MNS;
i=round(3/7*MNS);
x3=x2(i*k+1:i*k+MNT);//dekorelacja I i Q
x=... |
1739b3484974c83c0eeb3a31b30082f34f18e3db | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH4/EX4.3.c/Example4_3_c.sce | 49eb462345d3a390c7706b61185350428afa5f50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | Example4_3_c.sce | //Example 4.3(c)
//Program to determine the RMS Value of Current
clear;
clc ;
close ;
//Given Circuit Data
Rl=1*10^(3); //Ohms
rd=10; //Ohms
Vm=220; //Volts(Peak Value of Voltage)
//Calculation
Im=Vm/(rd+Rl);//Peak Value of Current
Irms=Im/sqrt(2);//RMS Value of Current
//Displaying The Results in Command W... |
60e800df62fd9fbda80ef256f80cf9537f94695b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH3/EX3.1/Ex3_1.sce | db20b29e109fed00498a4e7de679773c057f0d2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | Ex3_1.sce | //Example 3.1, page 74
clc
m=1//in kg
h=6.63*10^-34//Joule-sec
v=10//in m/sec
lambda=h/(m*v)
disp('part a')
printf("\n De broglie wavelength for v=10m/sec %e m",lambda)
disp('part b')
//For KE=100ev
m=9.1*10^-31
K=100*1.6*10^-19//in Joules
lambda=h/sqrt(2*m*K)
printf("\n De broglie wavelength is %e m",lambda) |
c588d22db82a21322cff5051b3ca07e2280a7043 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096.zip/Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096/CH1/EX1.1.a/ex_1_1_a.sce | 1d2bba82595801c5dcec95959e48706e71a5eafc | [] | 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 | 196 | sce | ex_1_1_a.sce | errcatch(-1,"stop");mode(2);
// Example 1.a : static error
,
// given :
vm=112.68; // voltmeter in volts
vt=112.6; // voltage in volts
Es=vm-vt;
disp(Es,"static error,Es = (V)")
exit();
|
9b44dbe3b158c06ad03af45a1f807de771ca7a18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH9/EX9.2/Ex9_2.sce | 098438e072247e8a1b61ab008545b685edfc7b75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,128 | sce | Ex9_2.sce | // scilab Code Exa 9.2 Calculation on an axial turbine stage
dh=0.450; // hub diameter in m
dt=0.750; // tip diameter in m
d=0.5*(dt+dh); // mean diameter of the impeller blade in m
r=d/2;
T1=500; // Initial Temperature in degree C
t1=T1+273; // in Kelvin
p1=100; // Initial Pressure in bar
N=6e3; // rotor ... |
fba334d79fb62780a4f007003269ade5e6b66a4f | 7e09a0e515857ebcb02f3ca06d10c043ac4ad007 | /Soft-Computing/Expt-1/Expt16.sce | 81355c61ebeaadaf4c77cd452ce9d9db7e15254d | [] | no_license | kiner-shah/Programs | 80ee61b1272bf32c82cf46d8cd65b5802428833c | 322bc02108e8a96a02333920d9607e280ae16f7a | refs/heads/master | 2021-07-25T04:38:41.802607 | 2020-06-09T10:15:03 | 2020-06-09T10:15:03 | 48,437,635 | 5 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | Expt16.sce | x = [0 1 2 3 4 5 6 7 8 9]
a = input('Enter first threshold: ')
b = input('Enter second threshold: ')
c = input('Enter third threshold: ')
y = []
for i=1:10
y(i) = 1/(1 + abs((x(i) - c)/a)^(2*b))
end
plot2d(x,y)
|
412e35e289f6232ecb063a26dd6bcb0259763438 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH6/EX6.3.2/Ch06Exa6_3_2.sci | 13419dcbada66f7d9540d3cee8338bec24e4997c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,061 | sci | Ch06Exa6_3_2.sci | // Scilab code Exa6.3.2 : To calculate the kinetic energy of protons and no. of possibile reactions: Page 265 (2011)
V = 5; // Voltage of accelerator, MV
// Declare three cells (for three reactions): Page no. : 133(2011)
R1 = cell(3,2)
R2 = cell(10,2)
// Enter data for first cell (Reaction)
R1(1,1).entries = "p";
R... |
451a3809cd3273f928af5ed33b3d0b920a2a10c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH13/EX13.10.1/13_10_1.sce | 049c937983bb18d51a1ae5950b06b0e73ea20708 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 680 | sce | 13_10_1.sce | clc;
//page no 485
//prob no. 13.10.1
// Measurements on a 50 ohm slotted line gave
Z0=50;//measured in ohm
VSWR=2.0;
d=0.2;//distance from load to first minimum
T=(VSWR-1)/(VSWR+1);
pi=180;
Ql=pi*(4*0.2-1);
// using Euler's identity
e=cosd(Ql)+%i*sind(Ql);// expansion for e^(jQl);
a=T*e;
//Load impedance ... |
4bd599d2b6571ded9921f4c0177160d7c2100c73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH5/EX5.20/5_20.sce | d926acc688d839dc90bfce30526aa82baa5cc22c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 707 | sce | 5_20.sce |
//Example5.20 // Determine the loop gain of compensated network
clc ;
clear ;
close ;
C = 0.01*10^-6 ; // farad
R1 = 10*10^3 ; // ohm
R2 = 15*10^3 ; // ohm
F = 1*10^6 ; // Hz
// the close loop gain of a compensated network is defined as
//Acom = (1+%(F/FH))/(1+%(F/FL));
FH = 1/(2*3.14*R1*C);
d... |
d022c9c685cc272e8dec84ed7bca224ddc747491 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2702/CH3/EX3.6/Ex_3_6.sce | 05b79ebb6bedcfcca9bad44b8ecb9aa8c2dedaad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | Ex_3_6.sce | // Exa 3.6
clc;
clear;
close;
// Given data
V_CC= 12;// in V
V_BE= 0.7;// in V
bita= 100;
R_C= 10;// in kΩ
R_C= R_C*10^3;// in Ω
R_B= 100;// in kΩ
R_B= R_B*10^3;// in Ω
I_BQ= (V_CC-V_BE)/((1+bita)*R_C+R_B);// in A
I_CQ= bita*I_BQ;// in A
V_CEQ= V_CC-(I_CQ+I_BQ)*R_C;// in volt
// For dc load line
// Whe... |
baa8716a75cf4e070bf04f7e5a6c3b46337be2c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH2/EX2.2.4/CH02Exa2_2_4.sci | 1c2b073ac4ee27855e88702df17c00750e5bfba8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 771 | sci | CH02Exa2_2_4.sci | // Scilab code Exa2.2.4 To determine the most stable isotope of A = 75 : Page 68 (2011)
a_v = 15.5; // Volume energy coefficient, MeV
a_s = 16.8; // Surface energy coefficient MeV
a_c = 0.7; // Coulomb energy coefficient, MeV
a_a = 23.0; // Asymmetric energy coefficient, MeV
a_p = 34.0; // Pairing energy coefficie... |
23dc37e3b3f1de6245fdbdf7e5c83082dad9ee82 | 889ab6b26f0d224ac7074153f5eeb36c9b75dd00 | /projects/03/a/DMux32Way.tst | 939c5572baf7118ab5ec7011a2af703a3b45d2f5 | [] | no_license | yrizk/nand2tetris | 9e38fa12a9f1da60047f8dd528363b72387ee4b1 | 6bcd6dc0c4c6897e9c72b31b5baa61d488586e81 | refs/heads/master | 2020-06-23T13:45:00.515676 | 2019-08-26T11:47:32 | 2019-08-26T11:47:32 | 198,641,884 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,855 | tst | DMux32Way.tst | load DMux32Way.hdl,
output-file DMux32Way.out,
compare-to DMux32Way.cmp,
output-list in%B2.1.2 sel%B2.5.2 a%B2.1.2 b%B2.1.2 c%B2.1.2 d%B2.1.2 e%B2.1.2
f%B2.1.2 g%B2.1.2 h%B2.1.2 i%B2.1.2 j%B2.1.2 k%B2.1.2 l%B2.1.2 m%B2.1.2 n%B2.1.2
o%B2.1.2 p%B2.1.2;
set in 0,
set sel %B00000,
eval,
output;
set sel %B00001,
eval,
out... |
8ece172448bb01561339e85a12dd4173298477f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH4/EX4.7/ex4_7.sce | fdf03663115b30cdeca75f4f560b3829eb2ab81d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | ex4_7.sce | clc;
M=55.85;//atomic mass
d=7.86 //density of iron in g/cc
N=6.023*1e23
n=2//BCC structure
a=((n*M)/(N*d))^(1/3);
r=(sqrt(3)*a)/4;//radius of iron atom
disp(+'cm',r,'radius of iron atom =')
|
0031fb544f0d07c60bdbbfcf0ec1dd9e02e70672 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH14/EX14.1/14_1.sce | 6332c80720b0f586f4d4462e2e92417330b75853 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 14_1.sce | clear;
clc;
Rk=600;fc=3000;
L=Rk/(%pi*fc);
printf("-Desired value of inductor L = %f mH\n",round(L*(10^3)*10)/10);
C=1/(%pi*Rk*fc);
printf("-Desired value of capacitor C = %f microfarads",round(C*(10^6)*10^4)/10^4);
|
26914703a88517edc48405ca4307acf8886940d1 | 15bd78a2bf248cadb3f74988a5a1ddd53a2d129a | /LangFiles/Level.02N/Scinc/BRIEF.SCI | b95cfe4c4f1f129d0dc759177f265947f826c6fa | [] | no_license | Marisa-Chan/RR2NW_ENG | e5bc85cd570b72ad60969811a626192be5a02bd5 | d0868db86db46ab1fe55cd80c85b67a299b95b24 | refs/heads/master | 2022-11-17T20:16:26.503539 | 2020-07-17T12:21:59 | 2020-07-17T12:21:59 | 280,207,135 | 0 | 0 | null | null | null | null | IBM866 | Scilab | false | false | 23,859 | sci | BRIEF.SCI | //***************************************************************
//***************************************************************
// GENNNNNNNNNNNNNNNNNNN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!SSSSSSS
//***************************************************************
//**************************************************... |
907c87ebc684c4ec5c93abf557fb0b175b8c085d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH1/EX1.3/chapter1_ex3.sce | 7ca8843bc8e54844a125a0335b67975b4f7d13ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,126 | sce | chapter1_ex3.sce | clc
clear
//input
r1=0.2;//resistance in arm 1 in ohms which is in series with 10 volts d.c. supply.
r2=0.2;//resistance in arm 2 in ohms which is in series with a d.c. supply of 12 volts.
r3=0.4;//resistance in arm 3 in ohms whichis in series with 15 volts d.c. supply .
//arms 1,2 and 3 are in parallel with ea... |
c07eddab25501e2daf5e20b48de8b010575ca5ed | e2ae697563b1b764d79ea1933b555ab0d5e3849c | /macros/getgain.sci | fedc0e8359277ca51beab119e123cea2ea96b36f | [] | no_license | gq-liu/IPDesignLab | c49b760740f47ec636232a6947aecb3c0626518a | b2f9a9eecad6616c99a2ec20fcceb14fb3ed0c3f | refs/heads/master | 2022-01-18T13:30:55.972779 | 2019-05-06T17:23:12 | 2019-05-06T17:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,048 | sci | getgain.sci | function k=getgain(x,y)
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distribute... |
534de9134deb41f76c7604c5336f2e9305ea5c98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH3/EX3.47/3_47.sce | 3a7be31429f68860d5790f5ce2f89d3cea1350a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 582 | sce | 3_47.sce | //Network Theorem 1
//page no-3.52
//example3.46
//calculation of Vth
disp("Removing the variable resistor RL from the network:");
disp("By star-delta transformation");
a=5;
b=20;
c=9;
v=100;
i=v/(a+a+b+c+c);
disp("Writing Vth equation,");
vth=v-(14*i);
printf("\nVth = %.2f V",vth);
//calculation of Rth
... |
c1f2ca3a5556a5d3a7fbae5ce9c6e1faf0db8d84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH24/EX24.5/Example24_5.sce | 6975ac3c545ed3fff465387f68ee7b85f99599ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,936 | sce | Example24_5.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 17: ELECTRIC POWER SUPPLY SYSTEMS
// EXAMPLE : 17.5 :
// Page number 425
clear ; clc ; close ; // Clear the work space a... |
dbf438a1b90cd43651516dba5e2ff20bc5a07596 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH7/EX7.5/Ex7_5.sce | 39d00088b49d3b87155412ad5e06db9fbb5e9953 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | Ex7_5.sce | //Example number 7.5, Page number 7.15
clc;clear;close
// Variable declaration
a=3.615 // in m
r=1.278// in m
h=1// in m
k=1// in m
l=1// in m
// Calculations
a=(4*r)/sqrt(2)// in m
d=a/(sqrt(h^2+k^2+l^2))// in m
// Result
printf("a = %.3f Angstroms",a)
printf("\nd = %.3f Angstroms",d)
|
fc9bbea53f8946d00d3e0ee31f30dbcadf482d1f | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/make_point.sce | 253c601930282aa5fd82a253a8d49c7820eeacb4 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 74 | sce | make_point.sce | function M=make_point(x,y)
M=mlist(['point','x','y'],x,y)
endfunction
|
d2c66cc5b5bff69c775028c7685f3a354ef01c04 | a674f7b984545698214f8164107cc4e15916c573 | /A/A.3/mission_A3.sci | 3e5458ccdb91079e72e78cdf1aa6f57ac7164d2c | [] | no_license | enzo-billis/Projet_CESI_Scilab_Missions | 6bb843b68b64660f8ed235cde4213dd4d3343375 | 07434c89170e237aff6a78ad4d59034b6e47f382 | refs/heads/master | 2021-03-16T10:27:15.255047 | 2018-03-05T08:02:40 | 2018-03-05T08:02:40 | 120,597,704 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 694 | sci | mission_A3.sci | function Mission_A3()
//Chargement des pixels de l'image dans un tableau
europa_image=readpbm("Europa_surface.pbm")
//Récupération de la taille de l'image
[wi,he]=size(europa_image)
//Initialisation du tableau de sortie
europa_EC=zeros([wi,he])
//Seuillage en a... |
6c8cae0849caf9e7b1bcbdee02456116416ece5c | a45f93853fdb67523e71e3e7fb88c4298eae1ef7 | /Screens/Movie_Player.tst | 2463bac629129504987695447a05bd91d79cdbbb | [] | no_license | voarsh/Disney-Treasure-Planet-Battle-at-Procyon | 68192cbfdf8b823bc8399e3ea1e62d4976b74aed | 99cbbc70701ef6e8f9d95eba1052635de992910f | refs/heads/master | 2020-04-16T01:44:03.761947 | 2016-06-08T10:25:05 | 2016-06-08T10:25:05 | 38,745,932 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | tst | Movie_Player.tst | ScreenName String 'MoviePlayer Screen'
ImplName String 'Movie Screen'
ElementChunkArray Int 2
ScreenElementType Int 0
ImplName String 'Movie Player Screen Backdrop'
TabIndex Int 1
Selectable Bool False
Enabled Bool False
ReferenceArea Rect( 0, 0, 800, 600 ) # left,top,right,bottom
ScreenElementType Int 1
ImplName Str... |
7cb824ca4a264f549419039e3b2b837f2f017454 | 5f2ca8e18735204f5995ac7e44a6e301eb23ea0b | /scripts/sim/plots_lin_nlin_f16.sce | 8bda00b350519c0f7ee3283c38899573e82215da | [] | no_license | Jettanakorn/mcflight | 4e7d4e20976e8f3621bf13fec2a8b522ecfc49a9 | e6579a11e10c5e9ae9ee558f464a6b88e1ae7a26 | refs/heads/master | 2023-03-17T10:49:28.906700 | 2019-10-30T20:20:58 | 2019-10-30T20:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | plots_lin_nlin_f16.sce | clear;
exec('sim/sim_f16.sce');
exec('sim/lin_f16.sce');
plot(t, nzs_g, t, y+nzs_g(1));
xgrid
xlabel('Time(s)');
ylabel('Nz(g)');
legend('Non-Linear','Linear');
|
6e845445f996ca0c9e8b8d93aa1a0bc1af407d5e | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Número primo.sce | d8dd8fbb7cf35b890375a99eeed0942faf19d033 | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | sce | Número primo.sce | n = input ("Digitar n = 10 ");
i = 2;
while modulo (n, i) <> 0
i = i+1
end
if == n then
disp("É primo");
else
disp ("Não primo");
end
|
a07be16fec42ce2ea58a798890e543d27412b781 | 1603404a66ca1e24f41670ecff65a078e611bf97 | /cron/saltcheck-tests/config/file.tst | 527f10fcb5692ed84c2106043ff25d6b22f7e5ee | [
"Apache-2.0"
] | permissive | saltstack-formulas/cron-formula | 1a97b5ca8e271c813e88314ecc8e30c8481273ba | 2f4c7889412c14dff2040efa3b87a4415d5770ac | refs/heads/master | 2022-07-28T11:11:01.481341 | 2022-07-17T18:42:22 | 2022-07-17T18:42:22 | 98,590,657 | 7 | 30 | Apache-2.0 | 2022-01-14T10:39:30 | 2017-07-28T00:32:16 | Ruby | UTF-8 | Scilab | false | false | 1,849 | tst | file.tst | # -*- coding: utf-8 -*-
# vim: ft=sls
{%- set cron = salt['pillar.get']('cron', {}) %}
{%- for task, task_options in cron.get('tasks', {}).items() %}
{%- set cron_type = task_options.type|d('present') %}
validate_cron.{{ task }}_{{ cron_type }}:
module_and_function: cron.get_entry
args:
- {{ task_options.u... |
8231f14f2776869b08416cd502f808407e1bc2b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH12/EX12.14/c12_14.sce | b4e1549190c79fe2666f7e509b5447a06e445fcf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,231 | sce | c12_14.sce | //(12.14) A stream consisting of 142 m3/min of moist air at a temperature of 5C and a humidity ratio of 0.002 kg(vapor)kg(dry air) is mixed adiabatically with a second stream consisting of 425 m3/min of moist air at 24C and 50% relative humidity. The pressure is constant throughout at 1 bar. Using the psychrometric... |
9b24a94b6bd2b52c54ac654fdbfd52a9afd7a0b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH15/EX15.3/ex15_3.sce | 1f6ffe060a9ec9362cf47bae744c44832fa61a0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | ex15_3.sce | clc;clear;
//Example 15.3
//given data
R=3*10^7;//rate of energy development in J s
E=200;//energy released per fission in MeV
e=1.6*10^-19;//the charge on electron in C
t=1000;//time is hours
Ekg=8.2*10^13;//energy released per kg of U-235
//calculation
CE=E*e*10^6;//conversion in J
n=R/CE;
disp(n,'no o... |
0964487bdf7f9eb308e661db32f7fe543fe3141b | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /armadilloToolbox/macros/armaStat.sci | 353bb3a55a3747d9abf1a7f2a660c8603be61e96 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,628 | sci | armaStat.sci | // Copyright (C) 2019 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
90ec5c087af26b19511dc27883de313c74304308 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.20_1.tst | 05d8c74aa8309fe6618d8bef1b9dd6c78474e59d | [] | 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 | 489,244 | tst | 5.20_1.tst | 20 23:1 243:1 962:1 1087:1 1090:1 1103:1 1219:1 1255:1 1558:1 1747:1 1867:1 1879:1 2079:1 2693:1 3480:1 3816:1 4081:1 4405:2 4504:1 4554:1 4652:1 4712:1 4736:2 4782:1 4831:2 5010:1 5514:1 5524:2 5673:1 5698:1 5773:1 5945:1 6682:1 6949:1 6971:1 6977:1 7024:1 7172:1 7222:1 7439:1 7497:1 7610:1 7638:1 7755:1 7970:1 8017:1... |
2e34363e2737606e361a6546b602859f38c7ad4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH1/EX1.5/Ex1_5.sce | e8c782988c5f2041628f88519e005c82a4f54637 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | Ex1_5.sce | clc
a = 5.65*10^-8
disp("a = "+string(a)+"cm^-1") //initializing value of lattice constant of gallium
A = a/2
disp("monolayer distance in the (001) direction,(A(ml) = a/2)= "+string(A)+" cm^-1")//calculation
|
9c971971233164b7f1045c77133a38e86a977fd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/4_3data.sci | d298ea7402570dfbbffc228e20d5a6a3d297867a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 60 | sci | 4_3data.sci | CD=4;//given in m
BD=3;//given in m
Loadc=30;//given in KN |
0fa73f1b5c35bf6cbb98c1464c72881252a727f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH3/EX3.6/Ex3_6.sce | 7110ff1e612d0589fe07f4a5fa96afd84c37b98e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | Ex3_6.sce | //Example 3.6//
a=2;//body diagonal
b=4;//body diagonal
c=a*b ;//(using cross multiplication)
//mprintf("c= %i ",c)
d=sqrt(3);
Vu=(c/d)^3
mprintf("Vu = %f rSi^3",Vu)
Va=c*(4/3)*%pi
mprintf("\n Va = %f rSi^3",Va)
APF=Va/Vu;
mprintf("\nAPF = %f ",APF)
|
0342e48256d3149becfc71baefdee1663d32df22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH3/EX3.1/3_01.sce | 4897377b9eff46561898333763893598156f1fa6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,648 | sce | 3_01.sce | clear
clc
function [coefs]=regress(x,y)
coefs=[]
if (type(x) <> 1)|(type(y)<>1) then error(msprintf(gettext("%s: Wrong type for input arguments: Numerical expected.\n"),"regress")), end
lx=length(x)
if lx<>length(y) then error(msprintf(gettext("%s: Wrong size for both input arguments: same size expected.\n"),"reg... |
bf9397613d22861bc451e6550289caa5e4050fef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH3/EX3.8/Ex3_8.sce | 0dbe554c8347710e6f14eec31a3291e9a605a049 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,164 | sce | Ex3_8.sce | //Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 3
//example 3.8
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
Vab=208;//source voltage in volts
Vs=Vab/3^(1/2);//rms voltage in volts
Vm=Vs*2^(1/2);//maximum peak voltage in volts
R=10;//resistance of the ci... |
f14998349ba8949ff6bc2a949110a75b5f22f3c4 | ba63560ce529b541daac8cbf4283779aa7e4202f | /Scilab/DC_Motor/DC_Motor_Script.sce | d5d913655f2f302b2baaa92b988465b991b4a2c4 | [] | no_license | Koustubh26/Model-Based-Design | ec38ef947ec94eba297923d7f6965c82680b357f | f29cfd6f8ccb8d877279e71d7a14fe16935aa8bc | refs/heads/main | 2023-02-25T13:19:12.000694 | 2021-01-31T17:58:59 | 2021-01-31T17:58:59 | 330,222,776 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | DC_Motor_Script.sce | // Script for DC Motor Model Specifications
J = 0.5; // Inertia
B = 0.01; // Friction Coefficient
K = 1.25; // Torque Constant
R = 0.4; // Resistance
L = 0.05; // Inductance
|
a08250eda259c60dcf0f634c1a12611522a038af | 449d555969bfd7befe906877abab098c6e63a0e8 | /174/CH4/EX4.9/example4_9.sce | a36aa7b1b922a04690aad067640c486fce44ea1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 915 | sce | example4_9.sce | // To find multiplier resistor
// Modern Electronic Instrumentation And Measurement Techniques
// By Albert D. Helfrick, William D. Cooper
// First Edition Second Impression, 2009
// Dorling Kindersly Pvt. Ltd. India
// Example 4-9 in Page 79
clear; clc; close;
// Given data
R_m = 50; //Internal resistanc... |
809ad3fa219e116d6c3b493aecbf60e16e21a921 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH8/EX8.2/ex2.sce | 75738c2e493f517ae5f8b7b9a1bb564f3622ae36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,388 | sce | ex2.sce | // Example 8.2: Feedback triple
// Consider the given three stage series-series feedback
h_fe=100;
g_m2=40*10^-3; // (A/V)
r_e1=41.7; // (ohm)
a_1=0.99; // alpha value
R_C1=9000; // (ohm)
R_E1=100; //(ohm)
R_F=640; // (ohm)
R_E2=100; //(ohm)
r_pi2=h_fe/g_m2;
R_C2=5000; // (ohm)
r_e3=6.25; // (ohm)
R_C3=800... |
dd5b982e296799efed20bc12c0dad5b6880970b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH7/EX7.9/example_7_9.sce | c98cafa1f400413d7f06c375356374d26192df43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | example_7_9.sce | q=poly([24 5 1],'s','coeff');
G=20/q
H=1
y=G*H
omegaN=sqrt(24) //comparing denominator with standard form
disp(omegaN,"omegaN = ")
zeta=5/(2*omegaN)
disp(zeta,"zeta=")
omegaD=omegaN*sqrt(1-zeta^2)
disp(omegaD,"omegaD = ")
syms t
theta=atan(sqrt(1-zeta^2)/zeta)
disp(20/24*((1-(%e^(-zeta*omegaN*... |
82fc1d6e925ec6279b927d45ae15d1a1b477f3e6 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /2-DOF_manual/2dof/twodof1.sci | c3162b85541c86e0ec73a8e6134fbc4376348d11 | [] | 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 | 2,122 | sci | twodof1.sci | //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_in,et] = twodof(setpoint,disturbance)
global fdfh fdt fncr ... |
57105b178d719712fcec1e07b380f923ea3b445a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH10/EX10.4/Ex10_4.sce | f68a56c14446735a893cdc0ee79f3600a2d89afe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_4.sce | //Caption: errors,corrected errors
//Example 10.4
//page no 464
//Find detected errors,corrected errors
clear;
clc;
dmin=5
// (s+1)<= dmin number errors can be detected(s)
s=dmin-1;
printf(" i)Number of detected errors \n\n \t s <= %d ",s );
//(2t+1)<=dmin number errors can be corrected(t)
t=(dmin-1)/2;... |
2ad1299286a05d1d9b17c04b4324e539061ae17c | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH7/EX7.7/ex7_7.sci | 2e6087b223f28f4d9f7dfe96645f6ddab5044004 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sci | ex7_7.sci | //Example 7.7
clc
//determine the larger of two integer quantities
function[] = maximum(x, y)
if (x >= y) then z=x; else z=y;
end
printf("\n\nMaximum value = %d", z);
return;
endfunction
|
1aec25d742d4b4997615d9c64e70ef9845b6dcb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH19/EX19.9/example19_9.sce | ca7336d9899115b7ca1f2bfa6949c4f21cbba9be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | example19_9.sce | vp=12;
f=2.5*10^3;
l=20*10^(-3);
r=500;
disp("Part a");
t1=0.1*10^(-3);
i=vp/r;
t0=l/r;
i1=0.008*i;..........//from the curve
disp("the current (in mA) 0.1ms after the input voltage goes to zero is"); disp(i1*10^3);
disp("Part b");
t2=20*10^(-6);
v1=0.6*vp;
disp("the voltage (in V) across the coil after th... |
c55bbd9b312d00c7dfddb6384b0432a1d5241aea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH6/EX6.1/Ex6_1.sce | 6c9bdef3be51b87fd12b5e4a3d1def41905a5a73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | Ex6_1.sce | // Given:-
T = 373.15 // temperature in kelvin
// From table A-2
p = 1.014*(10**5) // pressure in pascal
vg = 1.673
vf = 1.0435e-3
sg = 7.3549
sf = 1.3069
// Calculations
w = p*(vg-vf)*(10**(-3))
Q = T*(sg-sf)
// Results
printf( ' The work per unit mass is %.3... |
bf126c29f777e4c1dd5f024450c927f8471862fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH11/EX11.9/exp_11_9.sce | 86d29a0e00f320f3573f214409a120913bf8a32e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | exp_11_9.sce | clear;
clc;
pf=.8;
f=50;
rp=.8;
X=.4;
Xd=.2;
H=10;
v=1;
Xeq=Xd+X;
Ig=rp/(v*pf);
angle=acosd(pf);
E=sqrt(((v+Ig*Xd*Xeq)^2)+((Ig*Xd*pf)^2));
del=atand((Ig*Xd*pf)/(v+Ig*Xd*Xeq));
P=(E*v)/Xeq;
mprintf("Steady state power limit is %.3f pu\n",P);
Pc=cosd(del)*P;
mprintf("Synchronizing power coefficient is %.... |
60edfccf48bac3eea431637900c4d23266e75007 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH4/EX4.11/Chapter4_Example11.sce | 6eff407928215512053ccd951c9b4316103cbab6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,037 | sce | Chapter4_Example11.sce | clc
clear
//Input data
p=65;//The pressure in the cylinder in bar
r=10;//The compression ratio
V3=0.1;//The volume per unit mass of air at the start of expansion in m^3/kg air
p3=p*100;//The pressure in the cylinder after the completion of combustion in kN/m^2
//Calculations
T3=2240;//The temperature from... |
993242a534ead936aefabcd6d36441a0dd4f2abf | e1527120156f72705816c6f6071227e65c579308 | /kernel/putratings.sci | 2867fd328db327b077ae6f3b3fa00b73cc7a5e74 | [] | no_license | bhuepping/scilab_collaborative_filtering | 583e0a7b01ca9d53fe0e5f9346947bccd03b9229 | 39966976b862196c836e7d04bca26ebe27e25632 | refs/heads/master | 2021-01-22T12:13:02.121309 | 2012-05-31T21:41:08 | 2012-05-31T21:41:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sci | putratings.sci | function ratingmatrix = putratings(ratings)
ratingmatrix = zeros(max(ratings(:,1)),max(ratings(:,2)));
for i=1:size(ratings,1)
ratingmatrix(ratings(i,1),ratings(i,2)) = ratings(i,3);
end
endfunction
|
c608d8418f7a0b021023e67bd8f8918b60693625 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH6/EX6.17/Ex6_17.sce | e0532c2089f55e9095891f9c9260e0d4b51ec6fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 986 | sce | Ex6_17.sce | clc;
rp=7; // Pressure ratio
T03=1000; // Maximum temperature in kelvin
eff_c=0.85; // Compressor efficiency
eff_T=0.9; // Turbine efficiency
T01=288; // Air entering temperature in kelvin
PN=750; // Power output in kW
Cpa=1.005;// Specific heat of air at constant pressure in kJ/kg K
Cpg=1.147;// Specific heat... |
cc14b8e77de670b5e09e31d2f1cac80e022cd40e | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH3/EX3.14/Ex3_14.sce | 271a8912b751ff9cce787f093d8714a9f625c6cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 114 | sce | Ex3_14.sce | //Ex:3.14
clc;
clear;
close;
r=10*10^3;//in ohms
t=1*10^-3;
c=(10*t/r)*10^6;
printf("Capacitor = %d uF",c); |
6b5e80a3a192e5c50bcd0b126e6887e2da90d183 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH4/EX4.3/Ex4_3.sce | d1848ac01b587f1073664965530193f2b9d70d9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 799 | sce | Ex4_3.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 4 : DIRECT CURRENT MACHINES
// EXAMPLE : 4.3
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
E = 420; // EMF induced in Volts
N = 900; ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.