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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fe6b2e7c0452a2b426d03936a740eb6d63236184 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH13/EX13.10/Ex13_10.sce | bc1c8a492e87e0183700f650337e32b44f5d4f63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 664 | sce | Ex13_10.sce | // chapter 13
// example 13.10
// What is the minimum value of load inductance and what will be the new value of L
// page-827
clear;
clc;
// given
di_dt=15; // in A/us
Edc=150; // in V
R=620; // in ohm
R_L=62; // in ohm
// calculate
di_dt=di_dt/1E-6; // changing unit from A/us to A/s
L=Edc/di_dt; // calc... |
0c8fa7c8e3308791f4ee065c0a2f94ea325e8f54 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/vmm12x1_wowta.sce | dbeea8081ece2ee867a73978ea2f198f6e397fda | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | sce | vmm12x1_wowta.sce | style.fontSize=16;
style.displayedLabel="vmm12x1_wowta"
pal2=xcosPalAddBlock(pal2,"vmm12x1_wowta",[],style);
|
1ae03464d29d09b46acf2a990cfcb7275c4c9dc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /374/CH11/EX11.5/115.sci | c090f24ddb843311f487251778e414e92dedf65c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sci | 115.sci | //chapter 11 example 5//
clc
clear
//value of parameter=p,length of link=L,speed of light=c,wavelength=l,spectral width=dl,rise time=dtr//
c=3*(10^8);//in mts per sec//
l=830;//in nm//
dl=40;//in nm//
L=2.5*(10^3);//in mts//
p=0.024;//value of parameter//
dtmat=(-L*dl*p)/(c*l)*(10^9);
dtmodal=(2.5*3.5);
dtr=... |
89b2bc78a7e7ef80ed88488790d2d7632bee66a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH3/EX3.6/example6.sce | cc9bf6e764f47f00768ea46478dde18317ead41b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | example6.sce | //Chapter-3, Problem 3.6 , Page106
//===========================================================================
clc;
clear;
//INPUT DATA
lamda = 3*10^-2;//wavelength in m
PRF = 1000; //pulse repetitive frequency in Hz
Vo = 3*10^8;// velocity in m/s
//Calculations
Ruamb = (Vo)/(2*PRF);//max unambig... |
90aa11a48b3d7e74a2a3915a3aa518f2791f2a80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH5/EX5.6/5_6.sce | 82ca2d8ff1f07ad5063509736eabdb90345ecba6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,008 | sce | 5_6.sce | clc
//ex5.6
V_s_max=2; //peak value of source voltage
V_s_phi=-%pi/2; //phase angle of source voltage
V_s=complex(V_s_max*cos(V_s_phi),V_s_max*sin(V_s_phi));
R=10;
Z_C=-%i*5; //impedance of capacitance
Z_L=%i*10; //impedance of inductance
I_s_max=1.5; //peak value of current source
I_s... |
5fa3a563df5db6a64b2fd00097c597ec5ba73ccf | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH27/EX27.11/example27_11.sce | 9b6aaf4462366529a4124e7c5e3912f65f991347 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | example27_11.sce | l=100*10^(-6);
c=50*10^(-12);
r=100*10^3;
v=50*10^(-3);
x_l=2*%pi*f*l;
x_c=1/(2*%pi*f*c);
disp("Part a");
q=r/x_l;
disp("the value of Q is"); disp(q);
disp("Part b");
i=q*v/r;
disp("the inductor and capacitor currents (in μA) each are "); disp(i);
disp("Part c");
z=q*x_l;
disp("the impedance (in kΩ) at re... |
c24421d7c11b6cdc36e2c6a571a51a35c2738fad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH2/EX2.3/Exa2_3.sce | eec2ba30cb92383333a00d04284d8a7787d7b0ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa2_3.sce | //Exa2.3
clc;
clear;
close;
//given data :
miu_e=7.04*10^-3; //in m^2/V-s
n=5.8*10^28 ; // in /m^3
e=1.6*10^-19; // in coulomb
m=9.1*10^-31;//in kg
//(i) Relaxation time,
tau=miu_e/e*m;
disp("Relaxation time is : "+string(tau)+" second");
sigma=(n*e*miu_e);
//(ii) Resistivity of conductor,
rho=1/sigma;
d... |
73ef7ddbc6d2a95ed1061bbf04fb1559d4567259 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH14/EX14.23/Exampl14_23.sce | 3cf75b241b5ba1b0b7a8657006786ca0b055ac8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,653 | sce | Exampl14_23.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 14: TRANSFORMERS
// Example 14-23
clear; clc; close; // Clear the work space and console.
// Given data
V_1 = 2300 ; // Primary voltage in volt
V_2 = 230 ; // Secondary voltage in volt
S = 500 ;... |
f8f608c30e0ea2e75eaf9d18d339e2b4f3e3097f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/tests/lstcat.tst | d72befc02180c9f738a85bd5b5a1592e64fb0487 | [
"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 | 645 | tst | lstcat.tst | // Copyright INRIA
if or(lstcat(list(1,2),list(4))<>list(1,2,4)) then pause,end
if or(lstcat(list(1,2,4),list())<>list(1,2,4)) then pause,end
if or(lstcat(list(1),list(2,4))<>list(1,2,4)) then pause,end
if or(lstcat(list(),list(1,2,4))<>list(1,2,4)) then pause,end
if or(lstcat(list(1,2),4)<>list(1,2,4)) then paus... |
5ca25b8cc3196d8429a0cab4ce1642a5669b1a8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH2/EX2.7/2_7.sce | 65fd2a21cda5d13c2fd7cc5af8294f3aeda6dce2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | 2_7.sce | clear;
clc;
Zoc=2500*exp(%i*(-%pi/(180/70)));Zsc=49*exp(%i*(%pi/(180/25)));l=1;
f=(8000)/(2*%pi);
w=2*%pi*f;
Zo=sqrt(Zoc*Zsc);
A=atanh(sqrt(Zsc/Zoc));
P=A/l;
P1=P*l/1000;
Z=P1*Zo;
printf("Series impedance of line is Z = %f /_ %f ohms/km\n",round(abs(Z)*1000)/1000,atan(imag(Z),real(Z))*180/%pi);
Y=P1/Zo;
pri... |
bf805c9af47acf07256e466ea50f5e4a63a6b44f | f84f70d084dfe70f4981267c54aae83638a4d71e | /ACSO-master/ACSO-master/Quiz 7 - diseño de circuitos/p3.tst | 338471caa72f12ee12aac2eec6604a71915218dc | [] | no_license | nicolaspineros/ACSOM | b85b4b770df5ff204c2c117155102c69fecc2dc6 | 3f3a05bd60589ba5f6fa5edba9d999af9dd93517 | refs/heads/master | 2023-03-22T11:34:35.897155 | 2021-03-03T15:35:00 | 2021-03-03T15:35:00 | 344,175,037 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | tst | p3.tst | load p3.hdl;
set c 0, eval;
set c 1, eval;
set c 0, eval;
set c 1, eval;
set c 0, eval;
set c 1, eval;
set c 0, eval;
set c 1, eval; |
fa5d76873d2970d5b119170e6bc6d4084604adbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH13/EX13.7/Example13_7.sce | 710731bf6c96de40b0835da497132087de6f35b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,188 | sce | Example13_7.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 13: RATINGS,SELECTION,AND MAINTENANCE OF ELECTRIC MACHINERY
// Example 13-7
clear; clc; close; // Clear the work space and console.
// Given data
P_o = 200 ; // Power rating of the test motor in h... |
abb3bab0471c3b1bddce80e6554d0f936380f853 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH10/EX10.2/ex10_2.sce | 40be76900ec038a38b93469d8eab50f16073f3a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | ex10_2.sce | clc;clear;
//Example 10.2
//calculations
amu=1.66*10^-27;//1 amu in kg
c=3*10^8;//speed of light in m/s
m=amu;
E=m*c^2;
kWh=1.6*10^-13;//conversion of kWh in J
E=E/kWh;
disp(E,'energy equivalence in MeV') |
563e77d36f8e08ddface274d9aeb0bc798b1a644 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH2/EX2.30/ex30.sce | 75d3ac0bc88ed10983af952d51122fd651157618 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,301 | sce | ex30.sce | clc
clear
//Input data
t1=15;//The inlet temperature of the air passing through the heat exchanger in degree centigrade
c1=30;//The inlet velocity of air in m/s
t2=800;//The outlet temperature of the air from heat exchanger in degree centigrade
t2'==800;//The inlet temperature of the air to the turbine in degree... |
1962d377dea9c9ea937476b71c310eb8d0394b6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH10/EX10.5/Ex10_5.sce | e2fd3a5cb8f39e651acafd036481581caa556217 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,493 | sce | Ex10_5.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 10 Example 5")
Pb_mep=6*10^5;//brake mean effective pressure in pa
N=600;//engine rpm
m=0.25;//specific fuel consumption in kg/KWh
D=20*10^-2;//bore of cylinder... |
5388d0cec519827183120749f8dfc9a107121564 | 52cbfb547384bc9612dc59f5280971ed5a701a9d | /Continuous Ramp Signal.sce | 3a7747804ae91e1f5620acfa8f84a269cd04607d | [] | no_license | allenbenny419/Scilab-Codes | efa5402bea6d03088f77dafcf9ed87bd1f93e915 | 48109cd70c8a66a56e87f88152e866565dd52362 | refs/heads/main | 2023-06-23T21:10:24.227426 | 2021-07-21T11:09:15 | 2021-07-21T11:09:15 | 388,086,261 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 127 | sce | Continuous Ramp Signal.sce | function y=f(x)
y=x
endfunction
x=linspace(0,6)
plot(x,f)
xlabel('t')
ylabel('y')
xtitle('Continuous Ramp Signal')
|
e2ac647cd12c31c0b8e4f54ed334df4d2be991bc | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_V._Rajendran_1826.zip/Material_Science_V._Rajendran_1826/CH11/EX11.1/ex11_1.sce | c2701b962722b175aef00d1875f078c56e2e1697 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | ex11_1.sce | errcatch(-1,"stop");mode(2);// Example 11.1, page no-332
ld=2000//kg
g=9.8//m/s^2
r=0.005
force=ld*g
stress= force/(%pi*r^2)
printf("The stress produce in an aluminium alloy is %.1f MPa",stress*10^-6)
exit();
|
9b3f9b9790df0cb4d30db8f88ceecffcfc353441 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3050/CH6/EX6.6/Ex6_6.sce | 33701d1f98c170f4ace97fd99c00baa7147e8c62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | Ex6_6.sce | //calculating Ksp
//Example 6.6
clc
clear
Ec=0.071
Ea=0.799
Ecell=Ec-Ea
Ksp=10^(Ecell/0.0591)//solubility product of AgCl in Mol^2/L^2
printf('Thus Ksp = %e Mol^2/L^2',Ksp)
|
c01f790ff7325400dcd72d673406ac9e999dfd84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH7/EX7.3/Example7_3.sce | 0891570ce3b0922b9f1d5cc1c5df80eaae77cc07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | Example7_3.sce | ///Chapter No 7 Fluid Mechanics
////find mass density of liquid
///Example 7.3 Page No:114
//Input data
clc;
clear;
S=0.85; //Specific gravity of a liquid
g=9.81; //Acceleration due to gravity in m/s**2(constant)
rhow=1000; //Constant value
///Calculation
//Specific gravit... |
7ed672580f9fcf8b78485afe207515abc4b61a26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH2/EX2.11/Example_2_11.sce | 0cb43ce60bbd4e425ada8af32279ab2dc32854c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 859 | sce | Example_2_11.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 2
//First Law of Thermodynamics
//Example 11
clear;
clc;
//Given:
//At inlet:
T1 = 293; //Temperature(K)
P1 = 300+136.8; //Pressure(kPa)
//At exit:
T2 = 453; //Temperature(K)
P2 = 136.8; //Pressure(kPa)
Cp = 29.4; //specific heat capac... |
3b74d55cf9c086759c6281bf22be3ed3db3bf0b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH3/EX3.1/Example3_1.sce | fcd7c13c7089e99a3480d518e3b9170092b26a4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,510 | sce | Example3_1.sce | //clear//
//Caption:Orthonormal basis for given set of signals
//Example3.1:Finding orthonormal basis for the given signals
//using Gram-Schmidt orthogonalization procedure
clear;
close;
clc;
T = 1;
t1 = 0:0.01:T/3;
t2 = 0:0.01:2*T/3;
t3 = T/3:0.01:T;
t4 = 0:0.01:T;
s1t = [0,ones(1,length(t1)-2),0];
s2t = ... |
45ca97d41aaabb45af753ef071b47eaf8cb3b0ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH19/EX19.1/19_1.sce | abd1ff8b4abdd1e02a1479f0259f88c9dc0c7652 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 847 | sce | 19_1.sce | clc;
clear;
function y=f(t)
y=1.7+cos(4.189*t+1.0472)
endfunction
deltat=0.15;
t1=0;
t2=1.35;
omega=4.189;
del=(t2-t1)/9;
for i=1:10
t(i)=t1+del*(i-1);
end
sumy=0;
suma=0;
sumb=0;
for i=1:10
y(i)=f(t(i));
a(i)=y(i)*cos(omega*t(i));
b(i)=y(i)*sin(omega*t(i));
sumy=sumy+y(i);
... |
c6ad0be3bd33e02a15e937811045b699d731cf1b | dc1af20bca10db33d1adcbf61d5fe874eb6eab07 | /CurrentRelease/vcast-workarea/vc_manage/PointOfSales_Manage/environment/ENV_LINKED_LIST/ENV_LINKED_LIST.tst | f10d158548292be1cccbc79d61462664303c71a9 | [] | no_license | TimSVector/PointOfSales_v2 | 2d1130516cfc5d77f2e5d0f60adcde96374f6fc2 | ef630f05850715568725cf94cc0e497146a049d4 | refs/heads/master | 2023-08-04T10:51:50.031346 | 2023-08-03T20:50:28 | 2023-08-03T20:50:28 | 133,404,783 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,527 | tst | ENV_LINKED_LIST.tst | -- VectorCAST 20.sp6 (02/02/21)
-- Test Case Script
--
-- Environment : ENV_LINKED_LIST
-- Unit(s) Under Test: linked_list
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:REMOVED_CL_PREFIX
TES... |
b535b9eb62960cf13675ad550defe6be559b6e03 | 31b6fbe1a2a4b72deb517412cfcf18574375244c | /currency-exchange/svitlana-2016/usd-jpy.tst | 9c019d5daf428ae41dee91729cb2cbe5ce5b6ca9 | [
"LicenseRef-scancode-unknown-license-reference",
"Artistic-2.0"
] | permissive | geneura-papers/data | 9d1ba3d45479fe6869b91ee39d12530943f4ef39 | 8b9171cefca33aec3a5867100b2297d31b21d1bc | refs/heads/master | 2021-01-17T10:17:59.265980 | 2016-09-26T23:44:22 | 2016-09-26T23:44:22 | 56,451,607 | 2 | 2 | null | 2016-05-06T06:03:42 | 2016-04-17T18:24:25 | Perl | UTF-8 | Scilab | false | false | 1,991 | tst | usd-jpy.tst | 105.26
104.741
104.759
104.215
104.52
104.75
104.75
104.08
102.94
104.17
104.563
104.293
104.27
104.1
104.332
104.4
103.17
102.229
102.705
102.867
102.147
102.713
102.13
101.013
101.646
101.386
102.122
102.277
102.225
102.616
102.47
102.232
101.833
101.86
102.336
102.22
102.315
102.56
102.465
102.09
102.34
102.08
101.7... |
ddb05e194ec4b2db3cae8ad3d7b5940251b742e9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/tests/elemlib.tst | cec398253c09e2bf10294d69c9797e44b3c0edc7 | [
"MIT",
"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 | 528 | tst | elemlib.tst | t=toeplitz(1:5,1:2:7);t1=[1 3 5 7;2 1 3 5;3 2 1 3;4 3 2 1;5 4 3 2];
if norm(t-t1)>10*%eps then pause,end
t=toeplitz(1:5);t1=[1 2 3 4 5;2 1 2 3 4;3 2 1 2 3;4 3 2 1 2;5 4 3 2 1];
if norm(t-t1)>10*%eps then pause,end
if toeplitz([])<>[] then pause,end
s=poly(0,'s');
t=toeplitz([s s+1 s**2 1-s]);
t1=[s 1+s s*s 1-s;1+s s... |
c1a266585674387a2fa400754960dc64f161ef13 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testmyGui.sce | b4fc0d19b8dc62741fd2a3d5634f4d4b420e9bca | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,658 | sce | testmyGui.sce | function myCallBack()
//retrieve the handles called by their "Tag"
// the first value: a
h1=findobj("Tag","val1");
// the second value: b
h2=findobj("Tag","val2");
// the result a+b
h3=findobj("Tag","result");
// compute the sum
val1=h1.String; // value of a
val2=h2.String; /... |
681b2949585efd4365664195527ba81a627a08f7 | fcb923ff741381fc01b5fdbcc2c23fea444a01b1 | /bball/bench1/bball.tst | 39cfd5a907b91f81a61750138149900d04f6fa3e | [] | no_license | zutshi/pwa_smt2_bench | e3ac1f980a1b1ef943f60b89252351474b7789ec | 6a33890266396786a37be4c015ff2b7656de07d9 | refs/heads/master | 2020-04-10T15:51:04.339663 | 2016-10-09T02:04:09 | 2016-10-09T02:04:09 | 68,058,186 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,357 | tst | bball.tst | # REFERENCE:
# EMSOFT paper
inf = float('inf')
plant_pvt_init_data = None
# Property
initial_set = [[-0.1, 3.0, 5.0, -5.0],
[0.1, 4.0, 10.0, 5.0]]
# X0 leading to error set
# initial_set = [[-0.1, 4, 9.87, 4.967],
# [-0.1, 4, 9.90, 4.969]]
#error_set = [[330.0, 1.0, -inf, -inf],
# ... |
50e8fae267058d115f23448629cd12e23af5c958 | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH29/EX29.1/29_01.sce | e1463f11e40a268cc69a2da79739b476f5eee4ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 45 | sce | 29_01.sce | clear
clc
printf("\n Its a theorotical qn") |
a1b5b2b0f7432bbb7e6b57130729a1d6f47aaa6d | a88bc351c907b9f0e662e251314c78a075880265 | /Scilab/Polynomial Interpolation Linear.sce | 9bf0c1c640e978840c88a45b70039b530f48a198 | [] | no_license | decospdl/Exercise | 2ff1161f101a892ac511c62e1dce67a07606107a | 14d61a9553aab9af259edc8af504fdaa8568ec8f | refs/heads/master | 2020-05-26T15:22:22.243902 | 2019-06-13T22:55:10 | 2019-06-13T22:55:10 | 188,279,547 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | Polynomial Interpolation Linear.sce | clear;
clc;
close;
inicio = 0.1
fim = 0.6
passos = 0.1
x = [0.1 0.6]
y = [1.221 3.320]
deff('y = a(v)', 'y = (y(1) - y(2)) / (x(1) - x(2))')
deff('y = b(v)', 'y = y(1) - a(0) * x(1)')
deff('y = p(v)', 'y = b(0) + a(0)* v')
while inicio <= fim
printf("\np1(%d) = %.4f + %.4f * %d = %.4f", inicio, b(0), a(0), inic... |
96c61c530e2689a039cc5e3828db72ba528309d4 | 91da29a7783c3162b1b743ad75d48814bd1f556e | /2_año/MN/Parcial 3/Pregunta 1 Parcial 3 - Farizano, Juan Ignacio.sce | 1cf87fcbadae7c855d0ad30cca2010861a735cce | [] | no_license | jfarizano/LCC | a149631059129b07a7c603bf16df0c1b25479edb | 70cb03b0ff0a788b1bbbf1a6bcd51beff48460fe | refs/heads/master | 2022-11-15T14:46:36.171561 | 2022-11-10T21:15:13 | 2022-11-10T21:15:13 | 246,933,544 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,006 | sce | Pregunta 1 Parcial 3 - Farizano, Juan Ignacio.sce | function cotasGers(A)
[n,m] = size(A)
// Calculo los centros de los círculos (cada elemento de la diagonal
// de A es el centro de un círculo, es decir, el centro del círculo i
// es a(i,i))
centros = diag(A)
// Calculo los radios, donde el radio del círculo i es la suma de la fila i
// meno... |
13fbcac9b0673c2d7287d9847528b0f60e17ff5a | f78a758dc17a311b355e12366d1315f7a9c2b763 | /MG ROVER/MG RES 62.21.627 2004/Test pulse 5a 2.tst | f7b3a0866a17ee9052569b6152eaeb1c39b33cf9 | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 846 | tst | Test pulse 5a 2.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE AUTOTEST>
<AutoTest version="2.0.0" wavetype="6">
<Pulse>Pulse 5a/5b</Pulse>
<Title>Level III 24V</Title>
<Organization>MG ROVER</Organization>
<Standard>MG RES 62.21.627 2004</Standard>
<Item>Test pulse 5a</Item>
<system>
... |
4b8b5a796ffcbf6226040dfc07e6aaa43e337bb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH4/EX4.2/Ex4_2.sce | e9fdfe66038b92a852c501368e6e351e785fc4bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | Ex4_2.sce | clc;
clear;
lambda_1=4200*10^-10 //wavelength in m in first case
Beta_1=0.46*10^-2 //fringe width in m in first case
Beta_2=0.64*10^-2 //fringe width in m in second case
//calculation
lambda_2=(lambda_1*2*Beta_1)/Beta_2 //dividing first case by second
mprintf("The wavelength of the light source to obtain fring... |
02c1686d1290ca85908ae30d60924212ceff6d9b | 4a1949be12fbe9a81d9308381b34c611e65877ca | /tests/arbre/4.tst | 5a02adebaa6687068f871e16df0e0b20a514bc00 | [] | no_license | ng88/trad | 26439d8fe2284ece19d6fbfaa397d3f6f0d13e78 | e4d3d4d56928539144d30c5c49e01e65c9b8729c | refs/heads/master | 2020-12-05T07:31:25.854231 | 2008-02-29T10:15:34 | 2008-02-29T10:15:34 | 67,351,952 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 964 | tst | 4.tst |
class A
end
class MaClasse
inherit A
private void main(string arg1, string arg2)
{
VAR integer a, b, c, d;
if 1 = 3-2 then
a := 5;
else
{
VAR string s1, s2;
b := 6;
c := 7;
while 1 do
... |
d3ebdc2c9c6f2117322a4b1519c293af8b22fbd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH5/EX5.6/5_6.sce | 7d73b056462c0770e37ac293763c6a437c57b459 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_6.sce | clc
//initialisation of variables
l= 24 //ft
n= 5 //parts
h= 2 //ft
w= 1//ft
n1= 4
c= 10
//CALCULATIONS
Q= 3.33*((l-n1)-0.1*c*h)*h^1.5
//RESULTS
printf ('Discharge= %.1f cuses',Q)
|
81e7b17b34c69033e4e705d41c838d23f1aa95bb | 51e9b626c77bd433b81b6b9830d2db2518806582 | /task3/kadai2.sce | c84e427ae49a8ae1cdc56c2bb6934d26015f59c0 | [] | no_license | hama1185/IinteractiveSystem | 1e005fd92fa4b89e4f75926a4f872595aa831a8f | fb880fc82fa8e477306695f5abd7d6b0e0f0a24c | refs/heads/master | 2022-12-19T12:48:36.368503 | 2020-05-30T08:18:55 | 2020-05-30T08:18:55 | 268,037,754 | 0 | 0 | null | 2020-06-11T05:37:25 | 2020-05-30T08:16:47 | Scilab | UTF-8 | Scilab | false | false | 712 | sce | kadai2.sce | m = 1.0;//質量
k = 1.0;//ばね定数
c = 1.0;//ダンパ係数//
function F = Force1(t,a)
F = sin(2*%pi*t*a);
endfunction
x = 0;//初期位置
v = 0;//初期速度
dt =0.01;//時間刻み
t = [0:dt:10];
record= [];//記録用
for time = 0: dt: 10
a = (Force1(time,0.02) -k * x - c * v) / m;
v = v + a * dt;
x = x + v * dt;
record = [record, x];
e... |
1863e1fd7ae1e368b240f5ca747531159daadfc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH11/EX11.3/11_3.sce | 3c1bf8e8a8d3adb44cca27fb83b3ac1cb1acb203 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | sce | 11_3.sce | // Size of conductor to be used for wiring a 10 kW 400V 3 Phase induction motor
clc;
clear;
P=10*(10^3); // Power Rating
V=400; // Voltage Rating
f=50;// Frequency of operation
// Assumptions Made
eff=85/100; // Efficiency
pf=0.8// Power Factor
I=P/(sqrt(3)*V*eff*pf); // Current flowing in the conducto... |
831b7a2ff38dff0c01615e1dff54387b50aedbe7 | 3a5107b829276ce4530b98283206e13ef2bfff7c | /Interpolação Lagrange.sce | 7168b192c98aa890781894578fb37fc4e9aed1e9 | [] | no_license | daniel1sender/T-picos-de-F-sica-Computacional | 902932aaa0616171ecd7e21650cb41ed4a29ef72 | 755a3b085f2190d579fcac90d562a7668f4f60d1 | refs/heads/main | 2023-04-23T04:15:27.660423 | 2021-05-10T15:57:41 | 2021-05-10T15:57:41 | 339,199,113 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | Interpolação Lagrange.sce | //Interpolação método Lagrange
// Dados:
//Interpole usando polinomio interpolador de 1 grau
x = [0,15,30,45,60,75,90];
y = [1,0.9659,0.8660,0.7071,0.5000,0.2588,0.0000];
Xi=22.5;//ponto que eu quero saber a interpolação
for i=1:length(x)-1
if (Xi>=x(i) & Xi<x(i+1)) then
Yi=y(i)*((Xi-x(i+1))/(... |
ec43949d3719b1888f788e5c90d5aaadf01dc8f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH7/EX7.14/7_14.sce | db0b5b99a6ac4a2dc645ef3165eb430771ad81d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sce | 7_14.sce |
clc
//initialisation of variables
d= 6 ///in
v= 4 //ft/sec
K= 300000 //Lb/in^2
E= 30*10^6*144 //Lb/in^2
w= 62.4 //Lb sec/ft^3
t= 1/48 //ft
g= 32.2 //ft/sec^2
fc1= 300 //lb/in62
//CALCULATIONS
P= v*sqrt(w/(g*((1/(K*144))+(2*(d/24)*48/(E*144)))))
fc= P*(6/24)/(t*144)-fc1
//RESULTS
printf (' Theotrical str... |
b0cd8d95b93e251c4ce0bf2a9ed57bed71258aad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH7/EX7.13/Ex7_13.sce | acad1c235d3df5f3d42dbc028409fdb6cdb50c54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | Ex7_13.sce | // Display modeK
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 7 Example 13")
T_min=(20+273);//minimum temperature reservoir temperature in K
T_max=(500+273);//maximum temperature reservoir temperature in K
n=0.25;//efficie... |
6c4bf146cac25d047c6595986fe03c1c4ce77904 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH1/EX1.24/1_24.sce | 79dc3a850a676af2ec1c61c24316ac64a0897078 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | 1_24.sce | //1.24
clc;
Vc=100;
IL=40;
t_off=40*10^-6*1.5;
C=IL*t_off/Vc;
printf("The value of capacitor= %.6f F",C)
//L>(VC^2*C/IL^2);
//IC_peak=Vc*(C/L)^0.5;
//IC_peak should be less than maximum load current so if L=2*10^-4
L=2*10^-4;
IC_peak=Vc*(C/L)^0.5;
printf("\nPeak capacitor current= %.2f A",IC_peak)
disp('Si... |
fc9ce0a89a4d6658cba7b234bec90e5b93deed67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH5/EX5.3w/5_3w.sce | b7661e233f6d28108a7ccd0786779bedb52fd2d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | 5_3w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 5.3w
//calculation of the force exerted by the tree limb on the bullet
//given data
u=250//initial velocity(in m/s) of the bullet
v=0//final velocity(in m/s) of the bullet
x=.05//penetration(in m) by the bullet in th... |
595c150e24e9524172bc15e3ad16dc7682f53e03 | 482cdc3e27e99afe860829eff3e593caa62202e3 | /src/cs142_testcases_project3/Public/tests/test9.tst | 48065be1fa1a7bf69a515d996f8ddd65dc4e002f | [] | no_license | abrageddon/DLXCompiler | e153430de4412fe48a34955851352d0fd73ab2d8 | 2d1abd102f723c2e1f0ed5893e86c7d0ceb42914 | refs/heads/master | 2020-12-30T10:50:20.955331 | 2011-12-02T03:34:59 | 2011-12-02T03:34:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | tst | test9.tst | main
var a111, b222, c333, d444, e555, f666;
{
a111 <- 666;
b222 <- 555;
c333 <- 444;
d444 <- 333;
e555 <- 222;
f666 <- 111;
if a111 > b222 then
a111 <- call inputnum()
fi;
if b222 > a111 then
b222 <- call inputnum()
fi;
if a111 + b222 > 0 then
call outputnum(a111);
call output... |
22467cd05d634c167b8aec21d325f259c9d2a4b4 | 29778da8b2321b9b111665ee097446f393795813 | /automatique/Td/td5/test_fonc_transfert.sce | d2d16da6aa6640323ec92607a04491259024756f | [] | no_license | RomainCocogne/Elec3 | 947fe8590fcc084f496e0934c2bda195adb4d33f | 47833a7112d50c6278898ee388044d5364fb482c | refs/heads/master | 2020-04-27T02:23:00.159518 | 2019-08-26T22:29:00 | 2019-08-26T22:29:00 | 173,992,180 | 2 | 0 | null | 2019-05-16T14:59:40 | 2019-03-05T17:37:22 | Jupyter Notebook | UTF-8 | Scilab | false | false | 1,115 | sce | test_fonc_transfert.sce | clear;
xdel(winsid());
t=linspace (0,1E-2,1E4);
p=poly(0,'p');
K=0.47;
R=0.8;
L=400E-6;
Kc=20.52E-3;
J=180E-6;
Cr=0;
Taum=(R*J)/(Kc*Kc);
Taue=L/R;
Gi=1;
Kci=1;
Kd=0.001*30/%pi;
Kp=10;
Gw0=1171;
w0=1787.8;
K1=(Gi*Taum)/((Gi*Taum*Kci)+(R*Taue));
Tau1=Taum/((Gi*Taum*Kci)/(R*Taue)+1);
zeta=0.5*(1/sq... |
f4fb648f3fb01c161537599ca3fd6fb475c27962 | 4545588c8427debaf17f9dc71b0ace32f4fb5d67 | /avr32/services/dsp/dsplib/conception/operators/fixed_point_cos.sci | cb559a01ed3496da1b038cc69451a793c460d4ad | [] | no_license | eewiki/asf | 02e06cec0465b28dd689dea801e6be6cbcd47eca | 8d0f55bd089f2e68d2b53aa76adbb02c07cdb166 | refs/heads/master | 2021-01-16T18:20:22.690176 | 2015-03-09T05:42:50 | 2015-03-09T05:42:50 | 18,419,213 | 34 | 30 | null | 2014-12-25T05:13:20 | 2014-04-03T21:42:46 | C | UTF-8 | Scilab | false | false | 5,530 | sci | fixed_point_cos.sci | // Fixed point 16-bit cosine and sine
clear
function res=dsp32_k_cos(y)
pi = 3.1415926535897;
// Q1.31 emulation
y = y*2^31;
one = 1.0000000000e+00*2^31;
half = 0.61685027507*2^31; //0.5*(pi^2/8);
C1 = 0.50733903092*2^31; //pi^2*(4.1666667908e-02*pi^2)/8;
C2 = -0.16690785015*2^31; //(-... |
46b0bc8a14c90026f5e70f56824c0bd57a81341f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH7/EX7.5/Exa7_5.sce | 63a5722593ffb0c4f56abfb328086a31406484c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,783 | sce | Exa7_5.sce | //Exa 7.5
clc;
clear;
close;
//Alternative 1:
disp("Alternative 1:");
Io=500000;//in Rs
Ar=170000;//in Rs
n=5;//in years
//Formula : (P/A,i,n)=(((1+i/100)^n)-1)/((i/100)*(1+i/100)^n)
// when i=15 %
i1=15;//in % per annum
PW1=-Io+Ar*(((1+i1/100)^n)-1)/((i1/100)*(1+i1/100)^n);//in RS
disp(PW1,"The present wo... |
208e8d77e286a3c718988713360bb2316b2e159f | 449d555969bfd7befe906877abab098c6e63a0e8 | /545/CH5/EX5.6/ch_5_eg_6.sce | 6c4b534daead7b50aeee03d14cea8738384bcc16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 969 | sce | ch_5_eg_6.sce | clc
disp("the soln of eqn 5.6-->1-D Steady Heat Conduction");
//in the given problem
T_1=100, T_10=200
delta_x=(T_10-T_1)/9 //since 9 divisions are to be made
//using central difference method we get
//for node 2--> 2*T_2-T_3=100
for i=2:8, a(i)=-1 //sub diagonal assignment
end
for j=... |
1c5d2c69fbe141cd7697b60bde2b793e6ccd29c5 | fcec29e592f4bcf7d8bd215b4aff1152b2c2eea5 | /test/eunit.drop.tst | 08101c9613c81b27837ce2c0809cc0f22d8a5474 | [
"Apache-2.0"
] | permissive | idau2012/sqlparse | c79a95e7fa89cc36e99942501c20946e2aebb044 | 4390d99be81faae22e7b7d5fbdcb09cba5ffd8ca | refs/heads/master | 2022-04-10T01:46:15.934869 | 2020-03-11T15:13:58 | 2020-03-17T09:49:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19,745 | tst | eunit.drop.tst | %%-*- mode: erlang -*-
%%-*- coding: utf-8 -*-
% Test control options
[{tests, []}].
%% =============================================================================
%% TESTS: DROP INDEX & DROP ROLE & DROP TABLE & DROP USER
%% -----------------------------------------------------------------------------
% %%%%%%%%%%... |
86059c03e01c6ebc2d224ade7022ff3f2a81444c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH12/EX12.2/Ex12_2.sce | 59fc5c4651b2a7f83dee43f75a99446242e2b8b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 828 | sce | Ex12_2.sce |
// Example 12.2
Vl=415; // Supply Voltage
Vph=Vl/sqrt(3); // Phase Voltage
p1=10000; // Load of 10-kW
p2=8000; // Load of 8-kW
p3=5000; // Load of 5-kW
IR=p1/Vph; //Current by ( 10-kW Load )
disp(' Current by ( 10-kW Load ) = '+str... |
f703d25218e626950558962e5363272d77dfcbad | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH6/EX6.11/Ex6_11.sci | 2d6ae51eb07d9bc2c7d1738b0e86ba19a2dfdc8f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 913 | sci | Ex6_11.sci | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 6.11
clc;
clear;
s=poly(0,'s')
//given tranfer function g(s)=10/(s*(1+2*s)*(1+s))
h=syslin('c',10/(s*(1+2*s)*(1+s)))
pm=30//given phase margin
w=6.2//given gain cross... |
59fa977eb50081e8657d87b6d8bef84202a3f4e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH6/EX6.13/Ex6_13.sce | 8e6491c31c9c91e2e7df416c25bc80465906a1e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | Ex6_13.sce | clear;
clc;
printf("\nEx-6.13\n");
//page no.-190
//given
A=10^-6;.......//cross-sectional area in m^2
I=1;..........//current in Ampere
n0=8.5*10^28;.........//no. of electrons per unit vol
e=1.6*10^-19;......//charge in C
v=I/(no*A*e)...........//drift velocity in m/s
printf("\ndrift velocity of free e ... |
b44e8fc10bfbe146de80c3756c72ac0f543c84aa | b412360a5393e117e74453519c55968117ef7c7e | /REGRESSIONTESTS/masand.tst | 58bb5cea1df706db8f633b66a7ef0bc18ab749c1 | [] | no_license | thomas-maeder/popeye | 36be3f54f8a7eea15b52a30cf23e455ed6ff44f8 | 732b721df67295b2c6a1c2ca00e87979f39cc0c9 | refs/heads/develop | 2023-09-05T13:06:45.846081 | 2023-08-31T02:59:55 | 2023-08-31T02:59:55 | 38,768,803 | 38 | 23 | null | 2023-09-14T18:35:27 | 2015-07-08T17:21:43 | C | UTF-8 | Scilab | false | false | 1,171 | tst | masand.tst |
1.Sc2-b4 must recolor the Pa2 once, not twice
+---a---b---c---d---e---f---g---h---+
| |
8 . . . . . . . . 8
| |
7 . . . . . . . . 7
| |
6 . . . . . . . . 6
| ... |
372cfd54ac0964be1e10e4ab05605ecb8be82032 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH10/EX10.4/10_4.sce | 5b05cb5bc265928781a827107131b0cce131890b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | 10_4.sce | //clc();
clear;
//To estimate the lattice heat capacity
Td1s1=300; //debye temperature of s1
Td2s2=250; //debye temperature of s2
Cvs15=0.05; //heat capacity of s1 at 5k
Cvs2=Cvs15*(Td1s1/Td2s2)^3;
printf("lattice heat capacity of s2 in J/mol-k is");
disp(Cvs2);
Cvs12=Cvs15*(2/5)^3;
printf... |
b063da00cc1a985cc994399e83ad00d01d7f19ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH7/EX7.1/Ex7_1.sce | c592868ab7776c89bcf62fb09adfcfe3a9076385 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | Ex7_1.sce | clc;
p=6; // number of poles
c=40; // number of coils
w=2; // winding pitch for simplex lap winding
printf('Number of commutator segments is equal to number of coils=%f\n ',c);
k=1/3; // integer added(or subtracted) to calculate back pitch to make it an odd integer
yb=((2*c)/p)-k;
printf('Back pitch is %f \n',yb... |
e423f7fdf1c20de60aa8e0ed5efba4b09c806904 | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/is_ARP-006.tst | b95452eaf1b626388d9956d832ee5dec65370bfe | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 21 | tst | is_ARP-006.tst | ../inputs/mini-08.ssv |
39618bc4329e83c3a0d04bef9905509a1fb420fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH11/EX11.2/Ex11_2.sce | df7bd1696d194e89e7715f8507cc85a206a1463f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | Ex11_2.sce | //Example11.2//
pFe=7.87;//Mg/m^3 // Density of iron (From Appendix 1)
pAl=2.70;//Mg/m^3 // Density of Aluminium (From Appendix 1)
mFe=25;//kg // resulting mass saving
a=1;//Mg // given
b=10^3;//kg //given
V=(mFe/pFe)*(a/b)
mprintf("V = %e m^3",V)
//the mass of new aluminium parts would be
mAl=pAl*V*(b/a)
mpr... |
704ada62b4109567583abcc3cce842bfce5ca13f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH6/EX6.5/Ex6_5.sce | ac1acb2521a6764a43814948ddd63f4810643a59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | Ex6_5.sce | clc
// initialization of variables
clear
// Shaft specifications
Pi=100 //kW
f1=100 //Hz
f2=10 //Hz
tau_Y=220 //MPa
SF=2.5 // Safety factor
Po=100 //kW
//calculations
Pi=Pi*10^3
tau_Y=tau_Y*10^6
Po=Po*10^3
Tin=Pi/(2*%pi*f1)
Tout=Po/(2*%pi*f2)
Din=(16*SF*Tin/(tau_Y*%pi))^(1/3)
Dout=(16*SF*Tout/(tau_Y*%p... |
b4568bcc43f61d15c94a3a2263009639c2f6e480 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH12/EX12.13/Ex12_13.sce | 889bbba73d0001956ac9c67b7b40a3a0117ffbea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 913 | sce | Ex12_13.sce | // Scilab Code Ex12.13: Page-453 (2014)
clc; clear;
u = 931.5; // Energy equivalent of 1 u, MeV
M_U230 = 230.033927; // Atomic mass of U-230, u
m_n = 1.008665; // Mass of a neutron, u
M_H = 1.007825; // Mass of hydrogen, u
M_U229 = 229.033496; // Gram atomic mass of U-230
Q = (M_U230 - M_U229 - m_... |
d11dd1d69e0b190e64a2a3c875f1697666f8f13b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH21/EX21.1/example_21_1.sce | 9d87ff6d124752f6a072dfaaa366e9ece1d17711 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,613 | sce | example_21_1.sce | clear;
clc;
disp("--------------Example 21.1---------------")
// ARP Request
Hardware_type="0001"; // Ethetnet = 1 , in hexadecimal
Protocol_type="0800";// IPv4 = 0800 in hexadecimal
Hardware_length="06"; // for Ethernet in hexadecimal
Protocol_length="04"; // for IPv4 in hexadecimal
Operation="0001"; // reques... |
314113ce45bac3b9adedf116951e546a9b24d45d | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/demos/microdaq.dem.gateway.sce | a8416e1aa11c1b2c3f298ea9b546e4e1dc9e2509 | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 741 | sce | microdaq.dem.gateway.sce | // Copyright (c) 2015, Embedded Solutions
// All rights reserved.
// This file is released under the 3-clause BSD license. See COPYING-BSD.
function subdemolist = demo_gateway()
demopath = get_absolute_file_path("MicroDAQ.dem.gateway.sce");
subdemolist = ["LED example", "led_demo.dem.sce" ;
"FF... |
ced914d83b8c8bbacefa4ae8eefca71c82946bfb | 61ae130448957e9d317026c24a8fd467e6bb08c9 | /src/test/resources/GtTest/GtTest.tst | 71342bca79521303ea074690d113dc6ddb2133e6 | [] | no_license | toonketels/nand2tetris-vm-translator | d38921aa4196cf7021a5cbce5db46885b3b8e7c3 | dfd283fc53db0d0119286675d3462ff5d0ca7ec9 | refs/heads/main | 2023-06-01T04:14:38.446476 | 2021-06-24T08:07:38 | 2021-06-24T08:07:38 | 379,851,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | tst | GtTest.tst | load GtTest.asm;
set RAM[0] 256, // stack pointer
set RAM[1] 300, // base address of the local segment
set RAM[2] 400, // base address of the argument segment
set RAM[3] 3000, // base address of the this segment
set RAM[4] 3010, // base address of the that segment
repeat 600 { // enough cycles to complet... |
40efd8510365d7a277796b581cb38c2aa18cc3f8 | e708f81011d4a09a8ad1ee85f0c1872e1634f35c | /Documentation/Wrapping/Scilab/btk/macros/btkMetaDataInfo.sci | 07d6500924b135cf95578d8d312fb004dc1fcea2 | [
"BSD-3-Clause"
] | permissive | allardhoeve/BTKCore | ef26f818acf06780c3e57147097f65f2d72c1c27 | f6805699fe37f64ac6434a92736c6b59f0ea148d | refs/heads/master | 2020-04-27T07:58:51.948297 | 2019-03-28T11:03:41 | 2019-03-28T11:03:41 | 174,155,043 | 0 | 1 | NOASSERTION | 2019-03-06T14:27:02 | 2019-03-06T13:55:59 | C++ | UTF-8 | Scilab | false | false | 260 | sci | btkMetaDataInfo.sci | function info = btkMetaDataInfo(format,values)
// Ouput variables initialisation (not found in input variables)
info=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
info.format = format;
info.values = values;
endfunction
|
ca49dd2db631e83eb2bbaee588a35bad0a89e31f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.35/4Ex35.sce | 51e8361ebeca9b8e928d84627c42b08edf5ccce0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sce | 4Ex35.sce | //chapter 4 Ex 35
clc;
clear;
close;
n1=14; n2=18; amtEach=80;
amtTotal=amtEach/(1/n1-1/n2);
mprintf("The total amount was Rs.%d",amtTotal);
|
7116372f17e34ed184f1c21d7fda654dea0c399b | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH2/EX2.18/18.sce | fcc28ed860e45176189e7100b9ce637fa4bbccb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | 18.sce | clc
//angle free surface makes with the horizontal in an accelerated body
a=1;//ft/s^2
g=32.2;//ft/s^2
theta=atan(a/g);//radians
theta=theta*180/%pi;//degrees
disp("The angle made by free surface with the horizontal is")
disp(theta)
disp("degrees") |
d75692bd9ffc64fb162e9c0afd9881153a5eb3c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH3/EX3.18/MS_18.sce | 38c07e734124206914e3bf6c661c57d2ec115fa3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | MS_18.sce | // sum 3-18
clc;
clear;
//Tmax=F/(I*b)*[B*t(d/2+t/2)+(b*d*d/8)];
//T1=F/(I*b)*[B*t*(d+t)/2];
//Tmean=T1+2/3*(Tmax-T1);
//T=Tmax-Tmean;
//T=F*d^2/(24*I);
disp("Difference between maximum and mean shear stresses in the web is ,T=F*d^2/(24*I)");
|
7a66924e9bcb1b032100d8736fc522b6c73805da | 505dbe6f806a6e0354b4f1f2326dc36f01fbe3e0 | /S3/Proba-Stats/statistiques.sci | 4e468b163c3c5fc86b78b908e3c9334eaf87a6ca | [] | no_license | MalikZouhiri/DropIUT | 5d1dea760cc1114114a2caf0bab1701e9adc815b | 1ae2cdd14f10182dbe6d0b2546e452851076591f | refs/heads/master | 2020-06-05T06:20:05.109658 | 2015-01-23T06:04:33 | 2015-01-23T06:04:33 | 29,574,014 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,195 | sci | statistiques.sci | //Moyenne, Variance, Ecart Type, Médiane, Quartiles - Covariance, corrélation, LinReg
function[resultat]= eff_total(n)
resultat = sum(n);
return resultat
endfunction
function[resultat]=moyenne(x,n)
eff_total=sum(n);
somme=sum(x.*n);
resultat=somme/eff_total;
return resultat
endfunction
functi... |
6b49fcaab00aed6f21876e95a0c77ec974cbd9c5 | 07ab1b51dc9ecf7c9119f1285dbca193e04a174b | /WCSTmouse.sce | 9fa4adb7a06fc738a747d4ed09717511b6169100 | [
"MIT"
] | permissive | GiovanniGiaquinto/WCSTinStimulusPresentation | f7f1f35e9ff2b8d04100da7898b0909d8608b343 | a926a4a36b1b29b7df25b4d6261638e837281c89 | refs/heads/master | 2020-12-30T16:15:37.508944 | 2017-06-02T13:43:04 | 2017-06-02T13:43:04 | 90,973,095 | 0 | 0 | null | 2017-06-01T09:27:17 | 2017-05-11T11:45:32 | Scilab | UTF-8 | Scilab | false | false | 5,083 | sce | WCSTmouse.sce | #headers
default_background_color = 255, 255, 255;
default_text_color = 0, 0, 0;
default_font = "cambria";
default_font_size = 28;
active_buttons = 1;
response_matching = simple_matching;
default_trial_type = first_response;
default_trial_duration = stimuli_length;
default_picture_duration = response;
#SDL
begin;
... |
c9ce27653cf706ee4b2f5738cfbcbf04cb68496e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH7/EX7.11/7_11.sce | fec8a0bb07109377377dc84147d34c0f815dad53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | 7_11.sce | //ill conditioned linear system
//example 7.11
//page 277
clc;clear;close;
A=[25 24 10;66 78 37;92 -73 -80];
de_A=det(A);
for i=1:3
s=0;
for j=1:3
s=s+A(i,j)^2
end
s=sqrt(s);
k=de_A/s;
end
if k<1 then
printf(' the fuction is ill conditioned')
end
|
c47040dd829acc1dccf005a13560db32b1fe28af | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH11/EX11.11/11_11.sce | 2a29e3941b98b23187bd821dc3021c54dc01600a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,281 | sce | 11_11.sce | //pathname=get_absolute_file_path('11.11.sce')
//filename=pathname+filesep()+'11.11-data.sci'
//exec(filename)
//Time of trial(in hrs):
t=24
//Pressure at which steam is generated(in bar):
p=16
//Coal consumed(in kg):
c=10000
//Rate of steam generation(in kg/hr):
r=2500
//Feed water temperature(in C):
Tf=27... |
e53b2ce06841b52ce9385c0da352ea643d552d45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.41/EX17_41.sce | aa91759ca4611642931a38b6f761d9df910df2f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,158 | sce | EX17_41.sce | clc;funcprot(0);//EXAMPLE 17.41
// Initialisation of Variables
Cpw=4.18;..............//Specific heat of water in kJ/kgK
n=1;................//No of cylinders
N=350;.......//Engine rpm
pmi=2.74;..........//Mean effective pressure in bar
bl=600;..........//Brake load in N
mf=4.22;............//Fuel consumption in... |
76c45779e8942846f68106f4a460f0a60d7739ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH4/EX4.22/Chap4_Ex22_R1.sce | 4658c0ebd97e637f12cb5190c4889ace00bb4c35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,273 | sce | Chap4_Ex22_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-4,Example 22,Page 130
//Title:Standard enthalpy change for the reaction from standard enthalpies of formation
//======================================================================================================... |
9a1be0db9b1e6ccf91bbc680d9beb74327185a7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH3/EX3.8/Exa3_8.sce | 3d8183b289cb245686f4206a1cc20f614d2db683 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | Exa3_8.sce | //Exa 3.8
clc;
clear;
close;
//Given data :
deltaTau_s=2;//in nm
L=30;//in Km
Dmat=20;//in ps/nm-km
//formula : deltaT_mat=deltaTau_s*L*[(lambda/c)*(d^2*n/d*lambda^2)]
//formula : deltaT_mat=deltaTau_s*L*Dmat
deltaT_mat=deltaTau_s*L*Dmat;//in ps
deltaT_mat=deltaT_mat*10^-3;//in ns
disp(deltaT_mat,"Pulse bro... |
da3121938adcbca1b947f0aaaa9e48ac7e16223e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH12/EX12.3/Ex12_03.sce | 742b67df3c3269e63e17d5059bbcb69cd459a36d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 667 | sce | Ex12_03.sce | // Scilab Code Ex12.3: Page-437 (2014)
clc; clear;
A_U238 = 238; // Mass number of U-238
A_He4 = 4; // Mass number of He-4
r0 = 1.2; // Nuclear radius constant, nm
R_U238 = r0*A_U238^(1/3); // Radius of U-238 nucleus, fm
R_He4 = r0*A_He4^(1/3); // Radius of He-4 nucleus, fm
printf("\nThe radii of ... |
cb7c68e9aee9074b466725d82707c25d0106b5ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH1/EX1.12/Example1_12.sce | 86efa17170e6d92fd3b092f49ac1d819f25c1b86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sce | Example1_12.sce | //Scilab Code for Example 1.12 of Signals and systems by
//P.Ramakrishna Rao
clc;
clear;
x=-2:1:3;
y=[-1.5,2,2,1,-1.5,2.5];
//Plot of x(n)
plot2d3(x,y,5);
xtitle ( 'Time Scaling x(n)');
a = gca(); // get the current axes
a.x_location = "origin";
a.y_location = "origin";
x=-2:1:3;
y=[0,-1.5,2,-1.5,0,0];
fi... |
bed1efd94fa92764f8336443eab1103a15f8febd | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH5/EX5.5.6/Ch5_5_6.sce | 328e3f5232ae859948eb114bfc859f635d054622 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | Ch5_5_6.sce | clc
disp("Example 5.6")
printf("\n")
disp("Calculate new level of output voltage when it has fallen by 4db")
printf("Given\n")
//output voltage of an amplifier is 2V when frequency 1khz
V1=2
//power in db
Po=-4
//new level of output voltage
V2=10^(Po/20)*V1
printf("new output voltage \n%f volt\n",V2)
|
6777601cc21d4d45bcdf814401d004bdc014d872 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH4/EX4.3/ex4_3.sce | 28d5e223c494ea9f97b05c9e181b8330cf9c9b26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | ex4_3.sce | //Determine the base current
clear;
clc;
//soltion
//given
a=0.96; //dc alpha
Rc=2*10^3;//ohm //resistor across collector
Vc=4;//V //Voltage drop across the collector resistor
Ic=Vc/Rc; //Colletor current
Ie=Ic/a; //Emmiter current
Ib=Ie-Ic; //Base current
... |
03423a8a6b0ea79c5d0d1d74e51aac7b70949223 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH3/EX3.1/Ex3_1.sce | 9bee8e7ac547221570c03a528172a40a239e8643 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | Ex3_1.sce | //Chapter 3 Liquids
clc;
clear;
//Initialisation of Variables
p= 388.6 //mm
p1=26.5 //mm
T= 60 //C
R= 1.99 //cal mole^-1 A^-1
//Calculations
Lv= log10(p/p1)*2.303*R*273*(273+T)/(T)
//Results
mprintf("Heat of Vapourisation of Benzene = %d cal per mole",Lv+2);
|
d10f8398d1ddbcb9f6a4c73f3a59682ad6f030a9 | 5e244ee21a463b92f547cd5626e466ab167a3e1b | /Semester 5/OST/02. Discrete Time Fourier Transform/ost2.sce | b9d6deba02ebc343cf7bd37e1726e793314ae9f7 | [] | no_license | bumblebee26/Lab-Experiments | 5ab36e3a52fd3348d0d7634a08541e229e55680f | 8408eceabf65489d477c1e62a998c39b0bd0d828 | refs/heads/master | 2020-04-20T12:44:52.375127 | 2020-02-28T15:10:45 | 2020-02-28T15:10:45 | 168,850,941 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | ost2.sce | x=[1,2,3,4];
N=4;
i=sqrt(-1)
pi=3.14;
y=[0,0,0,0]
for k=1:N
for n=1:N
y(k)=y(k)+x(n)*round(exp(-(i*2*pi*(k-1)*(n-1))/N))
end
plot2d3(k,abs(y(k)))
end
disp(y)
a = gca();//get the current axes
a.data_bounds=[0,0;4,10];//[xmin,ymin,xmax,ymax]
title('Discrete Fourier Transform');
xlabel('Discrete Frequency');
ylabel('Abso... |
2f05aaf4edd5ba9e6c3b2e4233c11185e2508547 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH10/EX10.17/10_17.sce | 4455a2be20b7396209a9723113a8eac4776cee1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 716 | sce | 10_17.sce | //Example 10.17
//Fourth Order Runge Kutta Method for system of 1st order equations
//Page no. 327
clc;clear;close;
deff('y=f(x,y,z)','y=x+z')
deff('y=g(x,y,z)','y=x-y')
y=0;h=0.1;z=1;
for i=1:2
x=(i-1)*h
K(1)=h*f(x,y,z);
L(1)=h*g(x,y,z);
K(2)=h*f(x+h/2,y+K(1)/2,z+L(1)/2);
L(2)=h*g(x+h/2... |
8cd7bfeafa715803e9eebc713372c6062f11062d | 8c802fb8c6a8dc8ed61222ce257eb61f580a462e | /projects/07/MemoryAccess/StaticTest/StaticTest.tst | e05c2075ff063691a72fd39e33dc6e7a04efb35e | [] | no_license | radavis/nand2tetris | 0703b55695378cd8ec279599a34114cbfba48ef7 | 021ba06dbbe203206b44360f162a0d64e2dc41f9 | refs/heads/master | 2021-01-01T20:05:37.036752 | 2015-05-16T19:13:31 | 2015-05-16T19:13:31 | 34,955,667 | 8 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | tst | StaticTest.tst | // File name: projects/07/MemoryAccess/StaticTest/StaticTest.tst
load StaticTest.asm,
output-file StaticTest.out,
compare-to StaticTest.cmp,
output-list RAM[256]%D1.6.1;
set RAM[0] 256,
repeat 200 {
ticktock;
}
output;
|
6c57b75c9a602298446c11112a0d2544dea8a2f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH6/EX6.7/ex6_7.sce | e04698b35e47e26c9d45f6101d2affe1b7e77d2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex6_7.sce | Ndemitter=1*10^19; // donor concentration in emitter
Nabase=1*10^17; //acceptor concentration in base
de=0.8*10^-6; //spatial extent of the emitter
db=1.2*10^-6; //spatial extent of the base
alpha=2.8125;
beta=(alpha*Ndemitter*de)/(Nabase*db);
disp(beta,"Maximum forward current gain"); |
837a9777bb044247deec56eeb50d5708a549e472 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH11/EX11.3/Example11_3.sce | 2e1aa20300148f125aced51b0b3cabf36a9cd3e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | Example11_3.sce | //Exa 11.3
clc;
clear;
close;
//Given data :
l=3000;//cm
d1=1.5;//cm
r1=d1/2;//cm
d2=5;//cm
r2=d2/2;//cm
R_INS=1800;//Mohm
rho=R_INS*10^6*(2*%pi*l)/log(r2/r1);//ohm-m
disp(rho,"Resistivity (ohm-m) :");
|
48fb35d6398e0cf925e7207bdf6196b25b507be1 | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/initation_scilab/exbonus.sci | a7173a4d488e61bfca870693f64adf2d0ec7f90c | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 102 | sci | exbonus.sci | x=linspace(-3,2,101);
y=linspace(-2,2,51);
[x,y]=meshgrid(x,y);
z=exp(-x.^2).*exp(-y.^2);
surf(x,y,z)
|
54ce6c8bd308266092a0c3f696745dd42a4ca629 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH2/EX2.1/ex2_1.sce | 82e963ea2ddd792846c995dc4969911d318f6623 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sce | ex2_1.sce | // Example 2.1, page no-40
clear
clc
Vcc=5
Vbeon=0.6
Beta=150
Io=100*10^-6
Iref=Io*(1+ 2/Beta)
Iref=Iref*10^6
printf("Iref= %.2f uA", Iref)
R=(Vcc-Vbeon)/Iref
R=R*1000
printf("\nResistance= %.2f kohm", R)
|
faa7390747735550f6f92775150226dfd8c77d52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH3/EX3.5/Ex3_5.sce | 66335084db45cd82adb4ffbe5f1ef70c2d238ff9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | Ex3_5.sce | clear
//
//
//
//Variable declaration
n=8 //number of atoms
r=2.351*10**-10 //bond length(angstrom)
A=28.09 //Atomic wt. of NaCl
N=6.02*10**26 //Avagadro number
//Calculation
a=4*r/sqrt(3)
rho=n*A/(N*a**3) //density(kg/m**3)
//Result
printf("\n density is %0.0f kg/m**3",rho)... |
11cff43aa190d447a8115b454b9a7a7ba59420e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH44/EX44.07/44_07.sce | 33340f06a98a8bb7b10574a753760fdd01476586 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | 44_07.sce | clear;
clc;
pm=500;
d=8;
pd=pm*sind(d);
pd=round(pd*10)/10;
mprintf("the power developed=%fMW",pd);
d=d*%pi/180;
v=asind(cos(3.14-d))+31.9;
p=pm*sind(-v);
p=round(p);
pz=p-pd;
mprintf("permissible sudden action loading without loss of transient stability with initial rotor angle 8degree = %fMW",pz);
|
35ca07a3029e9c6f78c4149c4146379240553555 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH3/EX3.15/Example3_15.sce | 36afd07e030b801906729ab51fa34b3bc48eb0d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | Example3_15.sce | //clear//
//Example3.15:DTFS:Periodic Convolution Property
clear;
clc;
close;
x = [1,1,0,0,0,0,1];
X = fft(x);
W = X.*X;
w = ifft(W);
w = abs(w);
for i =1:length(x)
if (abs(w(i))<=0.1)
w(i) = 0;
end
end
w = [w($:-1:1) w(2:$)];
N = length(x);
figure
a = gca();
a.y_location = "origin";
a.x_l... |
3658f7d3969bde2dc936ea9f4865ec3b627e778d | c6990d954ae9e819a5de22440cc4437019a7b550 | /projects/01/OneHot2.tst | 949580482bbbf9a7ca3057640ab00373b37c5973 | [] | no_license | moneytech/nand2tetris | 28e8bacbd72065db73751d184489c1376fdafef7 | d80ff97de782bee14ef2e2ea7fbe9e7859efea2d | refs/heads/master | 2021-01-01T07:23:52.654424 | 2018-04-15T14:40:07 | 2018-04-15T14:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | tst | OneHot2.tst | load OneHot2.hdl,
output-file OneHot2.out,
compare-to OneHot2.cmp,
output-list in%B1.2.1 out%B1.4.1;
set in 0, eval, output;
set in 1, eval, output;
set in 2, eval, output;
set in 3, eval, output; |
ecc6c11d4d295a39c750a6d876e238faf2e4fcf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH15/EX15.8/15_8.sce | 63e05ce9187b5203d318809691250b5efcd4f3e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | 15_8.sce | disp("Voc=k*log(Il/Is)");
k=0.026;//say k=K*T/q
Il=100*10^-3;
Is=1*10^-9;
Voc=k*log(Il/Is);
printf('\n The value of Voc is %1.2fV',Voc);
disp("P=(Il*V)-(Is*exp((V/k)-1))");
V=0.35;
P=(Il*V)-(Is*exp((V/k)-1));
printf('\n The Output power is %f*10^-4W',P*10^4); |
28030359fd193ef342874366fd6258047c991cb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH7/EX7.15/ex_7_15.sce | a3d57aaea28f92f17a6932d297471cae23a7199d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | ex_7_15.sce | //Example 7.15 // change in length and force
clc;
clear;
close;
//given data :
E=207*10^9; // strain gauge in N/m^2
L=0.12; // im m
A=3.8*10^-4; // in m^2
R=220; // in ohm
Gf=2.2;
dR=0.015; // in ohm
dL=(((dR/R)*L)/Gf);
a=E*(dL/L);
F=a*A/1000;
disp(dL,"change in length,L(m) = ")
disp(F,"the force,F(kN) = ")
|
60e7c4ff654e6d321ad660a8fd84715751da7951 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3456/CH12/EX12.5/Ex12_5.sce | e906edbb8b9cc4d740da432cf4ee2c1123594825 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | Ex12_5.sce | //Example 12.5
//Infinite Life Design
//Page No. 422
clc;clear;close;
Kt=1.68; //no unit
q=0.9; //no unit
sigma_ed=42000; //in psi
Cs=0.9; //no unit
Cf=0.75; //no unit
Cz=0.81; //no unit
Kf=q*(Kt-1)+1;
sigma_e=sigma_ed*Cs*Cf... |
26472ec381ba76f1a3f33630c1bb72ae6c20f56e | 9e81e75d5f9cddfd3c9fe8eb932ce2e9de0fdf39 | /libs/lib_interLinear.sce | 8f78d95b242d1046b38f873d0a8571f2a4ab20c7 | [] | no_license | pimentafm/TPEAM313_ajustLinearInjuncionado | 1c2735218973cac3374cbfc951565675bc538945 | 2fcba16336844ff38f1e6089cd492c2666f68880 | refs/heads/master | 2021-08-21T21:03:17.515970 | 2017-11-29T02:46:29 | 2017-11-29T02:46:29 | 112,415,589 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,420 | sce | lib_interLinear.sce | // Topografia IV
// Allan Turini Speroto 78233
// Fernando Martins Pimenta 80018
// Gabriel Batista Freitas 82718
// Matheus Lopes Vieira 80020
// Funções para o processamento da interseção linear
function [Lb, Xa, sigma_d_xy] = getParams(Xp, Yp)
/*
Retorna os vetores Lb, Xa e sigma_d... |
e10f965368212b658c3c78c5fef52899be936d5f | 42d11b27aa17f58dc219f2ef3dbe47ce246ac7ab | /map411q3.sce | dbb34dca38a9ff627e0cfbf82f9fa3ecb5f34881 | [] | no_license | yujia21/MAP411projet | 23472dae62a23b1fe7e90d0d12371de0b930bc27 | 3987e227610b6a755a3caf4b760d4a587ec779cd | refs/heads/master | 2021-01-10T01:11:29.632911 | 2016-01-20T18:03:07 | 2016-01-20T18:03:07 | 48,615,265 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,485 | sce | map411q3.sce | Npart = 1; //# de particules
// Espace
J = 50 ; dx = 1.0/J ;
xx = linspace(dx,1,J) ; //pour la graphe
// Temps
T = 1 ; dt = 0.02;
Niter = T/dt ;
// Les conditions initiales
// Pour avoir une densité de probabilité, on enforce une normalization
// de la distribution initiale.
disint = ones(1,J).*rand(1,J);//une d... |
d473c05ed5ef9a0817bd598fa469a6fd66f1e6cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH4/EX4.10/exa4_10.sce | 1cdb677ea68eb79c078d36bb516ee72f017d3bb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 526 | sce | exa4_10.sce | // Example 4.10
// Mesh Analysis with a CCCS
// By inspection of figure 4.34,we find the resistance matrix to be
R=[10+4,-4;-4,4+7+3];
// i_a= i_1-i_2
//v_s=[6;(-24*i_1+24*i_2)]
//v_s=[6;0]+[0,0;-24,24]*[i_1;i_2] -------equation 1
// Comparing Equation 1 with , [v_s]=[v_s_tilda]+[R_tilda]*[i]
v_s_tilda=[6;0];... |
d1f61d60e08a45e5d24e7b56bf2b6ea128ab02d3 | e4381b32d21150427f93b058541bb3343752bb0f | /sablona_A3/vystrizky_A3/tiraz.sce | 185b603957cc7f30f52d7e10f6343dd124ad3347 | [] | no_license | pirati-cz/plisty | c095da00bfa89792f8eb676fd5b756fc1454659d | 815dbc58f7a47f1b2740ffa068a2ff5f909ecba8 | refs/heads/master | 2020-12-24T19:04:07.572707 | 2016-05-16T20:52:51 | 2016-05-16T20:52:51 | 58,966,482 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,086 | sce | tiraz.sce | <SCRIBUSELEMUTF8 W="773.858267716536" H="51.0236220472398" previewData="iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAS9JREFUaIHt0T1uGwEMROH3uJKlGGpsBKl8/4ulCpA0+XEkrZaTQvYNnI5fTRDDoeoTcEuyAainJL9KPwVa3af7AlwDJ/X6Nht1AfYkayAABftoA5J0VR27e1PTSQMX4AFY1R0JgS7YNZzVQ/aH5vT8... |
4e89a0a433120721aead76a0307fc9713d40f15a | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/17_3data.sci | 7f2e0b89f021ac652a91f4e941f35fe942d8edb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 12 | sci | 17_3data.sci | a=10;//in mm |
1e3757b3b45f174a0b8efaed667ba7ae8a093200 | d7652d3d679bb8e1f53c74064125010952bd2d06 | /test/detType/Def_file.tst | 01b894e0f671a1dda02c18144a3dab61452db96b | [] | no_license | Raidar/LuaFAR-context | 986e532d0845c7106317b9fb1c95c9f88fcd2c88 | 53eb61b02d950a974e8fd2b1ac4eb4de793b02e2 | refs/heads/master | 2021-01-17T14:06:57.417869 | 2020-04-28T21:23:50 | 2020-04-28T21:23:50 | 2,812,750 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 41 | tst | Def_file.tst | Common test text
Some text
Other text
|
8c18ad8e98e9539cb465b16204017910b457d8c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH1/EX1.5/Ex1_5.sce | e2de1847da55c67cb2f27a6fe369e1c35640159b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,683 | sce | Ex1_5.sce |
clc
clear
//Input data
D=500//Maximum demand in MW
L=0.7//Load factor
//1)Steam power plant 2)Hydroelectric power plant 3)Nuclear power plant
CC=[3,4,5]//Capital cost per MW installed in Rs. crore
I=[6,5,5]//Interest in percent
D=[6,4,5]//Depreciation in percent
OP=[30,5,15]//Operating cost (including fuel) ... |
721c895f3d726d0b47601ba62c74e2b96d03af8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH2/EX2.15/Ex2_15.sce | 1dfdf21936d4145f78a1eb2dbeca567349f2b8fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | Ex2_15.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 2.15
//Given Data Set in the Problem
SG1=0.9
SG2=13.6
dens=1000
h=15/100
g=9.81
//Calculations
dens2=SG2*dens
dens1=SG1*dens
delta_p=g*h*(dens2-dens1)
mprintf("The pressure di... |
1e4286e7483e401a77546f08e2135422c777c5eb | 0144accf3a09b469d5844412feef5d77e7f7f115 | /threestage_2.sci | ae1140ac7677600c436e95ad331239040dbc4f7e | [] | no_license | maxxonair/Scripts | b7830a619813cd7be1b5ef4a567c8de45ea86b66 | 974c7831e4b12fa65e73385f3ca01e99e4e6734d | refs/heads/master | 2020-04-18T12:40:08.492254 | 2019-01-25T11:59:48 | 2019-01-25T11:59:48 | 167,540,487 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,250 | sci | threestage_2.sci | clear
//----------------------------------------------------
deltaV=2100;
g=9.81;
//m_pay=9939;
mpaystart=1;
mpayend=50;
for k=mpaystart:1:mpayend
step = 200;
m_pay(k)= 6800 + k*step;
end
ISP=[320,360,400];
//----------------------------------------------------
PMFstart=75;
PMFend=85;
for i=PMFstart:1:PMFend
... |
75bd37b3f33e46900d521e4f2a32ecb04571f3f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH13/EX13.3/Ex13_3.sce | 72a4c036855eed2a70b7eb2cb671018a65b7258b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,446 | sce | Ex13_3.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : AC Circuits
// Chapter 13 : Magnetically Couple Circuits
// Example 13 - 3
clear; clc; close;
//
// Given data
L1 = 5.0000;
L2 = 4.0000;
C = (1/16)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.