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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
03dda5e27231e1b7907fe69912b92e66edc319a4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/scicos_blocks/MFCLCK_f.sci | d741d72e8278f9bcbed6b50b59bc3d701c187562 | [
"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 | 971 | sci | MFCLCK_f.sci | function [x,y,typ]=MFCLCK_f(job,arg1,arg2)
// Copyright INRIA
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1... |
f9de6cea78df025f851b944ff8637c53d2a30823 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH11/EX11.16/11_16.sce | 35db1e508b2de24752140265674e9ffbda51d510 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 854 | sce | 11_16.sce | clc;
clear;
lambda=0.154 //wavelength in nm
theta1=20 //angle in degree
theta2=29 //angle in degree
h=1 //x intercept of parallel plane
k=1 //y intercept of parallel plane
l=0 //z intercept of parallel plane
//calculation
ratio=sind(theta1)^2/sind(theta2)^2 //ratio of sin^2 theta values of first and second a... |
f461a73e1b0987abe4b32ee6362f11ed15767b6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH21/EX21.5/21_5.sce | 8b0c66a96bd93312310fd8adfdb331b3d90aa8be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,442 | sce | 21_5.sce | clear
clc
//Example 21.5
disp('Example 21.5')
//data
x=[ 17.7 1380.
23.6 1458.
13.2 1322.
25.2 1448.
13.1 1334.
27.8 1485.
29.8 1503.
9. 1540.
14.3 1341.
26. 1448.
23.2 1426.
22.8 1417.
20.4 1384.
1... |
8abca7f5d507344d237fba5d15b6b5fa851c0dad | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/BIPO/HP77EWG/ATWM1_Working_Memory_MEG_HP77EWG_Session2/ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | 005f425dff836056bd63a252cb1e8d9efeb6aa8d | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,383 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
8dd8fb8ff998f1af79531dda1040c0d1b05645f5 | 05d972abeab11d213913aa6124e6a2104d859132 | /etc/McpFullRestart.tst | db8844b960ba451b652ba4eedd655ba545f5a9b1 | [] | no_license | LivTel/sdb_puller | 50ac8289d57c4927245ca70c4809cf2b9c807e82 | 9e573ee4d20035f846cb010a02099b9a25dc4e76 | refs/heads/master | 2022-06-24T04:59:10.771334 | 2019-12-18T19:10:47 | 2019-12-18T19:10:47 | 179,494,067 | 0 | 0 | null | 2020-07-01T23:30:44 | 2019-04-04T12:34:54 | C | UTF-8 | Scilab | false | false | 33 | tst | McpFullRestart.tst | sysreq, SYSREQ_REQ_FULL_RESTART
|
c32934e527d5a4c0e5a0d297254e60e093d120a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH4/EX4.2/example2_sce.sce | f2846af9af26e812ab2de00cdeeefd308b19791c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | example2_sce.sce | //chapter 4
//example 4.2
//page 193,figure 4.21
Vsat=12;Vh=6;
// Vh=(R1/R1+R2)(Vsat-(-Vsat))
R1=10000;// let assume
x=(Vh/(Vsat-(-Vsat)));
disp(x)
R2=((1-.25)*R1)/.25
disp(R2,R1) |
389b59137d71ad269c73ea01ea24c6baad73a18b | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH4/EX4.35/4_35.sce | 85f6c53b2617776633a5e191015df81779a6afb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | 4_35.sce | function Zeq=parallel(Z1,Z2)
Zeq=Z1*Z2/(Z1+Z2)
endfunction
I=10
w=2000
R=200
L=0.125
Xl=w*L*%i
Zeq=parallel(R,Xl)
V=I*Zeq
Il=V/Xl
Ir=V/R
t=1/1000
I1=sqrt(2)*real(I*exp(%i*w*t))
Il1=sqrt(2)*real(Il*exp(%i*w*t))
Ir1=sqrt(2)*real(Ir*exp(%i*w*t))
V1=sqrt(2)*real(V*exp(%i*w*t))
Ps=-V1*I1
Pr=-... |
e153f42069391aa3cc1864289695874f7aeb6895 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH9/EX9.4/example9_4.sce | f484bd771593facfd80f77eda9eb64ccd0101319 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example9_4.sce | clear
clc
//Example 9.4 RESISTANCE CALCULATION FOR LAMINAR BOUNDARY LAYER ON A FLAT PLATE
//To find Approx Value
function [A]= approx (V,n)
A= round(V*10^n)/10^n; //V-Value, n-to what place
funcprot (0)
endfunction
L=6; //[ft]
v=10^-4; //viscosity [ft^2/s]
Uo=1; //[ft/s]
Re=Uo*L/v //Reynolds number
... |
ca892f04c3251360cd4f2f2baccce403f45cc250 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH8/EX8.20.3/Ex8_20_3.sce | cee0f479faacfdaabe52aa50c456052a8b508441 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | Ex8_20_3.sce | clear
clc
RT_F=0.05913;//in V
m_LHC=0.01;//
gamma_LHC=0.708;//
m_RHC=0.10;//
gamma_RHC=0.502;//
Ecell=((-3/2)*(RT_F*log10((m_LHC*gamma_LHC)/(m_RHC*gamma_RHC))));//
printf('Ecell=%.4f V',Ecell)
//page 527
|
86f67307da141e3ddd481f2a72d4d115d23b4705 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH9/EX9.10/9_10.sce | a31bb3c41d2e68b61c419456931575deb61fe9b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_10.sce | clc
//initialisation of variables
sp=200 //mean speed m/s
//CALCULATIONS
d=(21/(0.7773*1.18*200))^0.5
l=1.5*d
s=200/(3*d)
//RESULTS
disp('volumetric efficiency is 0.7773')
printf('\ndiameter is %2fm',d)
printf('\nstroke is %2fm',l)
printf('\nspeed of compressor is %2frev/min',s)
|
7fe3bb9b54914563d6a2c6afbab1f3fd60bc290a | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/misc/bode2freq.sci | 28d1d59f924798ac924a3dbad9f5b07f27013ef8 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sci | bode2freq.sci | function f=bode2freq(sys,val,fmin,fmax,typ)
// Interpolation for bode values
f=sqrt(fmin*fmax);
repf=repfreq(sys,[fmin,f,fmax]);
[db,phi]=dbphi(repf);
if typ=='db' then
valf=db;
else
valf=phi;
end
while(abs(val-valf(2))>1000*%eps)
delta=val-valf;
if delta(1)*delta(2) >=0 then
fmin=f;
else
fmax=f;
... |
4b2fad37c1e31f1c4f4ea507a7d2a20b8ed48d30 | e86f908be00c4a3a017e81d12588d76562c56b75 | /macros/roundn.sci | a7ad96bd224da58b273b306761b1489e0a7c21ec | [] | no_license | ShashikiranYadalam/FOSSEE_SP_task | 8869a14f664329625b76e15e771058b90b69b1e1 | 601ca7b7c91587a430c69c9ceb1f87b196c8e566 | refs/heads/master | 2020-03-20T06:38:26.598686 | 2019-03-01T12:31:10 | 2019-03-01T12:31:10 | 137,255,176 | 0 | 0 | null | 2018-06-14T05:16:17 | 2018-06-13T18:27:32 | HTML | UTF-8 | Scilab | false | false | 66 | sci | roundn.sci | function y=roundn(x,n)
y=round(x*10^n)/10^n;
endfunction
|
190a9f10e981c8441629ca9f6de87d3f69c210dc | bc4afd13b6991b1fc667832b7e1bf237ad99428a | /exercicio29-04/ex4.sce | 7591ab0f1f50d1269a12e705f0e8e46e3a6dfef7 | [] | no_license | furiossam/Scilab | 9cadd58c451431c44294d79d4d74f03e0601e56d | c4837aa23cfae7d791b3e8bc947b2df007355df2 | refs/heads/master | 2021-01-20T08:29:26.345689 | 2017-05-03T13:52:01 | 2017-05-03T13:52:01 | 90,151,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 96 | sce | ex4.sce |
numero=input("Digite o numero:")
soma = 1
for n=2:1:numero
soma = soma*n
end
disp(soma)
|
56affdfac8bbfbc8cb241b75dd7d7f3160cd815e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH3/EX3.3/Ex3_3.sce | 9edf696d468e981165b3edfa3d16f39ac8d9da4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | Ex3_3.sce | ////Caption Nquist Rate
//Example 3.3
//page no 104
//Find Nquist Rate
//given
clc;
clear;
f=100;
fs=2*f;//Nyquist rate
disp(" Hz",fs,"(i)To avoid aliasing Nquist Rate is ");
|
1857682f5d8b0863233d6feed9820f9f0467a24b | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH4/EX4.9/Example4_9.sce | f842354daac33bd8ccb1cb61c8ec9a73e6a2acbe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sce | Example4_9.sce | //clear//
//Example 4.9:Continuous Time Fourier Transform Properties:
//Linearity and Time Shift Property
clear;
clc;
close;
// CTFT
t1 = -1/2:0.1:1/2;
t2 = -3/2:0.1:3/2;
x1 = ones(1,length(t1));
x2 = ones(1,length(t2));
t3 = t1+2.5;
t4 = t2+2.5;
x1 = (1/2)*x1;
x = [x2(1:floor(length(x2)/3)),x1+x2(ceil(l... |
16d4a79ddc7d5df0c8f09938e1e94c5ad5421bf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH9/EX9.3/ex9_3.sce | 2d21a203611e4d6288840d708a6d285accf9598f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | ex9_3.sce | // Exa 9.3
clc;
clear;
close;
// Given data
H2 = 3055;// in kj per kg
H3 = 2550;// in kj per kg
fie_1 = 7.15;// kj per kg k
fie_2 = 7.57;// kj per kg k
d_fie= fie_2 - fie_1;// in kj per kg k
disp(d_fie,"Change in entropy during throttling process in kJ/kg-K is :");
dH = H2 - H3;// in kj per kg
disp(dH,"Chan... |
934819be4b314675083aafa0fbcacc0947956683 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH13/EX13.17/Ex13_17.sce | 3bd988b71317c811b0ae743ce4984087ad87480b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 812 | sce | Ex13_17.sce | // chapter 13
// example 13.17
// Determine the thermal resistance of the heat sink
// page-842-843
clear;
clc;
// given
I_D=20; // in A
t_on=10; // in us
del=0.1; // in % (duty cycle)
T_A=40; // in degree C
T_J_max=150; // in degree C
theta_JC=1.5; // in degree C/W
R_ds_on=5; // in ohm
T_pr=0.03; // assu... |
4cbcce66c71230d653f2d05bdae778e606a01eb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH44/EX44.16/44_16.sce | a9f1f6bbd5e16afcb707e97c579726c94e521fd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 726 | sce | 44_16.sce | //Problem 44.16: A transmission line has a characteristic impedance of 600/_0° and negligible loss. If the terminating impedance of the line is 400 + j250 ohm, determine (a) the reflection coefficient and (b) the standing-wave ratio.
//initializing the variables:
rzo = 600; // in ohm
thetazo = 0; // in degrees
ZR = 40... |
11f23195a1d14432842dcc4d2b6258a26097a67e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH5/EX5.3/exa_5_3.sce | 2287c0fcff11717712000b34b49d25411fb48e85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sce | exa_5_3.sce | // Exa 5.3
clc;
clear;
close;
// Given expression Vout= -2*V1+3*V2+4*V3
// For an operational amplifier
// Vout= -Rf*[V1/R1+V2/R2+V3/R3]
// Compare the above expression with the given expression for the output
r_1=2;// value of Rf/R1
r_2=3;// value of Rf/R2
r_3=4;// value of Rf/R3
// Resistance R3 will be mi... |
71c8945d33cd3d1f401cff610b5088d19767662e | 717ddeb7e700373742c617a95e25a2376565112c | /779/CH9/EX9.6/9_6.sce | 840a8ecf1a0e5c04839ec3e75073d8f97ad181e8 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 568 | sce | 9_6.sce | // Part (a)
vg1_ = 0.8919; T1_ = 120;
vg2_ = 0.77076; T2_ = 125;
vg_ = [vg1_ vg2_]; T_ = [T1 T2];
v1 = 0.7964;
h1 = 2967.6;
P1 = 0.3e03; // in Kpa
T1 = interpln([vg_;T_],v1);
disp("degree",T3,"The steam become saturated at ")
// Part (b)
vf = 0.001029; vg = 3.407;
hf = 334.91; hfg = 2308.8;
Psat = 47.39; //... |
e0c9dbefc98542c019627d3e3f6a3858ba49049d | fd6e45f66c41ad779a3d47c3bf8ebfa140d3d657 | /P3 - Non-linear equations /Métodos/7- pto_fijo_sistemas.sci | 3952f0c6c9225cb927c8b2427777812c941f8547 | [] | no_license | jere1882/Numerical-Analysis-Assignments | 7f474e2020d010f9f9c3dceff5e48c03b0d38652 | 1074f92ca93d0a402259f92a0f61f105f25e5230 | refs/heads/master | 2021-09-06T20:00:36.411386 | 2018-02-10T18:04:38 | 2018-02-10T18:04:38 | 121,039,769 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sci | 7- pto_fijo_sistemas.sci | function P=pto_fijo_sistemas(F,x0,maxit,tol)
//ARGUMENTOS:
// F vector de funciones
// x0 aproximación inicial al vector solucion
P=F(x0)
for i=2:maxit
P=F(P);
end
endfunction
function Y=F(X)
Y(1)=cos(X(1));
Y(2)=sin(X(2));
endfunction
|
041a43325af7216d504762b502a6316921878dcb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH2/EX2.25/Ex2_25.sce | 362bbdb28dfc692b9a15c6e900cefb9e54bd14a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | Ex2_25.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 2.25
//Given Data Set in the Problem
dens=1000
g=9.81
Z=4000
p0=10.143*10^4
t0=15
T0=t0+273.15
L=-0.0065
dens0=1.285
|
e39ef394ce6ead3774b4d1cd9433795c413b0180 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH10/EX10.1/exp10_1cpp.sce | 99f6e450a72f9dfe4910ead667379e1c0cce6856 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,386 | sce | exp10_1cpp.sce | clear
clc
disp("example 10.1")
mp=250 //maximum power
function [ic]=unit1(p1) //ic equation of unit 1
ic=0.2*p1+30
endfunction
function [ic]=unit2(p2)//ic equation of unit 2
ic=0.15*p2+40
endfunction
mil=20//minimum load
disp("minimum load ic is")
ic=[unit1(mil),unit2(mil)]
[m,n]=max(ic)
if m==uni... |
160c763d40ca24a3be2574823666388ecb6e040c | fd6e45f66c41ad779a3d47c3bf8ebfa140d3d657 | /P4 - Linear equations systems: direct methods/Implementaciones/0- sustitucion_regresiva.sci | 99afbde6d215e0277b7dcf44857756cf1e180f0a | [] | no_license | jere1882/Numerical-Analysis-Assignments | 7f474e2020d010f9f9c3dceff5e48c03b0d38652 | 1074f92ca93d0a402259f92a0f61f105f25e5230 | refs/heads/master | 2021-09-06T20:00:36.411386 | 2018-02-10T18:04:38 | 2018-02-10T18:04:38 | 121,039,769 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sci | 0- sustitucion_regresiva.sci | function x = resoltrsup(A, b)
n = size(A,1)
x(n)= b(n)/A(n,n)
for i=n-1:-1:1
x(i) = (b(i)-A(i, i+1:n)*x(i+1:n))/A(i, i)
end
endfunction
function x = resoltrinf(A, b)
n = size(A,1)
x(1)= b(1)/A(1, 1)
for i=2:1:n
x(i) = (b(i)-A(i, 1:i-1)*x(1:i-1))/A(i, i)
end
endfunction
|
0b418bdfe900801062f6638c61f9923192a7fe3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH19/EX19.14/Ex19_14.sce | 97aeddf90caa97623c48a08a6454e7c699888809 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex19_14.sce | //example-19.14
//page no-583
//given
//electron mobility
mue=1.065*10^-3 //m^2/Vs
//relaxation time
tau=6*10^-15 //sec
//charge on an electron
e=1.6*10^-19 //C
//mass of electron
me=9.1*10^-31 //Kg
n=1
//as we know that
//mue=sigma*Hc and sigma=n*e^2*tau/me
//so
//mue=n*e^2*tau*Hc/me
//upon rearr... |
f592a94b34b83f0034db3da2d82d68098bd77ec1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH11/EX11.17/EX17.sce | 50bdac44985ee6dd7755642219c2a72670660e1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX17.sce | // Example 11.17: (a) T, AoL, AF
// (b) RoF
clc, clear
gm=1e-3; // in mho
rd=20e3; // in ohms
function[c]=parallel(a,b)
c=a*b/(a+b);
endfunction
disp("Part (a)");
// From the ac equivalent circuit in Fig. 11.52
RF=10e3; // in ohms
RD1=10e3; // in ohms
RL=10e3; // in ohms
ro=20e3; // ... |
88c5f7cc11911323268fe065cfec60d9b0fe2762 | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map3202.sce | 871e06f73b0548f5dd081792cb5f80d03fe6fdf0 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 3,163 | sce | map3202.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map3202" Width="13" Height="11" CellSize="40" BackgroundSize="2" Background="_t.png">
<Cell Name="出生点" X="1" Y="1" />
<Cell Name="十字架" X="3" Y="1" />
<Cell Name="南瓜" X="4" Y="1" />
<Cell Name="南瓜" X="7" Y="1" />
<Cell Name="南瓜" X="8" Y="1" />
<Cell Name... |
691e29c617da74cb27ba7382e7c8689974c4a18b | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH5/EX5.13/Example_5_13.sce | cd75edfb572ebd8613059c601e44b61859da9779 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,187 | sce | Example_5_13.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 5
//Some Applications of the Laws of Thermodynamics
//Example 13
clear;
clc;
//Given:
m1 = 10; //machine rating (ton)
//Since 5 K approach is necessary
T1 = 293+5; //temperature of cooling water (K)
T2 = 261-5; //temperature of cold storage... |
805a35c202ff174aab0c8753fb9d436148a06f24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH12/EX12.7/eg_12_7.sce | a1fc60df477cc854e1d16c019811a1155bf8e7eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg_12_7.sce | clc;
clear;
disp("A partition pi0 on the states of a machine M is said to be output consistent if for every block pi0 and every input,all the states contained in the block have the same outputs");
disp("Considering the above definition It can be understood that");
disp("pi0={(AD),(BC)} is an output consistent partition... |
5646ff926269d49fa53dd9faf28ac948eb1be467 | 717ddeb7e700373742c617a95e25a2376565112c | /1445/CH8/EX8.23/Ex8_23.sce | 0f93e5d8a390ad1feb279af86f8bfdb6f2d0dc5f | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,358 | sce | Ex8_23.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 23
disp("CHAPTER 8");
disp("EXAMPLE 23");
//230 V DC shunt motor
//VARIABLE INITIALIZATION
v=230; //in Volts
r_a=0.4; //in Ohms
r_f1=115; //in Ohms
I_a=20; //in Amperes
N1=800; ... |
7a3c9e1715f8f85dfa6ef92e9ddaac7212122ea2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1865/CH2/EX2.2/prob_2.sce | 2f153869abe8f28e06f56bed02a1b0ffdabd0c65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | prob_2.sce | //Problem 2
//Calculate the hysteresis loss
clear
clc
f=50// Frequency in Hz
v=0.01// Volume of the transformer core in m^3
A=
M=1750*1000// Saturation magnetization of BCC irons in A/m
m=(M*v)/n// Net magnetic moment per atom in Am^2
printf('Net magnetic moment = %.27f ',m)
|
1e7411673a23ae16389bfc9a4527506b47b942bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH8/EX8.2/ex8_2.sce | baa08d3ad9c48c193a6222486c479686a994ee49 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | ex8_2.sce | clc;
clear all;
ue = 1.553; // Refractive index of extraordinary ray
uo = 1.544; // Refractive index of the ordinary ray
lambda = 6e-7; // Wavelength of light in meters
t = lambda/(2*(ue-uo));
disp('m',t,'The thickness of the half wave plate is')
|
6890e9c2f9096fae3e07fe29a5e4457e5bfea4df | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH7/EX7.4/Ex7_4.sce | 43a56a10a06f1f2959b459a8a109f0725a8690c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,631 | sce | Ex7_4.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 7.4\n\n\n");
// Chapter 7 : Mixtures Of Ideal Gases
// Problem 7.4 (page no. 325)
// Solution
//five moles of oxygen and 10 moles of hydrogen are mixed
//The total number of moles is 10+5=15.Therefore,mole fraction of each constituent is
xO2=5/15; //T... |
ba6a9d22f71249c93149272f23e27bde763c8498 | fc97dca636256fc30f018840e244a173c06ec54b | /hard/tests/wrongTypeInAssignmentIntBoolean.tst | 7e2d549e71e01c152e6d24107740fa7c5c02dc9c | [
"MIT"
] | permissive | tuomasb/compiler | 23fd2190bc6911380a5acf45241c1f2b2580538f | aa366ace6f2c29b5e0080faf8c50dcb7be0b02f4 | refs/heads/master | 2020-05-17T21:51:17.977674 | 2014-06-09T00:24:17 | 2014-06-09T00:24:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 44 | tst | wrongTypeInAssignmentIntBoolean.tst | main {
int i;
i := true;
return i;
}
|
708ba2ebff4918c269689835cf7ffab2aa22780b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH2/EX2.7/Ex2_7.sce | 9bece8d3a5e6ae7b980a4b2e086d3d74232922a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,135 | sce | Ex2_7.sce | clc
// initialization of variables
clear
tau=[200 100 0
100 0 0
0 0 500] // some units
theta=60 // degrees
//calculations
theta=theta*%pi/180
a=[cos(theta) sin(theta) 0
-sin(theta) cos(theta) 0
0 0 1]
b=a.'
tau_new=a*tau*b
// stress invariants :old
I1=tau(1,1)+tau(2,2)+tau(3,3)
I2=tau(... |
1bc625858608e271be1704ae622d7dbaa4247825 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH5/EX5.17/5_17.sce | 4f5798dd9b6aaeed5e6abf2c22e1b73253ce59df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_17.sce | clear;
clc;
l=100;R=10;G=10^-5;Vs=40;Zr=0;
Zo=sqrt(R/G);
P=sqrt(R*G);
Zin=Zo*(Zr+(Zo*tanh(P*l)))/(Zo+(Zr*tanh(P*l)));
Is=Vs/Zin;
V=(Vs*(cosh(P*l)))-(Is*Zo*(sinh(P*l)));
Vm=2*V;
printf("Potential at mid point = %f volts",Vm);
//the difference in result is due to erroneous value in textbook.
disp("The differe... |
7e4d60db62db95ace579f6a4bce01ce13a034bda | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH2/EX2.14/Ex2_14.sce | 54b7cab52c427b54c02a97c04af55696ba5c46cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | Ex2_14.sce | //Ex_2_14
clc;
clear;
close;
format('v',10);
//given data :
N1=100;//turns
N2=80;//turns
I1=10;//A
I2=1.5;//A
li=40/100;//m
lg=1/1000;//m(airgap)
A=10/10000;//m^2
mur=2000;//relative permeability
mu0=4*%pi*10^-7;//permeability
mmf=N1*I1-N2*I2;//AT
S=1/(mu0*A)*[li/mur+lg];//AT/Wb
fi=mmf/S;//Wb
disp(fi... |
8463e28a8a6ef87bf7c29f71cc1e5655751a5ba6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/demos/bike/macros/init.control.sci | 6716b5b0784f65e7bb0c1f6cd37d21e13e46e1b6 | [
"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 | 579 | sci | init.control.sci | path=sci+'/demos/bike/'
// compile if necessary
xhost("cd "+path+"; make control");
// link if necessary
deff('[]=linkif(fname)','if ~c_link(fname),link(''/tmp/''+fname+''.o'',
fname)');
linkif('vecfin');
linkif('hamu');
linkif('emat');
linkif('fvec');
linkif('c');
linkif('psi');
linkif('ii');
linkif('h');
//... |
8733abe39bc72d11069e3fb3dfb0112e0a8ef357 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH17/EX17.5/EX17_5.sce | 2114e01382740a4ef767322d46c2091c6b5b6485 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | sce | EX17_5.sce | //Example 17.5
clc
R=76.8
Ro=50
alpha=3.92*10^-3
t=(R-Ro)/(alpha*Ro)
T=t+20
disp(T,"Temperature in C=") |
b4fa0d0944dabde8b9c3b0578f802c0f255e2833 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/mtlb/%b_sum.sci | ed0d2a10f294174101c31a3ddac4ce0b4fda146f | [
"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 | 80 | sci | %b_sum.sci | function r=%b_sum(varargin)
varargin(1)=bool2s(varargin(1))
r=sum(varargin(:))
|
161178efed8a6cf8816b30ee48860e89e576056e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH14/EX14.3/14_3.sce | efc4791f8926e655648bd1d7771ba53dbf3715e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | 14_3.sce | //Find Power loss due to Hysteresis
//Ex:14.3
clc;
clear;
close;
a=600;//loop area in J/sqm
f=50;//in Hz
v=0.01//volume in cu. m
w=a*f*v;//in W
disp(w,"Power loss due to Hysteresis (in W) = "); |
c0504b15e624026fb135ede2837dec7e7ce5b204 | c23ee9d6ce9dd38d4a1b8c6c083bab2e40babcb6 | /hankell.sci | 6f15762382979a1499aaa2148987a060547c3266 | [] | no_license | ee15btech11039/hankel | 0d2928f27ecc4260f32eb7bb7da4f11b17cb3326 | dc9aeb4010b8985fde8249c945532e6a2746eb83 | refs/heads/master | 2021-01-23T01:29:39.065051 | 2017-05-30T21:28:52 | 2017-05-30T21:28:52 | 92,877,527 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,681 | sci | hankell.sci | function [nk,W]=hankell(g,tol)
[lhs,rhs]=argn(0),
if rhs <1 then
error(msprintf(gettext("%s: Wrong number of input arguments: At least %d expected.\n"),"hankel",1))
end,
if (typeof(g)=='rational') then
if(degree(g.num)>degree(g.den))
error(msprintf(gettext("The %... |
586f30efcf413871626f7df14b0e7ccf815aee62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH1/EX1.5/1_5.sce | b97f65efda89f5bbfe32774d48c8f196b485137d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | sce | 1_5.sce | V1 = 550; //velocity of Boeing 747 in mi/h
h1 = 38000; //altitude of Boeing 747 in ft
P1 = 432.6; //Freestream pressure in lb/sq.ft
T1 = 390; //ambient temperature in R
T2 = 430; //ambient temperature in the wind tunnel in R
c = 50; //scaling factor
//Calculations
//By equating the Mach numbers we get
V2 = V1... |
d629a27c64e50e6d3a7c2227ca78d5c1d29cbefe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH9/EX9.7/9_07.sce | a1b093ce8666a59a17008e882bc8564bdec955ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | 9_07.sce | //Chapter 9, Problem 7
clc;
N=200; //no of turns
dphi=25*10^-3; //change in flux
dt=50*10^-3; //change in time
E=-N*(dphi/dt); //calculating induced emf
printf("Induced emf E = %d V",E);
|
266450ef3ad5f1a099f71a3f2b303eea5759a47d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH5/EX5.3/ex5_3.sce | 3d49be7c7f9baf9cafff0fa33c41ab14eff728a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | ex5_3.sce | clc;
lamda=5893*1e-10;//wavelength of monocromatic light
n=4000;
x=n*lamda/2;//distance moved by mirror M1
disp(+'meter',x,'distance moved by mirror M1 =')
|
37b3a3329383c087cbfba265f6c8b96d50d9ed94 | 132ae1df359fb2cfe44a438a48d29cf14e8a0191 | /xav-jon/code.sci | daa1be17adf0a41db894f326111675ac1114a2ee | [] | no_license | wikii/PMath | 5a2c9c18580d598ae8047e5b18ca7e6445a40850 | 62148f2ab2dd94902f62ac1ce29d5c06d69ae8df | refs/heads/master | 2016-09-05T10:39:29.996511 | 2013-06-04T13:29:41 | 2013-06-04T13:29:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,525 | sci | code.sci | // Modélisation du sujet
// Création d'une matrice carrée aléatoire de taille n et de coefficient 0 ou 1
function X = matriceX(n)
X = rand(n,n);
X = round(X);
X = - X .* (eye(n,n)-ones(n,n)) ;
endfunction
// Création d'un vecteur qui somme les valeurs de chaque colonne d'une matrice
function N = sommecolo... |
178af70579abc0c44ebcfee083c8bffe3228172f | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH1/EX1.22/Ch01Ex22.sci | 31b8ccdaefc724807ecf0f106f85bb7786f20c91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 965 | sci | Ch01Ex22.sci | // Scilab Code Ex 1.22 Miller indices of lattice plane: Page-26 (2010)
a = 4; // Lattice parameter of the unit cell
b = 3; // Lattice parameter of the unit cell
c = 2; // Lattice parameter of the unit cell
l1 = 2; // Length of the intercept along x-axis, m
l2 = 3; // Length of the intercept alon... |
0b266a049e2ea4535fb085968fc21073892334f6 | 952f05b9b2293792559cddaf7ee402ccc22b0b8d | /icclim/test-cases/test-cases-read-the-docs/read-the-docs-example-09.tst | 21f98fbc78e32794d5ded058f0aff891b94fcdb3 | [
"Apache-2.0"
] | permissive | ptrgast/icclim | a5c768bde9f5ce0562ef8250262ca1d70213c461 | 1c43cc7fc5d779f04fb72361a80bde3b232a9580 | refs/heads/master | 2020-05-18T18:44:15.153378 | 2020-02-04T07:46:40 | 2020-02-04T07:46:40 | 184,594,303 | 0 | 0 | NOASSERTION | 2020-02-04T07:46:41 | 2019-05-02T14:19:16 | Python | UTF-8 | Scilab | false | false | 393 | tst | read-the-docs-example-09.tst | [Read-the-docs-example-9] # Read the docs - example 9
user_indice: {'indice_name': 'my_indice', 'calc_operation': 'nb_events', 'logical_operation': 'gt', 'thresh': 'p80', 'var_type': 't', 'date_event': True}
in_files: ['tasmax_day_IPSL-CM5A-MR_historical_r1i1p1_20000101-20051231.nc']
base_dt1: 2000-01-01
base_dt2: 2003... |
b2e8ace8eb6db5a6efa0ed8aa15ccbcf9ad57ab6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH11/EX11.9/11_9.sce | 160e67c151c9ea939f54202679922b54a1a95314 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 851 | sce | 11_9.sce | clear
clc
//initialisation of variables
e= 0.88
w= 1.25 //in
d= 10 //in
q= 630 //gal/min
a= 40 //degrees
g= 32.2 //ft/sec^2
e1= 0.83
//CALCULATIONS
Q= q/(6.24*60)
f1= Q/(e*%pi*(d/12)*(w/12))
u1= 1000*(w*4/12)*2*%pi/60
w1= u1-f1*cotd(a)
W= u1*w1/g
lr= (f1^2+u1^2-f1^2/(sind(a))^2)/(2*g)
mh= e1*W
p= mh-l... |
ab902946a947265db7c05f635659d20f777a8d61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH1/EX1.21/ex_21.sce | beef3e44823a12ed059262495f05d64e9d1e8256 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | ex_21.sce | //Example 21 // frequency ,energy and maximum velocity
clc;
clear;
close;
c=1;//N-m
m1=6;//gm
m2=2;//gm
mu=((m1*m2)/(m1+m2))*10^-3;//kg
fr=((1/(2*%pi))*sqrt(c/mu));//vibrations/sec
disp(fr,"frequency of oscillations is ,(vibrations/s)=")
td= 1+(1/3);//cm
e=((1/2)*c*(td*10^-2)^2);//joule
disp(e,"energy is,(joule)=")
y=... |
057c8866d2822164d070de3c5a9cb32931d2eede | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH3/EX3.13/Ex3_13.sce | e09554bf4b7d927722e07394db3f9a2a16584704 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 825 | sce | Ex3_13.sce | //=======================================================================
// chapter 3 example 13
clc;
clear;
//input data
//diamagnetic susceptability of He
R = 0.6*10^-10; //mean radius of atom in m
N = 28*10^26; //avagadro number in per m^3
e = 1.6*10... |
78a612519cad5be722085c44feb8865422015441 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH12/EX12.10/ex_10.sce | 1ca088ce4386aef60d559691c119f50200f5769f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | ex_10.sce | //Example 10//frequency
clc;
clear;
close;
sa=1.5;//km
oa=1;//km
so=sqrt(oa^2+sa^2);//km
csd=sa/so;//
v=0.33;//km/s
n=400;//Hz
vlov=120*(1000/3600);//m/s
vs1=(1/30)*csd;//km/s
nd=((v)/(v-vs1))*n;//vibrations/sec
disp(round(nd),"apparent frequency is,(vibrations/second)=")
|
e689e6eec3edcbe85437bbedb649c94b028ea699 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/blackman/blackman3.sce | 37747b2bd3db39cb5b7478cb0e10e3b9e4383c6c | [] | 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 | 117 | sce | blackman3.sce | //
x=[4];
b=blackman(x);
disp(b);
//output
//- 1.388D-17
// 0.63
// 0.63
// - 1.388D-17
//
|
5a87320e88ffd96eca8e4907bf5e1438cb13177d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH15/EX15.3/Ex15_3.sce | e529b2f38195b7048a0731f8ea95039f2b9f994c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,018 | sce | Ex15_3.sce | //Variable declaration:
Q = 56760 //Heat transfer rate (Btu/h)
U = 35.35 //Overall heat coefficient (Btu/ft.h..)
A = 32.1 //Area of exachanger (ft^2)
t1 = 63.0 //Outlet cold water temperature (.)
T1 = 164 ... |
ded6cb90894db962805e2dfc56a875e27a819587 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH10/EX10.23/example_10_23.sce | 93aaac744e71654a1181dc6305ea320b147f732a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,742 | sce | example_10_23.sce | clear;
clc;
disp("--------------Example 10.23---------------")
// sender
text="Forouzan";
// computing the checksum
a=ascii(text);
h1=dec2hex(a(1));
h2=dec2hex(a(2));
h3=dec2hex(a(3));
h4=dec2hex(a(4));
h5=dec2hex(a(5));
h6=dec2hex(a(6));
h7=dec2hex(a(7));
h8=dec2hex(a(8));
// form the hexadecimal words
... |
7812d75441a236ec1b0d7c16a50a572e3d8e04af | 449d555969bfd7befe906877abab098c6e63a0e8 | /293/CH7/EX7.5/eg7_5.sce | 8dc01c2037e708e15730c4e1d6b291122fb67c05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 759 | sce | eg7_5.sce | I1 = 3; //peak value of i1
I2 = 5; //peak value of i2
I3 = 6; //peak value of i3
theta1 = %pi/6; //phase difference between i2 and i1
theta2 = -2*%pi/3; //phase difference between i3 and i1
// complex representation of the currents
i1 = complex(3);
i2 = complex(5*cos(%pi/6),5*sin(%pi/6));
i3 = complex(6*cos(-2... |
27b49ce684797f053f2d278d784b63732006fa3f | 84ea66af72ab1c482a1a03fd2d8bdc74e9ad1668 | /Tutorial02-Plots/Scilab_code/Tutorial2_plot_save.sce | 40f02cd15971300a4f0a6ed9d66a98c37d1e7327 | [] | no_license | FOSSEE/scilab-tutorials | c4a9464a5b163074566234e42659f99e2012ecc0 | 301609f6ef1653dee4fa2ed74bca3e6f7abc1308 | refs/heads/master | 2020-03-26T23:48:04.178016 | 2018-10-08T00:44:39 | 2018-10-08T00:44:39 | 145,567,949 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 990 | sce | Tutorial2_plot_save.sce | //This script demonstrate exporting plots to svg/pdf files
clear
clc
//Import data from file
Data = csvRead('../Data/Tut2_data1.csv');
//Segregate the data into variables
t = Data(:,1);
x = Data(:,2)
//Ploting the figure. Name of the figure is fig1;
//Use the field Linewidth to specify thickness of the plot
fig1 = ... |
32403199df69e33a9e39247ea5d91b29543a66fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH1/EX1.2/1_2.sce | 29d0af46fe07c606e93f52f14a15967982dfab98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | 1_2.sce | pathname=get_absolute_file_path('1_2.sce')
filename=pathname+filesep()+'1_2_data.sci'
exec(filename)
//solving simultaneously for indicated power using fp/bp=nm and fp+bp=ip:
ip=fp/(1-nm)
//brake power(in kw):
bp=ip-fp
printf("\n\nRESULTS\n\n")
printf("\nindicated power:%f\n",ip)
printf("\nbrake power:%f\n",bp... |
4cb87c654ccb9bcb1dd545ccd8cefd205c6b18b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH10/EX10.06/10_06.sce | 288f5bf570c080f9f9d21a9101bc0f36875f1581 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 574 | sce | 10_06.sce | //Problem 10.06: (a) A current of 20 A flows through a load having a resistance of 2 ohms. Determine the power dissipated in the load. (b) A wattmeter, whose current coil has a resistance of 0.01 ohm is connected as shown in Figure 10.13. Determine the wattmeter reading.
//initializing the variables:
I = 20; // i... |
089c429eb9f633649936053524c98237bfae3365 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH12/EX12.5/12_5.sce | 262bfef782c24c00d569c7729dbf337699b8ab3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | 12_5.sce | clc
//initialisation of variables
P= 1//atm
n= 70
T= 75 //F
T1= 70 //F
r1= 0.0131 //lb water/lb dry air
r2= 0.0093 //lb water/lb dry air
h1= 32.36 //Btu/lb dry air
h2= 27.03 //Btu/lb dry air
hd2= 23.40 //Btu/lb dry air
hf= 23.4 //Btu/lb dry liquid
hg= 1094.5 //Btu/lb dry liquid
//CALCULATIONS
R1= r1-r2
Q... |
f6f89b27175bc03ae849ae7dedc1ce3f49aa444e | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH22/EX4.5.2/U4_C5_2.sce | 0ac0f1a1b5dceb7456b2b63b919d8292de34dd3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | U4_C5_2.sce | //variable initialization
n=3/2;
dlembda=26*10^-2; //shifting in short wave limit of X-ray spectrum (Å)
ch=12400 //product of speed of light and Plank's constant (eV*Å)
e=1.6*10^-19; ... |
d9c7c3c45a07cde33734f64fb22fa0c0c2f9fd11 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/sci2for/%m2for.sci | a8522912b191464691321dd78c3b127403d2b797 | [
"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 | 6,127 | sci | %m2for.sci | function [stk,nwrk,txt,top]=%m2for(nwrk)
// multiplications
//!
// Copyright INRIA
s2=stk(top);s1=stk(top-1);
txt1=[]
if s1(3)<>s2(3) then
if s1(3)=='0' then
[s1,nwrk,txt1]=typconv(s1,nwrk,'1'),
else
[s2,nwrk,txt1]=typconv(s2,nwrk,'1'),
end
end
[s1,te1,t1,m1,n1]=s1(1:5);
[s2,te2,t2,m2,n2]=s2(1:5);
it1=... |
320eeca9354ad00141dcc052df548933e7a93d81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH2/EX2.5/Example2_5.sce | e332266077ea7a1b321f84d60aac376ec7a1296e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | Example2_5.sce | //Example 2.5
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
//Z- transform of -b^n u(-n-1)
clear;
clc ;
close ;
syms b n z;
x =b^n
X= symsum (x*(z^(-n)),n ,0, %inf );
//Display the result in command window
disp (X,"Z-transform of b^n u(n) with is:");
disp('ROC is the Region mod(z) < b') |
065a28154e57ef60f548a02e8200d255c6d2d886 | dabaa151dd30205dd92a6844c0cd61cf046fb8fe | /HackCPU/Prog2.tst | 71e4b0a75a5c3754eeb28ab18fd436fdd2cca4dd | [] | no_license | hakesh729/Project_hack | 627ef8260f81dbc971bb5371839523daac4a2646 | a1ea76fa612bbe4515863495922167bb4c65c418 | refs/heads/main | 2023-01-13T13:37:09.828021 | 2020-11-27T06:05:39 | 2020-11-27T06:05:39 | 316,411,714 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,076 | tst | Prog2.tst | // load the program and setup
load Computer.hdl,
output-file Prog2.out,
output-list RAM64[16]%D2.6.2 RAM64[17]%D2.6.2 RAM64[18]%D2.6.2;
ROM32K load Prog2.hack,
// TESTCASE 1 :: c = |8-16|
set RAM64[16] 8,
set RAM64[17] 16;
repeat 12{
tick,tock;
}
output;
set reset 1, // Reset the ... |
80233302e0ef33e4b0227197839408af76fedc7c | 623a9dd972dc78dbde5d5b8dc187acd6a1eb5910 | /TP5/script_spline.sce | bbd62dfbe71efe1941514987a6200a76a58d52a2 | [] | no_license | gtessi/CN2012-FICH | 0daad054ceb6c36636ee5e8b174a676b9e0acb9b | 4024384653b61b5af9e1c11ffb575e154025ee47 | refs/heads/master | 2020-03-27T05:53:04.684505 | 2018-08-25T03:03:15 | 2018-08-25T03:03:15 | 146,059,800 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | script_spline.sce | exec eval_spline.sci;
//Puntos
x=[8.3 8.6]';
//Coeficientes [a b c d]
coef=[17.56492 1.116256 20.06827667 -44.46466667]';
//Llamada al polinomio cubico
S=eval_spline(x,coef);
//Muestra el resultado
disp(S) |
bb14d66d0bd5297bea1228d86788d6fefb7bada8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH8/EX8.3/Ex8_3.sce | 202559974db45b19bd7e75a240169ab52984f377 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,015 | sce | Ex8_3.sce | // chapter 8
// example 8.3
// Determine average and rms output voltage, chopper efficiency and effective input resistance
// page-440-441
clear;
clc;
// given
Edc=200; // in V (input voltage)
R=15; // in ohm
Ed=2.5; // in V (voltage drop when the chopper is ON)
f=1; // in KHz (chopper frequency)
alpha=50; // in percen... |
ae72994f3737864d0c667394a3aeb89d2c3b4cd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH15/EX15.21/15_21.sce | 9b5154940c5417d728290f1715fd92e672a86159 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,164 | sce | 15_21.sce | clear;
clc;
//Example - 15.21
//Page number - 544
printf("Example - 15.21 and Page number - 544\n\n");
//Given
T = 50;//[C]
// At 50 C
P_1_sat = 0.67;//[atm]
P_2_sat = 0.18;//[atm]
Y1_infinity = 2.5;
Y2_infinity = 7.2;
//(1)
// alpha_12 = (y_1/x_1)/(y_2/x_2) = (Y1*P_1_sat)/((Y2*P_2_sat))
// At x_1 ... |
e089d16f946c1211bcfd5a7233e04e4eb51dde36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH9/EX9.36/Example9_36.sce | 800e750fc1eddead059aef221f05a2240f254cb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | Example9_36.sce | //Example 9.36
clc
disp("For 12-bit DAC, step size is 8 mV")
v=(8*10^-3)*((2^12)-1)
format(6)
disp(v," V_0FS = 8 mV * 2^12 - 1 =")
r=((8*10^-3)/32.76)*100
format(8)
disp(r,"% Resolution = 8mV/32.76V * 100 =")
q=(8*10^-3)*1389
format(7)
disp(q,"The output voltage for the input 010101101101 is = 8mV * 1389 ="... |
b83d09052d0e42650c9932b0ed08f6331aeb7d67 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /RoE.sce | 162ab9ad799bbaa4fb3ce54af126bae1f9d6bfd0 | [] | 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 | 12,242 | sce | RoE.sce | Name=RoE
PlayerCharacters=RoE Player
BotCharacters=RoE Opp.bot
IsChallenge=false
Timelimit=90.0
PlayerProfile=Ascended Tracking
AddedBots=Long Strafe Bot.bot;Long Strafe Bot.bot;Long Strafe Bot.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=AscendedStrafesv2.map
MapScale=3.8125
... |
bf7139ae8c04ea2cdea87125988ab0114bded7b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH18/EX18.3/CH18Exa3.sce | d90c0c401160449f694bc4b7a36858a4decbede2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,341 | sce | CH18Exa3.sce | // Scilab code Ex18.3 : : Page-763 (2011)
clc; clear;
p = rand(1,2); // proton
pi_minus = rand(1,2); //pi minus meson
pi_plus = rand(1,2); // pi plus meson
n = rand(1,2); // neutron
lamda_0 = rand(1,2); // lamda hyperon
K_0 = rand(1,2); // K zero (Kaons)
K_plus = rand(... |
2677cf1346b52d7c25e5c0aa3336fe210b271c7b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/macros/calpol/rowcompr.sci | 006afc5a4b5562665742309c7ccc9c36c13d366f | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sci | rowcompr.sci | function [X,rk,Ac]=rowcompr(A)
//[X,rk,Ac]=rowcompr(A)
//row compression of polynomial matrix A (toward the bottom)
//X left polynomial unimodular base
//rk=normal rank of A
//Ac = X*A
//Warning: elimination of neglected terms
//!
[n,m]=size(A);
[Ac,U,rk]=htrianr(A');
Ac=Ac';
X=U';
X=X(n:-1:1,:)
Ac=Ac(n:-1:1,:)
|
e1157d7d9779ca95c838190851fe7332b39bebcb | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH14/EX14.3/14_3.sce | af9f5eecdc99d719afeb6cf368591f07d10602e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 820 | sce | 14_3.sce | clc
//initialisation of variables
directstress= 80 //N.mm^2
shearstress= 45 //N/mm^2
//CALCULATIONS
Sx= directstress
Sy= 0
Txy= shearstress
sigma1= ((Sx+Sy)/2)+(sqrt((Sx-Sy)^2+4*Txy^2))/2
sigma2= ((Sx+Sy)/2)-(sqrt((Sx-Sy)^2+4*Txy^2))/2
theta= (atand(-((2*Txy)/(Sx-Sy))))/2
direction1= theta
direction2= thet... |
28e50fc5ee51ad7e9b9ad1a8fa7b08ab9fb5e040 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH6/EX6.13/6_13.sce | 2bea4f3ec998e748ba0e1added2e121f75fb15c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | 6_13.sce | //Example No. 6_13
//Solving System of non-linear equations using FIXED POINT METHOD
//Pg No. 169
clear ; close ; clc ;
printf(' x^2 - y^2 = 3 \n x^2 + x*y \n');
deff('x = f(x,y)','x = y + 3/(x+y)') ;
deff('y = g(x)','y = (6-x^2)/x') ;
x(1) = 1 ;
y(1) = 1 ;
printf('\n x0 = %f \n y0 = %f \n',x(1),y(1));
for ... |
ce9555267ad1397f0827c806e860defeea719fbc | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH10/EX10.6/ex_10_6.sce | 7002a001667a73a596165d67ee6008d8931f7c69 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 455 | sce | ex_10_6.sce | //determine the length of weld
clc
//solution
//given
//refer fig 10.16
b=120//mm//width
t=15//mm//thickness
l1=b-12.5//mm
s=15//mm
ft1=70//N/mm^2//tensile stress
ft2=56//N/mm^2//shear stress
//let l2 be length of weld
//P=A*ft
P=120*15*ft1//N
ft11=ft1/1.5//N/mm^2
ft22=ft2/2.7//N/mm^2
P1=0.707*s*l1*ft11... |
380bde66b0b913f585aa2399c44a4277a71cb335 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/icceps.sci | 07debdea2d3cbcc0e3d1d63a9b38a789edb0bc35 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,375 | sci | icceps.sci | function inv_ceps = icceps(input, remv_samp)
// ICCEPS computes the inverse cepstrum of a real-valued input. This spectrum
// will be complex in nature
// Inputs:
// input: Real-valued input
// remv_samps: Number of samples of delay to be removed
// Outputs:
// inv_ceps: Inverse cepstrum output
// Ch... |
12d7a64325a6b827bf80a3cc24e9b8427f7bf9e9 | 00fc439a1f2cc38d50ec7b050222d6ba1c2b76cf | /demos/united_nations.dem.sce | 0587786ef098f1995a884adfcb313dcf3f676ce9 | [] | no_license | slevin48/datadeploy | c9cc657db8d45aa0ab8fa5845b8f2552f3781140 | 1ed8be8d0b4ad5ab5cbdb91f20338df90e913f88 | refs/heads/master | 2022-07-28T20:19:46.917688 | 2020-05-25T08:58:25 | 2020-05-25T08:58:25 | 266,721,169 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 832 | sce | united_nations.dem.sce | function demo_united_nations()
// header: header of the variable to deploy
// data: core of the data to deploy
// herokuapp: name of heroku app to deploy (contained in the URL)
function [header, data] = importdata(filename)
header = mgetl(filename, 1);
header = csvTextScan(header, ",", ... |
2ce63c237d465c21c1bc8bfedc62cb2eeb698fe9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH2/EX2.20/2_20.sce | f05ad768207fb1e77de0215355b45e1dd8ae8fe7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 771 | sce | 2_20.sce | //To compare the density of lattice points
//area of (110) plane is a*sqrt(2)*a = sqrt(2)*a^2
n = (1/4)*4; //number of atoms
theta = 30; //glancing angle
x = cosd(theta);
//area of (111) plane is (a/sqrt(2))*x*a*sqrt(2)
//hence area is (sqrt(3)/2)*a^2
n1 = 3*(1/6); //number of atoms
printf("area of ... |
3671cbc7a7665b28c5f43b069fbbcf560877f78d | 717ddeb7e700373742c617a95e25a2376565112c | /1340/CH2/EX2.3/2_3.sce | c1e6316bf64e693bfb8bc155b5c4a3e8f5285aab | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 217 | sce | 2_3.sce | clc;
s = %s;
syms t;
num = 32;
den = s*(s^2+12*s+32);
y = syslin('c',num/den);
disp(y);
[A] = pfss(y);G = 0;disp(A);
for k = 1:size(A)
f(k) = ilaplace(A(k),s,t);
G = G + f(k);
end
disp(G)
|
e366a3cc30a98def2f989dc6f50b0e439597b112 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH22/EX22.16/Ex22_16.sce | d47fec664ecdc5582513eb6b8b006f8d9bb02d9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | Ex22_16.sce | clc;
//e.g 22.16
gm=8000*10**-6;
RS=10*10**3;
RG=100*10**6;
(1/gm);
AV=RS/(RS+(1/gm));
disp(AV);
Ri=RG;
Ro=1/gm;
disp('ohm',Ro*1,"Ro=");
|
28f7a27e9ca86595637153ad2efb95087a8c4e14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH2/EX2.20/Ex2_20.sce | 052ebf47a584f91b5ce92fc27d8531af6c7bedba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 153 | sce | Ex2_20.sce | //pagenumber 114 example 20
clear
i1=2*10^-7;//ampere
voltag=0.026;//volt
i=i1*((exp(0.1/voltag)-1));
disp("current = "+string((i))+"ampere");
|
4c2b35549589ed1740e6315ecc1764d0164d34ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH7/EX7.2/7_2.sce | a6a164ee65aa5b7a3fb12b15210e039a20a90683 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 749 | sce | 7_2.sce | // Let x1, y1 be the transformed direction inclined at 15 deegree to the original
sx = -46e06; // Direct stress in x-direction in Pa
sy = 12e06; // Direct stress in y-direction ""
txy = -19e06; // Shear stress in y-direction ""
t = -15 ; // Inclination of plane in degree
sx1 = (sx+sy)/2 + ((sx-sy)*(cosd(2*t))/2) ... |
55e1ef7a104683c622903dd33ea37f85f563d2ab | 574cebf351b02b4c2971cd37e75bcb62352e186b | /ImageProcess.sci | f392cbe003764c5e2c1ab6f2b88ea640139be6ea | [] | no_license | Sharkalgud/SignalProcessing | ede0b2d8d37efae227d768a87966ba42845dd2b9 | 8e84efa0e3673534c82af227d771d13645f68b7e | refs/heads/master | 2021-01-22T23:58:46.342437 | 2014-04-11T17:41:26 | 2014-04-11T17:41:26 | 18,303,273 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sci | ImageProcess.sci | function y=imBlur(foo)
[x,y]=meshgrid([4:-4],[4:-4])
z=sqrt(x.*x+y.*y)
h=((2*0.25)*sinc(2*z*0.25))
h=h/(sum(sum(h)))
y=imfilter(foo,h)
endfunction
function y=imSharp(foo)
[x,y]=meshgrid([4:-4],[4:-4])
z=sqrt(x.*x+y.*y)
imp=double(~x)*double(~y)
h=imp-((2*0.25)*sinc(2*z*0.25))
h=h... |
5fd037e5c0d741999fedf2838d2ba12e47c321e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH8/EX8.9/8_9exam.sce | 4deed432f324a0f1b7cc5093756e0ea02b0c05d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,467 | sce | 8_9exam.sce | //Engineering and Chemical Thermodynamics
//Example 8.9
//Page No:388
clear ; clc ;
//Given
R = 8.314 ;
T = 10 + 273 ; //[K]
A_B = 9.2806 ; // From Appendix A , Table A1.1
B_B = 2788.5 ; // From Appendix A , Table A1.1
C_B = -52.36 ; // From Appendix A , Table A1.1
A_C = 9.1325 ; // From Appendix A , Table... |
cc68b40e478a8039d9af1419a7e915fade1415cc | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/arcov/arcov7.sce | 06f5929dcc4933b8dfa385b510e6629e5ba13b6d | [] | 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 | 245 | sce | arcov7.sce | //check o/p when no i/p args are passed to the function
y=arcov();
////output
// !--error 10000
//Not enough input arguments
//at line 3 of function checkNArgin called by :
//at line 3 of function arcov called by :
//y=arcov();
|
682aae8df7135326e52a9df32e55e72829ab3089 | 2d52e11c7b61898224f065e3bbf4433c814c9fe1 | /measurement/array-operations/vadd2.sci | 13316a52f7a48b43953237b70dd1d42798549790 | [
"MIT"
] | permissive | quepas/performance-estimation-array-operations | b6954d753c83d235f12c5d97fa82bcc38656cf5e | b209ba5efebf5dee60ec5fca0fa711ca2e766e17 | refs/heads/master | 2021-01-24T13:24:52.734940 | 2018-05-12T15:18:20 | 2018-05-12T15:18:20 | 123,173,497 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | sci | vadd2.sci | // Element-wise addition of two vectors
function vadd2(V1, V2)
R = V1 + V2;
endfunction
|
a3652a032647dc54e7bd12e4b40137b507f74f2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH35/EX35.9/35_9.sce | 2e371a5ae3922cefc6677eeb2c99998a55c2e2db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 963 | sce | 35_9.sce | clear//
//Variables
R2 = 100.0 * 10**3 //Resistance (in ohm)
R1 = 10.0 * 10**3 //Resistance (in ohm)
ACM = 0.001 //Common-mode gain
Slew_rate = 0.5 * 10**6 //Slew rate (in volt per second)
Vpk = 5.0 //Peak voltag... |
4a658260d93632a0416260f5fd017f8458fc00dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH3/EX3.1/Ex3_1.sce | 77a0ab6639dd7b9849a357f112c0906be3f3a87c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 880 | sce | Ex3_1.sce | //EX3_1 pg-3.14
clc
disp("Refer to the circuit diagram shown in figure-3.7")
Rf=75;//diode forward resistance
Rl=10e3;//load resistance
Rs=10;//transformer secondary resistance
Ep=230;//rms value of primary voltage
N2byN1=1/3;//turns ratio
Es=Ep*N2byN1;//rms value of secondary voltage
Esm=sqrt(2)*Es;//peak val... |
135ca007fba3203bcc1bef041875f14f47fd4c96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH1/EX1.6/1_6.sce | f361bf09d9fd24f28221322b2033c86ea03b8afe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | 1_6.sce | //1.6
clc;
V=90;
R=25;
t=40*10^-6;
L=0.5;
i=(V/R)*(1-exp(-R*t/L))
iL=40*10^-3;
printf("The circuit current is= %.4f A", i)
disp('Since the circuit current is less than latching current of 40mA so thyristor will not turn ON')
R=V/(iL-i);
printf("R= %.0f Ohm", R)
disp('R should be less than 2743 ohm') |
a195cac87c9fc2fcecd6c33d61bd597cd2c0a327 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH15/EX15.4/ex15_4.sce | fba6ae3b51758a72fcd2794a9854ef9f85962dc0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | ex15_4.sce | clc;clear;
//Example 15.4
//given data
EPF=180;//Energy consumed per disintegration in MeV
E=1200;//average power in kW
t=10;//time in hours
Na=6.02*10^26;//Avgraodo no. in 1/kg mole
e=1.6*10^-19;//the charge on electron in C
//calculation
TE=E*t;//energy consumed in kWh
TE=TE*36*10^5;//conversion in J
E... |
53fcc91fcde30bfe4b32a4cafb45db72196670a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH26/EX26.7/Ex26_7.sce | 969f371a079d8fea51791eda5250e42260538540 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | Ex26_7.sce | //example-26.7
//page no-784
//given
//frequency of light
f=1.5*10^9*10^6 //Hz
//pank's constant
h=6.626*10^-34 //J s
//threshold frequency is
f0=1.2*10^9*10^6 //Hz
//maximum energy of emitted photoelectron is
Emax=h*(f-f0)/(1.6*10^-19) //eV
printf ("the maximum enery of the emitted photoe;lectron is %f ... |
7942f61fa75efda900219ecd19af3b8ce2594bde | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.8_5.tst | e07ceba22a6184dce9b9c9fe4ffa63200406d3f6 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 531,769 | tst | 5.8_5.tst | 8 188:1 348:1 451:1 619:1 718:1 799:1 1049:1 1298:1 1338:1 1436:1 1560:1 1629:1 1708:1 1768:1 1788:1 1789:1 1991:2 2113:1 2129:1 2135:1 2137:1 2483:1 2499:1 2555:1 2593:1 2683:1 2711:1 2940:1 3003:1 3183:1 3360:1 3502:1 3532:1 3589:1 3737:1 3820:1 3825:1 4003:1 4131:1 4228:1 4381:1 4435:1 4547:2 4670:1 4672:1 4683:1 46... |
a7d4bd3a9f8a097403f15a5f214b915ca37e54ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH5/EX5.22/Ex5_22.sce | d6fbcb5ca2606e4dd28f78580a238b19024ea712 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_22.sce | //Ex:5.22
clc;
clear;
close;
f=150;// frequency in MHz
y=300/f;// wavelength in m
ht=20;// transmeter height in km
hr=2;// receiver height in km
d=40*10^3;// distance in m
p=100;// power in watt
Er=(88*sqrt(p)*ht*hr)/(y*d^2);// field strength in uV/m
printf("The field strength = %d uV/m", Er*10^6); |
96ab2b923aee09cc1c0b86a6eedca13471a6e780 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/signal/jmat.sci | 197261e7199bf4bfe237fcc716482140037ff0bd | [
"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 | 279 | sci | jmat.sci | function [j]=jmat(n,m)
//j=jmat(n,m)
//This macro permutes block rows or block columns of a matrix
//
// n : number of block rows or block columns of the matrix
// m : size of the (square) blocks
//!
// Copyright INRIA
j=[];
for k=1:n,j(k,n-k+1)=1;end;
j=j.*.eye(m,m);
|
2e84d0e33d3186285001fd4f303f550153a8a741 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH7/EX7.1/ex7_1.sce | 83755d7b3260b7c5fa8a55f030b968fcb1f041a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | ex7_1.sce | // Exa 7.1
clc;
clear;
close;
// Given data
Vout = 5;// in V
V = 1.5;//ON state voltage drop across LED in V
I = 5;// in mA
I = I*10^-3;// in A
R = (Vout-V)/I;// in ohm
disp(R,"Resistance in ohm is");
|
c346ed219a1dc1fb9bcce38772bed52b947e2229 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH2/EX2.2/2_2.sce | 99bfa664dbe7dde296d498d2783360591e055ab4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sce | 2_2.sce | clc
//Initialization of variables
wA=53.5 //lb/ft^3
wA2=8.4 //kN/m^3
wB=78.8 //lb/ft^3
wB2=12.3 //kN/m^3
PB=30 //psi
PB2=200 //kN/m^2
AB=1.3 //ft
AB2=40/100 //m
BC=6.5 //ft
BC2=2 //m
CD=10 //ft
CD2=3 //m
//Calculations
PAbyGB=PB*144/wB - AB*13.55*62.4/wB - (BC+CD) + (AB+BC)*wA/wB
PA=PAbyGB*wB/144.
PAby... |
70c7ebada114147e8cf42a2fa6c9e4b814b0bf2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH8/EX8.14/Example8_14.sce | 10da8732e41fce32bc571061b39a4a95db16cc2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 954 | sce | Example8_14.sce | clc
//Given that
h = 600 // distance of satellite from surface of Earth in km
R_e = 6400 // radius of Earth in km
m_s = 100 // mass of satellite in kg
g = 10 // gravitational acceleration in m/s2
v_y = 2500 // upward velocity of launched satellite
// sample problem 14 page No. 306
printf("\n\n\n # Problem 14 ... |
33d88f4bc36a835f3d18a6b4780b61bd9fa84a32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH30/EX30.2/Example30_2.sce | dbbc2c1559864dd9bd57bb5c516c89fcf5b1b516 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | Example30_2.sce | exec('degree_rad.sci', -1)
//Given that
i1 = 15 //in A
i2 = 32 //in A
d = 5.3*10^-2 //in m
uo = 4*%pi*10^-7 //in SI unit
//Sample Problem 30-2
printf("**Sample Problem 30-2**\n")
R = d/sqrt(2)
B1 = uo*i1/(2*%pi*R)
B2 = uo*i2/(2*%pi*R)
theta = atan(B1/B2)
B = sqrt(B1^2 + B2^2)
printf("The magnitude ... |
97c153eb7b50c1dee2e19075f5b71eabf548686e | a5382ae19ae343349d04f283a42e908d06b07740 | /cpuSched.sce | 970b70a5bcda0db0d6663c391740d3ae0001a440 | [] | no_license | SaiAru009/OS_scilabcode | 31781d6fa93d88e7ab124424ab52fe4bfde67ba5 | b66065abfcecc7024e770e07f0f7daec8e32bbaf | refs/heads/master | 2022-07-06T22:17:32.245098 | 2020-05-20T05:01:12 | 2020-05-20T05:01:12 | 265,273,033 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,971 | sce | cpuSched.sce | clc
Q1=[],Q2=[],Q3=[];
n=input("Enter no of processes in HIGHEST PRIORITY queue");
for i=1:n
Q1(i)=struct('pid',0,'AT',0,'BT',0,'TAT',0,'WT',0,'RT',0,'CT',0);
/*SOME NOTATIONS FOR EACH PROCESS IN THE QUEUES*/
// 'pid'- Process Number/ID, 'BT'- burst time, 'WT'- waiting time
// 'TAT'- turnaround time, 'RT'- remaining ti... |
c82be3b8057405146e994ae238e384efcf54d27c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH2/EX2.2/exa2_2.sce | 0ffe31320e65f48f2a806d22ca368ae065e545a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | exa2_2.sce | // Example 2.2
// Parallel Resistance Calculations
// From Figure 2.6(a)
i_x=2; // Current through unknown resistance R_x
G_par= 1/12+ 1/24+1/8 ; // Equivalent conductance for three resistors of value 12ohms, // 24ohms & 8ohms.
R_par=1/G_par; // Equivalent Resistance of those three resistors.... |
eb703e3e52c78053659e4042afadd04e06386f86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH3/EX3.8/ex_3_8.sce | 3b2a4e64214410029328ac6322b635f3b50a20c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | sce | ex_3_8.sce | //Example 3.8 // voltage
clc;
clear;
close;
//given data :
I=5; // current in A
n=2; // number of resistance in parallel of section BC
r1=15; // resistance in ohm
r2=20; // resistance in ohm
r3=60; // resistance in ohm
r4=64; // resistance in ohm
r5=64; // resistance in ohm
r6=2.5; // resistance in ohm
R1=r4/n; /... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.