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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5c350a198de8ab539793e35e0d09406037d0c357 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH14/EX14.7/14_7.sce | 152de87a0cbf97a9d47f498bd3c04cae0b70f72b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sce | 14_7.sce | //ship approaching port
//refer fig. 14.13 and 14.14
//let west be x and north be y axes
//speed in kmph is
vBx=25*sind(45)
vBy=25*cosd(45)
vAx=-15
vAy=0
//Let vr be the relative velocity of B w.r.t. A
vrx=17.678-(-15) //kmph
vry=17.678 //kmph
vr=sqrt((32.678^2)+(17.678^2)) //kmph
alpha=atand(17.678/3... |
2e04ac5d533f6972a0e680f174dd3517529632a9 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_bundle_1_w.tst | 729d82c099e7164d5c91828ebdb9646c719513ac | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 46 | tst | test_bundle_1_w.tst | extracting "~temp.png"
extracting "~temp.jpg"
|
2af7374b42fcf31fecae34478d4c76f0c0a802f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH11/EX11.3/C11P3.sce | 1f6948fc8f535858d36bb1d51f2f235a1e20d181 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 947 | sce | C11P3.sce |
clear
clc
//to find average power must be applied by the elevator motor
// GIVEN::
//weight of elevator
w = 5160//in N
//average weight of passenger
wp = 710//in N
//number of passengers
n = 20
//distance between floors
sf = 3.5//in meters
//time elasped
t = 18//in seconds
//acceleration due to gra... |
bf5fed9a3607e742dfb684c443449503af243cb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH25/EX25.6/Ex25_6.sce | 03e9691870d4cd65bd8e8e83d1854416202dd59c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sce | Ex25_6.sce | //chapter25
//example25.6
//page552
S=0.01 //mm per volt
V=400 // V
spot_shift=S*V
printf("spot shift = %.3f mm \n",spot_shift)
|
f033727b24345ca687a62e108aa66256f3b945fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH11/EX11.17/Example11_17.sce | 04fca964d63af5d96dee9d85295a25e429156a54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,789 | sce | Example11_17.sce | ///Chapter No 11 Steam Boilers
////Example 11.17 Page No 248
///Find Actual draught produced in hot gas
//Input data
clc;
clear;
mf1=8000; //Average coal consumption in Kg/h
ma1=19; //Flue gases formed in Kg/Kg
Tg1=270+273; //Average temperature of the chimney in degree celsius
Ta1=... |
329c78b7a43ec3bceaffe28aa082de3293661196 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH12/EX12.11/exa12_11.sce | 80e747fc48d5242aaf0350e257eeaf2007bfa66a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | exa12_11.sce | //Caption:determine_unit_step_and_unit_impulse_response
//example 12.11
//page 524
s=%s;
syms t;
G=sym('8/(s+1)');
H=sym('(1/2*s)');
CL=G/(1+G*H);
disp(CL,"C(s)/R(s)=");
//for unit step response R(s)=1/s;
d=CL*(1/s);
disp(d,"C(s)=");
c=ilaplace(d,s,t);
disp(c,"unit step response,c(t)=");
//for unit impulse response R(... |
1db991285eca602ddd395cfcbe926bcf67c986c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH3/EX3.3/3_3.sce | 45d658cd2996680775f31e9a890b93709822cfdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 672 | sce | 3_3.sce | clc,clear
printf('Example 3.3\n\n')
I_L1=40 //motor armature current
V=250 //rated voltage
R_se=0.5 // resistance of series motor
N_1=1500;N_2=1200 //initial and final speed
E_b1= V - I_L1*(R_se+ 0) //since R_h is zero initially
// because E_b = V - I_1*(R_se+ R_h) back emf
T2_by_T1 = (N_2/N_1)^2 //lo... |
96dfd017f881923b7a33c6d521d9d5d67f977a98 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/RK17UPQ/ATWM1_Working_Memory_MRI_RK17UPQ/ATWM1_Working_Memory_MRI_Salient_Cued_Run1.sce | 062ca11d7ebcab74e304e0aaf4c8702f1fa4f154 | [] | 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 | 12,442 | sce | ATWM1_Working_Memory_MRI_Salient_Cued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_salient_cued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds = fa... |
073122559c1d3581b7fd7ae1227eb3825648d64f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH2/EX2.20/Ex2_20.sce | bbcac8e1564a44052e36c711970f15631a3d95f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | Ex2_20.sce | //exa 2.20
clc;clear;close;
format('v',6);
//F1=0.004*P1^2+2*P1+80;//Rs./hr
//F2=0.006*P2^2+1.5*P2+100;//Rs./hr
P=250;//MW
P1=poly(0,'P1');P2=poly(0,'P2');
dF1bydP1=2*0.004*P1+2;
dF2bydP2=2*0.006*P2+1.5;
//Let loads are P1 & P-P1
//Economical loading lambda1=lambda2
eqn=2*0.004*P1+2-2*0.006*(P-P1)-1.5;
P1=r... |
e6c3f90a942ef8f6951dcad27d02c295edf06607 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_gui_monitor.sci | 07bb9357b13b89546891c0bf4ce528516b0a8b19 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17,699 | sci | kiks_gui_monitor.sci | function [fig] = kiks_gui_monitor()
// Ouput variables initialisation (not found in input variables)
fig=[];
// Number of arguments in function call
[%nargout,%nargin] = argn(0)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// ----------------------------------------------------... |
570cbbbe3d89317a59f7e177c975ad9c8cdc2ad9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH5/EX5.2/Example5_2.sce | 77c501b556c219f9876bf101e8b4c1496d69d512 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,010 | sce | Example5_2.sce |
clear;
clc;
printf("\t Example 5.2\n");
d1=0.1; // diameter of sphere, m
T1=303; // environment temp.,K
T2=278; // fridge temp., K
h=6; //convection coefficient, W/(m^2*K)
k=0.603; //thermal conductivity,W/(m*K)
a=997.6; // density of water, kg/m^3
c=4180; //heat capacity, J/(kg*K)
F=(k/(a*c))*3600/(d... |
a9fd38864cb00b1c333ab460f1ae7f92d143a418 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH5/EX5.4/Ex5_4.sce | 4b32645e8546314d917d7589b4e8e1a46475110c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | Ex5_4.sce | //Example 5.4:
clc;
clear;
close;
//given data :
dIc=100;//in mA
Rl=6;//in ohm
mv=dIc*Rl*10^-3;//in V
pd=mv*dIc;//in mW
disp(pd,"(i) power developed in loudspeaker is ,(mW)=")
dVc=10;//in V
oi=(dVc/dIc)*10^3;//in ohm
Rl=6;//in ohm
n=sqrt(oi/Rl);//turn ratio of transformer
tsv=dVc/n;//om V
Il=tsv/Rl;//in A
ptr= Il^2*Rl... |
1a4286abb13fa36f17be2f2bf88cf5c7da3457dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH2/EX2.7/Ex2_7.sce | e2ea6c4a37b0bb48d02cb1956add381787cc9642 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | Ex2_7.sce | // Example 2.7
clear all;
clc;
disp('The reactants are Nitrogen and neutron')
// The total atomic number of reactants
Z_reactant = 7+0;
// The total atomic mass number of reactants
A_reactant = 14+1;
disp('One of the known product is Hydrogen')
Z_H = 1; // The atomic number of Hyd... |
5292fe0c5b4472e727d6dc808bf2d03cdfcd8a93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH2/EX2.22/example2_22.sce | c1f681148b68a7958903176a618cc2b50052bcb5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,636 | sce | example2_22.sce |
clear;
clc;
printf("\t Example 2.22\n");
//variation in liquid level with respect to time is given below
t=[26 185 456 1336 1958 2810 3829 4822 6385]
// let Zt-Zo= x;
x=[.25 1.29 2.32 4.39 5.47 6.70 7.38 9.03 10.48]
i=1; //looping starts
while(i<10)
y(i)=t(i)/x(i); ... |
5f3d64771aff8ba9bd6a89406fb0f685d46051f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH16/EX16.8/16_8.sce | e5419b517e26898b7ee0bc612247abf752f0ba93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,070 | sce | 16_8.sce | clear;
clc;
//Example - 16.8
//Page number - 580
printf("Example - 16.8 and Page number - 580\n\n");
//Given
R = 8.314;//[J/mol*K] - universal gas constant
T_f = 273.15;//[K] - Freezing point of water
m_water = 100;//[g] - Mass of water
m_NaCl = 3.5;//[g] - Mass of NaCl
M_wt_water = 18.015;// Molecular weight of wate... |
a44dd78634e460c393c5409ed71ddf4e03400998 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH13/EX13.13/Ex13_13.sce | d3f138c8b57a4b5f86ce35d766791f0e23bcb0f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | Ex13_13.sce | clear;
clc;
//Example 13.13
Va=150;
Vt=0.026;
Ic13=0.2;
gm13=Ic13/Vt;
printf('\ntransconductance=%.2f mA/V\n',gm13)
ro13=Va/Ic13;
printf('\noutput resistance=%.2f KOhm\n',ro13)
Av2=gm13*ro13;
printf('\nvoltage gain=%.2f \n',Av2)
|
39d581ae2365d68dfd63684fdeda959b64dc1ba5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH37/EX37.4/example4.sce | 44a1239455bacadc8b008387d4de54985973da99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | example4.sce | //chapter 37
//example4
clc
//given
e=1.6*10^-19 //in coul
r=5.1*10^-11 //radius of hydrogen atom in meter
m=9.1*10^-31// mass of electron in kg
epsilon0=8.9*10^-12 //in coul2/nt-m2
B=2 //in wb/m2
delta_p=(e^2*B*r^2)/(4*m)
disp(delta_p,"Change in Orbital dipole moment in amp-m2 is + 0r -")
|
faf41b3233945027978d9fc195e1b616644830e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH9/EX9.8/8.sce | 97140a00358f5792da6854ad289f239d85a24a2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | 8.sce | clc
M_CO2=44;
M_H2=2;
M_N2=28;
M_CH4=16;
M_CO=28;
// Let volumetric analysis be denoted by V
V_CO=0.28;
V_H2=0.13;
V_CH4=0.04;
V_CO2=0.04;
V_N2=0.51;
Cp_CO=29.27; //kJ/mole K
Cp_H2=28.89; //kJ/mole K
Cp_CH4=35.8; //kJ/mole K
Cp_CO2=37.22; //kJ/mole K
Cp_N2=29.14; //kJ/mole K
R0=8.314;
Cp=V_... |
2fc93afc60a5562b254cca3905f2cfc285b679c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH1/EX1.10/Ex1_10.sce | 321fab2adce6b81cb69c8d9aecf49140cbfaa5ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | Ex1_10.sce | //======================================================================
// chapter 1 example 10
clc;
clear;
//input data
a = 4; //lattice constant in Å
//calculation
d = (sqrt(3)*a)/4;
//result
mprintf('distance between two atoms =%3.3f.Å\n',d);
//====================... |
9a7eb76fd37cbf5dd6db106da1bcb4750c331e8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH2/EX2.2/ex2_2.sce | 92428133bdc050876a5a8442f1e83eaf678c94df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | ex2_2.sce | clc;clear;
//Example 2.2
//given values
V=900;//potential difference in V
B=0.01;//uniform magnetic field in Wb/m^2
em=1.76*10^11;//value of e/m in C/kg
//calculation
v=sqrt(2*em*V);
disp(v,'The linear velocity(in m/s) of electron is');
R=v/(em*B);
disp(R,'The radius(in m) of the circular path is') |
3dd8fb3df405fa22276ab4b4f3a17d05ca546db8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH8/EX8.1/1.sce | db929df2636ee77fcf79572c99bb3f9762e3a3ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | 1.sce | clc; funcprot(0);
//Example 8.1 Lift Equation
// Initialisation of variables
V = 100*1.467; // Velocity in ft/s
alpha =4;
S = 250; //Wing Area.
rho = 0.00237;
// Calculations
Cl = 0.649; // From figure 8.8
W = Cl*rho/2*S*V^2;
//Results
disp(W,"Weight with which an airplan... |
8eaa682fa921c0437d0a117bae98823431397bac | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PF8.prev.tst | 276523d2ecebc3bc5ebb491a4a6b6b03f712b3c5 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 106 | tst | PF8.prev.tst | result postfix=[32, x, *, 64, x, *, y, *, +, 32, y, *, 128, x, *, y, *, -, /]
(x + 2*x*y) / (y - 4*x*y)
|
315527741d7b66b08923ade0d662d66b9f192568 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Pistol Strafe Gallery Descended Above No Mag.sce | 33bd13d909525e72df07405fe79c365a4c217f78 | [] | 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 | 33,986 | sce | Pistol Strafe Gallery Descended Above No Mag.sce | Name=Pistol Strafe Gallery Descended Above No Mag
PlayerCharacters=Strafer
BotCharacters=Watcher Bot Long Strafes.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Strafer
AddedBots=Watcher Bot Long Strafes.bot;Watcher Bot Long Strafes.bot;Watcher Bot Long Strafes.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=2
Bot... |
00152ab95f0426cdd7004eac721cc8cd69eeed05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH3/EX3.9/Ch03Ex9.sce | 308349a5b58d10518b7b490421bc79a89fbdb121 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch03Ex9.sce | // Scilab Code Ex3.9:: Page-3.24 (2009)
clc; clear;
lambda = 6600e-008; // Wavelength of light used, cm
a = 0.018; // Width of the slit, cm
f = 200; // Focal length of the lens, cm
n = 1; // Order for first order diffraction
// As a*sin(theta) = n*lambda, a*theta = n*lambda
// As theta = lambd... |
5a7d6920c30148b20cf69e66f3a8b218b75d1e41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH5/EX5.4/Ex5_4.sce | 94b9805741a456124e03d28e3ebe2da4b8800fd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | Ex5_4.sce |
clear//
//Variable Declaration
M=15000 //Maximum bending moment in absolute values in lb.ft
S=42 //Sectional Modulus in in^3
//Calculations
sigma_max=M*12*S**-1 //Maximum stress in the section in psi
//Result
printf("\n The maximum Bending Stress in the section is %0.0f psi",sigma_max)
|
b140e3506634d83d45a36f536a812b420ddcd26f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH2/EX2.34/34.sce | 227035b526f0f85e8397ee2491b593b9cf4204e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 34.sce | //finding maxterms and minterms//
//example 34//
clc
//clears the command window//
clear
//clears//
//finding minterms and maxterms//
disp('given Y=AC''+A''C')
disp('Y=A''C(B+B'')+AC''(B+B'')')
disp('Y=A''CB+A''CB''+AC''B+AC''B''')
disp('these are the required minterms')
disp('the minterms indicate the posit... |
a66f9ebc89e1bee00701c7e6ae2775a8db4e2c05 | c5a5b51d0d9d4bb57cc4508c2ffc453ccf47aeba | /arithdeco/test.sce | 72dce8210387920f70c1f86e86da94075199185d | [] | no_license | PolaPriyanka/ScilabCommunication | 2adca45f772b2ca6a602e10e4801576eeb0da33d | 5b5c704e591f20be6944800a1b4b25cf06f56592 | refs/heads/master | 2021-01-01T18:22:48.761766 | 2015-12-16T07:26:29 | 2015-12-16T07:26:29 | 42,721,104 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sce | test.sce | counts = [40 1 9];
len = 11;
seq = [1 3 2 1 1 1 3 3 1 1 2 ]
code = arithenco(seq,counts);
disp(code)
dseq=arithdeco(code,counts,len)
disp(dseq)
disp(seq)
|
cc37c4ede75d87553e2a14c5ab1c318e0fe4654a | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/do_help.sci | 476d778f010846895b2262103942266f0185e83a | [
"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 | 8,145 | sci | do_help.sci | function do_help
while %t do
[btn,xc,yc,cwin]=xclick();
if cwin==curwin then
[nm,pt,btn]=getmenu(datam,pt)
if nm>0 then
name=menus(nm)
break,
else
k=getobj(x,[xc;yc])
o=x(k)
name=o(5)
break
end
elseif or(windows(find(windows(:,1)<0),2)==cwin) then
kwin=... |
fdc91b0b8ef3e950f0fc3faadc2ba16dbf90ab21 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/calpol/sylm.sci | 38786cf7b2bcbc3864cd82a64164a2d317d6defd | [
"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 | 680 | sci | sylm.sci | function [s]=sylm(a,b)
//[s]=sylm(a,b) gives the Sylvester matrix associated to polynomials
//a and b, i.e. the matrix s such that:
// coeff( a*x + b*y )' = s * [coeff(x)';coeff(y)']
//dimension of s is equal to degree(a)+degree(b)
//If a and b are coprime polynomials
//(rank(sylm(a,b))=degree(a)+degree(b)) the instru... |
8cf679bafa81ab8de15b2f5cf8a04b27cd271a9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /191/CH6/EX6.9/Example6_9.sce | 9efc4f1d506ffd053fb3d496f8ff582883853436 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | Example6_9.sce | //Simpson's Adaptive Quatrature
clc;
clear;
close();
format('v',10);
funcprot(0);
deff('[y]=f(x)','y=exp(x)');
a = 0.5;
b = 1;
h = (b-a)/2;
S1 = h*(f(a)+4*f((a+b)/2)+f(b))/3;
disp(S1,'S1 : ');
S2 = h*(f(a)+4*f((3*a+b)/4)+2*f((a+b)/2)+4*f((a+3*b)/4)+f(b))/6;
disp(S2,'S2 : ');
err = abs(S2-S1)/15;
disp... |
53bf1b933c59e4cba3fc2b55ce409945dc35e1c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH7/EX7.8/Ex7_8.sce | 199d5429cf13ca8a26f5ada064a84a3716218cec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | Ex7_8.sce | clc
// variable initiallitation
T1=50 //torque in N-m
s=0.3 //slip
p=4 //number of poles
f=50 //frequency in Hz
V=400 //supply voltage in volts
Toff=poly(0,'Toff')
Ton=0.4*Toff
//solution
Tratio=0.4
Ns=1500 //synchronous speed in rpm
N1=Ns*(1-s)
T2=40 //torque in N-m
N2=sqrt((T2/T1)*(Ns)^2)
Tav=((T1*Ton... |
32938c581e6ea9d2bc045a5baad173ca703e67ad | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ac_usi/~BivLCM-SR-bfas_ac_usi-PLin-VLin.tst | bc3c9f10be81e0a39c588bafda68c89cae4b0e64 | [] | 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_ac_usi-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.266469D+00
... |
6c5989386df41afe981c66e7f805432ef12cd7be | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_blocks/mdaq_pru_reg_set.sci | 9a46ebfd01ac4c00e25ca74cf75e0fce95d571b5 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 2,500 | sci | mdaq_pru_reg_set.sci | function [x,y,typ] =mdaq_pru_reg_set(job,arg1,arg2)
pru_reg_desc = ["This block sets MicroDAQ PRU real-time";
"execution unit register.";
"";
"input(1) - PRU register value (uint32)";
"";
"PRU register: 0...15";
"";
"Set block parameters:"];
x=[];y=[];typ=[];
select job
case... |
f0e1acc1637202fedbbf81f211cd4701bcbfb326 | 2eac84edf941c64588fef76f10d02309aabcb2fb | /System/Scilab/Scripts/getBlockInfo.sci | 46af8c174f298e7aba3fbcbbae2e80b455f3dc61 | [
"BSD-3-Clause"
] | permissive | AlexisTM/X2C | fdd93bd33b931ea448ba516f5e3f9af6a5149a6a | 31f39b598afe271a7fd46ef1ee9e06c410b1120c | refs/heads/master | 2021-08-07T04:26:24.391617 | 2017-11-07T14:34:33 | 2017-11-07T14:34:33 | 109,844,123 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,789 | sci | getBlockInfo.sci | // Copyright (c) 2017, Linz Center of Mechatronics GmbH (LCM) http://www.lcm.at/
// All rights reserved.
//
// This file is licensed according to the BSD 3-clause license as follows:
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followin... |
ad6662688718e51d14049c26839226c84395c478 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH15/EX15.1/BIT_Ex_15_1.sce | 9a60b6e5506b32e99b1158ebe622519e32cface8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | BIT_Ex_15_1.sce | clc
//Chapter15
//Example15.1, page no 533
//Given
P_A=0.5// probability of producing symbol 'A'
P_B=0.25// probability of producing symbol 'B'
P_C=0.25// probability of producing symbol 'C'
H=P_A*log2(1/P_A)+P_B*log2(1/P_B)+P_C*log2(1/P_C)// the source entropy
mprintf('The source entropy is: %f bits/symbol',H)... |
1f7188eea290c020f364750b22ea92652918363a | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH8/EX8.3/8_3.sce | be18bd169d556716e2ca32b5bda2b021650a8783 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sce | 8_3.sce | //root locus
s=%s
sys=syslin('c',1/(s*(s+2)*(s+1)))
clf
evans(sys)
printf("root loci is symmetical to both axis") |
4b4ee83378540550c9cddadf4c42b0a6ca563929 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH4/EX4.12/Ex4_12.sce | 1a9b2ac94c07786313c4254a657d44ea622809ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,591 | sce | Ex4_12.sce | //Exa 4.12
clc;
clear;
close;
// given :
Gt=10 // transmission gain in dB
Gr=10 // receiving gain in dB
//when frequency=0.3GHz
// given :
f=0.3 //frequency in Ghz
f=0.3*10^9 //frequency in hertz
c=3*10^8 //speed of light in m/s
lambda=c/f //wavelength in meter
d1=1.6 // in Km
d1=1.6*10^3 // in meter
// ... |
98ee1f9afb9507308e46dbdbfb340482803a5d3d | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /matlab/plasma/plotbfield1.sce | 63929c2e23e88e7615d94c7147551a25fa1d5a59 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | WINDOWS-1250 | Scilab | false | false | 4,751 | sce | plotbfield1.sce | //Script to model influence of uniform e and b field
//on charged particle motion
exec('lorentz.sce');
exec('bfield.sce');
m=1.6*(10^(-27));
q=1.6*(10^(-19));
dt=5.0*(10^(-9));
it=1:1:1000;
//plotid=evstr(x_dialog('plotid ?','1'));;
//text=x_dialog('Title?','current');
plotid=1;
text='current';
r=zeros(3,1);
v=zeros... |
b5d0b7775b4a9a205f9d44b07f727d79ac7bf011 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/cmd/test/man-heater.tst | 2072e39907baff4daf9f0f7f89d06444fdb54ad0 | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | tst | man-heater.tst | #Heater example
#distillation tower condenser is used to preheat distillation tower feed
$thermo = VirtualMaterials.NRTL/Ideal/HC
/ -> $thermo
thermo + ETHANOL WATER
topVap = Stream.Stream_Material()
topVap.In.P = 101.325
topVap.In.VapFrac = 1
topVap.In.MoleFlow = 100
topVap.In.Fraction = 0.85 0.15
cond = Heater.Coo... |
b254c20724efbfdb364f64d2f9e757e797db8a85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH4/EX4.28/ex4_28.sce | e09c1811dbb44876427a10fddd03690c0e23fbf8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_28.sce | //Example 4.28
//use of flags with unsigned decimal, octal and hexadecimal numbers
i = 1234;
j = oct2dec('1777');
k = hex2dec('a08c');
printf(":%8u %8o %8x:\n\n", i, j, k);
printf(":%-8u %-8o %-8x:\n\n", i, j, k);
printf(":%#8u %#8o %#8X:\n\n", i, j, k);
printf(":%08u %08o %08X:\n\n", i, j, k); |
f266cd036ff51f26a6d51f7b937973b9b7a7a29a | ff0f2f0553307972877bbd4f9acb9751263b2920 | /Sem2_Mathe/Labor_2/Mathe_Labor_Aufgabe1-3.sce | 4f549c9002aa0168990a1be9b4adb19d0264e12c | [] | no_license | 42ow0rm/UNI | 78b4bbc339cffb7124e5c8112827bec5a4799b7c | 56a5a1429a458544f5a33e3480f51c03849872f7 | refs/heads/master | 2020-03-31T22:34:19.230790 | 2019-01-03T20:00:27 | 2019-01-03T20:00:27 | 152,623,141 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | Mathe_Labor_Aufgabe1-3.sce | //Aufgabe 1
A = [1 4; 2 5; 3 6];
B = [1 4 0 0; 2 5 0 0; 3 6 0 0];
C = [1 4 1 2 3; 2 5 4 5 6; 3 6 0 0 0];
//Aufgabe 2
D = zeros(5, 10);
j = 1;
k = 1;
for i = 1 : 50
D(j, k) = i;
k = k + 1;
if (i == 10)
j = 2;
k = 1;
end
if (i == 20)
j = 3;
k = 1... |
67a489de01271295a9cb30a13ef555b2032b6d51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH9/EX9.2/9_2.sce | 52a03ce7618e56e8f4a0b1216aaeddb0bf9805e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 596 | sce | 9_2.sce | ////
//Variable Declaration
nb = 5.00 //Number of moles of Benzene, mol
nt = 3.25 //Number of moles of Toluene, mol
T = 298.15 //Temperature, K
P = 1.0 //Pressure, bar
R = 8.314 //Ideal Gas Constant, J/(mol.K)
//Calculations
n = nb + nt
xb = nb/n
xt = 1. - xb
dGmix = n*R*T*(xb*log... |
ecc768968c7b3e9772c7049fbdc1f6e2877ab44d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH5/EX5.14/5_14.sce | 8f826860f597276ea774f0e3e23f282a8ddfa7a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 561 | sce | 5_14.sce | clear all; clc;
disp("Ex 5_14")
disp("Free body diagram is as shown in fig 5-29b")
disp("Summing moments about X-direction:")
disp("981*0.1-P*0.3*cos30=0")
disp("P = 377.6 N")
disp("Summing moments about Y-direction:")
disp("-981*0.5+A_z*0.8+377.6*0.4=0")
disp("A_z = 424.3 N")
disp("Summing moments about Z-direction... |
d725c19dbfa7e6f493a33a1d6952de601f829739 | 3890255c146d4a852d986de243114983fffc96de | /Semestre 2/TI/TP2/tiProjection.sci | f04414f7369d5f0d061dc29dfa82f8a06be87f39 | [] | no_license | plowed/MASTER | 0cc61d0d366e5a431ed6c1669bad6d77ecdbde22 | 7f147df200a9474d3753939c1a680c834673bfcb | refs/heads/master | 2016-09-05T13:22:51.712340 | 2014-03-04T19:54:34 | 2014-03-04T19:54:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,423 | sci | tiProjection.sci | // -----------------------------------------------------------------------
// Etude de la projection perspective, matrices extrinseque et intrinseque
// d'une camera. Fonction d'affiche d'un objet apres projection
// Module TI, Traitement d'Images
// Copyleft (C) 2012-2014 Universite Lille 1
//
// This program is free... |
ab82748c72eae1fb696c911af40b18daffa7a9cf | 178822612bcd418dc12ba7a649304a24ab618d60 | /Numerical Analysis/El Hadji NGOM projet Scilab(Amélioré)/Projet 1 Méthodes directes et iteratives/Gausssanspivot.sci | dab2932ce9f63668aa7902f7aa873ef2bd329a3e | [] | no_license | engom/Math_Problem_Solving | b56c6cbfbff6c416c519795b9ab8f0c0bbba5ea3 | 6538c476681ae4ee803ea9b3a8944c5f370e1961 | refs/heads/master | 2022-05-25T01:13:16.123161 | 2016-02-13T11:32:28 | 2016-02-13T11:32:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sci | Gausssanspivot.sci | A = [1 2;-3 -1]
b = [3;-4]
function [x]=Gausssanspivot(A,b)
// résout le système Ax=b par
[m,n]=size(A);o=length(b);
if m~=n | o~=n then, error('probleme de dimensions'), end;
// initialisation
zero=1.e-16;
for k=1:n-1
u=A(k,k:n);pivot=A(k,k);i0=k
if abs(pivot)<zero then, error('stop : pivot n... |
8ac14388df94daa8381565714d2fd32e0b9669ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH7/EX7.16/ex7_16.sce | eb704f76a227eb6121e94b350bf7fe9c1289d252 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | ex7_16.sce | // Exa 7.16
clc;
clear;
close;
format('v',6)
// Given data
Vt = 1;// in V
KnWbyL= 10*10^-3;// in A/V^2
V_DD = 5;// in V
V_D = 0.1;// in V
I_D = Vt*( (V_DD-Vt)*V_D - 1/2*KnWbyL );// in mA
R_D = (V_DD-V_D)/(I_D*10^-3);// in ohm
R_D= R_D*10^-3;// in k ohm
disp(R_D,"The value of R_D in k ohm is : ")
V_DS = ... |
32ac4d6442d078a84e69dce7b9b85f3d2eb94e5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH2/EX2.30/Ex2_30.sce | 6c9f7983933aa7bd8d86ab6c0578de1aade76d0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | Ex2_30.sce | //Fluid system - By - Shiv Kumar
//Chapter 2 - Impact of Jet
//Example 2.30
clc
clear
//Given Data:-
V=40; //Absolute Velocity of Jet, m/s
a=0.04; //Cross-sectional area of Jet, m^2
u=40; //Speed of boat, km/hr
//Data Used:-
rho=1000; ... |
a34014c07f33eebc16d6a86d564157c4118b588d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH1/EX1.4/ex1_4.sce | 7b5c0912bced76e4714827148b3ee10629b35f68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | ex1_4.sce | clc;
clear all;
change = 0.01/100;
h = 1e5; // Height
rho = 1 // Density of water in gm per cm square
g = 980 // Gravity constant in am per square cm
deltap = h*g*rho;
k = deltap/change;
disp('dyne cm^-2',k,'Bulk modulus of sphere is ')
|
8ad7871e17a36539f7ff51ac1eaee235890fd538 | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH5/EX5.14/example5_14.sce | 9482350cfc64fe210d7f702d7b13df8ec4106eb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example5_14.sce | disp('chapter 5 ex5.14')
disp('given')
disp('Determine the load capacitance')
disp('from the data sheet Ro=150ohm')
Ro=150
disp('f=600kHz')
f=600000
disp('Cs=1/(2*%pi*f*10*Ro)')
Cs=1/(2*%pi*f*10*Ro)
disp('farads',Cs) |
57b62affded5ccc0eba102d2cb34394dd1d2f982 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH4/EX4.20/ex4_20.sce | aa2ed244e7dca0b673f0b1d49ec8c940a1660cd4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 891 | sce | ex4_20.sce | //Exa 4.20
clc;
clear;
close;
// Given data
Q_acb = 84;//in kJ
W_acb = 32;// in kJ
//Formula Q_acb = del_U+W_acb where del_U = U_b - U_a;
del_U = Q_acb - W_acb;// in kJ
// Part (a) Path a b d
W_abd = 10.5;// in kJ
Q_abd = del_U + W_abd;// in kJ
disp(Q_abd,"Heat flows into the system along the path a b d in ... |
4c6df1350fb8b2a5b8e9699f9c4119fee46f6ddd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.32/ex4_32.sce | 0f064f5a4b742442035e9f3448c2c5b273855fc1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 729 | sce | ex4_32.sce | // Exa 4.32
clc;
clear;
close;
// Given data
V_BB = 10;// in V
V_BE = 0;// in V
R_B = 470;// in kohm
R_B = R_B * 10^3;// in ohm
I_B = (V_BB - V_BE)/R_B;// in A
bita = 200;
I_C = bita*I_B;// in A
V_CC = 10;// in V
R_C = 820;// in ohm
V_CE = V_CC - (I_C*R_C);// in V
disp("Part (a) : For ideal approximati... |
7c9f02f50cfbe4c17dca62097565d15ad79a83f9 | f4b7f960d1b145c3288c3b1267ded7314d4d212b | /Template/TemplateSDL.sce | 6588eeb68b15774eacd776cfa0700ba4a5b396cd | [] | no_license | namrolyat/Presentation | 6e7affd120567af7b2f7a629af11a1cc23bf0c7e | 23873cdb2713ca0f2720b24218475e5ed14d8d70 | refs/heads/master | 2023-01-01T12:08:26.003258 | 2020-10-28T12:10:45 | 2020-10-28T12:10:45 | 307,759,429 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,123 | sce | TemplateSDL.sce | ####### INITIATION #######
# Initiation of the scenario and the main PCL-file
scenario = "Template";
pcl_file = "TemplatePCL.pcl";
no_logfile = true;
# Keep SDL as simple/stupid as possible and
# STAY CLEAR OF THE PARALLEL PORT!!!
response_matching = simple_matching;
response_port_output = true;
# To get the Enter ... |
f3f774936ebf1ce9c89242b31ba39d935ff8945c | dcab0800429dd1b3409234cc7ffca107fd01a0d5 | /rawToASCII.sce | b6bcdd8025d6bd1480fcea9b7cac1d58d9a26786 | [] | no_license | nilssab/xrd-data-analyzer-scilab | 3a96dba8d662110a678a543622870d0f40351c3a | dde73ee719f898b747c4d0322f990494054f615b | refs/heads/master | 2022-12-19T22:50:00.912200 | 2020-09-12T20:15:22 | 2020-09-12T20:15:22 | 295,015,416 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,134 | sce | rawToASCII.sce | // script to convert proprietary XRD measurement data into .csv
bRes = csvDefault("eol", "linux")
files = ls(pwd())
for i = grep(files, '.raw') //set file filter 1
[path,fname,extension]=fileparts(files(i))
printf("\n" + fname + "\n")
[fileD, Error] = mopen(files(i... |
8bcb67122ce5c92c961aa0165c83ec2f761bbde5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH5/EX5.4/Ex5_4.sce | 6d422affb9f11e79a53fdff40b3f49205831d813 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | Ex5_4.sce | //Example 5_4
clc();
clear;
//To find out the power being developed in motor
m=200 //units on Kg
g=9.8 //units in meters/sec^2
Fy=m*g //units in Newtons
vy=0.03 //units in meter/sec
P=Fy*vy //units in Watts
P=P*(1/746) //units in hp
printf("Power developed P=%.5f hp",P)
|
a02f537e485177c46ad22a4b48c4a213309b631a | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MathematicalFunctions/FLFloor-Netezza-01.tst | c6d43d8b168d7cfef0dd4a49297be36204210ef5 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,286 | tst | FLFloor-Netezza-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
2bbe6c400a32194d75b6b60dc40c2f4086264d69 | e223a3388730b3a8ab63f7565156d5bf7a65e44b | /scilab/reg.sci | 1b04c59c400da6a35812be335651114a77fabe8c | [] | no_license | YSBF/flight_control | 1cfef21947c9497659eea3cf631b4de207a0a851 | fc74021c2bd62819ea4f637b45936ab2edf9e7af | refs/heads/master | 2020-04-15T21:47:09.796455 | 2018-06-07T21:28:29 | 2018-06-07T21:28:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sci | reg.sci | function dout = reg(addr,din)
if argn(2) == 1
ftdi('write',[0,addr,0,0]);
sleep(15)
r = ftdi('read');
dout = 2^8 * r(1) + r(2);
else
ftdi('write',[1,addr,floor(din/2^8),modulo(din,2^8)]);
dout = [];
end
endfunction
|
ee18cc15cdefb8593f5997aacc513f46ebd2584a | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/SCHI/VR60NTE/ATWM1_Working_Memory_MEG_VR60NTE_Session2/ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | c5d18ebb6935268f6d04b17587b170a11fe43e72 | [] | 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,408 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_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_monit... |
6b01bdb1345c41d97013520868e9f3b74339080a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH10/EX10.6/ex10_6.sce | d70b30440e7a54ac18f0eb3772070017746c3d63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | ex10_6.sce | //Page Number: 558
//Example 10.6
clc;
//Given
sig=5.8D+7;
f=10; //GHz
h=0.12D-2; //m
q=62.8*h*sqrt(f*sig);
disp(round(q),'conductor Q of the stripline:');
|
43dbcf4034b2c4833a535a6da60de8f8f13f9f57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH4/EX4.10/example_4_10.sce | 98f6990c3b1a8bc21f55f624eaf73ffd4befd54f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | example_4_10.sce | clear;
clc;
disp("--------------Example 4.10---------------")
bandwidth = 200*10^3; // 200 kHz
//The bandwidth of a low-pass signal is between 0 and f ,where f is the maximum frequency in the signal.
// Therefore, highest frequency =200 kHz
f = bandwidth; // max frequency
sr = 2*f ; // sampling rate = 2*max fre... |
070b9a9a43e74dbc827948a43f367764d1678d6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH7/EX7.10/Example7_10.sce | e7c463505cde1906a4ea77acbca5f0e04eaa0814 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | Example7_10.sce | //chapter-7,Example7_10,pg 498
n=10*10^2//scale factor=(1/n)
fc=10*10^5//clock frequency
N=10//count
Tp=(n/fc)*N//time between events
printf("time between events\n")
printf("Tp=%.4f s",Tp) |
9d58bd9b76f65ca682b2a88570d9dbbb07a4b555 | 3953ee8faa83677c4470242adc45315acd353eff | /examples/insulin/insulin_s2.tst | 476d31f60557b9cc5c5fa0b1154f2bacc879227a | [
"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 | 1,104 | tst | insulin_s2.tst | inf = float('inf')
plant_pvt_init_data = None
T = 720.0
delta_t = 0.5
# HybridConfig initialConfig(initialSet, 2, 0, 0);
# Initial Mode
initial_discrete_state = [2]
# Interval init_Gp = init_Gs;
# init_Gp.mul_assign(1.9152);
# States
# idx 0 1 2 3 4 5 6 7 ... |
f6986a104ec2297d985ca5ea00cfc453bd3b2deb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH17/EX17.9/EX17_9.sce | 1214dfb6203a9bcf77f9fd906397af7dce3e197f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,038 | sce | EX17_9.sce | clc;funcprot(0);//EXAMPLE 17.9
//page 542
// Initialisation of Variables
psi=10*10^6;..............//Modulus of elasticity of 7075-T6 in psi
psi1=55*10^6;..............//Modulus of elasticity of Boron fiber in psi
psi2=11*10^6;..............//Modulus of elasticity of Typical AL-LI in psi
f1=0.6;...............//V... |
ba766974670fb9173a0b4c56fbbe3984b11c9655 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH1/EX1.6.1/Ex1_6.sce | 6d4966f453827fb2b60af335b02d7048b02194bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | Ex1_6.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 1.6.1\n')
//given data
//case 1
//a complex number is represented as Z=X+j*Y where j is imaginary
//V=3 +j*7
x1=3
y1=7
//calculations
r1=sqrt(x1^2+y1^2)
if (y1/x1)>0 then theta1=atan(y1/x1)
else theta1=%pi-atan(abs(y1/x1))
end
th... |
4be34cc6f1fdcb4dae0fc09b47380ea87fbed321 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/abstract_signature_runme.sci | e5c833e7bbf20e4c1bf609dca10bcc93989fe3b9 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | abstract_signature_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:52cc3ec40fa67a60e5df14e3f69448834d9a11d33c16cd923844a2a38d2032a9
size 265
|
0160fdfe45451e663654e767f1b96d826a11ce49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH4/EX4.1/Ex4_1.sce | 298c0cf4ce7ff0df0deffaf77d6c8bfe1d35f729 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | Ex4_1.sce | //CHAPTER 4- MEASURING INSTRUMENTS
//Example 1
clc;
disp("CHAPTER 4");
disp("EXAMPLE 1");
//VARIABLE INITIALIZATION
N=10; //number of turns
I=5; //in amperes
B=500; //flux density in Wb/m^2
ar=15/10000; //area in m^2
//SOLUTION
T_d=N*B*I*ar;
disp(sprintf("The deflecting torque exerted on... |
4282af7e8b750f9090725d06223a4962f6f820cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH8/EX8.13/example8_13.sce | ee0f0d9ef10f5491b01a6c67a5228246fbad2866 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 677 | sce | example8_13.sce |
//example 8.13
//calculate hydrodynamic earthquake pressure
//moment at 50m below water surface
clc;funcprot(0);
//given
c=1;
H=100; //heigth of dam
hw=100; //heigth of water in reservior
FB=1; //free board
s=0.15; //slope of upstream face
gamma_w=9.81; //unit wei... |
d2f73dadd7b8bdde993a86e1e7c9972aeb091120 | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH4/EX4.19/ex4_19.sce | c800e523770a30c769471351db4462f86151fe87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | sce | ex4_19.sce | //Example 4.19
close;
clc;
e=10; //in volts
R1=10000; //In ohms
R2=10000; //In ohms
Ifsd=100*10^-6; //in amperes
Range=10; //in volts
Sdc=1/Ifsd; //Sensitivity
Rs=Sdc*Range; //Multiplier Resistence
//Voltage across R2
R=R2*Rs/(R2... |
a4126145c051fd04b2f7106817ade6b78b1845a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH20/EX20.16/20_16.sce | 9cca90770eda342de8397520c6967e9efa58012c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 702 | sce | 20_16.sce | //Problem 20.16: A 200 kVA rated transformer has a full-load copper loss of 1.5 kW and an iron loss of 1 kW. Determine the transformer efficiency at full load and 0.85 power factor.
//initializing the variables:
S = 200000; // in VA
Pc = 1500; // in Watt
Pi = 1000; // in Watt
pf = 0.85; // power factor
//calc... |
40b3efbba465e5e5b90fea2271d1b13bfd7415c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH5/EX5.23/exa_5_23.sce | 5fbd6f07a567c5fb8fc2e3002d76ee03a8dd47e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 665 | sce | exa_5_23.sce | // Exa 5.23
clc;
clear;
close;
// Given data
A=10^5;
Af= 10^3;
// Af= A/(1+A*Bita)
Bita= 1/Af-1/A;
GDF= 1+A*Bita;// gain densitivity factor
disp(GDF,"Gain densitivity factor is : ")
// Part (a) when A drops 10 %
A_desh= A-A*10/100;
Af_desh= A_desh/(1+A_desh*Bita);
CorresPer= (Af-Af_desh)/Af*100;// corresp... |
78fe45b506aca5e9516e760cdd240be4a22a6b48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH6/EX6.15/6_15.sce | 14311dcb273722d5bbef09ed6ea55b73af65dbfe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | 6_15.sce | //clc();
clear;
//To calculate the wavelength and energy of X-ray beam
theta=27.5; //diffraction angle in degrees
n=1; //diffracted order
h=1;
k=1;
l=1;
H=6.625*10^-34; //plancks constant
c=3*10^10; //velocity of light
a=5.63*10^-10; //lattice constant in m
d=a/(sqrt(h^2... |
003382b92458cce565e06ef3d76a5ca048180819 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.37/ex_3_37.sce | a0a6f0259155e05864ffd4b289a6ed554dc531a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | ex_3_37.sce | //Example 3.37: Insolution resistance of the cable
clc;
clear;
close;
v1=200;//volts
v2=125;//volts
t=30;//seconds
cr=t/(log(v1/v2));//
v21=100;//volts
cr1=t/(log(v1/v21));//
y=cr1/cr;//
x=10;//mega ohms
R=((x/y)-x);//mega ohms
disp(R,"resistance is,(M-ohm)=")
|
b42234c2bfc1f943e07c85e8f253a8ae24727fd0 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/cconv/cconv2.sce | b9c6bc433673e7d068cc04273fcdc80251fdce3e | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | cconv2.sce | //check o/p when a and b are of unequal length
a = [1 2 -1 1];
b = [1 1 2 1 2 2 1 1];
c = cconv(a,b);
disp(c);
//output
//1. 3. 3. 5. 3. 7. 4. 3. 3. -2.220D-16 1.
|
992676c5720c9b35f6997d8e7d4cb79572326cc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH10/EX10.2/Ex10_2.sce | b7190aa5609ab49daa11190ed7e47c4362ef1f91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 579 | sce | Ex10_2.sce | clc();
clear;
//Given :
R = 1; // radius in A
N = 5*10^28 ; // atoms/m^3
mu_0 = 4*%pi*10^-7; // permiability of free space in H/m
mu_r = 1;//relative permiability
m = 9.1*10^-31 // electron mass in kg
e = 1.6*10^-19 ; // charge of an electron in C
// R = 1*10^-10 m because 1 A = 1.0*10^-10 m
chi = -(N*e^2*(... |
4c848c5714befec9610e427c7548cde9c24ca2f8 | 247cbbce29b7191fb801af7e068a8f91a65e9b23 | /thirdparty/pygments/tests/examplefiles/foo.sce | 0e5d6afe52f8c08b5e626eb398c32a64ff119084 | [
"MIT",
"GPL-2.0-or-later",
"GPL-1.0-or-later",
"BSD-2-Clause"
] | permissive | ipwnosx/hatebin | d4a2ab1797fb087784b27c032a2a4e6b7f734b8a | cafb8d34adeb13fc2187b6fb2b6fea34ad4c64ef | refs/heads/master | 2021-09-08T16:17:44.557406 | 2021-09-01T09:19:13 | 2021-09-01T09:19:13 | 170,446,195 | 8 | 0 | MIT | 2021-09-01T11:47:49 | 2019-02-13T05:30:09 | Go | UTF-8 | Scilab | false | false | 52 | sce | foo.sce | // Scilab
//
disp(%pi);
assert_checkequal(2+2,4);
|
b0f78c4cca8190046181f0d9ac79c0dd7b2ad19f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH1/EX1.3/Ex1_3.sce | 663236d7e62e1c5eee35b41bef4ef71cc32477b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | Ex1_3.sce | //Chapter 01: The Foundations: Logic and Proofs
clc;
clear;
mprintf("Propositon p=Michael s PC runs Linux.")
mprintf("\n Negation of p is ~p : It is not the case that Michael s PC runs Linux.")
mprintf("\n Negation of p is ~p : Michael s PC does not run.Linux")//Negation is opposite of the truth value of the proposit... |
45abb067f4ae6d8ea0a89917de067c9a15ec48de | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH8/EX8.16/Ex8_16.sce | e091c3455e2f18918cf7797b0044506badcafd50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | Ex8_16.sce | clc//
//
//
//Variable declaration
Vy=37*10^-6; //voltage(V)
t=10^-3; //thickness(m)
Bz=0.5; //magnetic field(wb/m^2)
Ix=20*10^-3; //current(A)
//Calculation
RH=Vy*t/(Ix*Bz); //hall coefficient(m^3/coulomb)
//Result
printf("\n hall coefficient is %e C-1 m^3",RH)
|
37c456c63a4a6380767009a4fb320a614d161e8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH3/EX3.21/Ex3_21.sce | 9568452e54aef0e8919e612753e18966550854b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | Ex3_21.sce | clc;
Rh=3.66*10**-4;
rho=8.93*10**-3;
mu=Rh/rho;
disp('m^2/V-s',mu*1,"mu=");
q=1.6*10^-19;
n=1/(q*Rh);
disp('/m^3',n*1,"n=");
|
984db31bd378c769b23d2f4d7c812179dc82acac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.19/example_3_19.sce | 4d3bf4866919d2c2db6ebdbab6fa4d774e170224 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example_3_19.sce | clear;
clc;
disp("--------------Example 3.19---------------")
bandwidth=4000; // 4 kHz
bits =8; // bits per sample
br=2*bandwidth*bits; // formula to calculate bit rate
bit_rate=br*10^-3; //multiply with conversion factor
printf("The bit rate of the channel is %d kbps.",bit_rate); //display result
|
482e8d7e1f1edf330fbda289380f24fc2d8352ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH9/EX9.5/9_5.sce | cf8bc897694afc4bb21f03f6e0b2f5f39cd04d83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 800 | sce | 9_5.sce | Na=10^17;
Nd=10^16;
ni=10^10;
a=0.0259; //say a=K*T/q
V0=a*log(Na*Nd/ni^2);
printf('\n The value of V0 is %1.2fV',V0);
Va=0.5;
b=11.8*8.85*10^-14;
q=1.6*10^-19;
xp=sqrt(2*b*Nd*(V0-Va)/(q*Na*(Na+Nd)));
xn=sqrt(2*b*Na*(V0-Va)/(q*Nd*(Na+Nd)));
printf('\n The value of xp is %f*10^-6 cm',xp*10^6);
printf('\n Th... |
3d8cf152d2ce6b6b62028410421a6c6f3078a86b | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH11/EX11.1/11_01.sce | 65b8e80adf31e050a8275423db599c743fc467e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | 11_01.sce | pathname=get_absolute_file_path('11_01.sce')
filename=pathname+filesep()+'11_01data.sci'
exec(filename)
Cp=Cpmax*(sin(theta))^2;
disp(Cp,"Cp=","Cp=Cpmax*(sin(theta))^2","pressure coefficient at point 1 Cp:")
printf("\Answer:\n")
printf("\n\pressure coefficient at point 1 : %f \n\n",Cp)
|
2fc1b5a26c4507a2af3dfcf97769a5fe24331abd | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH17/EX17.1/exa17_1.sce | c781a77bc6601fa46b4c340c40181b713db986c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | exa17_1.sce | clc;
//Example 17.1
//Page No 690
//solution
p1=10*10^-3;
p2=0.5*10^-3;
disp("(a)The power levels, ");
P1=10*log10(p1/0.001);
disp('dBm',P1,"P = ");
P2=10*log10(p2/0.001)
disp('dBm',round(P2),"P = ");
disp("(b)The difference ");
P=10*log10(p1/p2);
disp('dBm',round(P),"diff = ");
disp("The 10mW power level... |
ca64592a2741468e5240ec2804c524bc6911e4e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH3/EX3.8/ex3_8.sce | 2801297611539b6149d2cb31468c7a12de3c6874 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | ex3_8.sce | // Example 3.8, page no-167
clear
clc
//(a)
r1=2500
r2=1500
n=(r1*r2)/(r1-r2)
printf("(a)\nn = %d rpm",n)
//(b)
N=5
r5=n*r1/((r1*(N-1))+n)
r5=ceil(r5)
printf("\n(b)\nr5=%d",r5)
|
dfdcb305f1a9e83efa29e6ccefd36696116bca12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH13/EX13.9.b/13_9_soln.sce | a05b68405a8f1a57b0e9ca4ca3568f0d2d899ad7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,056 | sce | 13_9_soln.sce | clc;
pathname=get_absolute_file_path('13_9_soln.sce')
filename=pathname+filesep()+'13_9_data.sci'
exec(filename)
// Solution:
// from fig 13-29,
// entering moistue content at 80 deg F,
moist_in=1.58/1000; //lb/ft^3
// moisture rate which enters the compressor,
moist_rate=moist_in*Qc; //lb/min
// number of gallons/day... |
79fdb00801022f70bf5b1609edd9b2b4c3d73bd5 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/ChanFlow_3DH2D_MVM.tst | 26db6e75728fa8fe5bed1f29c1e2fd180dcb333a | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,022 | tst | ChanFlow_3DH2D_MVM.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Laminar Channel Flow 3D homogeneous 2D, P=3, 8x8 Fourier modes (MVM)</description>
<executable>IncNavierStokesSolver</executable>
<parameters>ChanFlow_3DH2D_MVM.xml</parameters>
<files>
<file description="Session File">ChanFlow_3DH2D_MVM... |
ca4359f5944c21d075f977e441ad366e35d0c963 | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/fun1.sci | cba5b4d4a9a828c2ee8567e765aae95fbe30cb11 | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 682 | sci | fun1.sci | function []=fun1(plantParam,envParam,outputParam)
//[i]=type(plantParam);
//Checked possibilities for types
//Correct way to print vars
//disp(i);
envFiles=listfiles([envParam]);
//for i=1:
y=size(envFiles);
disp("Starting simulations");
[referenceFile,err]=mopen(outputParam+"referenceFile.txt","w");
for ... |
0d3346d47f0bde65cdf30e7f9b03f01d512101c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH3/EX3.2/Ex3_2.sce | 970fcd659bec08a18b30af2816addb859ccdb2e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | Ex3_2.sce |
//Chapter 3 : Polarization
clear;
//Variable declaration
lamda=6000 //wavelength in Armstrong
//Calculations
Ie=3/4
Io=1/4
Ratio=Ie/Io
//Result
mprintf("Ratio of the two intensities Ie:Io is %d or = 3:1",Ratio)
|
1b2ca91d1055a0b276c27d2be9d140672fc809bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH2/EX2.30/ex2_30.sce | 756280c8c61b5b88c286319fd3fc46918b14e668 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,231 | sce | ex2_30.sce | //Caption:resistance required to be connected in series to reduced speed of machine to 800 rpm (in Ohm)
//Exam:2.30
clc;
clear;
close;
V=400;//voltage applied across the motor(in V)
R_sh=100;//shunt resistance of motor(in Ohm)
I=70;//total current flowing through motor(in Amp)
I_sh=V/R_sh;//current flowing thro... |
0b0b1e74d2bcbbe7830f911100e7354904d0fdc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH6/EX6.7/Ex6_7.sce | c29339df7dc4cb63929381676db4e55cfe5082e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 843 | sce | Ex6_7.sce | // Given:-
T1 = 294.0 // entry temperature of air in kelvin
P1 = 5.1 // entry pressure of air in bars
T2 = 352.0 // exit temperature of hot stream in kelvin
P2 = 1.0 // exit pressure of hot stream in bars
T3 ... |
56d5f6eacbd97947d18e2b359f4a0a82c7c668bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH9/EX9.5.b/ex_9_5_b.sce | 2dc346d5a2231a7c5412f16aad889ed23b509c9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,272 | sce | ex_9_5_b.sce | //example 9.5(b)//
clc
//clears the screen//
clear
//clears all existing variables//
close
c = [0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 ];
//taking the values for a mod - counter
q = [0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 ];
a = [0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 ];
b = [0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 ];
y1=q;
y2=... |
22d14a759bc82aebe3a96162a45e770f77adbbf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH7/EX7.1/chapter7_ex1.sce | 80a4561ef0f9e3b29e723d72daa2bae51a014659 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | chapter7_ex1.sce | clc
clear
//input
r=20;//resistance of coil in ohms
l=0.04;//inductance of coil in henry
v=240;//supply voltage in volts
f=50;//frequency of supply in hertz
//calculations
xl=2*%pi*f*l;//reactance of coil in ohms
z=((r^2)+(xl^2))^0.5;//impedance of coil in ohms
i=v/z;//current in amperes
cosp=r/z;//cosin... |
ff295c5fe6cc9f00232070d26b77379e6fdd4572 | 3a031f437fdd7426aec9731b31871506b540c723 | /KL.sce | cb5efb935799bf5f0090b25d5c4bec69d845d8dc | [] | no_license | mohammedkesury/Digital-Image-Processing | 006294df3c05100912ade8f75dcadc59f518cbba | 6589dcf0f400a803862fcd2194ff4b008ceb795e | refs/heads/master | 2020-04-20T05:20:20.161398 | 2019-04-09T16:04:04 | 2019-04-09T16:04:04 | 168,653,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 702 | sce | KL.sce | clc
X =input('Enter X= ')
[m n] = size(X)
A = X(:,1)
E = X(:,1)*X(:,1)'
for i=2:n
A = A + X(:,i)
E = E + X(:,i)*X(:,i)'
end
mx = A/n
disp(mx,"mx= ")
E = E/n
disp(E,"E= ")
C = E - mx*mx'
disp(C,'Cov Matrix= ')
//Eigen Values and Vectors
[V D] = spec(C)
disp(V,"Normalised Eigen Vector V= ")
... |
f3685640a19cecf79ee0f49f646cf3ce5e412e07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.16.1/ex1_16_1.sce | 89aa88bde099a77fb39449d599ef2ed330e3a626 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 745 | sce | ex1_16_1.sce | //Chapter-1,Example1_16_1,pg 1-75
Ev=1.08 //average energy required to creaet a vacancy
k=1.38*10^-23 //boltzman constant in J/K
e=1.6*10^-19 //charge on 1 electron
K=k/e //boltzman constan... |
b018bd2bb1b69ce47982eeff9248d8e1a5796b7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH3/EX3.16/Ex3_16.sce | 5c283818f11b5c22ef6d188ae95c62ecbe8fb9eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 929 | sce | Ex3_16.sce | //Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 3
//example 3.16
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
Vdc=250;
Vs=208;//line to line ac voltage
R=3;//system resistance between battery bank and source in ohm
Beta=122;
Vmax=(sqrt(2)*Vs)/sqrt(3);
... |
b17e5b5072f820725cbb7623f998a89697dfcfc9 | 9950cacf99a8df48d35907fc69d7e8ee3db0cfd0 | /001057787_hw_3 (1)/Assignment3/vocoder.sce | ef57c7df4cd17205ab226b147b836fc056d75071 | [] | no_license | Classwork-Org/HW_SW_Course | 1960457d6dd6f366bbcb94bf2fa6b89d99e1bbb8 | 62d380f3b69d62eb8ee8e70941d9506bf8f1e4a1 | refs/heads/master | 2023-05-20T22:35:23.723637 | 2021-06-11T06:32:12 | 2021-06-11T06:32:12 | 375,926,906 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,576 | sce | vocoder.sce | <!DOCTYPE SCE>
<sce>
<project>vocoder.sce</project>
<compiler>
<option name="libpath" ></option>
<option name="libs" >-xl src/common/pack.o</option>
<option name="incpath" >src/common</option>
<option name="importpath" >src:src/common:src/lp_analysis:src/open_loop:src/closed_loop:src/codebook:src/update:src/p... |
4c9464275f7ba9971246d540ddfbb18b39f909a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH2/EX2.8/Ex2_8.sce | bb75a8786567ee0cd4d688bff12410bfc937b7f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | Ex2_8.sce | clc;
r=50*10^-3; // radius of rotor
g=2*10^-3; // air gap length
l=10*10^-3; // length normal to radius r
B=2.2; // maximum air gap flux density
uo=4*%pi*10^-7; // free space permeability
// after the derivation of the expression
T=(B^2*g*r*l)/uo;
printf('Magnitude of torque is %f N-m',T);
|
f76f878294fd060cdd58231da6904f5ace816ef8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH6/EX6.29.1/Ex6_29.sce | a60d539e4f5f0849e8d3708c402b403b7d694379 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | Ex6_29.sce | clc
clear
T1=25+273; //in K
T3=1500+273; //in K
Qa=900; //in kJ/kg
Cv=0.718;
G=1.4;
T2=T3-(Qa/Cv);
r=(T2/T1)^(1/(G-1));
printf('Compression Ratio is %2.1f ',r);
printf('\n');
Eff=100*[1-(1/(r^(G-1)))];
printf('Efficiency is %2.1f Percent',Eff);
printf('\n');
Px=r^G; //Max Press... |
8c6e48e973a18e2aec9a4af5801503d73a25064a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH6/EX6.22/Ex6_22.sce | 51deaa8c93a11a153c0f6fdf123eb36e532a027a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,016 | sce | Ex6_22.sce | clear all; clc;
disp("Scilab Code Ex 6.22 : ")
//Given:
sigma_allow_st = 168; //MPa
sigma_allow_w = 21; //MPa
Est = 200; //GPa
Ew = 12; //GPa
Iz = 7.93*10^6; //mm^4
A1 = 5493.75; //mm^2
t = 5; //mm
h = 100; //mm
//Without Board:
c = h+t;
M1 = (sigma_allow_st*Iz)/(c*10^6);
//With Board:
bw = 300;/... |
60f6c924d9bfbb302c7ed6e498dca4bb3c8bb3c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH7/EX7.19.a/data7_19.sci | 917efb6b03f171d1b8887b50cbda608649c99a6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | sci | data7_19.sci |
//(Threaded Joints) Example 7.19
//Maximum external force Pmax (kN)
Pmax = 10
//Minimum external force Pmin (kN)
Pmin = 0
//Assume the stiffness of the bolts to be 1N/mm kb
kb = 1
//Calculate the stiffness of the parts kc
kc = 3 * kb
//Overload percentage load (%)
load = 50
//Yield tensile strength of 50C4... |
2f027807267da5954dcf8b236d2dd4a574eab87b | 68e53df229b123d7681a4f7fa4db43b4982d5362 | /lyapchol.sce | f2d2adff3f4550d0ebad286e72879adb7ebed47b | [] | no_license | yeoleparesh/Control-system | 06c30e594d51fec7a8ffabc452a7866b38604a23 | dee7fbfd3c2c46cc1d4d0a3cb8af45d918da972b | refs/heads/master | 2021-01-17T12:38:05.661769 | 2019-01-03T12:03:53 | 2019-01-03T12:03:53 | 59,283,431 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | lyapchol.sce | /////Function :-- lyapchol ////////////
////Lyapunov Equation
a =[-1.6602 1.0973; 1.0973 -2.1947 ];
b=[1.5442 ;0];
r=lyapchol(a,b);
////Generalized Lyapunov Equation
a =[-1.6602 1.0973; 1.0973 -2.1947 ];
b=[1.5442 ;0];
e=[0.8308 0.5497 ;0.5853 0.9172 ];
r1=lyapchol(a,b,e);
|
96a9ed6c91d5221d6e5d28c9a12c116c864bc334 | 06a62d768e69fd9dda11b30011c252807e301813 | /lab/pgm13.sci | 6c1c32dc0c577dc7f8398a2feb4afd76606e0b37 | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sci | pgm13.sci | function [x, y] = pgm13(a, b, n, initialCondition)
h = (b-a)/n;
y = [];
x = [];
x(1) = a;
y(1) = initialCondition;
for i=1:n
x(i+1) = x(i) + h;
y(i+1) = y(i) + h * pgm14(x(i), y(i));
end
endfunction
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.