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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2505e36b48e05ce5d5ad17a971667787eaf1a61b | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /ejemplos/02_root_finding/scilab/02_export_files/01_closed_methods/02_bisection/biseccion.sce | ba9d8bbec097f2abfe5753f3fd6f08edfd74e6ad | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,125 | sce | biseccion.sce | function [xl, xu, xr, ea] = biseccion(funcion, xl, xu, niter)
//****************************************//
fid = mopen('matriz.dat', "w");
if (fid == -1)
error('cannot open file for writing');
end
mfprintf(fid, "%s %s %s %s %s %s %s\n", 'xl', 'xr', 'xu', 'fxl', 'fxr', 'fxu', 'e... |
a9ef36a62381bd3f34378af9c73840057ec96e39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH9/EX9.1/pe9_1.sce | fef256959a09fd7c7eb44636760680432021d3c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | pe9_1.sce | //example 9.1
clc;funcprot(0);
//Initialization of Variable
V=28;//V
C=4700;//microF
R=16;//load
f=120;//hertz
//calculation
Vp=V*2^.5-2;
disp(Vp,"peak voltage in V:")
Vd=.95*Vp;
disp(Vd,"load voltage in V:")
Id=Vd/R;
v=Id/f/C;
disp(v*1e6,"ripple voltage in V:")
//approximation
Vd=Vp-v*1e6/2;
disp(Vd,"... |
ac895c04615726b4b3eff71e4ee4aa23798da996 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH19/EX19.8/168ex2.sce | 3c31d1489b0c2c49cef2aedd9b843fc18f2bfa0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | 168ex2.sce |
//no. with logarithm -3.5416
clear;
clc;
close;
mantissa=0.5416;
disp("from anti-logarithm table, corresponding no.is 3840 ")
//characteristic is -3.\n \n hence there will be 2 zeros after the decimal point
val=0.003480
|
739399995166630fc3be1bf1c67040943c284d08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH2/EX2.5/5.sce | 70f12096da7eb3be6a8726f131efcce3e162b430 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sce | 5.sce | clc
d=0.5; //m
h=0.75; //m
m=4; //kg
Manometer_reading=620; //mm of Hg above atmosphere
Barometer_reading=760; //mm of Hg
V=%pi/4*d^2*h; //m^3
disp("(i) Total pressure in the vessel")
P=(Barometer_reading+Manometer_reading)*133.4/10^5; //bar
disp("P=")
disp(P)
disp("bar")
disp("(ii) Specific volume and de... |
9c1a52f822f42a870ecfe9eea0cbba534c81f480 | ece5c630921508b439ed25c5f7ab3db5a66f7a1a | /Assignment1_Team8/PriorityEncoder8to3bit.tst | 3b0a1cbd9a7c253ecdf36a6d5139207eae1cc339 | [] | no_license | VedantS01/HDLProjectsCS2310 | f8d17d1c9c28034a21026a4fbe2ae5d38cf39330 | d2a39a4c062173475bd06ff0b3396f1ac6303103 | refs/heads/main | 2023-06-19T20:42:48.411561 | 2021-07-14T19:37:51 | 2021-07-14T19:37:51 | 386,054,022 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,373 | tst | PriorityEncoder8to3bit.tst | load PriorityEncoder8to3bit.hdl,
output-file PriorityEncoder8to3bit.out,
output-list x0%B3.1.3 x1%B3.1.3 x2%B3.1.3 x3%B3.1.3 x4%B3.1.3 x5%B3.1.3 x6%B3.1.3 x7%B3.1.3 s2%B3.1.3 s1%B3.1.3 s0%B3.1.3 en%B3.1.3;
set x0 1,
set x1 0,
set x2 0,
set x3 0,
set x4 0,
set x5 0,
set x6 0,
set x7 0,
eval,
output;
set... |
e7b9906361d781750ff828d49d3f4a9b6d0ebaaa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH6/EX6.8/Ex6_8.sce | 3258ac015d3aea91734ed8b20b597b991a9d7d04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,752 | sce | Ex6_8.sce | clear all; clc;
disp("Using figure 6.7 the specific speed Ns=N(V1^0.5)/(H_ad^0.75) should be calculated based on the inlet volumetric flow rate V1 and the adiabetic head per stage H_ad")
p1=14.7
R=53.3
T1=530
rho1=p1*144/(R*T1)//144 is conversion factor.the actual formula is rho1=p1/(R*T1)
printf(" From rho1=p... |
4fa53a3176bd0484c55827bd9007b4c0d529423d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Power_Systems_C._L._Wadhwa_1055.zip/Electrical_Power_Systems_C._L._Wadhwa_1055/CH22/EX22.6/ch22_6.sce | 10e24b154e9ce1f2fed21aac3d1a3573e6764cb5 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | ch22_6.sce | errcatch(-1,"stop");mode(2);// To discuss the effect of tap changing
;
V=1;
Qload=1*V
Qcap=-.75*V^2;
Qnet=Qload+Qcap;
VS=1-.75*2*V;// voltage sensitivity
mprintf("Voltage sensitivity=%.3f\n",VS);
mprintf("since the voltage sensitivity is negative ,\n voltage regulation by tap changing will reduce net reactiv... |
1323b6e2ec1d1e72f10cd3e52ab5b2fa5c4839bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH1/EX1.7/Chapter17.sce | 9c58627307cf81274187cc3207ae9e71b4bc8423 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 587 | sce | Chapter17.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 1, Example 7")
//The temprature(T) of brick wall after sunset is 50°C
//The emissity value(emi)=0.9
//The radiant heat flux per square meter =E/A Where E is radi... |
7c5ed5fb07e09d40f6ad9b18e697cd9adccd2627 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH1/EX1.21/Exa1_21.sce | 35f9cc2fa9af65e7e115856caa727b57296dd8a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | Exa1_21.sce | //Exa 1.21
clc;
clear;
close;
//given data
format('v',7);
V=6600;//in Volts
KW=6000;//in KWatts
pf=0.8;//unitless
cos_fi=pf;//unitless
Eff=90;//in %
//Part (a) :
KVA=KW/cos_fi;//in KVAR
disp("KVA rating of the alternator : "+string(KVA)+" KVA");
//Part (b) :
TotalRating=KVA;//in KVA
VA=TotalRating*100... |
f838a3429173c73acdf7d1feff4cd4f7331b8c02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2975/CH31/EX31.17w/Ex31_17w.sce | 6e53481f63f7e4f1f2c8c74f2c20d7c723dc30d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 770 | sce | Ex31_17w.sce | //developed in windows 8 operating system 64bit
//platform Scilab 5.4.1
//example 31_17w
clc;clear;
//Given Data
area=100*10^-4; //Area of the cross section (Unit:m^2)
epsilon=8.85*10^-12; //Value of electric constant (Unit: C^2/N-m^2)
sepration=1*10^-3; //Sepration be... |
78e31411867271ae9ed99501527f0df112534759 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testwhile.sce | 46c695bae6ce66e9ba0656776051a3d315b3cd13 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 72 | sce | testwhile.sce | txt='';
i=0;
while i<10
i=i+1;
txt=txt+string(i)+' ';
end
i,txt
|
7a0c66f7bf5b7c3bf107481415ec738cccc58db7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH8/EX8.7/Exa_8_7.sce | 6a7f5a57ce2a91229bee29744b936d2c99240539 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | Exa_8_7.sce | //relating DFT and IDFT
XDFT1=[4 -2*%i 0 2*%i];
xn1=fft(XDFT1,1);
disp(xn1,'The IDFT of XDFT1');
XDFT2=[12 -24*%i 0 4*%e^(%i*%pi/4) 0 4*%e^(-%i*%pi/4) 0 24*%i];
xn2=fft(XDFT2,1);
disp(xn2,'The IDFT of XDFT1'); |
4576673fb766f581bc85caa09789c9f5164a9ff8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH4/EX4.6/Ex4_6.sce | 5ac4f1e07ce339a74fa0f7b8b6f970750c121eff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 932 | sce | Ex4_6.sce |
//To Determine the starting torque and starting current for various starters
//Page 206
clc;
clear;
V=400;//Rated Voltage //Phase Voltage //Delta Connected
Pr=50*735.5; //Rated Power
N=750; //Rated Speed
s=4.5/100; //Full load Slip
Il=50; //Full Load Current
Z=2.5; //Impedance per phase
w=2*%pi*N/60; //Angul... |
93afe69790b3391c17d5a322bc88ece3abe35e97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH9/EX9.25/Example9_25.sce | 81296cda7066a5bd7a66fd5da1271007a5154274 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | Example9_25.sce | //clear//
//Example9.25:LTI Systems Characterized by Linear Constant
//Coefficient differential Equation
//Finding Transfer function H(S) of LTI system
//x(t) = exp(-3t).u(t)
//y(t) = [exp(-t)-exp(-2t)].u(t)
syms t s;
X = laplace('%e^(-3*t)',t,s);
Y = laplace('%e^(-t)-%e^(-2*t)',t,s);
H = Y/X;
disp(H)
//Res... |
2e58f972fc58289b6ee5a369a3bab2769c938014 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/AdaBoost/results/AdaBoost.NC-C.vowel-10-1tra/result7s0.tst | b2b3ecb6ae7728ccbed496a99f32c0c2cdd3effd | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 967 | tst | result7s0.tst | @relation vowel
@attribute TT integer[0,1]
@attribute SpeakerNumber integer[0,14]
@attribute Sex integer[0,1]
@attribute F0 real[-5.211,-0.941]
@attribute F1 real[-1.274,5.074]
@attribute F2 real[-2.487,1.431]
@attribute F3 real[-1.409,2.377]
@attribute F4 real[-2.127,1.831]
@attribute F5 real[-0.836,2.327]
@attribute... |
8b00e3151806ea0b5aaea30bc74d51f7025d52a0 | 8200349559e237758f87bc09a9eb4e0178932815 | /Magnet/Scilab/cart2sphvect.sce | 68956a633764ff4bcaee37025e3d09f966cc2354 | [] | no_license | rmorenoga/Testing | 6e50ea8e5f334b6d69f25e56f81fd7a505c012bb | 06713e61ababad3fb738ec4ac9ea771772585a12 | refs/heads/master | 2021-05-25T09:31:54.351782 | 2020-08-08T20:55:59 | 2020-08-08T20:55:59 | 35,949,400 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | cart2sphvect.sce | function [thetacomp, phicomp, rcomp]=cart2sphvect(xcomp, ycomp, zcomp,theta,phi)
rcomp = sin(theta).*cos(phi).*xcomp + sin(theta).*sin(phi).*ycomp + cos(theta).*zcomp
thetacomp = cos(theta).*cos(phi).*xcomp + cos(theta).*sin(phi).*ycomp - sin(theta).*zcomp
phicomp = -sin(phi).*xcomp + ... |
3b14eb066e7630690aecef34d27093396b5468c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH7/EX7.2/7_2.sce | 7d31ff3997d6f6193c8d8cd9f76c4e411b42a245 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,175 | sce | 7_2.sce | clear;
clc;
printf("\t\t\tExample Number 7.2\n\n\n");
// heat transfer from isothermal vertical plate
// Example 7.2 (page no.-332)
// solution
H = 4;// [m] height of vertical plate
Tp = 60;// [degree celsius] plate temperature
Ta = 10;// [degree celsius] atmospheric temperature
// we first determine the fi... |
aed6b62eb73bb1b451ea85bc952a6036fc777ec3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH2/EX2.4/Chapter2_example4.sce | 8989a81b20869b010ce2aaebf0af1d1249539f7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter2_example4.sce | clc
clear
//Input data
m=0.05//Mass of the body in kg
v=[3,5]//Velocity in vector form 3i+4j in m/s
//Calculations
ke=(1/2)*m*(v(1)^2+v(2)^2)//Kinetic energy in J
//Output
printf('Kinetic energy is %3.2f J',ke)
|
67d7b1ad36b609547510fc29cb07b57fc30e6b82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH43/EX43.9/Example43_9.sce | 00aa9f2af0a19ba1fb5adbe7be2a96227f58c871 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | Example43_9.sce | //Given that
dose = 3 //in J/kg
c = 4180 //in J.kg/K
m = 1 //(say)
//Sample problem 43-9
txt = mopen('Example43_9_result.txt','wt')
mfprintf(txt, '**Sample Problem 43-9**\n')
deltaT = (dose/m)/c
mfprintf(txt, 'The change in temprature of the body is %eK', deltaT)
mclose(txt) |
3114c84344026562eb7f3b7a911c809a12ce089a | ebfed86dee276110294a4e93fa80377908bbd317 | /macros/imshow.sci | 056c9917b6688b1f3e2132f6eab13b92164653c3 | [] | no_license | gursimarsingh/FOSSEE-Image-Processing-Toolbox | a9d46b698c98566fec867eb2ce3cfeb427058d5c | 165f6d7d1f20262a1637a923c6aad6e663ad1538 | refs/heads/master | 2021-08-16T19:18:59.591175 | 2017-11-08T17:55:04 | 2017-11-08T17:55:04 | 96,531,802 | 0 | 0 | null | 2017-07-07T11:21:10 | 2017-07-07T11:21:10 | null | UTF-8 | Scilab | false | false | 3,256 | sci | imshow.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_C... |
cd384716c87b6839eb832cbfc5c2e8b7eba43ac2 | df9b25ceab5916f0a9256bce2d326a82f8daa2b8 | /app/public/views/partials/navbar.sce | 54680367c145354d68f004ad796f57463ea61840 | [] | no_license | TheBrenny/SAD-assignment2 | 6625611ebde9619ca45bdb7996ef51a653868059 | 1f2b247c275b2d3327e58b8752d3e2e5a0cc5823 | refs/heads/master | 2023-01-21T16:46:45.535129 | 2020-11-02T01:22:18 | 2020-11-02T01:22:18 | 297,238,799 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 713 | sce | navbar.sce | <div class="flex navbar">
<div class="navbarItem
[[?= page.toLowerCase() == 'home' || page == '' ]]
active
[[?==]]
" target="Home">Home</div>
<div class="navbarItem
[[?= page.toLowerCase() == 'students' ]]
active
[[?==]]
" target="Students">Students</div>
<div class="navbarIt... |
ebeefb4119a05cc3fe33247c8460271183ca11ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH3/EX3.2/3_2.sce | b28f146550bd79f07aad925a4710b48d7ffd343b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | 3_2.sce |
//example 3.2
clc; funcprot(0);
// Initialization of Variable
k=-4.6;//u2-u1;
W=17.6;//work done
m=4;//mass
Q=W+m*k;
disp(Q,"Energy transferred in kJ");
clear()
|
6393ed568b6773b1b887173f13f0c1446e306693 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH4/EX4.9/Ex4_9.sce | 5aa74f3f9e758c400faceba3038fb27b47673491 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | sce | Ex4_9.sce | // Example 4_9
clc;funcprot(0);
// Given data
x=70/100;// The quality of steam
p_1=200;// kPa
p_2=800;// kPa
V=2;// m^3
v_f=0.0011;// m^3/kg
v_fg=0.8857;// m^3/kg
u_f1=504.5;// kJ/kg
u_fg1=2529.5;// kJ/kg
// Calculation
v=v_f+(x*(v_fg-v_f));// m^3/kg
m=V/v;// The mass in kg
u_1=u_f1+(x*(u_fg1-u_f1));// ... |
af0ee86aab54ab24b453e17f85f7c9b51fcb58fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH2/EX2.6/Ex2_6.sce | 6b5d94225016350c178cf9ca89672480235bada2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | sce | Ex2_6.sce | clc;
//ex2.6
Vs=4; //volt
Vd=0.7; //volt
R1=5100; //ohm
IT=(Vs-2*Vd)/R1; //Ampere//KVL int the circuit
disp('Ampere',IT*1,"IT=")
|
adf34245d828c2deb9acf9205cde5a0d32cf434e | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/GettingStarted/testlanguage.sce | 4559ebcd6dd271295d8377704f5ce2326e314f61 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | testlanguage.sce | // retrieve the Scilab interface language
getlanguage() // in French at first
// modify Scilab interface language
setlanguage('en_US') // change to English
setlanguage('fr_FR');//to delete
|
de0c1141d72ee0084aad8e8c47dc2d7454c513cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH27/EX27.11/Ex27_11.sce | 7c118447d588741fd7a31851ed624ea28ceaa4dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | Ex27_11.sce | //Example 27_11
clc();
clear;
//To find the activity of sr
t1=28 //units in Years
t1=t1*86400*365 //Units in sec
acti=6.022*10^26 //Units of Bq
m1=90 //Units in Kg
m2=0.001 //Units in Kg
N=(m2/m1)*acti //Units in constant
activity=0.693*N/t1 //Units in Bq
printf("The activity of sr=")... |
39576213f23d1fcdb58eaf7ed036c5dac7c2854a | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH6/EX6.2/6_02.sce | d201f8fc5eafe16807958c5da66fdcde904c0ec1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sce | 6_02.sce | clear
clc
//For single reactor and 90% Conversion
//From fig 6.6
kCot=90;
//For 2 reactor space time is doubled and from fig
kCot=180;
//From graph X=97.4%
X=97.4;
printf("\n Part a")
printf("\n The conversion in percentage is %f \n",X)
//For 90% Conversion & N=2.from graph
kCot=27.5;
//Comparing the reac... |
5c847fc364ea678025aa4f6338bd9c4c9978d9a9 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/midcross/midcross2.sce | 13887668bac8a95c46cccbd2f586f48f004d751e | [] | 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 | 156 | sce | midcross2.sce | //check o/p for row matrix
x=[1.2, 5, 10, -20, 12]
t=1:length(x)
midcrossvalue=midcross(x, t);
disp(midcrossvalue)
//output
// 3.6426667 4.335
|
f07b640714b18efb5f08d99a4a5a4ff1a3a74a31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH19/EX12.19.3/Ex12_19_3.sce | 7c7482a2992673c5b52cdba8c6c5caca35296129 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | sce | Ex12_19_3.sce | //Section-12,Example-3,Page no.-SS.59
//To calculate the current produced in a small germanium plate.
clc;
n_i=2*10^19 //per m^3
e=1.6*10^-19 //coulombs
u_e=0.36 //m^2/Vsec
u_h=0.17 //m^2/Vsec
V=2 ... |
d0172de19db6fc835a380d6788bccd9a92ce6682 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH4/EX4.8/Example4_8.sce | 49ef517df702a28bd67723b6262bce93603dc7d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 662 | sce | Example4_8.sce | //chapter-4,Example4_8,pg 490
//enter binary 1-bit values only
printf("RS flip-flop truth table\n")
S=input("enter value of S")
R=input("enter value of R")
Qn=input("Enter previous value of Q")
En=input("enter enable value")
if En==0 then
op=Qn
printf("op=%.f",op)
else if S==0&R==0 then
... |
ff6473c211cfd3d7de362456fd6e90c606e9310d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH13/EX13.1/CH13Exa1.sce | 4e6cae3078ccf7dd9ff63cdd330f2a37b4aef988 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | CH13Exa1.sce | // Scilab code Exa13.1 : : Page-600 (2011)
clc; clear;
E = 200*1.6023e-13; // Energy released per fission, joule
E_t = 2; // Total power produced, watt
R_fiss = E_t/E; // Fission rate, fissions per sec
m = 0.5; // Mass of uranium, Kg
M = 235; // Mass number of ura... |
f95daa30b05dddc6370b61189a259339d079c36d | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3899/CH15/EX15.2/Ex15_2.sce | 12f667f2f967ea3a835f2a0bd9aba5ed994eb083 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sce | Ex15_2.sce | //Example 15.2
//Find the laplace transform and Roc of the following signal
clc;
close;
syms t;
a=3;b1=-8;
x1=exp(-t);
b=6;c=7;
s=b+c*%i;
X1=integrate((exp(-(s+1)*t)),'t',0,%inf);
x2=exp(2*t);
X2=integrate((exp(-(s-2)*t)),'t',-%inf,0);
disp(X1);
disp(X2);
X=X1+X2;disp(X);
disp(real(s));
disp('Since... |
dfa79c556cc8ae6c16facbef0cbf96b1531c6547 | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /tests/chi-square/chi2pdf.tst | fe5ef9a11d4cda64bdabb810be533836ebcaa0ba | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,170 | tst | chi2pdf.tst | // Copyright (C) 2012 - Prateek Papriwal
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-... |
9ba0f774be51af5d8c622ce166165eb113cfa169 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH5/EX5.9/Ex5_9.sce | f7424197b8ff3b6f8e7d1fde726f85d427cb31f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | Ex5_9.sce | clear
//
//
a=2.245
b=3.375
AB=b-a
ap=1.955
bp=3.055
dAB=bp-ap
tl=(AB+dAB)/2
printf("\n true level of difference is %0.3f meters',tl)
rla=125.55
rlb=rla-tl
printf("\n RL of B = %0.3f meters',rlb)
|
5f21d621b2b7e8ee526ec24fcd702a03c60d3340 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH5/EX5.3/Ex5_3.sce | 4d70d0838caaf7c228f1ca1b6ddd868a5594a91f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_3.sce | clc;
clear;
lambda=5890*10^-8 //wavelength in cm
k=2
d_lambda=(5896 - 5890)*10^-8 //grating width in cm
d=2.5 //grating width in cm
//calculation
N=lambda/(k*d_lambda) //No. of grating lines
No_of_lines = N/d
printf("No. of lines per cm = %1.1f",No_of_lines) // The answers vary due to round off error
|
3470dc1e02d924a29ee45ee1d56c9e83d039974a | 683d55d55e7449e5ffb06e17d669fd6e8d7eca1c | /src/stabplot.sce | dd49fc0e9569f6df92fac5e8d0ef55483fde69c8 | [] | no_license | lucciano/ssc-lcc | 58efd303220cb36c09a305457fe5e5cc97e77b63 | fcd50437ca953ef0b0491672a71bee19383bc09b | refs/heads/master | 2021-01-19T20:15:53.904767 | 2014-04-26T20:15:03 | 2014-04-26T20:15:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,208 | sce | stabplot.sce | function l=lma(F,x,y)
h=sqrt(x^2+y^2);
A=[0,1;-1,2*x/h];
l=max(abs(spec(eval(F))));
endfunction
//F='1/2 * ((eye(A) + h * A) + inv(eye(A) - h * A))'; //mixto
//F='(eye(A) + h/2 * A) * inv(eye(A) - h/2 * A)'; //ciclico
F='(eye(A) + 0.4*h * A) * inv(eye(A) - (1-0.4)*h * A)'; //ciclico-0.4
//F='(eye(A) + h * A... |
2a899b19e616eb564e5bc7764f576071222fdb08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH9/EX9.14/9Ex14.sce | 850f9c2f1eccc3d07e5327747e09d12a34b13345 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9Ex14.sce | //chapter 9 Ex 14
clc;
clear;
close;
a=nthroot(6,4); b=sqrt(2); c=nthroot(4,3);
v=[a b c];
v=gsort(v,'lc','i');
mprintf("Largest number is %.3f",v(3));
|
7d7122fbac739aa80787da3cd456d3e838b63cf6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH8/EX8.12/Ex8_12.sce | 4de2df20c88257420f79caffd60c6a1bb6028b92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | Ex8_12.sce | clc
//initialization of new variables
clear
m=90 //kg
D=6 //m
g=9.8 //m/s^2
r=1.2 //kg/m^3
Cd=1.2
//calculations
R=D/2
S=%pi*R^2
U=sqrt(2*m*g/(Cd*r*S))
//results
printf('U = %.2f m/s',U)
|
d23425f66bcd1fb506f61e878496bedc9c1f2ddf | 127061b879bebda7ce03f6910c80d0702ad1a713 | /Property/PIL_Z2_cal.sci | fbe34b81f48eb6d0f424afd52e87f6916ebcf09a | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 10,918 | sci | PIL_Z2_cal.sci | // **** Purpose ****
// This code calculates the Z2 invariant of a 2D plane of a 3D object
// For 2D object, just input appropriate parameters.
// This code can calculate both Z2 or Floquet Z2
// **** Variables ****
// [lat],[hop],[scc],[flq]: structues
// <= the output of lat, hop, scc, flq in PiLab
// if Z2, let ... |
f994bf7c0e80e4e10a175e90d4909d37d6b361ab | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2lp/test_6.sce | 5afd7e72091e27b0abf8ef15af481ff657472248 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | test_6.sce | // Test # 6 : Input Argument #1 range test
exec('./allpasslp2lp.sci',-1);
[n,d]=allpasslp2lp(1.1,0.9);
//!--error 10000
//Wo must lie between 0 and 1
//at line 39 of function allpasslp2lp called by :
//[n,d]=allpasslp2lp(1.1,0.9)
|
4274b4ebb63cec8388962f2a12cabba176283312 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_D._C._Kulshreshtha_2885.zip/Electronic_Devices_And_Circuits_D._C._Kulshreshtha_2885/CH14/EX14.4/ex14_4.sce | 1c2c97271dc85798e0d74cabb916732e0bd11827 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | ex14_4.sce | errcatch(-1,"stop");mode(2);//Design an adder circuit using an op amp
;
;
//soltion
//given
//Vo=-(V1+10*V2+100*V3)
Rf=100*10^3;//ohm
C1=1; //coefficient of V1
C2=10; //coefficient of V2
C3=100; //coefficient of V3
R1=Rf/C1;
R2=Rf/C2;
R3=Rf/C3;
printf("R1 = %.0f kΩ\n",R1/1000);
p... |
98b958ab5d8fa3a504ac53e12d0163ad13fe8c8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH1/EX1.1/Ex1_1.sce | 5f2292d9c636da938e797acd48020aa5628a5663 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | Ex1_1.sce | //exa 1.1
clc;clear;close;
format('v',6);
B=100;//W(8Bulb)
F=60;//W(2Fan)
L=100;//W(2Light)
LoadConnected=8*B+2*F+2*L;//W
disp(LoadConnected,"(a) Connected Load (W)")
//12 midnight to 5am
demand1=1*F;//W
//5am to 7am
demand2=2*F+1*L;//W
//7am to 9am
demand3=0;//W
//9am to 6pm
demand4=2*F;//W
//6pm to mi... |
c7fd4881c95aa2c0646671c3839c0a3a5b8388ee | 01cb1a69cecc62fe454a362b2a3cbdcac9e5985e | /fem.sci | aaa9fc710b4350c3232102ef4b884d6f24b02522 | [
"MIT"
] | permissive | Hermann-web/Finite-Element-Method-Implementation-with-scilab | aeca8d242fcb7e38dd801b786955b47cc98a98f7 | 340fb244cc67cb688f892586ac1da5d5d1085f52 | refs/heads/main | 2023-08-18T06:35:19.939408 | 2021-10-04T23:41:57 | 2021-10-04T23:41:57 | 413,571,151 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,661 | sci | fem.sci | // Equipe
// AGOSSOU Hermann G1B
// AMANI Jean-Yves G1B
//définition du second membre
function y = f(x)
y = cos(x)
endfunction
// introduction du vecteur X
x = [0:0.1:1]
//tracé du second membre
//plot2d(x,f(x))
// définition de la solution t... |
1a1a01af7e461684e952f04d0bc1af4123bc01b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH9/EX9.3/Example9_3.sce | 173c8f9031e6d815b4cb781a607a52922daa2964 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 561 | sce | Example9_3.sce | //clear//
//Caption: Program to calculate the total torque acting on a planar rectangular current loop
//Example9.3
//page 271
clc;
ax = sym('ax');
ay = sym('ay');
az = sym('az');
x = 1;//length in metre
y = 2; //wide in metre
S = [0,0,x*y]; //area of current loop in square metre
I = 4e-03; //current in Amps... |
ad5fc7ba5230ab0c92a85482fb67669c9b7dec10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH2/EX2.16/example2_16.sce | f4e4db32142465e37d583849c8b4d652518ab121 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | example2_16.sce | clc
// Given that
lambda = 5.89e-7 // wavelength of light in meter
b = 1.2e-6 // slit-width in meter
// Sample Problem 16 on page no. 2.44
printf("\n # PROBLEM 16 # \n")
m = 1 // for first minima
theta = asin((m * lambda) / b) // calculation for half angular width of the central bright maxima in radian
theta_ = theta ... |
67a70d4e9855ef4a97039f9d2c1a0021fd4011e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH5/EX5.8/5_8exam.sce | 68f6355c5057e65a1baf960ad36da351e242700e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 836 | sce | 5_8exam.sce | //Engineering and Chemical Thermodynamics
//Example 5.8
//Page no :241
clear ; clc ;
//Given
T_c = 126.2 ; //[K] , From appendix A.1
P_c = 33.8 * 10^5 ; //[N/m^2] , From appendix A.1
w = 0.039 ;// From appendix A.1
enth_dep_1 = -2.81 ; // From table C.1 Appendix C
A = 3.28 ;// From Appendix A.2
B = 0.593 *... |
a60461a6b92c6822b57c619ae5a37c14fb534c64 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/1.1/macros/robust/dtsi.sci | a3c4793524ba35ecc9eb104fe2ec11ddda29d682 | [
"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,516 | sci | dtsi.sci | function [ga,gs,gi]=dtsi(g,tol)
//[ga,gs,gi]=dtsi(g,[tol]) stable-antistable decomposition of g:
// g = ga + gs + gi (gi = g(oo))
// g can be given in state-space form or in transfer form.
// (see syslin)
// - ga antistable and strictly proper.
// - gs stable and strictly proprer.
// - gi = g(oo)
// tol ... |
4563a5c6e277ecbc435c79e3dbe636f004f2a9e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH9/EX9.1/ex9_1.sce | 6dbb77559cbf99bc4af7030809f8e5232b375d3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 813 | sce | ex9_1.sce | clear;
//clc();
// Example 9.1
// Page: 219
printf("Example-9.1 Page no.-219\n\n");
//***Data***//
x_isopropanol = 0.4720;
x_water = 0.5280;
// From the table A.7 (page 427) reported in the book the Van Laar coefficients for isopropanol-water system at 1atm are given by
A = 1.0728;
B = 0.4750;
// Van La... |
3c843c88655bd473d049b178bb619e3eff7207b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH10/EX10.29/10_29.sce | 9e384a02b8f55bed6a98d41df19cca8497e780e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 692 | sce | 10_29.sce | //To find maximum intensity of pressure
clc
//Given:
n1=3, n2=2, mu=0.3
d1=240, r1=d1/2, d2=120, r2=d2/2 //mm
P=25*1000 //W
N=1575 //rpm
//Solution:
//Calculating the angular speed of the shaft
omega=2*%pi*N/60 //rad/s
//Calculating the torque transmitted
T=P/omega //N-m
//Calculating the number of pairs of... |
4c6c70e6986d7ddf772bb229a160eb6b607ab141 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH14/EX14.1/Example_14_1.sce | a3bc589aec5458eff74df61b50a8779802ed8bb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 607 | sce | Example_14_1.sce | //clear//
clear;
clc;
//Example 14.1
//Given
d = 150; //[mm]
T1 = 300+272; //[K]
T3 = 25+273; //[K]
eps1 = 0.56;
eps2 = 1.0;
eps3 = eps1;
sigma = 5.672
//(a)
//Using Eq.(14.38)
//q12 = sigma*A1*F12*(T1^4-T2^4)
//q23 = sigma*A2*F23*(T2^4-T3^4)
//At equilibrium, q12=q23
//From Eq.(14.39)
F12 = 1/(1... |
435f2620d36c5d33a0c458e6dac8cf577cc6b089 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH7/EX7.10/ex7_10.sce | 837318a2cac8a61513e79172b9828b1779f82a2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | ex7_10.sce | // Example 7.10, Page No-352
clear
clc
f1=1070
RA=50000
C=0.01*10^-6
Rc=76//Standard Value
t=1.45/(f1*C)
RB=(t-RA)/2
printf('Assuming RA= 50 kohm and C= 0.01 uF')
RB=RB/1000
printf('\nHence, RB= %.2f kohm', RB)
printf('\nRc= %d ohm (Standard Value)', Rc)
|
56b8642570d7d2833e66d1e92136a5b7e1512b38 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/scicos_blocks/EVTDLY_f.sci | b909a75b669d3543c2a38d54ea6c101027dd8637 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,374 | sci | EVTDLY_f.sci | function [x,y,typ]=EVTDLY_f(job,arg1,arg2)
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;
graphics=arg1(2... |
5677e267c08d4c8c13321ac7811c8319cde08849 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH22/EX22.1/22_1.sce | d79e8961533a4a188db00fdfbb9cd33b1de68a67 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | 22_1.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 22.1
//calculation of the luminous flux
//given data
lambda=600//wavelength(in nm) given
P=10//wattage(in W) of source
rellum=.6//relative luminosity
//calculation
//1 W source of 555 nm = 685 lumen
lumflux=P*68... |
258e9f2f3bfb00bb3a8b9ad411a5039d9654c12c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH10/EX10.14/Example10_14.sce | 493294d3c4ea70d7819b8cfcbed67ee11f12dc18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | Example10_14.sce | //Exa 10.14
clc;
clear;
close;
//Given data :
S1=25;//m
S2=75;//m
Point_P=45;//m
L1=250;//m
L2=125;//m(mid point)
w=0.7;//kg/m
h1=S2-S1;//m(for points A & B)
h2=Point_P-S1;//m(for points A & B)
//h1=w*L1/2/T*[L1-2*x]
//h2=w*L2/2/T*[L2-2*x]
x=(L1-h1/h2/L1*L2*L2)/(-h1/h2/L1*L2*2+2);//m
T=(L1-2*x)/(h1/w/L1... |
281bd47dabcab39b130e5d078993c3c8a3e2a2f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.31/ex2_31.sce | 54f877b9f2f6ee0dd455bfa89432d35cfd8f95ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | ex2_31.sce | clc
V=200+%i*0; //Assigning values to parameters
R1=10;
R2=20;
R=R1+R2;
L1=0.05;
L2=0.1;
f=50;
Xl1=2*%pi*f*L1;
Xl2=2*%pi*f*L2;
Xl=Xl1+Xl2;
C=50*10^-6;
Xc=1/(2*%pi*f*C);
X=Xc-Xl;
Z=R-%i*X;
[Ro,theta]=polar(Z);
I=V/Z;
Z1=R1+%i*Xl1;
Z2=R2-%i*(Xc-Xl2)
[Ro1,Theta1]=polar(Z1);
[Ro2,Theta2]=pol... |
3287892dc27b211735eb882a099381e157a517df | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH13/EX13.2/Ex13_2.sce | 8beede8e42eac087c5be873d8f1f6ed48419b401 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | Ex13_2.sce | clear;
clc;
//Example 13.2
Iref=0.72;
Ic17=0.75*Iref;
printf('\ncollector currents in Q17=%.2f mA\n',Ic17)
b=200;
Ib17=Ic17/b;
Ie17=Ic17;
R8=0.100;
Vbe17=0.6;
R9=50;
Ic16=Ib17+(Ie17*R8+Vbe17)/R9;
Ic16=Ic16*1000;
printf('\ncollector current in Q16=%.2f microA\n',Ic16)
|
197ab425c9f89e5d345b1d2c61bbb7b90d543cb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH2/EX2.2/2_2.sce | 9a1d752663a3bb7320e746eac7fb96bcfe1c953c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,326 | sce | 2_2.sce | //acids and bases//
//example 2.2//
//(a)//
N=0.002;//normality of acetic acid solution//
a=2.3;//percentage of ionization//
H=N*a/100;//concentration of H+ ion//
printf('the concentration of H+ ions is %fg.ion/lit',H);
pH=-log10(H);
printf('\n pH value of acid solution is %f',pH);
//(b)(i)//
N1=0.01;//normal... |
21cf80d339f6e23c8e1aed20e1f30eb76f916a5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH9/EX9.10/Ex9_10.sce | 4b44e4f39cb6dafb9cda7a9cf4a4038e4de7a95e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_10.sce | clear all; clc;
disp("Scilab Code Ex 9.10 : ")
//Given:
sigma_x = -20; //MPa
sigma_y = 90; //MPa
tou_xy = 60; //MPa
//Construction of the circle:
sigma_avg = (sigma_x+sigma_y)/2;
R = sqrt(((sigma_x-sigma_avg))^2 + (tou_xy)^2);
//Maximum In plane Shear Stress:
tou_max = R;
theta_s1 = atan(-(sigma_x ... |
681c0166bb5063a623d9d113340b1ad532700bac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH7/EX7.18/Exa7_18.sce | 5dbd30fbc696fe481fe5c2a6868e52003da14f92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa7_18.sce | //Exa 7.18
clc;
clear;
close;
//Given data :
format('v',7);
VB=400;//in volt
ZAC=0.04+%i*0.08;//in ohm
ZCB=0.08+%i*0.12;//in ohm
I1=60*(0.8-%i*0.6);
I2=120*(0.8-%i*0.6);
VCB=I2*ZCB;//in Volt
VAC=(I1+I2)*ZAC;//in volt
VC=VB+I2*ZCB;//in Volt
disp(VC,"Voltage at C(in Volt) :");
VA=VC+(I1+I2)*ZAC;//in volt
... |
4b01e73112d0c88a3fe2b482ad93e69d3c70a6c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH2/EX2.16/exa2_16.sce | fe0ccee1b9b44530ad6fc9c420ea0e57db8eaf7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | exa2_16.sce | // Example 2.16
// Thevenin Network via Source Conversions
// After Applying all Source conversion,Series & Parallel Reductions
v_oc=-6;// Open Circuit Voltage , from figure 2.35(b)
R_t=10;// Thevenin Resistance
R_l=2; // Load Resistance
i=6/(10+2); // Ohm's Law
disp(v_oc,"Open Circuit Voltage of Thevenin Networ... |
051ebf42c1fe1a7384d93c8d5eaea31c4b9b431d | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH6/EX6.2/ex2.sce | d94f71fe9c332f947433d2bafb9e3cc435b2b2f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | ex2.sce | //ques2
//Fuel Consumption Rate of a Car
clear
clc
W=65;//power of car engine in hp
n=0.24;//efficiency of car engine
Qh=W/n*2545;//heat of reservoir in Btu/h
r=19000;//output power required in Btu/lbm
m=Qh/r;//rate of burning of fuel required , in lbm/hour
printf('To supply energy at this rate, the engine mus... |
ba2a8165acc6fec908d889b5c8ec482a1a8c873b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH6/EX6.7/Ex6_7.sce | 051b6766b5451c838c6007ec3d70364e3bbbae46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | Ex6_7.sce | clc;
//page no 195
//prob no. 6.7
//All frequencies in kHz
//refer Ex 6.4
fi=250; //input freq
LSB=[fi-1 fi-3 fi-5]; //from Ex 6.7
//
fc=250.1; //carrier freq
f0sum=fc+LSB;
f0diff=fc-LSB;
disp(f0sum,f0diff,'(a) The output frequencies (in kHz) are ');
disp(f0diff,'(b) At low pass filter,the frequencies ... |
7bf67f6c353b9e77f111365609ea919a87c1b0a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH1/EX1.1/Ex1_1.sce | c69f8ad2640b43fcef9906bfdc31b2b197fc202e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | Ex1_1.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 1-Properties of Fluid
// Problem 1.1
W=7
V=1/1000
g=9.81
d_water=1000
w=W/V
mprintf("The Specific weight of the liquid is %f \n",w)
d=w/g
mprintf("The density of the liquid is %f \n",d)
SG=d/d_water
mprintf("The Specific Grav... |
58be46647f2b7677baa9acf9f00752942b4db48e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH10/EX10.2/10_02.sce | 99149f9af0cfccfd52241fb84d1729df09c5872e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | 10_02.sce | //Chapter 10, Problem 2, figure 10.6
clc;
I=0.008; //total circuit current
ra=10; //resistance of instrument
V=100; //total p.d
Va=I*ra; //calculating voltage across moving coil instrument
Rm=(V-(I*ra))/I; //calculating... |
e57aaa3dc85e34e277cdbea03dc9e99614d18c11 | 1485852dd59aafc286600126cf832a32e10f117f | /tests/textureFlattening/test2.sce | 16eff9bc856da28647a0aae50e3c40f75d9a7a99 | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 209 | sce | test2.sce | // changing the intensity
src = imread("../images/color2.jpeg");
[rows cols] = size(src);
mask = zeros(rows,cols);
mask(1:rows,1:cols/2) = 255;
output = textureFlattening(src,mask,70,150, 3 );
imshow(output);
|
98ac882eadee78edf1ffb8d284e30da82cb75cc4 | 25033eda4e7cd13f945f94c5dc35f15825066b42 | /ExactCure/Uzawa/internet/uzawainternet.sce | 51d512e2da7c94ddacde02f472d1ea58bc2cb877 | [] | no_license | julienguegan/Internships | a26cb9efa2f1715832511a7aa94d25bfc675388b | ad51d5845ed8fd41e29259c95e8beff80bac65cf | refs/heads/master | 2020-12-20T21:54:29.099157 | 2020-01-25T19:20:10 | 2020-01-25T19:20:10 | 236,217,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,102 | sce | uzawainternet.sce | clear
function [x,i,resi]=U1(A,b,C,f,eta,Imax,rho)
x=zeros(b);
r=A*x-b;
nr=norm(r);
i=0;
err=eta;
resi=[];
lambda=zeros(n,1);
while (i<Imax & norm(C*x-f)>eta)
xold=x;
i=i+1;
x=inv(A)*(b-C'*lambda);
lambda = lambda+rho*(C*x-f);
r=A*x-b;
r... |
2ad3bf0406d6954c24f73325fe3b210ce9fa8f45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH2/EX2.2.60/Ch2_2_60.sce | b42c89f07729defe3f5a3a24432a807f28b05c72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sce | Ch2_2_60.sce | clc
disp("Example 2.60")
printf("\n")
disp("Design a zener voltage regulator to meet following specification")
printf("Given\n")
printf("1 Resistance are in ohms \n 2 Current are in ampere \n 3 voltage sources are in volt\n")
//DC input voltage(10V[+-]20%)
Vimin=10-2
Vimax=10+2
//DC output voltage
Vo=5
//Loa... |
45d3263dd01dc65f0d092e52d7b43d91c9435981 | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /russiancodecup.ru/2011/qualification/C/test-07.tst | be8f4fe41a8eed52c47dfbad633c1739476b918e | [] | 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 | 47 | tst | test-07.tst | 1
6 100
aaxx
xxaa
~~~~~~~~~~~~~~~~~~~~~~~~~~
1
|
90792903224d791ef4c2eec679f405768a975f85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH9/EX9.12/Chapter9_Example12.sce | b909a088bae7dadc7fc60abf96b7845548530517 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sce | Chapter9_Example12.sce | clc
clear
//INPUT
t1=340;//temperature of the atmosphere in K
t2=612;//temperature of the compression stroke in K
y=1.39;//adiabatic expansion
t3=2040;//temperature after constant volume ignition in K
//CALCULATIONS
d=(t2/t1)^(1/(y-1));//density in gm/cc
n=1-(1/d)^(y-1);//efficiency of the engine
p=((d)^... |
7a1f04ab9d2f56649268942f24bbde437c121ba8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH6/EX6.2/ch6_2.sce | 28135818c3a6e9c13f52c5a6a9741583311716d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ch6_2.sce | clc;
clear;
printf("\t\t\tChapter6_example2\n\n\n");
// determination of average convection coefficient
T_avg=(140+70)/2;
printf("\nThe average bulk temperature is %d degree celsius",T_avg);
// properties of water at average bulk temperature from appendix table C11
rou=.994*62.4;
kf=.363;
cp=.9980;
a=5.86e-3;
v=0.708e-... |
c42aa4ba15d169014affa4fe3a7e649f54c98c97 | 6fc3947c7a1a92206203301d25c1076b9f3414ff | /data/word_level/ptb.tst | 7ec7233f764bc24680b52d9afd95057efdaebdd6 | [] | no_license | zodiacR/Sentence_Completion | 227677788e6dbfc1b4127c0515f4172c9f443b2e | 544390e2449765c7a9792a8ab141f71dc6645d12 | refs/heads/master | 2021-01-01T17:32:02.686223 | 2015-11-03T05:32:41 | 2015-11-03T05:32:41 | 42,034,493 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 489,027 | tst | ptb.tst | <s> Government officials here and in other countries laid plans through the weekend to head off a Monday market UNK -- but went out of their way to keep their moves quiet . </s>
<s> Federal Reserve Chairman Alan Greenspan was on the UNK , making it clear to officials in the U.S. and abroad that the Fed was prepared to ... |
d49991cfc7add3103ccadba947811a3c35d41575 | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/microdaq_macros/mdaq_ao_write.sci | 570a88e68c29bfae4a99094ea580fa91b7c8fe06 | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 692 | sci | mdaq_ao_write.sci | function mdaq_ao_write(link_id, dac, channels, data)
if link_id < 0 then
disp("Wrong link ID!")
return;
end
if dac > 3 then
disp("ERROR: Unsuported DAC!");
return;
end
ch_count = max(size(channels));
if ch_count < 1 | ch_count > 8 then
disp("Wrong A... |
26042e3cb100df9e0abb7176d98fb63ba36bc92f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH3/EX3.8/Chapter3_Example8.sce | 00f40c5369a813168de140f8875130a257ec49b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,638 | sce | Chapter3_Example8.sce | clc
clear
//Input data
P=600;//Power of an engine in kW
t=25;//Temperature at which fuel is used in degree centigrade
Ta=150;//Theoretical air used in percentage
T1=400;//The temperature at which air enters in K
T2=700;//The temperature at which the products of combustion leave in K
Q=-150;//The heat loss from ... |
8d9ec66ee82933c3c90de79887520b173074cde8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH3/EX3.5/eg_3_5.sce | 2236bc652a65960a33e4717b12d4f27857ed8562 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | eg_3_5.sce | clear;
clc;
disp("T(A,B,C,D)=A^C^+ABD+BC^D+AB^D^+ABCD^");
disp("Assume A^=x , C^=y , BD=z");
disp("Now from consensus theorem for the first three terms");
disp("BC^D is the redundant term so it can be removed");
disp("T(A,B,C,D)=A^C^+ABD+AB^D^+ABCD^");
disp("T(A,B,C,D)=A^C^+ABD+AD^(B^+BC)");
disp("we know that ... |
dca01bc1263457ee6f37793b57dd73edc284bec6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH4/EX4.1/Example4_1.sce | 9329c044f00318cca4aff86b46ea574569da9049 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | Example4_1.sce | clear;
clc;
// Example: 4.1
// Page: 118
printf("Example: 4.1 - Page: 118\n\n");
// Solution
//*****Data*****//
Qp = -327;// [kcal]
T = 27 + 273;// [K]
R = 2*10^(-3);// [kcal/K mol]
//*************//
// The reaction involved is:
// C2H5OH(l) + 3O2(g) = 2CO2(g) + 3H2O(l)
deltan = 2 - 3;
Qv = Qp -... |
56c6d3b843ac9104989bc97a871194fe743aad55 | 987355b7738508e014e47fef926b89d10f69c77c | /selection.sci | e7bd10f14aff3bb3b1cb6c510950a78110d45fac | [] | no_license | RobertMut/GA_scilab | 60d3c87d1a15a683584a1161a313b05fe966eb55 | a18ea36600f758ba20e1f5c70624ccd846d30da7 | refs/heads/main | 2023-06-09T12:46:19.394412 | 2021-06-18T12:12:32 | 2021-06-18T12:12:32 | 362,424,370 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sci | selection.sci | function selectedPopulation=KillWeakest(population, userIn)
selectedPopulation(:,:) = [];
fitness = ObjectiveFunc(population, userIn);
m = mean(fitness);
for i=1:size(fitness)(1)
if (fitness(i)<m)
selectedPopulation(size(selectedPopulation)(1)+1,:) = population(i,:);
end
end
... |
ba6ea11adda57cd5299609587d0b897699af8e52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH5/EX5.33/Ex5_33.txt | c17ca8c2f6b427bcfdca8639de61d818ae5162f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | txt | Ex5_33.txt | //Ex:5.33
clc;
clear;
close;
wt=2*10^3;// transmeter power in Watt
Gt=1.64;// directivity of transmeter
Gr=1.64;// directivity of receiver
d=200*10^3;// distance in m
f=150;// frequency in MHz
y=300/f;// wavelength in m
wr=(wt*Gt*Gr)*(y/(4*%pi*d))^2;// max received power in Watt
printf("The max received powe... |
efaa9c0ec9cef6361982a45e0c73d0f52eb8c86f | 638e584c816a7bd11ec96d6be4e933243edfcb1d | /Fortran/mur-insta/run.sci | c34fe4ef9a6619ae6f4bc52a777601940acddd70 | [] | no_license | sgibout/M2S | f7c3ba5a7b37a4bb3ab0ce34e6b14ea1a4e47b6f | 7614c676373747cb609b88bccd02133da097366b | refs/heads/master | 2022-10-22T14:10:02.950774 | 2022-10-19T14:54:53 | 2022-10-19T14:54:53 | 23,542,373 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,868 | sci | run.sci | // ***********************************************************
// ** Exemple de code - Cours M2S - ENSGTI 2A - Energétique **
// ** Stéphane Gibout - 2014 **
// ** **
// ** Mur Instationnaire - Schéma de Crank-Nicholson **
// **... |
f376eb6824832ca241d30631974e9534db3d7b0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH13/EX13.5/Ex13_5.sce | d5f958e0b3347969ea4f8b595fc9c15fffffe44b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | Ex13_5.sce | clc;
close();
clear();
//page no 450
//prob no. 13.5
SNoutdB=53;
N=(SNoutdB-1.76)/6.02;
mprintf(' N=%.2f bits \n',N);
N=9; //roundup
mprintf(' N=%i bits \n',N);
|
72a8e9414ab619ba769f8a15e37f810810e8dde2 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PP3.prev.tst | d354bef7d0e1e30b6a0a8fa10d4153a4dcad858e | [
"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 | 332 | tst | PP3.prev.tst | - 10*w3v4*x^3 - 5*w3v4*y^4 - 20*z - 2*z^2 - 50
; vgcd=1; gcd=1; isZero=false; hasVariable=true; isBiased=true; mergeVariables= - 20*x_y_z - 2*x_y_z^2 - 10*x_y_z^4 - 5*x_y_z^5 - 50; relation=EQ_0
; evaluate=failure biased
/01;20 -> - 20*z
/02;2 -> - 2*z^2
/03/01;10 -> - 10*w3v4*x^3
/04/01;5 -> - 5*w3v4*y^4
;5... |
e002b76588887305512900a1be3412878d502ea3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH13/EX13.2/example_13_2.sce | ac35a177c0b3f2349426d4765487329b5985de53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | example_13_2.sce | //example 13.2
clc;
clear;
close;
//cp = input('enter the capacity of the memory system in bits :');
cp=1024; // given capacity
n= log2(cp);
printf('The no of bits in the address word are : %d\n',n);
printf('The number of required rows are : %d\n',2^(n/2));
printf('The number of required columns are : %d',2^(... |
27fc8eb0c3a0eea38cde0a030f76e2e05ce29a7a | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testexo5k.sce | ed7d3e620a3e64bf2a376da31a32b0c585dda3f5 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | sce | testexo5k.sce | u11=zeros(1,6) // first solution
u11=0*[1:6] // second solution
u11=[1:6]-[1:6] // third solution
|
041ffe2efa044b90d3f23953a16c7b5def8a527d | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH4/EX4.35/ex_4_35.sce | 0126b46d914d3c2545817eacb1b50a9e6e4e8288 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | ex_4_35.sce | //unilateral z-transform
clear;
clc;
syms n z a;
x=a^n;
X=symsum(x*z^-n,n,0,%inf)
disp(X,"ans=")
//x[n]=a^(n+1)*u[n+1]
x=a^(n+1);
X=symsum(x*z^-n,n,0,%inf)
disp(X,"ans=") |
0bed22e91ab5574975352a7ec929df4ede1836d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH1/EX1.11/ex1_11.sce | 903ee1903fa423d0692beaebe54bdd496031199f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | ex1_11.sce | // Example 1.11 page no-33
clear
clc
l=2 //cm
D=18 //cm
s=0.5 //cm
//(a)
va1=500 //volts
ds1=l*D/(2*s*va1)//Deflection Sensitivity
//(b)
va2=1000 //Volts
ds2=l*D/(2*s*va2)
//(c)
va3=1500 //Volts
ds3=l*D/(2*s*va3)
printf("\n(a)Va=%dV\nDeflection Sensitivity S_E=%.3f cm/V \n\n(b)Va=%dV\nDeflection Sens... |
e2e74e467c5f3419cecdf87c16be2e1ccd3defe5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH9/EX9.4/Example_9_4.sce | 25b04c48fe5a30b319a05a732acabaf4e14bf972 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 684 | sce | Example_9_4.sce | clc;
clear;
printf("\n Example 9.4\n");
T=295; //initial temperature of surfaces
T2f=375; //Final temperature of far surface
dT1=900; //Temperature of near face raised
//The temperature at any distance x from the near face at time t is given by equation 9.37
//Choosing the temperature scale so that the initial... |
ac68a54959befd38f483548d35d8ee38efa6f04f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/examples/link-examples/ext10f.sce | 0085a305241cafbd76dcd0724f227d1851a2dd2d | [
"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 | 214 | sce | ext10f.sce | //Copyright INRIA
files=G_make(['/tmp/ext10f.o'],'ext10f.dll');
link(files,'ext10f');
//passing a parameter to ext10f routine by a list:
param=[0.04,10000,3d+7];
y=ode([1;0;0],0,[0.4,4],list('ext10f',param))
|
3238f666132dab5eec49819b473f0db707b9565e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH9/EX9.3/chapter9_ex3.sce | 250cf1ba58555c2c7bb996cd950cce7b33e484e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | chapter9_ex3.sce | clc
clear
//input
t1=120;//primary turns of an ideal transformer
ls1=0.24;//self inductance of primary in henry
v=240;//supply voltage in volts
t2=300;//secondary turns of the ideal transformer
//calculations
d=v/ls1;//rate of change of current in A/s
v2=v*(t2/t1);//secondary voltage in volts
M=v2/d;//mut... |
4c0c1e2f9badefd2b82259110ee8ee42bfddc8dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH14/EX14.5/14_5.sce | 1690ccd972bda148152cde619d404ff0a248e4d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | 14_5.sce | ////
//Variable Declarations
h = 6.626e-34 //Planks constant, J.s
k = 1.38e-23 //Boltzman constant, J/K
c = 3.0e8 //speed of light, m/s
B = 60.589 //Spectrum for H2, 1/cm
T = 1000 //Temperture of Hydrogen, K
//Calculations
qR = k*T/(2*h*c*100*B)
qRs = 0.0
//for J in ra... |
2beed63ac5b61366d6c019ae521944d74cf28d75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH7/EX7.12/ex_7_12.sce | 84e4f326b3ae9b56cbcdf7f719b1e1dc7f7a65be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | ex_7_12.sce |
//Example 7.12 // voltage
clc;
clear;
close;
//given data :
Rh=3.55*10^-4; // hall coefficient in m^3/C
I=0.015; // current in A
A=15*10^-6; // area in m^2
B=0.48; // flux density in Wb/m^2
Jx=I/A;
Ey=Rh*B*Jx;
V=Ey*A*10^3;
disp(V,"voltage between contact,V(V) = ")
|
92021f9240abf69ccaeffa0c696d0e35d898a7b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/DEPENDENCIES/4_7.sci | b93e2ac5c5ef52947330a6d207cb8ba0b44fa212 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | sci | 4_7.sci | kprime = 0.0266; //lb.mol/atm.lb cat.h
alpha = 0.0166;
e = -0.15;
W0 = 0;
FA0=1;
|
84174c64f14edda0e3c939999d7f4645804809bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH13/EX13.5/Ex13_5.sce | 9f6b39c5e33bb0a6b523427e36552f94a2301b52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,413 | sce | Ex13_5.sce | // chapter 13
// example 13.5
// page 280
printf("operating point is (8V,1mA). During positive half cycle of \nac signal collector current swings from 1 mA to 1.5 mA \nand collector emitter voltage swings from 8 V to 7 V.\nThis is at A.During negative half cycle of \nac signal collector current swings from 1 mA to... |
c8bf0f8d287af07cda29086b4dc4416393d7d8bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH12/EX12.7.b/solution12_7.sce | 8c340cd2afd2b07f01f11a5cbeb03f731d61dd5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 883 | sce | solution12_7.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution12_7.sce')
//Obtain path of data file
datapath = path + filesep() + 'data12_7.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the distance of the pivot from the axis of the drum h (mm)
h = (4 * (D/2) * sind(theta/2))/((theta ... |
0aff773926bd4b16f809aa17ba96d65df6549447 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH5/EX5.2/2.sce | 9c573988dda2bec61d025e67008f65c8cd6ec512 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,004 | sce | 2.sce | clc;funcprot(0);
//Example 5.2
//Initializing the variables
v = 5; //Velocity of jet
rho = 1000; //density of water
d = 0.025; //Diameter of fixed nozzle
//Calculations
//--Part(a) Variation of force exerted normal to the plate with plate angle--//
header = ["Theta" " vcos(x)" " ... |
a3b28cde2081b85744340a267c41269470790d26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH1/EX1.3.1/1_3_1.sci | 1372879accf9a2e8d86a97a418579a1fd8d2d1ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sci | 1_3_1.sci | clear;
close;
clc;
a =[1 1 1;2 2 5;4 6 8]
disp('x=[u;v;w]')
disp('R2=R2-R1,R3=R3-4*R1')
a(2,:)=a(2,:)-2*a(1,:);
a(3,:)=a(3,:)-4*a(1,:);
disp(a);
disp('R2<->R3')
b=a(2,:);
a(2,:)=a(3,:);
a(3,:)=b;
disp(a);
disp('The system is now triangular and the equations can be solved by Back substitution');
//end |
e711f2a1d5de4316ae91cfefbca258200a6fffe0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH14/EX14.3/14_3.sce | a4498db8d1de6af6c87cf04fde8c6acfc5601081 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 14_3.sce | //chapter 14
//example 14.3
//page 440
clear all;
clc ;
//given
Av=50;
//gain in db
Av=20*log10(Av)
printf("\nVoltage gain=%d db",ceil(Av));
printf("\nThere are no liststed component value for given gain\nUse Av=20 db\nc1=500 pF\nc2=20 pF\nR1=1.5 kohm ");
|
027443e1af6fb3223b40436b5c9f6e84a55670ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH9/EX9.1/Example9_1.sce | d64e1cf38da9b3a07f4a17d64bc634dff720d723 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | Example9_1.sce | //chapter-9,Example9_1,pg 501
fc=1.3*10^6//centre frequency
fsignal=1*10^6//frequency of the signal
fvfo=0.3*10^6//frequency of variable frequency oscillator
per=(fvfo/fc)*100
printf("percent variation\n")
printf("per=%.3f",per) |
27ff22ff3397dbb6359ddade88220513d9f2439c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH20/EX20.2/Ex20_2.sce | ea0ce7e0f47ad46410a9c91e7cab304018524610 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | Ex20_2.sce | clc
// Given that
// Four cylinder engine
BP = 30 // Power developed by engine in kW
N = 2500 // Speed in rpm
P_m = 800 // Mean effective pressure for each cylinder in kN/m^2
n_m = 0.8 // Mechanical efficiency
r = 1.5 // Stroke to bore ratio
n_b = 0.28 // Brake thermal efficiency
c_v = 44 // Heating value of p... |
c5134bb945d0a00fa4552afd2c8948b626765bd8 | c565d26060d56f516d954d4b378b8699c31a71ef | /Vikas_self/codes/SelfTuning_Vikas/PIControllersetpointchange/piselftunedwithDS30to45.sce | 6d9050929329d92e6d7bd31f2dcc515a8882d084 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 27,000 | sce | piselftunedwithDS30to45.sce | 0.100E+00 0.000E+00 0.000E+00 0.350E+02
0.110E+01 0.312E+02 0.000E+00 0.350E+02
0.210E+01 0.314E+02 0.000E+00 0.380E+01
0.310E+01 0.314E+02 0.000E+00 0.360E+01
0.410E+01 0.315E+02 0.344E+00 0.360E+01
0.510E+01 0.314E+02 0.165E+00 0.350E+01
0.610E+01 0.311E+02 0.102E+01 0.360E+01
0.71... |
5939691ef08d21eac3984244f0898680a46bf5da | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH14/EX14.3/14_3.sce | 1a7760dc654ae0ce12ae64c96842800fab1d8d00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | 14_3.sce | clear;
clc;
//Example - 14.3
//Page number - 458
printf("Example - 14.3 and Page number - 458\n\n");
//This problem involves proving a relation in which no mathematics and no calculations are involved.
//For prove refer to this example 14.3 on page number 458 of the book.
printf(" This problem involves provi... |
bd17996cbbe5897bb9e0aec6026953ae0db4df67 | 217afc33663ba0533cf6775c45d12223f5616fc0 | /Scilab/OraclePH.sci | 58721e70aecb9f806ffd4430625ac908c0d254e9 | [] | no_license | VIsh76/Optimisation | b30fd593006cdd89f1d0510f9f9123a3fb5db1eb | 29e8ee916e53fcc5b6244de837982b8d258e531b | refs/heads/master | 2021-01-18T16:02:22.233606 | 2017-05-11T14:33:43 | 2017-05-11T14:33:43 | 84,542,502 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sci | OraclePH.sci | function [F,G,H,ind]=OraclePH(qc,ind)
F=0;
G=0;
H=0;
q = B*qc+q0;
if ind==2 then
[F,G]=OraclePG(qc,2);
elseif ind==3 then
[F,G]=OraclePG(qc,3);
elseif ind==4 then
[F,G]=OraclePG(qc,4);
elseif ind==5 then
H=2*B'*diag(r.*abs(q))*B;
elseif ind==6 then
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.