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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7174e5648cc04792065a35eef017d9417d5890bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH7/EX7.6.b/solution7_6.sce | f502d4716813162c2a3498c9021406ebf7a06964 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,026 | sce | solution7_6.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution7_6.sce')
//Obtain path of data file
datapath = path + filesep() + 'data7_6.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the direct shear force on each bolt Dshear (N)
Dshear = (P * 1000)/N
//Assume the core cro... |
d8c032da1da8b23b47e6a7b7e5be2e68d1ef3d45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2720/CH1/EX1.21.7/ex1_21_7.sce | d4c97f02b2f1205a4f764f219a97b72ae4b6b186 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | ex1_21_7.sce | // Exa 1.21.7
clc;
clear;
close;
// Given data
lembda = 1.54;// in Å
lembda= lembda*10^-8;// in cm
At = 63.54;// atomic weight
density = 9.024;// in gm/cc
n = 1;
N_A = 6.023*10^23;
m = At/N_A;// mass
a =(density*m)^(1/3);// in cm
h = 1;
k = 0;
l = 0;
d = a/(sqrt( ((h)^2) + ((k)^2) + ((l)^2) ));// in cm
... |
0c0b8066069c2fed6374f293689b93b312be88ba | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH4/EX4.3/EX4_3.sce | feabb7788b96727da6882922b546f19352c71e85 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,063 | sce | EX4_3.sce | clc;funcprot(0);......//Example 4.3
//Initialization of variables
L=4;........//Vertical height of the plate in m
q=800;..........//Solar radiation in W/m^2
alpha=1;......//100% absorptivity
Ta=30;.......//Atmospheric temperature in degree celsius
g=9.81;....//Gravitational constant
Pr=0.697;......//Prandlt no
... |
7bc06c103e8ba54b3a18c9083bf32fb26daab4b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH11/EX11.2/Ex11_2.sce | 49aa4c99c2337f5fc50d011c719aca42e01b88c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | Ex11_2.sce | clc;
Vgs=-5:-5:-20;//Id=Idss*(1-(Vgs/Vgso))^2
Vgso=-20;
Idss=12*10**-3;
Id=Idss*(1-(Vgs/Vgso))^2;
disp('mA',Id*10**3,"Id=");
y=0:1:12;
x=0:-5:-20;
a=gca() //get the current axes
a.box="off";
a.y_location="right";
plot2d(Vgs,Id);
xlabel("Gate-to-source voltage (VGS)");
ylabel("Drain current ID(mA)");
|
8eb7ced5b4413049cffadaffafc5a8d71af4cc22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH7/EX7.24/Ex7_24.sce | 76560fb9d7cfd2846b0860d6ae736e188fcc3a35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,799 | sce | Ex7_24.sce | //CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 24
clc;
disp("CHAPTER 7");
disp("EXAMPLE 24");
//10kVA 2500/250 V single phase transformer
//VARIABLE INITIALIZATION
va=10000;
v1=2500; //primary voltage in Volts
v2=250; //secondary voltage in Volts
R1=4.8; ... |
257d53b02705ff372987a3c41165d50a615b25b9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/save_super.sci | ae5b5853bac3a3df1353d0c60807efc70bdcdbad | [
"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 | 2,328 | sci | save_super.sci | function save_super(x)
// given a super block definition x save_super creates a file which contains
// this super block handling macro definition
x1=x(1);nam=x1(2);
nin=0;nout=0;clkin=0;clkout=0;
for k=2:size(x)
o=x(k)
if o(1)=='Block' then
select o(5)
case 'IN_f' then
nin=nin+1
case 'OUT_f' th... |
311878256962e0de2a8182aa211cac083735f769 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH13/EX13.7/example7_sce.sce | fd357788d47b863ac01ee816ad4cff9b148f2b0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | example7_sce.sce | //chapter 13
//example 13.7
//page 565
printf("\n")
printf("given")
hfe=100;Vbe=.7;Ic1=1*10^-3;Ic2=Ic1;Ic3=Ic2;Ic4=Ic3;Vee=10;Vce=3;Acl=33;
disp("different resistor value of circuit")
R1=Vbe/((10*Ic1)/hfe)
R3=(Vee-Vbe)/(Ic1+Ic2)
Vr2=Vee+Vbe-Vce
R4=Vr2/Ic1
R2=R4;
R7=(Vr2-Vbe)/(Ic3+Ic4)
R8=Vee/Ic3
R6=6.8*10... |
c1e3238cde688bc39ab50fcb1aaa2acc4bc7b32e | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH6/EX6.4/4.sce | ea6fb1cda20bb2383983905292899296f529d2cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | 4.sce | clc;
C_d=0.6;
d_o=0.05; // m
g=9.8; // m/s^2;
R=2; //
H1=1.5; //
a_o=%pi*d_o^2/4;
t=%pi/C_d/a_o/sqrt(2*g)*(4/3*R*H1^(3/2)-2/5*H1^(5/2));
disp("The time to drain the tank is found to be ")
disp(t);
disp("seconds"); |
6078bca4e00e5cd2cb7f32de924388e6d698ea56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH6/EX6.12/Ex_6_12.sce | 0d3879f58ef3cb1038af9850187cd52986124bf0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 119 | sce | Ex_6_12.sce | // Example 6.12;//bandwidth
clc;
clear;
close;
tr=10;//in ns
bw=(0.35/tr);//in MHz
disp(bw*10^3,"bandwidth in MHz is")
|
219988a721fe62148b279e7c4b1f2d51834f707e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3308/CH16/EX16.1/Ex16_1.sce | a9e511c5b87c6a59140c9a9cd65a4139e015fd29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | Ex16_1.sce | clc
// Given that
d=1//in inch Diameter of the hole
T=(1/8)//in inch thickness of the sheet
// Sample Problem on page no. 396
printf("\n # Calculation of Punch Force# \n")
UTS=140000//in psi Ultimate Tensile Strength of the titanium alloy Ti-6Al-4V
L=3.14*d//total length sheared which is the perimeter of ... |
f2011d671b5a7ded56efef6b6e5fa0dcbb2e3945 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH3/EX3.7/Ex3_7.sce | c290e954520734ffefd4326beb00b815e2f4f605 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,087 | sce | Ex3_7.sce | // Given:-
T1 = 300.00 //temperature in state 1 in kelvin
P1 = 1.00 //pressure in state 1 in bar
P2 = 2.00 //pressure in state 2 in bar
R = 287.00 //gas constant of air in SI units
// Ca... |
5ca98a518388961efe19704cc5386ad72b070a9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2519/CH19/EX19.7/Ex19_7.sce | ac1d18dbfa663d86dcfcdff1c84da6f8765303cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | Ex19_7.sce | clc
clear
//Initialization of variables
short=2 //ft
apart=3 //ft
long=4 //ft
T1=2260 //R
T2=530 //R
sigma=0.1714
//calculations
A1=short*long
ratio=short/apart
disp("from curve 3")
F=0.165
Q12=A1*F*sigma*((T1/100)^4 -(T2/100)^4)
//results
printf("Net exchange of radiation = %d Btu/hr",Q12)
disp("The a... |
ef08a3a48f10fd80131468f6926f4e34b3cc9d56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH3/EX3.12/EX3_12.sce | 32464704b4438279d6b4fa03163031de0ba4ceac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,367 | sce | EX3_12.sce | //Chapter 3, Example 3.12, page 105
clc
//Initialisation
L=13200 //L parameter in m
H=10240 //H parameter
Re=6370000 //actual redius of earth
ht=30 //height in m
hr=2... |
28e626363ae0b798c91eadcb354fdd87511e8e4b | 036a77bd5f07b7b2b808ef3d90e92d20bd7b6c33 | /hard/tests/sort.tst | 164cb44cc7bbed0c9892072c5626f9645092bf2e | [] | no_license | Jaymee-Ericca-7/simple-compiler | 186b11486e5af8debdde301acba84851c4545b02 | 209a8ed43c579a9ce34c63a10083cdbde5546313 | refs/heads/master | 2020-09-18T06:19:53.304100 | 2015-08-11T13:44:06 | 2015-08-11T13:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,043 | tst | sort.tst | main begin
int l;
int r;
int i;
int j;
int k;
int[] array;
boolean changed;
boolean flag;
array = new int [10];
array[0] = 123;
array[1] = 12;
array[2] = 13;
array[3] = 23;
array[4] = 3;
array[5] = - 3;
array[6] = 412;
array[7] = 12345;
array[8] = 2;
array[9] = 0;
do
begin
... |
03744d9b7c7f24497675f7c43c39cd39b49b6e85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH4/EX4.15.4/Example_4_15_4.sce | 4990ac9b6a34eae4fd0c650f4454498f3b27a846 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,360 | sce | Example_4_15_4.sce | // Example 4.15.4 page 4.38
clc;
clear;
tau01=10; //pulse broadning ns/mm
L1=0.1; //length in kilometer
tau02=20; //pulse broadning ns/m
L2=1; //length in kilometer
tau03=2000; //pulse broadning ns/m
L3=2; //length in kilometer
tau1=10d-9/1d-6;
tau1=tau1*L1;
Bopt1=1/(2*tau1); ... |
9e677872f416107b53f35e8aa8346ed41976667b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH13/EX13.5/Ex13_5.sce | 9f2b4bfa7936c5d3cf5ee4542a927c0c6739b77a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 659 | sce | Ex13_5.sce | // Exa 13.5
clc;
clear all;
// Given data
Input=6.3; // V
Output=5.2; // V
Range= 9.5; // inches
// Solution
// 0.5 inches core displacement produces 5.2 V
// Therefore, a 0.45 inch movement produces voltage as
V1=0.45*5.2/0.5;
// Similarly - 0.30 inches core movement produces voltage as
V2=-0.30... |
31e38bb44fb098cf3090ccef41a4fa93974186bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH9/EX9.6/9_6.sce | 200d9a9e12f2a876d7a987a0d8e74f99877193d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | 9_6.sce | //clc();
clear;
//To compute the polarisation
A=6.45*10^-4; //area of capacitor plates in m^2
d=2*10^-3; //capacitor plates seperation in m
V=12; //potential in V
epsilonr=5.0; //dielectric constant
N=6.023*10^23; //avagadro number in mol inverse
epsilon0=8.85*1... |
77d3c97c23017973ddd2def82f19fb4f3522a732 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH15/EX15.2/15_2.sce | 0caa0b613e0acc5482dfc3b24d09e9e4b7880cf1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | 15_2.sce | clc
//initialisation of variables
h=0.72//percent
t=80//F
p=14.9//psia
w=0.622//ft
q=0.5069//ft
//CALCULATIONS
Pact=h*q//Psia
S=w*(Pact/(p-Pact))//lb vapor per lb dry air
//RESULTS
printf('The specific humidity and also its dew point temperature=% f lb vapor per lb dry air',S)
|
2c4db91873fb9118e53b25270e6829810df4d1c4 | 3953ee8faa83677c4470242adc45315acd353eff | /examples/spi/spi2.tst | 82dd6344df9b4275352d7771261efd0bb744a526 | [
"BSD-2-Clause"
] | permissive | zutshi/S3CAMR | 83be6ba820207273e6f4b81c55d737b48b097e2a | e7a354137729fcc1f87e647efc8d91e5cd40c83d | refs/heads/master | 2021-05-04T11:52:09.707263 | 2019-06-25T00:37:11 | 2019-06-25T00:37:11 | 51,499,986 | 4 | 0 | null | 2016-03-29T22:01:38 | 2016-02-11T07:22:38 | Python | UTF-8 | Scilab | false | false | 2,732 | tst | spi2.tst | inf = float('inf')
# sampling time
delta_t = 1.0
# pvt simulator state required for initializing the simulator
plant_pvt_init_data = None
#############################
# P1: Property Description
#############################
# Rectangular bounds on initial plant states X0[0, :] <= X <= X0[1, :]
initial_set = [[0.0]... |
0b8778cfa4c8eafc27062253dc29e7b0136b14c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH20/EX20.6/ex_20_6.sce | 1cce0d4de6a5405f91faf0e0fadd119e180ebc62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | ex_20_6.sce | //find..
clc
//soltuion
//given
d=2.6//m
n=15
B=22.5
q=2.967//rad
u=0.28
T=960//N
m=1.5//kg/m
//let N be speed
v=sqrt(T/(3*m))//m/s
N=(v*60)/(%pi*d)//rpm
printf("rpm is,%f rpm\n",N)
//for max power trans
Tc=T/3
T1=T-Tc
//log(T1/T2)=u*q*cosec(%pi/180*B)=0.9435
T2=T1/8.78//
P=(T1-T2)*v*n//W
printf("t... |
92729f69ade616f80179c638d187c08e3bd66b7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH3/EX3.2.a/Chapter3_Ex2_a.sce | 59c5b97624d7c1ac69cddbe9ce40d2b456571889 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 939 | sce | Chapter3_Ex2_a.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc., USA,pp 436.
//Chapter-3 Ex3.2.a Pg No. 96
//Title:Residence time for four STR's in series
//========================================================================================
clear
clc
//INPUT
X_A=0.95;//Given conversion
t_batch=6;/... |
3accfcbd69ab9b29d78ca8a295e3d35698f5166a | 0ade4f8a7ec375e54db514312b562334ab304d3e | /data/benchmark/Nguyen_07.tst | b756cc1790d8e8cf9e658160f3dcbef5256ee64d | [] | no_license | zeta1999/go-pge | 39ac86612d4a90c1e53d2c45c1177e98b3bcf4e4 | 99a4b600185145bcc047e8e42cecfd2346b6b16d | refs/heads/master | 2021-01-01T11:10:20.053388 | 2014-01-16T16:06:50 | 2014-01-16T16:06:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 38,010 | tst | Nguyen_07.tst | x
f(xs)
1.646582 2.284632
1.898332 2.590988
0.473665 0.590169
1.877802 2.566896
1.012773 1.405433
0.388689 0.469060
0.733454 0.980569
1.216137 1.703616
0.247892 0.281092
0.126748 0.135272
1.349299 1.891069
0.306961 0.357751
1.038700 1.444150
0.635985 0.831911
0.196191 0.216911
1.688834 2.337742
0.5369... |
19d3a019204247641a96803f7da98c43e9eb41de | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH9/EX9.3/example9_3.sce | bf8476f0d7a78bf5a2300270686ee588f874d2be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | example9_3.sce | //clc()
F1 = 6*1000;//L/s
BOD1 = 3 * 10^-5;//g/L
BOD2 = 5 * 10^-3;//g/L
V = 16 * 10^3;//m^3/day
v = V * 10^3 / (24 * 3600);//L/s
//Let BOD of the effluent be BODeff,
BODeff = (BOD2 * (F1 + v) - BOD1 * F1) / ( v );
disp("g/L",BODeff,"BOD of the effluent of the plant = ") |
5b0a5faa5274237d20a5cc0b209abdc0326ff400 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.3/Ex2_3.sce | 9ef330004202aea006e0a10480e93396fd8db72b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | Ex2_3.sce | clear
//
//
//Initilization of Variables
//Let y be the yield stress
y=250 //N/mm**2 //yield stress
FOS=1.75 //Factor of safety
P=140*10**3 //N //compressive Load
D=101.6 //mm //External diameter
//Calculations
p=y*(FOS)**-1 //N/mm**2 //Permissible stress
A=P*p**-1 //mm**2 //Area of hollow tube
//Let d be the int... |
2868167c1658c11b3924e9eeaf86b45c3944d60b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH9/EX9.6/Ex9_6.sce | bd72adc8a4868822f9a06affb9efbd18ec0dbfdd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,052 | sce | Ex9_6.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex9_6.sce.
clc;
clear;
P=500e3;
Vl=3.3e3
Il=P/(sqrt(3)*Vl);
Vph=Vl/sqrt(3);
Iph=Il;
Rph=0.4;
Xsyn=4.2;
printf("\n (a)")
pf=1; //unity
Ef=((Vph+... |
a8417908ab262c24525e55b21d12adfc0ec13951 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH5/EX5.13/Example5_13.sce | e0241e0be38205039ef4b1e9fcf7b3b2a0f179e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | Example5_13.sce | clear;
clc;
// Example: 5.13
// Page: 168
printf("Example: 5.13 - Page: 168\n\n");
// Solution
//*****Data*****//
m = 80;// [mass of Argon, g]
T1 = 300;// [K]
T2 = 500;// [K]
Cv = 0.3122;// [kJ/kg K]
//**************//
Mw = 40;// [Molecular Weight of Argon]
n = m/Mw;// [moles]
deltaS = n*Cv*log(... |
6e97d0eb060e3990410adaefc764f6a0844d276b | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH3/EX3.2.13/exa3_2_13.sce | 44d3dabb3967cede8c773e01e35f20ab71c33aee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa3_2_13.sce | //Caption:transfer_function
// example 3.2.13
//page 49
// we have defined parallel and series function which we are going to use here
//exec parallel.sce;
//exec series.sce;
syms G1 G2 G3 G4 H1 H2;
//shift the summing point after block H2 towards right of block H2
//shift the summing point after block H1 towar... |
ca443eb287bb9363e39a6a9dfb88dcc280b34bd3 | 686c6780efada0e19458c60522827d17366b9cc1 | /Project3/Bonus-p3/Bonus.tst | 5329e4469b5691d631a1850324ab90e1d9b801f9 | [] | no_license | OnlyOneByte/CSCE312-Fall2019 | 98b4f46c643ac7a5bda8dc6a279dbb901ee6c921 | 7bf877ddec8eb3bd9ea32ae1b9b16626c354465c | refs/heads/master | 2020-07-25T14:52:35.308731 | 2020-01-30T02:05:24 | 2020-01-30T02:05:24 | 208,329,625 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,425 | tst | Bonus.tst | load Bonus.hdl,
output-file Bonus.out, // output file
compare-to Bonus.cmp, // compare file
output-list in%B1.4.1 load%B2.1.2 red%B2.1.2 green%B2.1.2 yellow%B3.1.3;
// does a full 0-15 cycle without load/in testing.
set in %B0000,
set load 0,
output;
// 0
tick,
tock,
output;
// 1
tick,
tock,
ou... |
a76e4cd2458d35a2ddc7a3ad13466bc71c153795 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH6/EX6.10/exa6_10.sce | 0ffba67717dab83a2be483bb3678995f22a6daa9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,289 | sce | exa6_10.sce | // Example 6-10
// Design of parallel compensation by root locus
clear; clc;
xdel(winsid()); //close all windows
// please edit the path
// cd "/<your code directory>/";
// exec("plotresp.sci");
function [G,C] = getsystem(K)
G = 20 / ( s*(s+1)*(s+4) + K*s ); //open loop system
C = syslin('c',G /. 1); // closed ... |
06da24cfedd9fe423dbd5ecfef382cf05153ecbb | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.7_17.tst | 72809d5cf7b1cdc6f80973d37da361b3f2b5d580 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,306 | tst | bow.7_17.tst | 7 1:0.14285714285714285 13:1.0 14:1.0 15:0.5 21:0.5 22:0.10526315789473684 27:0.0392156862745098 45:0.6 49:0.08333333333333333 66:0.2 70:0.5 71:0.5 84:1.0 86:0.5 89:1.0 91:0.2 94:1.0 97:0.5 107:0.25 113:1.0 136:2.0 144:1.0 155:0.1 157:0.4 195:1.0 224:1.0 229:1.0 274:1.0 311:0.5 357:1.0 392:0.6666666666666666 396:2.0 44... |
ab3e83e5ecbbbfd59e42d41b7301c50866aed148 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH16/EX16.11/16_11.sce | 64db155544879029510f2c52d5a42cf04cfa15b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 941 | sce | 16_11.sce | clear;
clc;
//Example - 16.11
//Page number - 584
printf("Example - 16.11 and Page number - 584\n\n");
//Given
R = 8.314;//[J/mol*K] - Universal gas constant
T = 25 + 273.15;//[K] - Surrounding temperature
den_water = 1000;//[kg/m^(3)] - Density of water
m_water = 100;//[g] - Mass of water
m_C12H22 = 5;/... |
753edd0fa216240ec33af4519649bd8f01612021 | b33d893a0a740c9f8d2592792e2aa1d9a88c64e9 | /EV/WLTP_Program.sce | a7c9b92ec6796a7cb2ecf9c09343e85b62557f42 | [] | no_license | sharanrathnakumar/Electric_Vehicle | 791f0d18b750cc6788fa2d86c83fcb5c6c9e662a | f50d3e7488b1bd480017fa98634ad55152475e61 | refs/heads/main | 2023-04-21T20:06:04.200553 | 2021-05-12T13:26:28 | 2021-05-12T13:26:28 | 366,724,231 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | WLTP_Program.sce | clear()
clc()
//Decode ole file, extract and open Excel stream
[fd,SST,Sheetnames,Sheetpos] = xls_open('WLTP-DHC-12-07e.xls');
//Read second data sheet
[Value,TextInd] = xls_read(fd,Sheetpos(2));
//close the spreadsheet stream
mclose(fd);
//load WLTP time and speed values in structure
WLTC.time = Value(8... |
ce72c5d5e10b9ea1fa210528b05f08a62418f3b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH7/EX7.42.b/example742b.sce | bed0b83a97ec90cde73d0c534bc4ac177a85c46d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | example742b.sce | //Example 7.42b
clc;
function[za]=ztransfer(sequence,n)
z=poly(0,'z','r')
za=sequence*(1/z)^n'
endfunction
x=[1,2,3,4,5,0,7];
n1=-3:length(x)-4;
X=ztransfer(x,n1);
funcprot(0); |
eb275579d37e9691d1ce7bd7354f3d9206264c39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH8/EX8.8/ex8_8.sce | 12a4d99204bfffa6a61617f751265ca1124c21aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 749 | sce | ex8_8.sce | //find string efficiency
clear;
clc;
//soltion
//given
V1=poly(0,"V1");
V2=poly(0,"V2");
V3=poly(0,"V3");
V=poly(0,"V");
//Since wC is common so its cancelled
function x=%c_sign(a)
x = '1.05*V2/1.2' + a + '0.05*V3/1.2'
endfunction
printf("V1=");
disp(sign('+'));
function x=%c_sin(... |
558e0e679f973467eaa1af763575df62a2c5df9d | 27a721095f94b336dd8b88c9d90cb92ca4ab4996 | /Scripts/bisection.sci | fa2944483d88807fd12df2a2e0f999157c6444de | [] | no_license | ECipolatti/Calculo-Numerico | f5201774402680a419345db4fd8f0af686c79e7a | 86369f9010c408854fd141d819bc11b1ab4590c1 | refs/heads/master | 2021-05-06T06:46:10.292226 | 2017-12-11T18:41:46 | 2017-12-11T18:41:46 | 113,894,883 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 866 | sci | bisection.sci | function [p,h] = bisection(f,a,b,nmax,tol)
h = []; // histórico de convergencia |f(p_n)| < tol
fa = f(a);
fb = f(b);
if (abs(fa) < tol) then
disp("La raíz es a");
p = a;
return;
end
if (abs(fb) < tol) then
disp("La raíz es b");
p = b;
return;
... |
21cd34ee09fc1304c938080cfa9e97b8afd64cad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH9/EX9.9/exa9_9.sce | 8c62d3e37e728a344a362026d1de545cb277eb80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,114 | sce | exa9_9.sce | //Example 9.9
// Natural response of a Phase-Shift Oscillator
// Continued from textbook example 9.7
C=2*10^-6;
R=100;
L=10*10^-3;
K=poly(0,'K'); // Variable gain K
alpha=(R/(2*L))*(L/(R^2*C)+1-K);
omega_0=sqrt(2/(L*C));
K=roots(alpha);
alpha=horner(alpha,K)
// Since this is the case of underdamped response
... |
913f8372a08122fa2552aa8662f20a95374138b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH8/EX8.02/8_02.sce | 5bfaee2671464e40f4211e7bba004835c958d269 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 744 | sce | 8_02.sce | //Problem 8.02: A conductor carries a current of 20 A and is at rightangles to a magnetic field having a flux density of 0.9 T. If the length of the conductor in the field is 30 cm, calculate the force acting on the conductor. Determine also the value of the force if the conductor is inclined at an angle of 30° to the ... |
2a5f590feedb233a0925f398633280e3ed7c8249 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH3/EX3.8/8.sci | 839c75bee7d62a7afbd4b14610a33c08555dea21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sci | 8.sci | clc;
clear all;
disp("Heat loss rate")
ti=350;// degree C
to=50;// degree C
k=1.5;// W/(m*C)
x=0.3;// m
l=4.5;//m
b=3.75;//m
h=3;//m
Ai=2*(l*b+l*h+b*h);//m^2
y=4*(l+b+h);// length of edges
Sfce=y;
Sfcc=0.15*x;
Am=Ai+Sfce*.54*x+8*Sfcc*x;
Am
disp("m^2")
Q=k*Am*(ti-to)/x;
disp("W",Q,"rate of heat loss ... |
5a7597c85607f595b1b222cc2bdbd220b69c6ef6 | 8c8c1ab38e21729879e1fb57636eb778aaf88ca5 | /7.1.sce | 11a3bcf6a2593b8bc6c4023df574fe45da4f238c | [] | no_license | Rutvik1999/Scilab_3rdSemester | 3b9454b18220ed503e7129bf77a797feecd8f039 | 12342f90814f64e86398621be3070d5569388634 | refs/heads/master | 2020-05-18T08:21:10.203092 | 2019-04-30T16:03:59 | 2019-04-30T16:03:59 | 184,292,298 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | 7.1.sce | disp("the function define b/w n=0 to n=N ")
xn=input("enter x(n):");
n=1:length(xn);
M = length(xn);
sum=0;
for i=1:1:M
sum=sum+xn(i);
y(i)=sum/(M+1);
end
figure(1)
subplot(2,1,1);
plot2d3(n,xn);
xlabel("n");
ylabel("x(n)");
title("x(n)----->n");
subplot(2,1,2);
plot2d3(n,y);
xlabel("n");
yl... |
8db93012c349997f67256202c859883d5c4ed279 | c206e3f57b0a6f75bd1feefefecd29398746c358 | /scripts/escalona.sci | 1b8a6fedc16751aaade22897326f18b9fa855cdc | [] | no_license | danielfcollier/scilab-image-processing-scripts | e092a7c1a6a0ade906c020218a9571290245e40f | 43d78cb06dc6c27ab8663f351e4c172d038280ce | refs/heads/main | 2023-04-12T20:05:52.840157 | 2021-04-27T18:56:06 | 2021-04-27T18:56:06 | 362,219,761 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 758 | sci | escalona.sci | function E = escalona(I, ex, ey)
// ESCALONA_
// I: matriz de intensidade
// ex: escalonamento vertical
// ey: escalonamento horizontal
//
// Uso:
// I = imread('figura.jpg');
// E = escalona(I, 0.5, 2);
// imshow(E, [])
//
[m n] = size(I);
//for i=1:m
// for j=1:n
// a(i,j) = i*ex;
// b(i,j) = ... |
b2da38e757a538e2e317d22f194aeebcc4f14ee2 | 4c5c456d13f598f32e94ddceef03d91e7551164b | /Teste4-Integrais/integrais.sci | 694dd8f291e99b565d4a1616d30a43860aa9912c | [] | no_license | joaopaulocastilho/CalculoNumerico | 1ebf4d252a29e7f56d3c53187b058d0ca80d86ee | 285d9e7aec7a794e9065ecdf714ff28e91cb98b0 | refs/heads/master | 2021-01-12T12:15:22.885270 | 2017-02-14T00:50:46 | 2017-02-14T00:50:46 | 72,391,179 | 0 | 1 | null | 2017-02-14T00:50:47 | 2016-10-31T02:30:54 | Scilab | ISO-8859-1 | Scilab | false | false | 1,732 | sci | integrais.sci | function [y] = f(x);
y = x ^ 2; //inserir aqui a função
//1/(1+x); //x * %e ^ (x/2); //log(1 + x) / log(%e); //x^2; //%e ^ x ^ 2;
endfunction;
function y = trapezio(x0, x1, n)
h = (x1 - x0) / n;
soma = f(x0) + f(x1);
for k = 1 : n - 1
soma = soma + 2 * f(x0 + k * h);
end;
y = (h / 2) * soma;
en... |
2237accfc247f7db336f2e574dd31d2511b6f6bf | bc0a6b4d5e326bd35c72bec024b555ed91a1c543 | /circle1.sce | 030f9e043ebebead838fdeeeb59a969cddd80275 | [] | no_license | askmrsinh/SEM1_AM | 0c9e7b4a51caa1321d1203cf9060e454b685e0ee | 31da57ba40d0741b370dd3c789a1dfec5c99bdea | refs/heads/master | 2021-09-28T03:09:18.743057 | 2016-08-18T15:01:52 | 2016-08-18T15:01:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | sce | circle1.sce | a=1
theta=0:%pi/64:2*%pi;
r=a*(1-cos(theta))
polarplot(theta,r)
r=a*sin(theta)
polarplot(theta,r)
|
bc5208d7c28647cb0c613ce198bd8d91476aa4ed | 364f7d17c4f024c39c47c99bda284bacb913d470 | /macros/pana.sci | 0dad1106909ffb3b81dc63391ca3358ae7ebf36c | [] | no_license | msharsha/FOSSEE-Image-Processing-Toolbox | 6ce7bafc187b99b9e01d1eedcc09a11c3a80370d | f8b16bc3329f9186a3b362f29d9a40d20b48cfd4 | refs/heads/master | 2020-12-02T07:55:57.553927 | 2017-07-10T07:41:21 | 2017-07-10T07:41:21 | 96,747,260 | 0 | 0 | null | 2017-07-10T07:14:37 | 2017-07-10T07:14:37 | null | UTF-8 | Scilab | false | false | 3,193 | sci | pana.sci | // Copyright (C) 2015 - 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_... |
93f2e940bff37d4db4729e04f7774121f5b84426 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH5/EX5.32/5_32.sce | d026ad75b167342ea7c800d9923608173385e5fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,913 | sce | 5_32.sce | //Example 5.32
//Regula Falsi, Newton Raphson and Mullers Method
//Page no. 201
clc;clear;close;
deff('x=f(x)','x=x^5-3.7*x^4+7.4*x^3-10.8*x^2+10.8*x-6.8')
deff('x=f1(x)','x=5*x^4-4*3.7*x^3+3*7.4*x^2-21.6*x+10.8')
//newton raphson
printf('n\txn\t\t\f(xn)\t\tf1(xn)\t\tXn+1\t\tError\n')
printf('------------------... |
769c17210c92621647c990aa8f33e11e1860c484 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH27/EX27.14/ex27_14.sce | 4d913e1475dc25dd50107dc986d08a52eea26b17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 145 | sce | ex27_14.sce | clc;
m=0.91/0.52; //cal molality
disp(m*0.5,"Moles = "); //displaying result
disp(300/(m*0.5),"Molecular Mass = "); //displaying result
|
e58a366dd42a4694db3f113f9a7ff279ee4aa210 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH7/EX7.7a/eg7_7a.sce | ffca665a0bdb3db5fe68961d0de1e18e3fd67c6a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | eg7_7a.sce | function result1= estimator1(X)
result1= X(1);
//result2= mean(X);
endfunction
function result2= estimator2(X)
//result1= X(1);
result2= mean(X);
endfunction |
0f0e0e12214f2bd379c0ee6ff5e3615550001131 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH1/EX1.5/5.sce | 39a6afb4b6d174a9afc00e49b1d1d3b29b813638 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sce | 5.sce | //problem 1.5
h1=0.05
h2=0.1
s1=0.8
s2=13.6
w=9810
p=s2*h2*w //pressure at balance line
p1=s1*h1*w
pf=p-p1
disp(pf, "pressure in pipe(N/m2)")
|
4a09d553167cbd6509e0cabb73c1423942ea7bd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH14/EX14.12.9/Ex14_9.sce | 9aa357e6ac05ce3d6f165ac2db5ce6186eb9ede8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,051 | sce | Ex14_9.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 14 Integrated Circuits and Operational Amplifiers
clc
clear
R1=10*1000//R1=resistance in ohms
R2=100//R2=resistance in ohms
R3=10*1000//R3=resistance in ohms
R4=10*1000//R4=resistance in ohms
R5=10*1000//R5=resistance in ohms
//Since the voltage gains of t... |
a6337e0ea5e07e9fd16328d118ff384720fd6bba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH2/EX2.5/Chapter2_Example5.sce | f6e503e656d8dcd929f856dae38b1026d5cfd29b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 577 | sce | Chapter2_Example5.sce | clc
clear
//Input data
d=10^-3;//The diameter of a steel wire in m
t=20;//The difference in the temperature in degree centigrade
y=2*10^11;//The youngs modulus of a steel wire in newtons/m^2
a=12*10^-6;//The coefficient of linear expansion of steel wire in per degree centigrade
pi=(22/7);//Mathematical constant... |
061ad00e0849811388e55f1bc1991b1b799fdbe0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /116/CH8/EX8.2/exa8_2.sce | 33ccb2a76dc1e4851826878b2b838b71dc461af4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sce | exa8_2.sce |
//Example 8.2
//Page 389
//Refer figure 8.2 on page 385
disp('The attenuation of single-mode fibre operating at 1300nm is approximately 0.35dB/km. Thus,')
Pin=42//input power = 42dB
A=0.35
LL=(Pin/A)//Loss Limit
disp('Using 250 Gbps-km as BDP of a silica single-mode fiber, the chromatic dispersion limit i... |
2c60a517ac6521d03572e9afec2d6aaaff48761c | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH1/EX1.6/ex_6.sce | 33c9db227918e592b0e6c79ddfa7c7dfda155a4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | ex_6.sce | // PG (18)
xT = 1/3
xA = 0.333
abs(xT-xA) // Error
//--------------------------------
xT = 23.496
xA = 23.494
abs(xT-xA) // Error
//--------------------------------
xT = 0.02138
xA = 0.02144
abs(xT-xA) // Error
|
ea72d263b285491c0d6ceda6a0ac072cbf8ff582 | 328039f23f397ae760ae5fd4027e8f3111bef894 | /01/functions.sce | 0bc93563536f0ad17dc46e18435e165983960473 | [] | no_license | sbednarz/scilab4chemists | 8107d0766683d24c9cf4ff9a3dff1de48b27e26b | 4545215f5a6d1d5589c40105b9e9b85a3e579822 | refs/heads/master | 2022-04-18T18:11:58.495942 | 2020-04-14T22:45:01 | 2020-04-14T22:45:01 | 255,630,945 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | sce | functions.sce |
// fun1 => a function name
// y => return value
function y = fun1 (x)
y = x + 2
endfunction
// using of functions
a = 10
b = fun1(a)
disp(b)
disp(fun1(10))
function y = fun2 (x)
z = x**2
y = z + 1
endfunction
disp(fun2(10))
// 101
// function of two arguments
function z = calcu... |
97f151803c2a37b7b4b951a84595d3158eb0c53b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH13/EX13.11/13_11.sce | 5da1c40e9016f5b99759ff175cc0c0b9d024284f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | 13_11.sce | clc
//initialisation of variables
clear
T= 1000 //C
j= 1.5
Q= 35840 //cal
I= 743*10^-40 //g cm^2
w= 214 //cm^-2
Kf= 0.184
//RESULTS
printf ('Equilibrium constant = %.3f ',Kf)
//NO SOLUTION IS GIVEN TO SOLVE Kf
//INCOMPLETE SOLUTION IN THE TEXTBOOK
|
42639c68c37b2b4936dd2ae02edfc42e56293af3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH19/EX19.4/19_04.sce | 047b976503131f6d00ec05a76981bcc0c3226e35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | 19_04.sce | //Chapter 19, Problem 4
clc;
Ri=1000; //input resistance
Rf=2000; //feedback resistance
Vi1=0.4; //input voltage 1
Vi2=-1.2; //input voltage 2
V01=(-Rf/Ri)*Vi1; //output voltage 1
V02=(-Rf/Ri)*Vi2; //output voltage 2
... |
a435d7a1a1a7083b696104a02a6aed3ef40f51ee | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /Replanning/SCENARIO/Pr2HumanAndShelf.sce | 463a0c4c5123815f251d17f950d2d799fde5a3fc | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,963 | sce | Pr2HumanAndShelf.sce | #************************************************************
# Scenario of Ikea
#
# date : Fri Jan 6 10:53:02 2012
#************************************************************
p3d_sel_desc_name P3D_ENV Ikea
p3d_sel_desc_name P3D_ROBOT Tabouret
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000... |
e4e715d66fce946ca670c21a4392e44ff56b4c5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH3/EX3.8/Ex3_8.sce | 7f8d9b715c75ac5feaabb7bc8af15566e969bbb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sce | Ex3_8.sce | // Example 3_8
clc;clear;funcprot(0);
// Properties
rho=1000;// The density of lake water through out
g=9.81;//The acceleration due to gravity in m/s^2
// Given values
s=8;// m
b=1.2;//m
h_c=s+b/2; // m
// Calculation
P_ave=(rho*g*h_c)/1000;// kN/m^2
printf('The average pressure on the door,P_ave=%0.1f k... |
076cc1706fe52ed29863a119f1408d7406c538bd | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/swe.tst | d2d90560f9de3cd0f82915b9f64ed0812a8c0f50 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 544,413 | tst | swe.tst | ammoniak ammoniakens N;GEN;DEF;SG
ammoniak ammoniaks N;GEN;INDF;SG
ammoniak ammoniaken N;NOM;DEF;SG
ammoniak ammoniak N;NOM;INDF;SG
automation automations N;GEN;INDF;SG
automation automationen N;NOM;DEF;SG
automation automationens N;GEN;DEF;SG
automation automation N;NOM;INDF;SG
borste borsten N;NOM;DEF;SG
borste borst... |
0b8ee7757f37fd46c165f3fb81d9e555d9177390 | d56141249002a5da7c4a2641dbdfc609809046a8 | /GPAW/PD_plot.sce | 42005c14708f8a0f944fbde0cdf403b892138d09 | [] | no_license | kcbhamu/DFTutilities | 14a77226c1229ec61563cc08316d6c32814ddb57 | d6c859407a6b13c8bc5340c08db7a0125d6ed4e6 | refs/heads/master | 2021-06-24T15:23:58.675113 | 2017-08-23T20:56:44 | 2017-08-23T20:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sce | PD_plot.sce | // This code is to plot the planar pseudo density of the output from gpaw.
clear; clc; xdel(winsid());
PD_folder='C:\Users\pipidog\Dropbox\My Project\Density_Plot\nt_store\'
PD_name='nt'
Plane_fix=[3,13];
// Code Start =================
PD_dim=read(PD_folder+PD_name+'_dim.txt',3,1);
PD_data=zeros(PD_dim(1),PD_dim(2),... |
c6b2af73d481b276bb44e3e750f9b32d5bd29886 | b45c63b6a8062e3a8b11a3e1b678fdfba51f7181 | /chipsSequenciais/ShiftRegisterPISO16.tst | c8ee587bd3bcadfe111a1d45cdc15b22d8e22896 | [] | no_license | lpsoares/Elementos-de-Sistemas-2016 | 96a14ce596eacf7bef58a714f495fffaba16d6d7 | 28861e56b893966bc59c184b5a5947910dce7739 | refs/heads/master | 2021-01-21T14:17:22.774044 | 2016-06-21T20:31:26 | 2016-06-21T20:31:26 | 49,151,636 | 0 | 0 | null | 2016-06-21T20:31:26 | 2016-01-06T17:51:38 | Assembly | UTF-8 | Scilab | false | false | 1,019 | tst | ShiftRegisterPISO16.tst | // ShiftRegisterPISO16.tst
load ShiftRegisterPISO16.hdl,
output-file ShiftRegisterPISO16.out,
compare-to ShiftRegisterPISO16.cmp,
output-list time%S1.4.1 in%B2.1.2 load%B2.1.2 out%B2.1.2
set in 1,
set load 0,
tick,
output;
tock,
output;
set in 1,
set load 1,
tick,
output;
tock,
output;
set in 1,
set load 1,
tick,... |
2bee5ce0cde488eeff937672464de338be49cd58 | d33a75008c053dfcc7a5ddd76ece94e21e12d9f3 | /src/test_server_1_b.tst | 0df9a84c1ce4663185d1346c1356274bfcff68dc | [
"MIT",
"OML",
"Zlib",
"BSD-3-Clause"
] | permissive | SOELexicon/ciyam | 74a5f99fb0800668babea81aabe12c3c109b4b22 | 1e46fb6323cdb52d67ff0fcab333c04fb5f48643 | refs/heads/master | 2021-01-11T15:04:35.721152 | 2017-01-28T16:19:42 | 2017-01-28T16:19:42 | 80,293,808 | 0 | 0 | null | 2017-01-28T16:03:18 | 2017-01-28T16:03:18 | null | UTF-8 | Scilab | false | false | 3,179 | tst | test_server_1_b.tst |
> file_raw -text blob "Hello World!"
2ccdb4c72e6c263e1dc3e5c6617bad479d267546ced55f88d6b6e4527d2e8da8
> file_raw -text blob "This is a test."
90a1a46903f42ddf0386a9c12fd67a6c109285bb8b3117ee83ed222fd0040ad3
> file_raw -text list "2ccdb4c72e6c263e1dc3e5c6617bad479d267546ced55f88d6b6e4527d2e8da8 hello\n90a1a46903f42dd... |
7f8a45572220dca1ad8e90c6b292da9bca0c28a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH3/EX3.20/3_20.sce | 9cdd0dbd3db58a4897816cfa28e4297c30e2a3ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 671 | sce | 3_20.sce | clc;
clear;
//Example 3.20
m_dot=2250 //Mass flow arte in [kg/h]
Cp=3.35 //Specific heat in [kJ/(kg.K)]
dT=316-288.5 //Temperature drop for oil [K]
Q=Cp*m_dot*dT //Rate of heat transfer in [kJ/h]
Q=round(Q*1000/3600) //[J/s] or[W]
Di=0.04 //Inside diameter [m]
Do=0.048 //Outside diamter in [m]
h... |
6ab97490b4b2c51d40a87cdb6598bda345470243 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1415/CH1/EX1.3.1/ex1.sce | 4c1c68edeb974bc7bbf02c4b7b1fbbb4ca1e95a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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.sce | //Example 1 Page 78
clc
clear
//The function f cannot be linear.If it were, we would have delta f=m*deltax//
disp(-4/2,'the ratio deltag/deltax is the same each time namely -4/2=')
disp('hence g is linear with slop m=-2.By the table g(0)=3 hence b =3')
disp('g(x)=-2x+3');
x=[0 2 4 6 8 10 12]// taking the x value... |
edf890fd9aa320172064a96acc3117d6c52e7311 | fec7f3b107ceec13edf1fc16cad48dddc274a41e | /SysSim.sce | 0fc7be6d3132c010462db99c7f62a3d75cea981c | [] | no_license | JarrodOlivier/ControlsScilab | 0b1c197a6a6c36e276848f060d974a349a3affb7 | 49bc695d0d3839a1f88211ce0ba4a3d045911fe7 | refs/heads/master | 2020-03-29T10:25:02.975988 | 2018-09-21T18:47:40 | 2018-09-21T18:47:40 | 149,804,258 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 674 | sce | SysSim.sce |
//Below is the system identification and design
s = %s
A = 17.09
T = 11.92643
h_s = 1//0.86
//Proportional Controller
//k_s = 1 //some rndm number
//Lead Controller
k_s = 2.8*(s+0.3986)/(s+3.5868)
gN = A
gD = s*(1+s*T)
g_s = gN/gD
//plzr(g_s)
g_sCL = 2.5*(g_s*k_s)/(1+g_s*h_s*k_s)
g =... |
87f0d9ada0f69ad591fc36d8f6f705a253b6e818 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH16/EX16.7/Ex16_7.sce | 0266c026cd673925edb9bc0203144d75b212f40c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | Ex16_7.sce | //Example 16.7, Page no 603
clc
E=0.129//in Mev
x=931//uc^2
Del_E=(E)**2/(2*x*191)
printf("\n The value of delta E is %e ev",Del_E*10**6)
h=6.6*10^-16//ev-sec
T=1.4*10^-10//sec
Tou=h/T
printf("\n The value of Tou is %e ev",Tou) |
e675606300e1f673935ed322ba9e6134f8718202 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH2/EX2.4/2_4.sce | e12af0c3aed1e7b626392198e2a56e05ee6b20f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | 2_4.sce | clear
clc;
rad=1.81;
Dist1=6*100;
Dist2=Dist1;
Dist3=12*100;
Reff=.7788*rad;
Dist=(Dist1*Dist2*Dist3)^(1/3);
L = .4605 * log10(Dist/Reff);
mprintf("L=%.4f mH/km",L);
|
eb0fa6ed8d16995b97e71822dfe881b03c93954e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH10/EX10.2/exm10_2.sce | 8936f99e52aed7dfd561fc17b1c0c926a5b968db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 757 | sce | exm10_2.sce | // page no 321
// example no 10.2
// ADDITION OF PACKED BCD NUMBERS
clc;
a=77;
b=48;
x=modulo(a,10);
y=modulo(b,10);
z=x+y;
if z>9 then
f=z+6;
printf('After addition BCD1 is: ')
disp(dec2bin(f));
printf('MSB of this sequence is the carry generated after addition. \n \n')
else
pri... |
fe7829980090653e596a88536b835df5b1e77f06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH12/EX12.6/Ex12_6.sce | 4aaa681d38e25c2e67fc9626806777b88b7c3a5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,259 | sce | Ex12_6.sce | clc
h1 = 3023.5 // Enthalpy of steam at state 1 in kJ/kg
s1 = 6.7664 // Enthalpy of steam at state 1 in kJ/kgK
s2 = s1 // Isentropic process
s3 = s1 //Isentropic process
s4 = s1 //Isentropic process
t_sat_20 = 212 // Saturation temperature at 20 bar in degree Celsius
t_sat_1 = 46 // Saturation temperature at 1 bar in ... |
3d1616709256d9d55af62e36e1d8870539b2b30c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH8/EX8.9/Ex8_9.sce | 6b82829c1b722d78ff4f90023244bbe5edbce331 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sce | Ex8_9.sce | clear
//
//given
ns=1000 //synchronous speed calculated using similar formulas as above
N=960 //speed of the motor at full load
s=0.04 //slip
r2=0.15
a=1.5
x2=1
rres=r2*a**2
rrea=x2*a**2
e2=220/(3**0.5)
//case a torque at full load
//tfl=((3*s*rres)*(e2**2)*60)/(2*3.14*1000)*((rres**2)+((s*rrea)**2))
printf("\n torque=... |
fd7dc4f887beee1a1f699ab8e10880820b0923b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH2/EX2.3/Example2_3.sce | 0cc79598c9787209d2d3adef78ca67e2afaee3ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sce | Example2_3.sce | //clear//
//Caption:Program to Calculate NORMALIZED FREQUENCY 'V' and Numerical Aperture
//Example2.3
//Page 58
clear;
close;
clc;
a = 25e-06;
Lambda =1300e-09;
V = 26.6;
Numerical_Aperture = V*Lambda/(2*%pi*a)
disp(Numerical_Aperture,"Numerical Aperture is");
disp(M = (V^2)/2,'Total number of modes M ente... |
bc3b19316990bc1da81f34d6373c9f0e5254a20e | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH11/EX11.11/11_11.sce | 162596d515901b88837ee56f5220e4c86d865bfe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 675 | sce | 11_11.sce | //Eg-11.11
//pg-493
clear
clc
//The function to be integrated is
deff('out = func(in)','out = 8.168*in*(1-in/2.5)^0.17')
a = 0;
b = 2.5; //Limits of integration
//Taking the values of w and x from the table 11.3
//The value of the subscripts is increased by 1 because the index 0 is not valid.
w... |
21b6d0e9af0eb85473c3e8e3bd48e510090ebb1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH16/EX16.19/Ex16_19.sce | a5dc11a744d3931d24f88e7218c1eedde251a609 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 668 | sce | Ex16_19.sce |
// Examle 16.19
V=220; // Supply voltage
Ia=22; // Armature currernt
Ra=0.45; // Armature resistance
E1=V-(Ia*Ra); // Generated emf
disp(' Generated emf = '+string(E1)+' Voltage');
N1=700; // Speed of motor in Shunt
N2=45... |
a7081385999d889557fde479a11779a19fabb8b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH3/EX3.5/3_5.sce | afc3ca3fb43b1e231b2029576fa46b5e477bc434 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_5.sce | clc
//initialisation of variables
p=20//psia
t=240//F
v=6//cu ft
p1=80//psia
v2=2.23//cu ft
h=144//ft
t1=778//F
w=53.35//ft lb
t2=700//F
w1=0.1715//lb
//CALCULATIONS
W=(h*(p1*v2-p*6))/(1-1.4)//ft-lb
U=-(W/t1)//Btu
W1=(h*p*v)/(w*t2)//lb
T=t2*(p1/p)^0.2857//R
U2=W1*w1*(T-t2)//Btu
//RESULTS
printf('The ... |
7a609c09e283ecbe88104ced52a0d8637f02d8b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH9/EX9.6/Ex9_6.sce | fba8aa6474b3d78dd54ac40001d99705df91179b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 863 | sce | Ex9_6.sce |
clear all; clc;
disp("Scilab Code Ex 9.6 : ")
//Given:
sigma_x = -20; //MPa
sigma_y = 90; //MPa
tou_xy =60; //Mpa
//Orientation of Element:
theta_s2 = atan(-(sigma_x - sigma_y)/(2*tou_xy));
theta_s2 = theta_s2/2;
theta_s1 = %pi + 2*theta_s2;
theta_s1 = theta_s1/2;
//Maximum in plane Shear Stress:
... |
2f1ca9c55543394012a18a35b7939cdbb7bf2c83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH2/EX2.2/Ex2_2.sce | f77743576f7f0269cd233a9c5f7a1af33ced1e04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | Ex2_2.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 2.2
//Given Data Set in the Problem
d_ram=20/100
d_plunger=3/100
F_ram=30*10^3
//Calculations
A_plunger=%pi/4*d_plunger^2
A_ram=%pi/4*d_ram^2
//We know that,Pressure on plunger =... |
8abdfeb4643658c978426e54fc71ee41a7519796 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH20/EX20.16/example20_16.sce | 9fb1875f4b5538cad3ea05a44828ad5872eb6dca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example20_16.sce | clc
// Given that
Z = 79 // atomic no. of element
b = 1 // a constant
a = 2.468e15 // a constant in per sec
c = 3e8 // speed of light in m/sec
// Sample Problem 16 on page no. 20.12
printf("\n # PROBLEM 16 # \n")
printf("Standard formula used \n ")
printf(" nu = a*(Z-b)^2 ........Moseley law \n")
f = a * (Z - b)^2
lam... |
d75d263721b0e6af8e036b1e8256fcc46b93f4bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH12/EX12.5/Ex12_5.sce | b120d7aac9379c43fa09daef0f7f4ab9a3afae65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,419 | sce | Ex12_5.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 12 Example 5")
T1=25;//room temperature in degree celcius
T4=2;//winter outside temperature in degree celcius
h1=10;//heat transfer coefficient on inner window s... |
be0735545ad509e53004d848e00c48663d3ecacb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH9/EX9.5/Ex9_5.sce | 5103569f09be84a573ce8d9e1699e932d99f4fb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | Ex9_5.sce | //Variable declaration:
h = 24.0 //Plant operating hour per day (h/day)
d = 350.0 //Plant operating day per year (day/yr)
//Calculation:
N = h*d //Operating hours per year (h/yr)
//From example 9.1:
Q = 8545.0 //Rate of energy loss (Btu/h)
Qy = ... |
1002a304a662714dbcce97d281ecf9effe819f69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH10/EX10.3/Example10_3.sci | 790ffa541cfac4c00316ef46ea65293c912b1c60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,390 | sci | Example10_3.sci | //Chapter 10_Special Purpose Amplifiers
//Caption : Class B Power Amplifier
//Example10.3: A class-B audio power amplifier has a supply voltage of abs(Vcc)=15V. The closed loop gain Av=50 and the amplifier has to deliver 10W of power into an 8 ohm load.Find:
//a)the peak output voltage swing
//b)the peak output cu... |
f4916326a40f20717eca5547b468eb671edfe788 | 6802d20f76f56f855fcfe45543132d077e591474 | /App/js/app/views/account/admin/dashboardView.tst | c8d48904c144b1d63311e2aac150337c089c421e | [] | no_license | mike-ward/Nancy.Start | 5c16844554345eecb6502c696f0abfe75062fd29 | ff5804c48b4ec18a8793a9d2eb1ff3bac6fe5788 | refs/heads/master | 2021-01-09T05:24:39.589221 | 2018-02-19T18:42:53 | 2018-02-19T18:42:53 | 80,761,860 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | tst | dashboardView.tst | describe('dashboardView', () => {
it('should contain view tag', () => {
const vnode = App.Views.Account.Admin.dashboardView.view();
expect(vnode.tag).toBe('view');
});
});
|
03f4797d8e9dfe61bcd1b3a6d766c5e1d17169d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH2/EX2.002/standard_dimensions.sci | 2ea28a316e3e1c174c39b7a25905294fc1c82067 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sci | standard_dimensions.sci | //Function to standardize the dimensions
funcprot(0)
function stddim(x)
x=x*(10^3)
std=[1 2 3 4 5 6 8 10 12 15 18 20 24 26 30:5:400]
n=length(std)
for i=1:n
if (x<std(i)) then
y=std(i)
break
else
continue
end
end
y=y*(1... |
8a2d8328d01f0b9dd0226d8dc4d3bc7d3908fc4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH5/EX5.18/EX_5_18.sce | 13be3d8411e3a70c18d214698e8e0156fc694f59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | EX_5_18.sce | // Example 5.16:fb
clc;
clear;
close;
rpi=2;//resistance in killo ohms
Cpi=1.8;//capacitance in pico farad
Cmu=0.12;//capacitance in pico farad
fb=(1/(2*%pi*rpi*10^3*(Cpi+Cmu)*10^-6));//frequency in mega hertz
disp(fb,"frequency in mega hertz")
|
c1300233bd6b41f6a3c8f85e46c1b37aeda0346d | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnTh/enth.3.tst | 8acf89a0d7284b3e8e38a40079ecfdaac644e94b | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 133,570 | tst | enth.3.tst | a . g . p . เ อ จ ี พ ี
a a g a a r d อ า ก า ร ์ ด
a b a b a อ า บ า บ า
a b e l l เ อ เ บ ิ ล
a b e r n a t h y แ อ เ บ อ ร ์ แ น ็ ต ท ี ่
a b i g a i l แ อ บ ิ เ ก ล
a b s เ อ บ ี เ อ ส
a c h e r o n แ อ ็ ก เ ค ร ิ น
a c h r o m a t i c l e n s อ ะ โ ค ร ม า ต ิ ก เ ล น ส ์
a c k e r m a n แ อ ็ ก เ ค อ ร ์ เ ม ... |
1b95263c07410bd1326766c1cd6cefb0d66c6040 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH10/EX10.3/Ex10_3.sce | 5cc83f601452b378544854d5b06e3df9cbc26c42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,220 | sce | Ex10_3.sce |
// Example 10.3
R=120; // Resistance
Xc=250; // Capacitve Reactance
Q=-64.4; // Phase Angle
I=0.9+%i*0; // Current
Z=R-%i*Xc; // Impedance
disp(' The Impedance is = '+string(Z)+' or ('+string(abs(Z))+' <... |
de0ad5f4e918cf4edb3d1aba83a8b225fae1aab3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH3/EX3.9/3_9.sce | 58e91a723dc270db4d4af2ad8004aebfa6311ee7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | 3_9.sce | clc;
//page no 122
//prob no. 3.9
// refer fig 3.14
// from spectrum we can see that each of the two sidebands is 20dB below the ref level of 10dBm. Therefore each sideband has a power of -10dBm i.e. 100uW.
power_of_each_sideband = 100;
Total_power = 2* power_of_each_sideband;
disp('uW',Total_power,'The total po... |
2b3fcaa36cdb3d2b9aa385b70b651cf1936ee744 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH2/EX2.1/Ex2_1.sce | 9f2bd3f4cfc4b3ed2803fef2b4b8acd690b6fecd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | Ex2_1.sce | clear
//
//
//
//Variable declaration
r=0.1249 //radius(nm)
n=2 //number of atoms
//Calculation
a=4*r/sqrt(3) //unit cell edge length(nm)
V=a**3 //volume of unit cell(nm**3)
v=4*n*%pi*r**3/3 //volume of atoms in unit cell(nm**3)
fv=V-v //free volume per unit cell(nm**3)
... |
9628e9c2159ebdd0b414ba994e9a0520860f2c2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH1/EX1.17/Ex1_17.sce | ba39186ccf0bad14e1c40c7dec6f7cfdf87f34d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | Ex1_17.sce | //Example 1.17: Addition of two signed numbers -5 and -4
clc;
x=bitcmp(5,4) //finds complement of 5
y=1;
u=x+y //1 is added to the complement
l=bitcmp(4,4) //finds complement of 5
m=1;
n=l+m //1 is added to the complement
z=n+u;
r = dec2bin(z); // binary equivalent of decimal number
disp('The binary number is... |
ead8d332a239af32560899ce76ab82e885c22dae | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH22/EX22.8.a/data22_8.sci | 1aabbbee99a44f76c5c766620a8ec7cc985efbb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | sci | data22_8.sci | //(Cylinders and Pressure Vessels) Example 22.8
//Inner diameter of the tube D1 (mm)
D1 = 50
//Outer diameter of the tube D2 (mm)
D2 = 75
//Outer diameter of the jacket D3 (mm)
D3 = 100
//Internal pressure on the compound tube Pi (MPa)
Pi = 35
//Young's modulus of the of the tube E (N/mm2)
E = 207000
|
725457322287c8c9105a2beb7c5e3290ec4924e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH5/EX5.3/Example5_3.sce | ca401c0a1d6676bdf41af562d892babbd47328de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sce | Example5_3.sce | //Exa 5.3
clc;
clear;
close;
//Given data :
l=15;//km
P=5;//MW
V=11;//kV
f=50;//Hz
pf=0.8;//power factor
cos_fi_r=pf;
sin_fi_r=sqrt(1-cos_fi_r^2);
L=1.1;//mH/Km
VR=V*1000/sqrt(3);//V
I=P*1000/sqrt(3)/V/cos_fi_r;//A
LineLoss=12/100*P*10^6;//W
R=LineLoss/3/I^2;//ohm
X=2*%pi*f*L*10^-3*l;//ohm/phase
VS=VR... |
d974715fe30d73dd3e22d4a38608a1d7ed2a7f17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH8/EX8.8.A/additional_ex_8.sce | fa68d39b7a598b371253664e527a860377b37677 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | additional_ex_8.sce | clc;
clear;
P0=2/3; //P(X=0)
P1=2/3; //P(Y=0)
H_x=0.919;
H_y=0.919;
H_b=0.919; //Hb(2/3)
//since X,Y pair is uniformly distributed on three values
H_xy=log2(3); // H(X,Y)
H_xdivy=H_xy-H_y; //H(X/Y)=H(X,Y)-H(Y)
I_xdivy=H_x-H_xdivy; //I(X,Y)=H(X)-H(X/Y)
disp(I_xdivy,"I(X,Y)=");
|
23cade08d889e94f8147f140af5d7caefb03e584 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH6/EX6.16/exaA_6_16.sce | 50e28a10a18df71dffce08a8878a046de46cb207 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,888 | sce | exaA_6_16.sce | // Example A-6-16
// Design of lag lead compensator
clear; clc;
xdel(winsid()); //close all windows
mode(0);
// please edit the path
// cd "/<your code directory>/";
// exec("rootl.sci");
// exec("plotresp.sci");
s = %s;
G = syslin('c',10,s * (s + 2) * (s + 8));
Kv = 80; // desired velocity constant
R = ... |
3aff44ac2e357f0e09e475f2cc6923963ca4046b | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /PGTI Curved.sce | 45d1255109f7ecdf8e0666df33e83c56b2ee9a76 | [] | 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 | 467,635 | sce | PGTI Curved.sce | Name=PGTI Curved
PlayerCharacters=pistol Launchman
BotCharacters=Pigeon3.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=pistol Launchman
AddedBots=Pigeon3.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=boxer1spawn_curved.map
MapScale=4.0
BlockProjectilePredictors=true
BlockCheats=true
InvincibleP... |
3a4b6b4cb218d6b4c504051f18b5a19f17169ad9 | dba43ae0c5d0c50780be579f98977a9836292852 | /06/5-a/CPU/Swap/swap.tst | 3aa5ca90ff0b062835e8bc012576f0178ff3cc89 | [
"MIT"
] | permissive | AbstractXan/ComputerSystemDesignLab | c49458dfcbd2e7ee769cb6044868a33601e42968 | 2851da683e4e894be66463dcc29a9fa6ba0538b6 | refs/heads/master | 2020-07-06T22:44:45.031534 | 2019-11-20T04:42:52 | 2019-11-20T04:42:52 | 203,161,348 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 811 | tst | swap.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/CPU.tst
load CPU.hdl,
output-file CPU.out,
compare-to CPU.cmp,
output-list time%S0.4.0 inM%D0.6.0 instruction%B0.16.0 reset%B2.1.2 outM%D1.6.0 writeM%B3... |
968957a555ae9b1a8859d0ec80233348cde46ebf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.14/Exa_1_14.sce | 0470cd7008fc21c0fdcdde8f8a7f159dcf24e42f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_1_14.sce | //Exa 1.14
clc;
clear;
close;
format('v',7);
//Given Data :
R0=2.8;//ohm
t0=0;//degree C
R1=3.8;//ohm
t1=100;//degree C
R2=5.8;//ohm\
//R=R0*(1+alfa*t)
alfa=(R1/R0-1)/t1;
t2=(R2/R0-1)/alfa;//degree C
disp(t2,"Temperature at R2 in degree C : ");
|
af0a657c62d0737af225ab42c5c0af723414900b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.43/ex1_43.sce | b415e713de8a161530d17faf4e8a1e2d4f89fe60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | ex1_43.sce | //Exa:1.43
clc;
clear;
close;
P_o=37.5*1000;//in Watts
N=750;//in rpm
Eff=0.9;//Efficiency
V_L=400;//in Volts
pf=0.85;//Power Factor
R_b=2.5;//in ohms
T_f=P_o*60/(2*%pi*N);//in N-m
I_L=P_o/(sqrt(3)*V_L*pf*Eff);//in Amperes
I_b=V_L/(sqrt(3)*R_b);//in Amperes
T_E=T_f*I_b/I_L;//in N-m
T_i_total=T_f+T_E;//in ... |
1c240acb42e11f3aaf61d90cea077d963dadebfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH4/EX4.11/example11.sce | fdcfda70d374530c9ae8d7a80da2232f98fd195a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,639 | sce | example11.sce | clc
clear
//input data
N=3600//Running speed of blower in rpm
Dt=0.2//The rotor tip diameter in m
Dh=0.125//The rotor hub diameter in m
P1=1.013//The atmospheric pressure in bar
T1=298//The atmospheric temperature in K
m=0.5//Mass flow rate of air in kg/s
db=20//The turning angle of the rotor in degree
b1=55... |
5eef71917bba1659f96f59102e474939493dcc75 | 6b85d1958ff11075634ed9e0f6dbef2de9548f1b | /ANN_Toolbox/demos/enc858_ssab_nb.sci | 79eb24d2f866e3b71cffe9f62592b15a9c0d5840 | [
"Unlicense"
] | permissive | ademarazn/REDES_NEURAIS | 8a048c13aab33daa4068f52e18b263cc8325884f | a9a35744476d1f7e8405df04d5e4a9f8e4ed4595 | refs/heads/master | 2021-05-06T13:09:56.514632 | 2018-04-25T18:49:30 | 2018-04-25T18:49:30 | 113,248,743 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,126 | sci | enc858_ssab_nb.sci | // Loose 8-5-8 encoder
// on a backpropagation network without biases, with SuperSAB
// (Note that the tight 8-3-8 encoder will not work without biases)
// (The 8-4-8 encoder have proven very difficult to train on SuperSAB)
rand('seed',0);
// network def.
// - neurons per layer, including input
N = [8,5,8];
// inp... |
51e1f6a25c58a0b5b58a9853bde54a67035c33d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH3/EX3.6/ex_3_6.sce | 7a7284af9babcc6b712d4de93190ca5720794757 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 623 | sce | ex_3_6.sce | // Example 3.1: (i) maximum output power (ii) maximum collector efficiency (iii) power rating of the transistor
clc, clear;
Vcc=10; // collector supply voltage in volts
Icq=200; // zero-signal collector current in milli-ampere
Rl=2; // load resistance in ohm
alfa=5; // turn ratio
Pout=(Vcc*(Icq*10^-3))/2;
Pin=(V... |
c17eb0d007eb481322cb7a24b38d811ad7b90865 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH3/EX3.19/ex3_19.sce | 415e8d70fa3eb1a84407bcc60f806b169227f638 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 952 | sce | ex3_19.sce | // Exa 3.19
clc;
clear;
close;
format('v',6)
// Given data
R = 12;// in k ohm
Vin = 6.3;// in V
V_Z = 4.8;// in V
I = (Vin-V_Z)/R*10^3;// in mA
I_Z = 5;// in mA
// Maximum value of load current,
I_Lmax = I - I_Z;// in mA
I_Z = 100;// in mA
// Minimum value of load current,
I_Lmin = I - I_Z;// in mA
disp... |
68469e02b7c735a71711655c1397e08b53ced779 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH9/EX9.8/9_8.sce | c608b055dee345d1d36bc429b062c049ded3588c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | 9_8.sce | w3 = 2.3; w1 = 1.0;
w2 = w3-w1;
h1 = 2950.0;
// At 0.8MPa, 0.95 dry
x = 0.95;
hf = 721.11; hfg = 2048;
h2 = hf + (x*hfg);
h3 = ((w1*h1)+(w2*h2))/w3;
// Interpolation
H = [2769.1 2839.3];
T = [170.43 200];
t3 = interpln([H;T],2790);
s3 = 6.7087;
s4 = s3;
x4 = (s3-1.7766)/5.1193;
h4 = 604.74+(x4*2133.8);
V4 = sqrt(2000*... |
a35e7365a4595618a5d75877de9b291a54a903bf | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/2/tests/test17.tst | 5699535021478fef908d90a46694549983f42e96 | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 40 | tst | test17.tst | type x = array 100 of void;
main () { } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.