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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4962f01583fb7350f4b319a149146bff96660481 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH19/EX19.3/19_3.sce | 7d95b8ddabfca6e9bf90900400260ee5eeb6dd37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 651 | sce | 19_3.sce | //Example 19.3
//Simple Explicit Method
//Page no. 658
clc;clear;close;
c=-2;dt=0.07;dx=0.2;
r=abs(c)*dt/dx;
printf('\n x\ti\t|\tj -->\t')
for i=0:6
printf(' %i\t',i)
end
printf('\n |\t|\t|\tt -->\t')
for i=0:6
printf('%.3f\t',i*dt)
end
printf('\n----------------------------------------------... |
6f23e2db17f9b05597d23d2725a296963aa20a7a | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/CylinderSubsonic_NS_WeakDG_LDG_SEM_3DHomo1D_MVM.tst | 9e424b68f2d10e4a35af0a665cd0f331dc4771bd | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,237 | tst | CylinderSubsonic_NS_WeakDG_LDG_SEM_3DHomo1D_MVM.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>NS, Subsonic Cylinder, mixed bcs, WeakDG advection and LDG diffusion, SEM</description>
<executable>CompressibleFlowSolver</executable>
<parameters>CylinderSubsonic_NS_WeakDG_LDG_SEM_3DHomo1D_MVM.xml</parameters>
<files>
<file descriptio... |
7bd903c7a9b0e93b1c47afa5695088e4f60dae09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH2/EX2.4/ex2_4.sce | 41a7b09a753dd0c035230e69ef16f24b0d15fc1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | ex2_4.sce | // Example 2.4, page no-42
clear
clc
Vcc=20
R1=19300
Vbe=0.7
Ic2=0.000005
Vt=0.026
Ic1=(Vcc-Vbe)/R1
R2=(Vt/Ic2)*log(Ic1/Ic2)
Ic1=Ic1/10^-3
R2=R2/10^3
printf("Ic1= %d mA",Ic1)
printf("\nR2= %.2f kohm",R2)
|
b7546960e030a1631e740357e08c49a0ff00dd00 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /chrz uneven ground dodge.sce | 2efa1f6faa9adc11a7dc5d5c6d0229d42a175446 | [] | 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 | 91,795 | sce | chrz uneven ground dodge.sce | Name=chrz uneven ground dodge
PlayerCharacters=Quaker
BotCharacters=Quaker Bot.bot
IsChallenge=true
Timelimit=75.0
PlayerProfile=Quaker
AddedBots=Quaker Bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=chrz_unevenground.map
MapScale=5.0
BlockProjectilePredictors=true
BlockCheats=true... |
2b5668c037317359b59988fd68e219893ab30c7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /380/CH8/EX8.6/8_6.txt | 83ca56716cf0de0c701f182281be189941fa6bc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | txt | 8_6.txt | //Caption:Find the (a) new armature current (b) new power factor
//Exa:8.6
clc;
clear;
close;
V=208;//in Volts
V_a=V/sqrt(3);//in volts
P=7200;//in Watts
X_a=4;//synchronous reactance
pf=0.8;//lagging
theta=-acosd(pf);
I_a=(P/(3*V_a*pf))*(cosd(theta)+%i*sind(theta));//Armature current (in Amperes)
E_a=V_a-(... |
c77a06f094048125f5cd62c087b82503d4599042 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH9/EX9.4/Ex9_4.sce | f07227972535931c54f8a93acfe880fd500d1cf1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | Ex9_4.sce | //Ex:9.4
clc;
clear;
close;
n=0.50;// quantum efficiency
e=1.602*10^-19;// charge
h=6.626*10^-34;// plank constant
c=3*10^8;// speed of light in m/s
y=0.85*10^-6// wavelength in m
R=(n*e*y)/(h*c);// responsivity in A/W
Ip=10^-6;// mean photo current
Po=Ip/R;// received optical power in W
f=c/y;
re=(n*Po)/(... |
fdd8ec7fbad3ab8f8feffb554f3cb3713d49a42f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH2/EX2.4/EX2_4.sce | fe2c0c3fad97ba0c359c8a3b115c043909fcbfcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | EX2_4.sce | clear;
clc;
printf("\nEx2.4\n");
//page no.-56
//given
V=100;..............//potential diff. in Volt
lambda=12.25/sqrt(V).............//wavelength in angstrom
printf("\nde-Broglie wavelength is 1.225 angstrom\n");
|
6593b3928cee459f57e1c71986763df3f15a35e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH19/EX19.1/Ex19_1.sce | 1ce3c90060f9092517cdb234676513630cdf983a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | Ex19_1.sce | clc;
vcc=12;
Rc=1200;
Icsat=vcc/Rc;
hfe=100;
Ib=Icsat/hfe;
Rb=47000;
vbe=0.7;
Vpk=(Ib*Rb)+vbe;
disp('V',Vpk,"Vpk=");//The answers vary due to round off error
|
2bf0a938e8ab65280134e0ce94d791440c9c3c56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH17/EX17.4/EX17_4.sce | b47f7434df4bf26ae457dbce058fde79110620fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | EX17_4.sce | //Example 17.4
clc
r=0.321*10^-3
A=%pi*(r*r)
disp("Solution a")
disp(A,"Area in m^2=")
rho=1.5*10^-6//in ohm=m
l=rho/A
disp(l,"Resistance in ohm/m=")
disp("solution b")
Delta_v=10
I=(Delta_v)/l
disp(I,"The current in Amps=") |
677ac9ba046914c9ab263dd4a889acdbe02b5410 | f04d3d47f893de08cd99a31b4870112915b80d5b | /Datasets/dna/data.180bin.tst | 8043c25edeaae9fd3f12eafc2fc1d51734653b6c | [] | no_license | MesumRaza/MyWorkInPython | f5364b8514943e44c7200123653da9f4551251b1 | bd8c9b3ca2fb02ae6d2b626054fa3cd32c28b330 | refs/heads/master | 2021-08-19T21:46:41.412995 | 2017-11-27T13:37:52 | 2017-11-27T13:37:52 | 111,728,604 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 435,262 | tst | data.180bin.tst | 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 1 0 0 1 0 0 1 1 0 0 0 1 0 0 0 1 0 0 1 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 1 1 0 0 0 0 1 0 0 1 1 0 0 0 0 1 0 0 1 1 0 0 0 1 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 1 0 0 1 0 0 1 0 0 1 0 1 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 0 0 0 ... |
97c418c1d75abc5234173d252972c19f6b0f2ab9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH1/EX1.23/1_23.sce | 03d811ced1dfb4cd858710278a2f06a145e41392 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 772 | sce | 1_23.sce | //water//
//page 1.36 example 7//
clc
Purity_Lime=1
Purity_soda=1
W1=10;//amount of CaCO3 in ppm//
W2=36.5;//amount of Mg(HCO3)2 in ppm//
W3=19;//amount of MgCl2 in ppm//
M1=100/100;//multiplication factor of CaCO3//
M2=100/146;//multiplication factor of Mg(HCO3)2//
M3=100/95;//multiplication factor of Mg... |
24997a705b7a9f30f2d4ef70a66f3d5f36583e50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH4/EX4.16/Ex4_16.sce | 7f8d31084728e1669eedb20d6941afa22a0f531e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 805 | sce | Ex4_16.sce |
//===========================================================================
// chapter 4 example 16
clc;
clear;
//input data
t = 18*10^-6; //relaxation time in s
er1 = 1; //permitivity in F/m
er = 1; //permitivity in F/m
t = 18*... |
af17b0502f7a0a586544f4b7f1902fb3ff695e22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.24/Example6_24.sce | 936d576cfaba5a2b767b4bba1353f54e3bfa427a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,952 | sce | Example6_24.sce | //Example 6.24. refer fig.6.23(a).
clc
format(6)
disp("(i) DC load line:")
disp("Refer fig.6.23(a), we have VCC = VCE + IC*(RC+RE)")
disp("To draw the d.c. load line,we need two end points, viz. maximum VCE point(at IC = 0) and maximum IC point(at VCE = 0)")
disp("Maximum VCE = VCC = 12V, which locates the point ... |
0d815a76ee6d1a72686b93668aade22ea79b1c80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH9/EX9.2/eg_9_2.sce | b921c35b467a544ef5cb34e5e3919436e4a47706 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | eg_9_2.sce | //angle condition
s=%s
sys=syslin('c',(k)/(s*(s+2)*(s+4)))
f=-0.75;
//disp(-atan(s,0))
disp(-atan(f,0)-atan(f,2)-atan(f,4))
if(-atan(f,0)-atan(f,2)-atan(f,4)==(-3.14))
printf("yes")
else
printf("no")
end
|
d1a9352e2c848c5aaacd63ee455439282eed7974 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH6/EX6.7/Chapter6_Example7.sce | a3ba4bc21df50e18a8ba87b2cb9c76e14398e71a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sce | Chapter6_Example7.sce | //Chapter-6, Example 6.7, Page 257
//=============================================================================
clc
clear
//INPUT DATA
D=0.02;//I.D of the tube in m
Q=1.5;//Flow rate in litres per minute
k=(1*10^-6);//kinematic viscosity in m^2/s
//CALCULATIONS
um=((Q/60)*10^-3)/(3.14*(D^2/4));//Average... |
fc330e11e1cd76f072bcdc19d008fdad63a34bea | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH12/EX12.2/12_2_Spectral_Distribution.sce | c39690689d05d43f815403364cd4450ff4e39ff0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | 12_2_Spectral_Distribution.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 12.2 Page 734\n')// Example 12.2
// Total Irradiation
x=[0 5 20 25];
y=[0 1000 1000 0];
clf();
plot2d(x,y,style=5,rect=[0,0,30,1100]);
xtitle("Spectral Distribution", "wavelength (micro-m)", "G (W/... |
c5cbe711b56febecca4af0a9a86b147d40f56e9d | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Texfor.sci | 0c239842fd98baec322544813d4e4c1cb68373df | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sci | Texfor.sci | // 10.04.16
// 10.05.12
// 10.10.20 ( available for numeric )
function Texfor(I,First,Last)
global TEXFORLEVEL TEXFORLAST
TEXFORLEVEL=TEXFORLEVEL+1;
Texsetctr(I,'0');
Texsetctr(I,string(First)+'-1');
Texcom('');
Texcom('{');
Texcom('\loop');
Texsetctr(I,'+1');
TEXFORLAST($+1)=string(Last);
endfunc... |
0e5d511edd3996ff474e9c0016e49029a1b2de86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH8/EX8.1/Ex8_1.sce | b8ab4e611a724a632a4b2c65b4a8354349e71079 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | Ex8_1.sce |
//Caption: probability of error
//Example 8.1
//page no 374
//Find probability of bit error
//AWGN is added to signal
clc;
clear;
N0=2*10^-15;
Ps1=1/2;
Ps2=1/2;
A=0.2*10^-3;
T=2*10^-6;
Eb=(A/sqrt(2))^2*T*Ps1+Ps2*0^2;//Eb=bit energy
z=sqrt(Eb/N0);//Probability
disp(z,"z = ");
//Pe=(8)*10^(-4)//prob... |
1dfce62d3c2903a99d40d11c5e4159d9e30df081 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH4/EX4.5/Chapter45.sce | 5faf4a76ed2b67630f774a20fad5701944fe46e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,006 | sce | Chapter45.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 4, Example 5")
//Thermal conductivity of wall in W/(m*K)
k = 0.6;
//Thermal diffusivity in m^2/s
alpha = 5*(10^(-7));
//Thickness in m
L = 0.15;
//Initial te... |
8cf04ecedbdb77dc28639c04280320ed2f490c73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH14/EX14.1/14_1.sce | 5d22d637814d7ef644482cf522d38f975908ee8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 123 | sce | 14_1.sce | clear
clc
//Example 14.1
disp('Example 14.1')
Sd=30;
Su=15;
Rd=1/3;
K_R=Rd*Sd/Su; //Eqn 14-3
mprintf(" K_R=%f",K_R)
|
48957084c147bfdeb53e02fc3d08cb1e0957085a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH5/EX5.8/Ex5_8.sce | 69fb79774ea8bf3268b33840076bb655fff764c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,380 | sce | Ex5_8.sce | //Calculate the value of the Standard molar Entropy of the reactions (a)CaCO3(s)gives CaO(s)+CO2(g).(b)2H2(g)+O2(g)gives 2H2O(l).(c)N2(g)+O2(g)gives 2NO(g)
//Example 5.8
clc;
clear;
Sbar1=39.8; //Standard Molar Entropy of CaO in J K^-1 mol^-1
Sbar2=213.6; //Standard Molar Entropy of CO2 in J K^-1 mol^-... |
239440d8e1edb2a725a92658aa714aa69c79a915 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH26/EX26.2/example26_2.sce | 380ffb6c976c9ee5a03f8c7762529f58b3d535f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | sce | example26_2.sce | l=4;
i=1.4;
f=60;
p=i^2*2*%pi*f*l;
disp("reactive power (in kVAr) of the circuit is"); disp(p*10^(-3)); |
d807ca5069fa84b8f1e9ebc556a086b19679709c | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualHartSci/macros/hrtTypeTime2Hex.sci | 77564a82a9a8c315bc53992d64141d707061a1bc | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sci | hrtTypeTime2Hex.sci | function strHex=hrtTypeTime2Hex(strTime)//hh:mm:ss:xxx
auxVet = strtod(tokens(strTime,':'));
valor = msprintf("%032s",dec2bin(int(auxVet(1)*112500000+auxVet(2)*1920000+auxVet(3)*320000+auxVet(4)/0.03125)));
strHex = msprintf("%02s %02s %02s %02s",dec2hex(bin2dec(part(valor,1:8))),..
... |
4d88b7a09a1c95e4f56cf313b3cb544fd83f25fa | ca668cf247efd28b6e014b3702a25f45c371c36d | /canny_filter.sci | 639cd75a82f4df49cc87d9f0b5094ca59c78e126 | [] | no_license | valeriansaliou/lab-canny-filter | de0cf08a900d65e4b8da3afa6e2eb185a0af4397 | a12e4c3e60123c225ecbd9f49e83a8af4ed9f62b | refs/heads/master | 2021-01-17T06:48:20.725619 | 2016-05-07T22:09:47 | 2016-05-07T22:09:47 | 58,286,053 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,202 | sci | canny_filter.sci | // =====================
// === CANNY FILTER ====
// == Valerian Saliou ==
// =====================
// -----
// UTILS
// -----
function imageMatrix=loadImage(path, isRGB)
if isRGB == 0 then
imageMatrix=double(imread(path));
else
imageMatrix=double(rgb2gray(imread(path)));
end
endfunction
... |
28fcdf2945dd60dfd3b99b9c5699698b043b3795 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH1/EX1.10/ex1_10.sce | 2ccbf0b40bcc7b4bf6968cba77110d7ce435c3d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 942 | sce | ex1_10.sce | //Chapter-1, Example 1.10, Page 23
//=============================================================================
clc;
clear;
//INPUT DATA
m1=2;//mass of water in kg
theta1=20;//temperature 20 degree centigrade
theta2=100;//temperature 100 degree centigrade(boiling point of water)
t=1/10;//time taken to boil w... |
d86918b81e407d09e370810095cc3924609275f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH9/EX9.1/Example9_1.sce | 1a9c53267879a767c96c9dc8f37e17fb9f9dcf71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 871 | sce | Example9_1.sce | //Example 9.1
clc
disp("The differential amplifier is represented as shown in fig. 9.5.")
disp("(i) CMRR = 100")
vd=300-240
disp(vd," Vd(in uV) = V1 - V2 = ")
vc=(300+240)/2
disp(vc," Vc(in uV) = V1+V2 / 2 =")
disp("CMRR = Ad / Ac")
ac=5000/100
disp(ac,"Therefore, Ac =")
format(6)
vo=((5000*60)+(50*2... |
a7b64e7a55eaa6071f171c11edefdafc51fe81fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3517/CH14/EX14.5/Ex14_5.sce | 71e8287172e4d26cbef40879729293932bfd4472 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | Ex14_5.sce | //Caption:Determine meter indication when time base uses (a)6 decade counter (b)4 decade counter
//Ex14.5
clc;
clear;
close;
f=3500//Applied frequency(in hz)
F=10^6//Clock generator frequency(in hz)
f1=F/(10^6)
t1=1/f1
c1=f*t1
disp(c1,'Cycles of input counted during t1=')
f2=F/(10^4)
t2=1/f2
c2=f*t2
disp(... |
4ca8a9fe551b58dd950a86aebf42aaf8e65e6e40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH5/EX5.1/ex5_1.sce | 6f9c3cdafec42fd167e2180df7f65904f8058ab4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 163 | sce | ex5_1.sce | // Example 5.1, Page No-234
clear
clc
Vz1=5.5
Vz2=5.5
Aol=100000
Vd=0.7
Vo=Vz1+Vd // Plus or minus
Vich=Vo/Aol
Vich=Vich*1000
printf('Delta Vi=%.3f mV', Vich)
|
0244f9294e2e9bf315609bf978d6c571f8b85e2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH11/EX11.9/11_9.sce | f92be0392b245f15ce71e1e0a20ed9286b880fe7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,357 | sce | 11_9.sce | clear;
clc;
//Example - 11.9
//Page number - 395
printf("Example - 11.9 and Page number - 395\n\n");
//Given
n = 1*10^(3);//[mol] - No of moles
P = 0.1;//[MPa] - Pressure of the surrounding
T = 300;//[K] - Temperature of the surrounding
x_1 = 0.79;//Mole fraction of N2 in the air
x_2 = 0.21;//Mole fraction of O2 in t... |
93fbb447e03b7c54ae0fb74c75aba566ded97f39 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos/do_xsetech.sci | 8ba56b774935123f5736462c1d12d8be6d0c9278 | [
"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 | 124 | sci | do_xsetech.sci | function do_xsetech(wdm)
// Copyright INRIA
xset('alufunction',3);xbasc();xselect();
f_xsetech(wdm)
xset('alufunction',6)
|
cafed2a95ba78be1e32da85e4676ec1f4a6c4a8e | ac0eb1d6bf02a0823799e151abffd8af634c4d9d | /lists/trial/temp/wav.scp.tst | 9b16bef106ca66e8dce42563fbdbbe2a038420f7 | [] | no_license | terry07/supervised_ivectors | 601466343a0babf4cc7d0be9e985eb0304a2cac0 | 2ae89007a106736964b024182cb57cf1c6236c87 | refs/heads/master | 2020-03-10T17:48:25.138674 | 2015-10-20T15:02:34 | 2015-10-20T15:02:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 470,816 | tst | wav.scp.tst | baakl.sph:A sph2pipe -f wav -p -c 1 /corpora/sre/SRE/SRE2010/eval/data/interview/8min/baakl.sph |
baaks.sph:A sph2pipe -f wav -p -c 1 /corpora/sre/SRE/SRE2010/eval/data/interview/8min/baaks.sph |
baaqa.sph:A sph2pipe -f wav -p -c 1 /corpora/sre/SRE/SRE2010/eval/data/interview/8min/baaqa.sph |
babgk.sph:A sph2pipe -f wa... |
1524ea0fc0a603b932e9ac8fa9428895bc73e1f0 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Sfcutoffrawpersdata.sci | e5a387f5fbdcd2e8e652592afe2d7d07ddd93ec3 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sci | Sfcutoffrawpersdata.sci | // 08.09.21
// 10.02.17
function Out=Sfcutoffrawpersdata(varargin)
Ms=list('raw','pers');
for I=1:length(varargin)
Tmp=varargin(I);
Ms=Mixjoin(Ms,list(Tmp));
end;
Out=Makesfcutoffdata(Ms);
endfunction;
|
ac0538652a4bca96c3ba3b1328266d653d376756 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH7/EX7.9/Ex7_9.sce | 99bea2c42a855f2b7165202e2cf8b5751249783c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | Ex7_9.sce | // chapter 7 example 9
//-----------------------------------------------------------------------------
clc;
clear;
// given data
Beam_w_3db = 0.4;
// Calculations
N2N_Beam_w = 2*Beam_w_3db; // Null to Null beamwidth
// output
mprintf('Null to Null Beam width = %3.1f degrees',N2N_Beam_w);
//-------------... |
ddd841420125a75411c293f01c8fc85ac65b5602 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/sound/loadwave.sci | cf7079215cb47a397d99a98c56c4081560524607 | [
"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 | 964 | sci | loadwave.sci | function [w]=loadwave (filename)
// Copyright INRIA
// Read a WAV file.
// The sample rate is stored to defaultrate.
defaultrate=22050;
mopen(filename,"rb");
if mgetstr(4)<>"RIFF"; error("No Wave file!"); end;
mget(1,"l");; // This is the total file length minus 8
if mgetstr(8)<>"WAVEfm... |
22448d849efae80a3fb18bc71057c531201405aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH33/EX33.6/Example33_6.sce | 4ba6d2f1184fbba57a8af4f80f442c273d70aedd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,024 | sce | Example33_6.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 7: PROTECTIVE RELAYS
// EXAMPLE : 7.6 :
// Page number 611
clear ; clc ; close ; // Clear the work space and console
// ... |
334583de831ae557076a2505da878e53298f427b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH5/EX5.5/ex5_5.sce | 7e86118ebf288c428de58bd67793cf0be8f9ba3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex5_5.sce | // Exa 5.5
clc;
clear;
close;
// Given data
R1 = 12;// in k ohm
R_F = 7;// in k ohm
R2 = 33;// in k ohm
R3 = R2;// in k ohm
R = R2;// in k ohm
R = R * 10^3;// in ohm
C1 = 0.002;// in µF
C1 = C1 * 10^-6;// in F
C2 = C1;// in F
C = C1;// in F
f_c = 1/(2*%pi*R*C);// in Hz
f_c = f_c * 10^-3;// in kHz
disp(... |
b6660029a3a86ab95b299c1e07a36d32ab3debe2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH3/EX3.18.1/Ex3_18.sce | 97010da21d12573b6e0e57f04717398bab241745 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | Ex3_18.sce | clc
clear
//Inputs
//The Values in the program are as follows:
//Temperature in Celcius converted to Kelvin(by adding 273)
//Pressure in bar converted to kPa (by multiplying 100)
//Volume in m^3
//Value of R,Cp and Cv in kJ/kg K
V1=1.5;
m=2;
T1=27+273;
T2=207+273;
V2=V1;
M=28;
Ro=8.314;
R=Ro/M;
P1=(m*R*T1)/V1;
print... |
e2defc4cbd834628ec6ae7dc1fed87fa8723b0de | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH7/EX7.9/Ex7_9.sce | 03ec3fcbf42582a4a96f7492cc6fd10d0b457706 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | Ex7_9.sce | //=========================================================================
//chapter 7 example 9
clc;
clear;
//input data
a = 3.5*10^-6; //channel width in m
N = 10^21; //number of electrons in electrons/m^3
q = 1.6*10^-19; //charge of electron in c... |
3300df09c8adef37a2a0f9f1ab1f1388ee4a2e06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH6/EX6.6/Ch06Ex6.sce | 20c5f44393ceb9bc78e979780b942958c0011563 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | sce | Ch06Ex6.sce | // Scilab code Ex6.6: Pg:249 (2008)
clc;clear;
I_m = 1; // For simplicity assume maximum intensity to be unity, unit
I = I_m/3; // Final intensity, unit
for theta = 30:15:60
I = I_m*cosd(theta)^2; // Intensity of the emerging light
printf("\nThe fractional intensity of light transmitted for theta = %2d d... |
83853711d8faaf7b4dcb08f67dc08d4a1e443c2e | fdc5047b7bf8122bad1e621df236b0481226c36e | /exemplos/xls-link-0.5.0-src/src/builder_src.sce | fad1def47facba24e48845ca98bdecd20225849c | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | builder_src.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
function builder_src()
langage_src = ["cpp"];
path_src = get_absolute_file_path("builder_src.sce");
tbx_builder_src_lang(langage_src, path_src);
endfunction
builder_src();
clear builder_src; // remove builder_src on stack
|
3641a4fabf8429dbac7299095c5cd630dfeeafeb | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/integrator_nmirror.sce | 755d92f543ade98be3e34c8356b0fed87afb795c | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 3,197 | sce | integrator_nmirror.sce | //**************************** Integrator Compensator ******************************
if (blk_name.entries(bl) =='integrator_nmirror') then
//addvmm = %t;
mputl("# INTEGRATOR",fd_w);
ii= scs_m.objs(bl).model.ipar(1);
for ss=1:ii
integrator_str= ".subckt integrator_nmirror in[0]=net" + string(blk(... |
ddd2f88f9f2a0437c5a4ddc1fcf0a3f63f9f7e91 | 352a2b6c7e8e0fbc76f9dacb222075df0cc1bbc6 | /TP1/generateOneThird.sci | 980c30aedb2963b65ee5ab4c9d8d218a7ccfb6f0 | [] | no_license | BenFradet/RO05 | 443dd2807b521eefdd65ff901d25b46bce8a0838 | 0aa5855de282bfccacae999536f1424a303ca72e | refs/heads/master | 2020-06-06T17:45:47.138916 | 2014-12-18T15:32:12 | 2014-12-18T15:32:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sci | generateOneThird.sci | function[x] = generateOneThird(n)
if n - floor(n) ~= 0 | n < 0
error('invalid n');
end
x = zeros(n, 1);
for i = 1:n
u = rand(1, 1, 'uniform');
if u < 1 / 3
x(i) = -1;
elseif u < 2 / 3
x(i) = 0;
else
x(i) = 1;
end
... |
976380f39cc3b199e785a8941c44c5a75d32ed10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH2/EX2.3/2_3.sce | 6242ebb704bf6888a4d9fb49a549ed0ac6ab0481 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | 2_3.sce | pathname=get_absolute_file_path('2_3.sce')
filename=pathname+filesep()+'2_3data.sci'
exec(filename)
density=P/(R*T);
v=1/density;//specific volume
printf("\Answer:\n")
printf("\n\Density of air: %f Kg/m^3\n\n",density)
printf("\n\Specific volume of air: %f m^3/Kg\n\n",v)
|
e480ece4c3259a7a95a272827fc5fa3ec25524e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH6/EX6.3a/eg6_3a.sce | 14cbaf78e12a25a04f4a0a0772286260ca150c81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | eg6_3a.sce | number = 25000;
meaneach = 320;
sdeach = 540;
claim = 8300000;
meantotal= meaneach*number;
sdtotal = sdeach*sqrt(number);
disp(1- cdfnor("PQ",claim, meantotal, sdtotal )) |
138eadb167929e378524cc251e5d31d0406920b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH15/EX15.21/15_21.sce | dc60a4e122ccc0dae1a4f68822aa717184e2ef2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | 15_21.sce | //Chapter 15, Problem 21
clc;
R=2; //resistance in ohm
L=60e-3; //inductance in henry
C=30e-6; //capacitance in farad
Q=(1/R)*sqrt(L/C); //Q factor
printf("Q factor = %f ",Q);
|
5f69422a1e0d38b748212c5360b4f3b0308da437 | c6196553a0199f808a6ec5cdb7c257bffc4e1832 | /TP_Intro/4.1_Transformee_De_Fourier.sce | 344662864da7903e5079d3ef61b3970fb791e9c4 | [] | no_license | rianaR/T.I.A | 034b5e503145e54460fa17404c4b51524e269dd8 | b1a3011f4d4101cbe163399c9f46abd31c4977e5 | refs/heads/master | 2021-01-10T05:09:03.931399 | 2015-11-05T08:55:45 | 2015-11-05T08:55:45 | 43,305,164 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | 4.1_Transformee_De_Fourier.sce | xdel(winsid());
//lena = double(imread("lena.bmp"));
lena = imread("images/lena.bmp");
//4.1
figure; ShowImage(lena, "Lena");
fftLena = fftshift(fft2(double(lena)));
figure; plot2d(abs(fftLena));
|
1b49c2a4ae6f8704f37ecbf12bd8c740ef33f19b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH27/EX27.3.b/EX27_3b.sce | 900a5110133896272a4b7fdf7d2ee57594984b46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | EX27_3b.sce | //EXAMPLE 27.3(b)
//4-POLE GENERATOR
clc;
funcprot(0);
//Variable Initialisation
P=4;...........//Total number of poles
Z=480;..........//Total number of conductors
Ia=150;...........//Armature current in Amperes
b=10;...........//Actual brush lead in degrees
Al=P;............//Number of parallel paths in ... |
e6afc51d197b084dbd6a4646f2619c47642de7dc | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/PutcoLstr.sci | b993ffa988e2ebdd4bd2924b73fb87cd52fd621f | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sci | PutcoLstr.sci | // 10.01.02 for v5
function PutcoLstr(varargin)
Tb=varargin(1);
Nr=varargin(2);
Pos=varargin(3);
Str=varargin(4);
Sep='';
if length(varargin)>4
Sep=varargin(5);
end;
if Sep==''
for I=1:length(Str)
Tmp=part(Str,I);
Putcell(Tb,Nr,I,Pos,Tmp);
end;
else
Ltr='';
K=1;
fo... |
f1c0866731cd8e1f44dc52a6c7caeda7e4387b29 | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/example/1次遅れ要素の直列接続.sce | bf120179c1c38d7bb2bcd1586c9bae39e3a14edb | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | SHIFT_JIS | Scilab | false | false | 138 | sce | 1次遅れ要素の直列接続.sce | //1次遅れ要素の直列接続
k=1; t1=1; t2=1.5;
t=0:0.1:10;
y1=k-(k/(t1-t2))*(t1*exp(-t/t1) - t2*exp(-t/t2));
clf(); plot2d(t,y1)
|
41161fb8994aa51a37a5468d4b7c5812d1b53193 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH3/EX3.9/ex9.sce | bfa8cf16c66222ae8bc1bb2fa6b1ef441c5e1696 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | ex9.sce | // Example 3.9 : Value of capacitance C that will result in peak-peak ripple of 2V
V_P=100; // (V)
V_r=2; // (V)
f=60; // (Hz)
R=10*10^3; // (ohm)
I_L=V_P/R;
C=V_P/(V_r*f*R);
disp(C,"C (V)")
wdeltat=sqrt(2*V_r/V_P);
disp(wdeltat,"Conduction angle (rad)")
i_Dav=I_L*(1+%pi*sqrt(2*V_P/V_r));
disp(i_Dav,"i_Dav (... |
f1441aa31b43be443277d55fec287b811ea0de17 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/CH02.prev.tst | 948597d9af9a5b1edc080e6dc1eb14a8481d82d7 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | tst | CH02.prev.tst | -chain [[0,-2,1,-2],[-2,0,-2,1],[2,1,2,0],[-2,-1,-1,1]] [6,-3,-5,-4] 4 0
[[0,-2,1,-2],[-2,0,-2,1],[2,1,2,0],[-2,-1,-1,1]],det=-2 [6,-3,-5,-4], chain 8 => [9,-6,-1,-8] => [27,-24,10,-19] => [96,-93,50,-59] => [354,-351,199,-208] => [1317,-1314,755,-764] => [4911,-4908,2830,-2839] => [18324,-18321,10574,-10583] => [68382... |
5181e59898823261365f9348117c907d8b844b79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH12/EX12.11/Ch12Ex11.sci | 04bb496ed5cfbca0eb27280c6688c9d646d610a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sci | Ch12Ex11.sci | // Scilab Code Ex12.11 Energy released during fission of U-235: Pg: 250 (2008)
N = 6.023e+023; // Avogadro's number
A = 235; // Mass number of U-235
n = N/235; // Number of atoms in 1g of U-235
E = 200; // Energy produced by fission of 1 U-235 atom, MeV
U = n*E; // Energy produced by fission of 1g o... |
308db1e3569ef2188ae7c09b28f7cae874894564 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH17/EX17.01/17_01.sce | fe445c9708df2265c5c70ac7440598b51e8b2354 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | sce | 17_01.sce | //pathname=get_absolute_file_path('17.01.sce')
//filename=pathname+filesep()+'17.01-data.sci'
//exec(filename)
//L/D ratio:
r1=1.2
//Cylinder diameter(in m):
D=0.12
//Area of indicated diagram(in m^2):
A=30*10^(-4)
//Spring constant(in kN/m^2):
k=20*10^3
//Rpm of engine:
N=2000
//Percentage power lost:
r=... |
ab6e34307fd6785002723c2da70845dc8dea619a | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter5/Ch_5_Eg_5.23.sce | 6573277c022122d80227a40afbcc93c1a2cfe900 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | Ch_5_Eg_5.23.sce | //To plot a scatter plot
t=linspace(0,6*%pi,50);
x=t;
y=t.*sin(t);
z=exp(t./5);
col (1:50) =t;
clf ();
// size of the markers=25
//color of the markers are defined by // the col vector
//fill- Markers are to be filled
//s – Marker type is square
//markerEdgeColor is set black
scatter3(x,y,z);
scatter3(x,y... |
25c05f913ce841805b090441ff80b2fb8d34737e | 449d555969bfd7befe906877abab098c6e63a0e8 | /555/CH5/EX5.8/8.sce | 839e031b7da50763f275824d2940fae2ac8f277a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | 8.sce | // Implementation of example 5.8
// Basic and Applied Thermodynamics by P.K.Nag
clc
clear
//temperature at certain instance 't', power to paddle wheel 'Wt'
t = -273; //degree C
//Let
u=0;
u0 = u - 0.718*t;
//hp = u + p*v; and u = 0.718(t+273) and pv=0.278(t+273) thus
t = 150; //degree C
hp = 1.005*(t+... |
910c3c70e57fbc4d6de51e29c8921a1d72395a8c | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /nsp/loader.sce | dd3a7b720acadaec042b0f3142fcbc97221db576 | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | loader.sce |
// test if lib already loaded, unload first
[test,ilib] = c_link( "libpremiamodel_Interf");
if test then
printf(" library alreday loaded : nothing done\n");
else
exec('libpremia/loader.sce')
end
|
c57a68704be2db4e8208380f6e6857d9e7a09a0b | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/tests/matode.tst | 8878397820d2092335e5b44eb855dea2e09a16e2 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,482 | tst | matode.tst | Leps=1.e-6;
// definition of rhs
deff('[ydot]=f(t,y)',...
'f1=-0.04*y(1)+1e4*y(2)*y(3),...
f3=3e7*y(2)*y(2),...
ydot=[f1;-f1-f3;f3]')
// jacobian
deff('[jac]=j(t,y)',..
'jac(1,1)=-0.04;jac(1,2)=1.e4*y(3);jac(1,3)=1.e4*y(2),...
jac(3,1)=0;jac(3,2)=6.e7*y(2);jac(3,3)=0;...
jac(2,1)=-jac(1,1);jac(2,2)... |
5bbd096a0bccd0b579a4e8bd9eeb3055e13567ae | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /uva.onlinejudge.org/112, Tree Summing/test1.tst | 49bd58e80cb5e8a393d3022b47469cee7ed446cf | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | tst | test1.tst | 22 (5(4(11(7()())(2()()))()) (8(13()())(4()(1()()))))
20 (5(4(11(7()())(2()()))()) (8(13()())(4()(1()()))))
10 (3
(2 (4 () () )
(8 () () ) )
(1 (6 () () )
(4 () () ) ) )
5 ()
~~~~~~~~~~~~~~~~~~~~~~~~
yes
no
yes
no
|
b90c435fe363e5274b8b316727052d9b81d6c3f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH8/EX8.15/example8_15.sce | ac7a3a192ee67eff73561c40bc975867518e1325 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | example8_15.sce | //clc()
Td = 353.2;//K
Tw = 308;//K
Hvap = 2418.5;//kJ/kg
pr = 0.950;//kJ/kg
Ps = 5.62;//kPa
P = 101.3;//kPa
Yw1 = (Ps * 18)/ (( P - Ps) * 29);
Y1 = Yw1 - pr * ( Td - Tw ) / Hvap;
disp("kg water/kg dry air",Y1,"Humidity = ")
//humidity can also be directly obtained from psychometric chart, which we get to be ... |
cbdcd0c2032dde50741b3dde79a0ad66609e613f | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH10/EX10.5/Example_10_5.sce | 26fc52c853b35b31691d6d3789491c0acb91bb7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,025 | sce | Example_10_5.sce | clear;
clc;
//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
//Example 10.5
//Caption : Program to Find L V {xi} and {yi} for a System
z1=0.45;
z2=0.35;
z3=0.2;
P=110;//[KPa]
T=353.15;//[K]
P1_sat=195.75;//[KPa]
P2_sat=97.8... |
592870304884d08184702128c37be3e76c761925 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH15/EX15.3/BIT_Ex_15_3.sce | f510b94b118dba01b7e3e21b43ddfc80f2505629 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | BIT_Ex_15_3.sce | // the Answer in the book is wrong.It is printed as 90.4 for SNR3 but it should be 100.59
clc
//Chapter15
//Example15.3, page no 536
//Given
//a
B1=4e3//Channel Bandwidth
SNR1=31//Channel SNR
C1=B1*log2(1+SNR1)//Channel Capacity
SNR2=14//Reduced SNR
B2=round(C1/log2(1+SNR2))//Bandwidth for reduced SNR with sa... |
c7a078551b903b89dfbc0d4cec3323fd5aa1db38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH4/EX4.4/Ex4_4.sce | 22d6af91d7fec72eeee8e781b2c94ac92190dc2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | Ex4_4.sce | // Example 4_4
clc;funcprot(0);
// Given data
p=20.0;// Pressure in psia
D_1=1.00;// Initial diameter in ft
D_2=10.0;// Final diameter in ft
// Solution
W_12=p*144*(%pi/6)*(D_2^3-D_1^3);// ft.lbf
printf('\nThe moving system boundary work,W_12=%1.2e ft.lbf',W_12);
|
5c6525676fbaf79c8f84602474106c22e402947e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH13/EX13.13/Ex13_13.sce | fbeac56d4d3afa05a6deff6ab6c266cc8ce48ab8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,055 | sce | Ex13_13.sce |
// Given:-
Rbar = 8.314 // universal gas constant in SI units
Tnot = 298.0 // in kelvin
// With data from the steam tables
h = 2939.9 ... |
3b3bf0cb769e36562b892d6bb205464e14dd3048 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH9/EX9.2/Ex9_2.sce | 2453b8d3082bde7363c0472be948e704e9b9168f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | Ex9_2.sce |
clc
//initialisation of variables
p=2//if
p1=100//percent
p2=30//lb
p3=50//lb
t=580//F
t1=501//R
w=510//in
q=0.24//in
v=1020//ft per sec
v1=1071//ft per sec
//CALCULATIONS
N=(v/v1)^2*100//percent
E=(q*(t-w))/(q*(t-t1))*100//percent
//RESULTS
printf('The efficient from the true condition Nozzle effici... |
861d8163499f5447cfef936495a89fa2b35e1063 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH8/EX8.8/ex8_8.sce | 3c6310b8934d1c08e22fdde48713f1827395a87a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | sce | ex8_8.sce | // Example 8.8, page no-214
clear
clc
Tf=24600//K
m=9.11*10^-31//Kg
k=1.38*10^-23
vf=sqrt(2*k*Tf/m)
printf("The Fermi Velocity is %.4f *10^6 m/s",vf*10^-6)
|
5405059845ba8da085e737c900fdafdba3983c2f | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/join.sce | b22460397267327d7108586f47745f11c89ccfd5 | [] | 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 | 96 | sce | join.sce | style.fontSize=14;
style.displayedLabel="Join";
pal10 = xcosPalAddBlock(pal10,"join",[],style);
|
453a04170074de3038bcd8f05844fd14721390a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH8/EX8.7/Ex8_7.sce | 168f5e57b961ab990eb74d34ad533e9d16ed05c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,455 | sce | Ex8_7.sce | //Ex8_7
clc
RL = 1.2*10^3
//assuming Rs = RL as given in problem
Rs = RL
//assuming values for h-parameters
hie = 1.0*10^3
hre=2.5*10^-4
hfe = 50
hoe = 25*10^-6
disp("RL = "+string(RL)+"ohm")//load resistance
disp("Rs = RL = "+string(RL)+"ohm")//source resistance
//h-parameters for CE transistor amplifier a... |
af6bedeb8b8115f32fb6fd91dc9c803d2ec892e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH8/EX8.2/Ex8_2.sce | bc9c3ccfd8911d0d85e2ba715b9d1f9037f1232c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | Ex8_2.sce | //Ex8_2 PG-8.5
clc
Av=200;//gain at cut-off frequencies
Avm=Av*sqrt(2);//maximum voltage gain
printf("\n Therefore maximum voltage gain=%.2f \n",Avm)
|
56a522e6ade13bb4ae7f16c92b0072712a4a504f | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/3_18_data.sci | 9271895450012c15d762b98c0f74c52b111a9608 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sci | 3_18_data.sci | //Initial pressure(in bar)
p1=1.03;
//Temperature at the beginning of compression(in K)
T1=300;
//Pressure at start of expansion(in bar)
p2=47;
//Heat supplied during the cycle(in kJ/kg)
Hs=545;
//Specific heat a constant pressure(in kJ/kgK)
Cp=1.004;
//Ratio of specific heats
y=1.4; |
db14ec760222e0f7a0ce2a6c904ebc7982cdd7bd | 482cdc3e27e99afe860829eff3e593caa62202e3 | /src/Assignment1_Tests/test6.tst | b9a4e11514a7cadcc381afae0df97933354c1d1f | [] | 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 | 35 | tst | test6.tst | fi fi fi main ; ; ; >= <= <= >=>
|
c15d6f28eb5c9e2a209eb74d4429a111549d860f | 8b2aa0460ec6250a29ed3fb32790e0211478b29a | /src/controls.sci | 41ea1b0466a8c1a198db63d9911e1727f857e7d9 | [] | no_license | samverneck/RealTimeMonitor | 41f37735570aa91cab7765f0800547987f0eb72c | f2ea3d70df9fbeed651b0f0b367b09b9fa84b6fa | refs/heads/master | 2020-12-02T18:09:27.752225 | 2017-06-21T19:52:00 | 2017-06-21T19:52:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,223 | sci | controls.sci | ValueFrame = uicontrol(f, "style", "frame", "position", [15 480 305 80]...
,"tag", "valueFrame", "ForegroundColor", [0/255 0/255 0/255],...
"border", createBorder("titled", createBorder("line", "lightGray", 1), ...
_("View Panel"), "center", "top", createBorderFont("", 11, "normal"),...
"black"));
//
timeLabel = uicon... |
c8f10f6740e9bf5b7dc5dbd5dcb6335abe92ea76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH1/EX1.15/Ex1_15.sce | 472fbae4a16c74cc864a72dae67a310d6a42cddb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,039 | sce | Ex1_15.sce | clc
// Variable Initialization
Vm=230//Supply Voltage in Volts
Ra=0.2//Armature circuit resistance in Ohm
I=80 //Rated current in Amp
Nr=1200 //Motor speed in Rpm
V=220//Rated voltage of motor in Volts
a=150//firing angle in Degree
Nr1=-700 //Speed in Rpm
//Solution
N=(Nr*2*%pi)/60 //Speed in Rad/sec
Kaf=... |
bc6dfa6c126f3a787d71633a42df358a8e73190c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH2/EX2.24/2_24.sce | 5355060d486418b511f5ac0a621f8857563d6a9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | 2_24.sce | //2.24
clc;
Vm=230*2^0.5;
alph1=60;
alph2=120;
w=100*%pi;
L=50*10^-3;
wt=2*%pi;
R=15;
Ip_circulating=2*Vm/(w*L)*(cos(wt)-cosd(alph1));
printf("\n Peak circulating current= %.1f A",Ip_circulating)
Ip_load=Vm/R;
Ip_converter1=Ip_circulating+Ip_load;
printf("\n Peak current of converter 1= %.2f A", Ip_convert... |
17698d75b9ddef9d3b3e16864380b3593498f97d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH26/EX26.25/EX26_25.sce | ab724dee95451282a8852a628ea7d1827c6e9744 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,117 | sce | EX26_25.sce | //EXAMPLE 26.25
//SHUNT GENERATOR
clc;
funcprot(0);
//Variable Initialisation
Ifl=196;....................//Full load current in Amperes
V=220;.....................//Terminal voltage in Volts
Ls=720;.....................//Stray losses in Watts
Rsh=55;.....................//Shunt field coil resistance in Ohm... |
366a65b3edbdf4c8491014081f787204ecead549 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH6/EX6.11/11.sce | 704cec14e70705e4e81d4a5010d7cba41ca17030 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | 11.sce | clc
// given that
d = 9 // Diameter of ore of wire in mm
P_b = 180 // Threshold optical power for Brillouin scattering in mW
P_r = 1.9 // Threshold optical power for Raman scattering W
nu = 1 // Bandwidth in GHz
// Sample Problem 11 on page no. 278
printf("\n # PROBLEM 11 # \n")
ratio = P_b*1e-3/P_r // Calc... |
e0151c8fddbd9aaddf5c887ae3131f021a428329 | 5198a0ef649efb9d9d219febd774bbd495b1d7e8 | /html/current_projects/code_FFTW3/square_wave_10Hz.sce | 0b85264f35c100c5977ef9dc7b66325fe19d479a | [
"Unlicense"
] | permissive | markkhusid/MKDynamics_website | a76e1dcba299ebb9704cd59e60af948bb796a62d | c8761b41ae487c99644361ecc1cf586b022debac | refs/heads/master | 2023-03-15T13:04:11.582595 | 2023-03-07T12:51:50 | 2023-03-07T12:51:50 | 31,366,974 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | square_wave_10Hz.sce | //Frequency components of a signal
//----------------------------------
// build a square wave signal sampled at 1000hz containing at frequency 1Hz
// and 50% duty cycle
sample_rate=1000;
frequency=1;
t = 0:1/sample_rate:1;
N=size(t,'*'); //number of samples
//s=sin(2*%pi*frequency*t);
s = squarewave(2*%pi*frequency... |
2f0ff2370d7e7e56b1b335090be0e3d66e12c223 | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH9/EX9.3/Example9_3.sce | 211f28939cdaa69477fdccd92bec91d0bf4cfc8f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | Example9_3.sce |
clear;
clc;
printf("\t Example 9.3\n");
p=1.013*10^5; //pressure of water,N/m^2
D=0.1; //inside diameter,m
l=0.04; //wavelength,m
a=0.0589; //surface tension,N/m
b=0.577; //density of gas, kg/m^3
u=(2*%pi*a/(b*l))^(0.5); //the flow will be helmholtz ... |
bffa0e31a8231ff296a1a304c8532235092d9777 | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Sem Interface Grafica/Engine/C5_AMORTEC.sce | 198a92e9aab3d34dfc9cd81185745352c186597b | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,670 | sce | C5_AMORTEC.sce | // FREQUENCIAS NATURAIS E MATRIZ DE AMORTECIMENTO
// A execução deste programa assume que os seguintes já foram executados:
// C0_INIC | C1_BARRAS | C2_MAT_LOC | C3_MAT_GLOB | C4_REST_APOIO
clc
mprintf('\n4 - AMORTECIMENTO PROPORCIONAL================================\n\n');
modo1 = input(' Numero do Modo onde... |
7d848755d3a54abb013c5c5cc23db515fde9e49c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3640/CH1/EX1.3/Ex1_3.sce | b003e2b300cc6b9adb551ff520579e8ed4f58717 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,214 | sce | Ex1_3.sce | clc
f=60 //frequency of voltage source in Hz
x=1.9 //Steinmetz coefficient
V=80 //applied sinusoidal voltage in volts
t=100 //no of turns wound on a coil
hc=500 //hysteresis coefficient
w=2*%pi*f //angular frequency in rads/sec
phimax=(sqrt(2)*V)/(t*w)//maximum value of flux in the core in webers
mprintf("phim... |
ab7927374d3f74f29deb756edc86d2246d9cf773 | 99602a3df67f0bf806ffb5e714bbafcdd7d6ae88 | /tp/tp5/kNN.sci | 280e2088a97c722d5e4687f3990cb9ebb0308a96 | [] | no_license | BenjaminVanRyseghem/RDF | cbe77b76bb18680c03f16360fdad40723de25a68 | e9ed372d66fa4152426b3b1115448323ed0e9b58 | refs/heads/master | 2023-08-31T14:15:37.668811 | 2013-04-11T15:49:58 | 2013-04-11T15:49:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,377 | sci | kNN.sci | // calculate the distances between a line and a x_train
function distances = getDistances(line,x_train, x_train_size)
// we put in mat the line reapeated x_train_size times
mat = repmat(line,x_train_size,1);
// then we get the distances of each line
distances = (mat - x_train).^2;
endfunction... |
897a97a219213abce4c1e336a19080d3f6fc2637 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3761/CH4/EX4.15/Ex4_15.sce | c985980356435f580293bb08a95cedeaaa07905e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,166 | sce | Ex4_15.sce | disp("Example 4.15")
disp("Asc=2-25dia bars","Ast=3-36dia bars","M20 Grade of concrete and Fe250steel","dd = 50mm","d=550mm","b=300mm","Given:")
b=300
d=550
dd=50
Ast= %pi*36*36*3/4
Asc=2*%pi*25*25/4
m=13.33 //(280/(3*sigmacbc))
Es=2*10^5
fck=20
fy=415
xumaxd=0.0035/(0.0055+(0.87*fy)/Es)
disp(xumaxd,"xumax/... |
1e39288c7d7b9e531da29234849b1f3d69e24f18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH7/EX7.3/lead_exp.sce | 5fd795b1dfbc4a042482eb62b6bf75bc9aad8c2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | lead_exp.sce | // Procedure to draw Bode plots in Fig. 7.11 on page 255.
// 7.3
exec('tf.sci',-1);
pol1 = [1 -0.9]; pol2 = [1 -0.8];
G1 = tf(pol1,[1 0],-1);
G2 = tf(pol2,[1 0],-1);
w = linspace(0.001,0.5,1000);
xset('window',1);
bode([G1;G2],w);
G = tf(pol1,pol2,-1);
xset('window',2);
bode(G,w);
|
1af96260a8b95bef275d597f0881a9482da924e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH6/EX6.6/Ex6_6.sce | 4e395a4e020c3abf73c4fcbff390bd2392ea5b13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_6.sce | //Example number 6.6, Page number 118
clc;clear;
close;
//Variable declaration
EF=5.5; //energy(eV)
FE=10/100; //probability
e=1.6*10**-19; //charge(c)
Kb=1.38*10**-23; //boltzmann constant(J/k)
//Calculation
E=EF+(EF/100);
x=(E-EF)*e;
y=x/Kb;
z=(1/FE)-1;
T=y/log(z); //temperature(K)
//Result
... |
66bd3b725b56d9d196ccdf266b208103879b66eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH5/EX5.1/Ex5_1.sce | fcfef018bc338414ea57f2ac38056a521a87c9de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | Ex5_1.sce | clc
// Given that
A = 20 // Value of A in voltage length characteristic equation
B = 40 // Value of B in voltage length characteristic equation
v= 80 // Open circuit voltage in V
I = 1000 // Short circuit current in amp
// Sample Problem 1 on page no. 285
printf("\n # PROBLEM 5.1 # \n")
l=poly(0,"l")
i = ((v-A)-(B* l)... |
b54b1074f50096554001a6ce463e6cf38d810215 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH1/EX1.63/1_63.sce | 27a11a12fbc1e59bbb3c0d88a39e6d9d475e16ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,172 | sce | 1_63.sce | //water//
//page 1.87 example 3//
clc
Purity_Lime=.85
Purity_soda=.95
W1=12.5;//amount of CaCO3 in ppm//
W2=8.4;//amount of MgCO3 in ppm//
W3=22.2;//amount of CaCl2 in ppm//
W4=9.5;//amount of MgCl2 in ppm//
W5=33;//amount of CO2 in ppm//
W6=7.3;//amount of HCl in ppm//
W7=16.8;//amount of NaHCO3 in ppm/... |
3d437f41654bf2dd7ea904c97a129d1a69ebaf26 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/est.tst | b6510ddbf713439d79e21257c6e025846a4edd42 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 300,332 | tst | est.tst | aju ajudena N;FRML;PL
aju ajus N;IN+ESS;SG
aju ajudes N;IN+ESS;PL
aju ajudega N;COM;PL
aju ajudelt N;AT+ABL;PL
aju ajuks N;TRANS;SG
aju ajud N;NOM;PL
aju aju N;GEN;SG
aju ajuna N;FRML;SG
aju ajule N;AT+ALL;SG
aju ajuga N;COM;SG
aju ajudesse N;IN+ALL;PL
aju ajudele N;AT+ALL;PL
aju ajudeks N;TRANS;PL
aju ajudeni N;TERM;P... |
66ddfb8c70e72a22fcc0eb801fc9c5f753b4c858 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.6/ch12_6.sce | a9151be3b66f42f3bca8fbae64b56045e71b061e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | ch12_6.sce | clear;
clc;
V_t=220;
n_m=1500;
w_m=2*%pi*n_m/60;
I_a=10;
r_a=1;
K_m=(V_t-I_a*r_a)/(w_m);
T=5;
I_a=T/K_m;
V_s=230;
V_m=sqrt(2)*V_s;
a=30;
V_t=2*V_m*cosd(a)/%pi;
w_m=(V_t-I_a*r_a)/K_m;
N=w_m*60/(2*%pi); printf("motor speed=%.2f rpm",N);
a=45;
n_m=1000;
w_m=2*%pi*n_m/60;
V_t=2*V_m*cosd(a)/%pi;
I_a=(... |
ea3f29f3e9e4953259f36ab651591532395993bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH18/EX18.10/example10.sce | 89b907f383d00cf18158bf96b9e76e3c756928a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 917 | sce | example10.sce | // find closed-loop voltage gain, bandwidth and output voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 18-10, page 683
clear; clc; close;
// Given data
R1=10^2;// in ohms from the given figure
Rf=3.9*10^3;// in ohms from the giv... |
fc1ce0810d9094af34454a54fc2175931a160e2f | ca8a1752ffab27d706f447f6671fec785bff91f6 | /ncp/cs2/project 01/DMux.tst | ce6160aa04d5ddd1a8e0b7b39d0dbccbbd6d46d6 | [] | no_license | aling94/school | 0d01dbdd582107a58b0a59c564df2db6367777be | 81d52961bc4c9244cf7abef2276ee69495eec351 | refs/heads/master | 2020-04-26T11:05:10.559842 | 2019-03-02T22:27:19 | 2019-03-02T22:27:19 | 173,504,921 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | tst | DMux.tst | // This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by Nisan and Schocken,
// MIT Press. Book site: www.idc.ac.il/tecs
// File name: projects/01/DMux.tst
load DMux.hdl,
output-file DMux.out,
compare-to DMux.cmp,
output-list in%B3.1.3 sel%B3.1.3 a%B3.1.3 b%B3.1.3;
set i... |
b5328cad2004c7c17f8a36c3bb681fb5f446a77a | 97135f725c599527ba0fd95a5289373c755daf3b | /Examples/test-suite/scilab/overload_extend2_runme.sci | 9b1fd46dcefc8c642b6770b9b98d8ea923e8134b | [] | no_license | maqalaqil/swag-c- | b8880cfc92424d5bbca1fe15ed98663a41063f27 | 6fd1ba2bf1d353f24c116a3c89a8540292b86a7d | refs/heads/master | 2020-07-06T21:02:08.949652 | 2019-09-01T07:56:55 | 2019-09-01T07:56:55 | 203,137,066 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sci | overload_extend2_runme.sci | exec("alaqiltest.start", -1);
try
x = new_Foo();
catch
alaqiltesterror();
end
if Foo_test(x, 1) <> 1 then alaqiltesterror(); end
if Foo_test(x, "Hello alaqil!") <> 2 then alaqiltesterror(); end
if Foo_test(x, 2, 3) <> 3 then alaqiltesterror(); end
if Foo_test(x, x) <> 30 then alaqiltesterror(); end
if Foo_test... |
598faf93e9315cdfa05b7b15138eaf6f461bf623 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/ATWM1_Working_Memory_MEG_DJ32GUZ_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 8dfcd7eb6f09e718355d50ff73b1c56c84f2d70e | [] | 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,600 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
9aa4390dbee3db26422bf7c23856db4595ddaa4e | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/MA24.prev.tst | d7a825dd64f2f61e9bcf041c1b3a9f84b819a79a | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | tst | MA24.prev.tst | [[0,-2,1,-2],[-2,0,-2,1],[2,1,2,0],[1,2,0,2]] * [a,b,c,d] = a^3+18*a^2*b+18*a*b^2+b^3+24*a*b*c+18*b^2*c+6*b*c^2+c^3+18*a^2*d+24*a*b*d+24*a*c*d+24*b*c*d+6*c^2*d+6*a*d^2+6*c*d^2+d^3
|
306d557bdafab7ac1cb1c027b215bd84fb626986 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH7/EX7.8/Example7_8.sce | 0214e40133c3925e42c76da1956625f267263454 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | Example7_8.sce | ///Chapter No 7 Fluid Mechanics
////Example 7.8 Page No:118
/// Find Power required to maintain the speed of upper plate
//Input data
clc;
clear;
dy=1.5*10^-4; //Two horizontal plates are placed in m
mu=0.12; //Space between plates Ns/m**2
A=2.5; //Upper area is required to move in... |
6dc361f645cf05fbd39023110a9ba28365e4a9bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH9/EX9.1/Ex9_1.sce | 7f44e52adf13bda48eb8519be599d27579060b0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 637 | sce | Ex9_1.sce | //Variable declaration:
D = 1.0 //Diamete of vessel (ft)
L = 1.5 //Length of vessel (ft)
T1 = 390.0 //Surface temperature of vessel (°F)
T2 = 50.0 //Surrounding temperature of vessel (°F)
h = 4.0 //Convective heat transfer co... |
f43c61f536413432f8c52f0010b19ba3e05397d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH8/EX8.11/Ex8_11.sce | c25af3232d9bb81d87f2c1be0c8966c7f5885a06 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | Ex8_11.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 8 Power Amplifiers Pg no. 289
clear;
clc;
//Given Data
VCC=12;//collector supply voltage in volts
RL=12;//load resistance in ohms
//Solution
PL_max=(VCC/RL)^2*RL/2;//power developed in watts
printf("Maximum value of load power = %.f Watts",PL_max);
|
091cbc5187743c24c5ef6cbfba4bb5e2bc151db4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3422/CH7/EX7.3/Ex7_3.sce | fd497cc55de1dc5fd787f39a51bf5bb5fa832d46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_3.sce | //Example 7.3, page 162
clc
alpha=0.9
N=.5//in hr
tou=1.5//in hr
pr=25//in kw
px=pr*sqrt(((1+alpha)/(1-exp(-N/tou)))-.9)
printf("Power id %f kw",px) |
cdbe5819fe41cdbceb44702e929b88a32027fc93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH3/EX3.9/Ex3_9.sce | 060e9a93d1f67c3018b21c41dc984f4dae4993a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 830 | sce | Ex3_9.sce | // Chapter 3 example 9
//------------------------------------------------------------------------------
clc;
clear;
// Given data
VSWR = 3; // voltage standing wave ratio
d = 20*10^-2 // separation b/w 2 successive minimas
er = 2.25; // dielectric constant
v = 3*10^8; // veloci... |
d053ad3c8c26695ac0b29a610ba4daeb75e89b4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.30/ExampleA30.sce | d9e91bf96b8f61acefacea8cc4bb6ddab1dfe968 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | ExampleA30.sce | clc
clear
//Page number 483
//Input data
R=1*10^4;//The rate at which black body loses thermal energy in watts/m^2
s=5.672*10^-8;//Stefans constant in SI units
//Calculations
T=(R/s)^(1/4);//The temperature of the black body in K
//Output
printf('The temperature of the black body is %3.0f K',T)
|
03c01982d090cd526b8e8e4a5a42717ef71f6992 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH13/EX13.11/13_11.sce | f24d4482bc80eff03934eb43c30d96dd7528ba8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | 13_11.sce | clc
//initialisation of variables
T= 25 //C
n= 2
F= 96500 //coloumbs
R= 8.316 //J mole^-1 K^-1
a= 76.2*10-5
a1= 79*10^-5
A= 155.2*10^-5
//CALCULATIONS
D0= n*a*a1*R*(273+T)*10^-6/(F*A)
//RESULTS
printf ('limiting diffusion coefficient= %.2e cm^2 sec^-1',D0)
|
5b9f49b03f2944cf26017d4181c9d860a581a5f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH10/EX10.41/10_41.sce | 620bfcbd49cb318924dcb1f19e373457bae2fed1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | 10_41.sce | //Example 10_41
//Find the inverse Z-transform using long division method
clc;
clear;
z=poly(0,'z');
x=ldiv(z^3-10*z^2-4*z+4,2*z^2-2*z-4,4);
disp(x,'x[n]=');
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.