blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
52b799fa9c42d756d9bc4827b020991886d74e2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH4/EX4.5/Ex4_5.sce | a038eb174352e7a486e3f3a11c50085e23767823 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | Ex4_5.sce | //pagenumber 205 example 5
clear
//given
reveri=2*10^-6;//ampere at 25
icb=2*10^-6*2^5;//ampere at 75
basevoltag=5;//volt
//(1)
rb=(-0.1+basevoltag)/(icb);
disp("max resistance = "+string((rb))+"ohm");//correction in the book
//(2)
basevoltag=1;
rb=100*10^3;
reveri=(-0.1+basevoltag)/rb;
q=reveri/(2*10^... |
28da2fb3623c211a8210171ea3b112815f678ac7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH12/EX6.12.7/Ex6_12_7.sce | 7a6edbc4eec675c49fa64ab3779b9dd2c608bb80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | Ex6_12_7.sce | //Section-6,Example-1,Page no.-P.38
//To find the partial vapour pressure of benzene in the solution.
clc;
n_B=1000/78
n_n=1.5
p_Bbar=94.6
x_B=n_B/(n_B+n_n)
p_B=x_B*p_Bbar
disp(p_B,'Partial vapour pressure of benzene(Torr)')
|
3e4849c6f1af2801351ca3a9644baf94d78ea01b | 449d555969bfd7befe906877abab098c6e63a0e8 | /374/CH3/EX3.0/3.sci | 15d08d74205c4fe4039941605bb22b462eb8dcec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sci | 3.sci | //chapter 3 example//
clc
clear
//spectrum width=W,laser source emits ligth at=D,bandwidth distance product=fZ,speed of light=C//
W=0.003//in micro meters//
D=0.85//in micro meters//
x=W/D;
Ym=0.021//obtained from graph//
C=3*(10^8);//in mts per second//
fZ=C/(4*x*Ym)*(10^-12);
printf("\n bandwidth distance p... |
69eb40253d5cc153b072a3575f954f86d904429b | 0cc5aa4c7d14f462fba5c4ecac4d6882970f89ec | /poly2lsf.sci | 403328575191a88c008db4d1c204d4fb15be053d | [] | no_license | DarshanRamakant/SignalProcessingToolbox | b8b650e314d0a681c3b603794910b51a292b0e88 | f709dc145b5b8eba98eee52e18b0230f9f4c3a8b | refs/heads/master | 2016-08-13T01:07:12.918570 | 2016-01-12T18:51:48 | 2016-01-12T18:51:48 | 49,521,356 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,185 | sci | poly2lsf.sci |
function lsf = poly2lsf(a)
// lsf = poly2lsf(a) returns a vector, lsf, of line spectral frequencies from a vector, a, of prediction filter coefficients.
// please load the deconv.sci with this function
a = a(:);
if ~isreal(a),
error('Line spectral frequencies are not defined for complex polynomials.');
end
/... |
4e70d0f6e31988165dbfabfd9fb096e0bb3e439c | 727092dff86e9d034d021bbc56565d9336b988aa | /Códigos CN/RK4_EDO.sci | a796ca1eb037a4e5dc628952da1cdb817146a6c4 | [] | no_license | lucasdksan/Numerical-computing | c54b855bd50f2a06b1970086f2da63c28883f287 | a5a5863499bdf46003437140e3fa3123fc4960f8 | refs/heads/master | 2023-06-24T16:13:01.094230 | 2021-07-29T15:57:00 | 2021-07-29T15:57:00 | 278,514,165 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sci | RK4_EDO.sci | function [x,y] = RK4(a,b,h,y0)
x = a:h:b;
n = length(x);
y(1) = y0;
for i = 2:n
k1 = df(x(i-1),y(i-1));
k2 = df(x(i-1) + h/2, y(i-1) + h/2*k1);
k3 = df(x(i-1) + h/2, y(i-1) + h/2*k2);
k4 = df(x(i),y(i-1) + h*k3);
y(i) = y(i-1) + h/6*(k1 + 2*k2 + 2*k3 + k4... |
78bc229844fc95d0d6ef8b4ae3cd5ed6c4979d94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH1/EX1.34/Ex1_34.sce | 24ff6bf2d7df213dd68d6fc7b5c47c19e7326fed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sce | Ex1_34.sce | //Example 1_34
clc();
clear;
//To calculate the refractive index of the liquid
D1=1.40 //units in centimeters
D1=1.40*10^-2 //units in meters
D2=1.27 //units in centimeters
D2=1.27*10^-2 //units in meters
u=(D1/D2)^2
printf... |
860a896306001bf53f5f6ef6ec77c54da22cb125 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH3/EX3.6/ex3_6.sci | 22a792fc9b91eff255e1a46fa20b5a43b8c94fb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | ex3_6.sci | //Example6, Chapter 3
clc;
f=50
Irms=20
//(i)
Im=Irms*sqrt(2)
i=10*sqrt(2)
ans=asin(i/Im)
ans=ans*180/%pi
t= ans/(2*180*f)
printf("\n t=%.0f ms \n",t*10^3)
//(ii)
t=(1/(4*f))+t
printf("\n t=%.2f ms \n",t)
|
c0d5fc0bc3bc2a333c62740ce0bdc5b81123e2e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH18/EX18.21/ex18_21.sce | 2ac0ccd8ac3554d250caa7674caee67daac936b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | ex18_21.sce | clc;
clear all;
Rh=3.66e-4;//hall coefficient of specimen
rho=8.93e-3;//resistivity of specimen
e=1.6e-19;//charge of electron
nh=1/(Rh*e);//carrier concentration
disp('m^-3',nh,'carrier concentration is');
u=Rh/rho;//mobility of specimen
disp('m^2/(V*s)',u,'mobility of specimen')
|
0e3958d2a2092dc287244208a2e4112b6b4d67be | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testuimenu.sce | a860b99f3ea4b2aaefdb2df3304ed5413f7bc99e | [] | 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 | 934 | sce | testuimenu.sce | hfig = figure(...
'Tag', 'mafigure', ...
'BackgroundColor', name2rgb("lightblue")/255, ...
'Figure_name', 'My Figure', ...
'Position', [20 20 300 200]);
hobj = uicontrol(hfig, ...
'Style', 'text', ...
'Tag', 'val', ...
'String', 'adding menus', ...
'HorizontalAlignment', 'left', ...
'FontAngle', 'i... |
f85275bff9a5b7ec691b098c06bafb19692078a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH10/EX10.6/10_6.sce | e74318c1ed83baee6090a04bd0edf9eefb0f57c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10_6.sce | //To find force required
clc
//Given:
dc=22.5,p=5,D=50,R=D/2,l=500 //mm
mu=0.1,mu1=0.16
W=10*1000 //N
//Solution:
//Calculating the mean diameter of the screw
d=dc+p/2 //mm
//Calculating the helix angle
alpha=p/(%pi*d) //radians
//Calculating the force required at the circumference of the screw
phi=atan(mu)... |
a526c48ac6eceab584fe136c9c23f24b1c9d7493 | d8b00ba08203d369b2c5f550547a8bec3b784a8f | /gausskij3b.sci | 36d5d006df1b9c7169dc194556a3dc570f6d2a54 | [] | no_license | braisalemaghiles/TP-Calcul-Numerique | 8f75a0af2b82fb8e4b586d19320da406128e7611 | 260fed32749d444756d6cd32f873d5238d95851f | refs/heads/main | 2023-01-31T13:19:03.073956 | 2020-12-17T13:22:58 | 2020-12-17T13:22:58 | 314,294,362 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sci | gausskij3b.sci | function X = gausskij3b(A,B)
mik=0
n=size(A,1)
m=size(B,2)
zeros(size(B,1),size(B,2))
for k = 1 : n-1
for i = k+1 : n
mik=A(i,k)/A(k,k)
B(i)=B(i)- mik * B(k)
for j = k+1 : n
A(i,j) = A(i,j) - mik * A(k,j)
end
end
end
X(n) = B(n)/A(n,n)
for i=n-1:-1:1
... |
ac25210ee2e68d937bf94328f31d9ce7752a9c42 | ecc85b638a25eb662d72bad3fe73008e125271a3 | /output/part-00002 | 62be1e6bafe30eb632c3793170ebeaa227a28da4 | [] | no_license | szdforward/learningSpark | 87b8c6cf690f0c2b57a2e21043a037264c3e38fb | 9c2f76bbd592022903dde5963d0dec87a209bfcd | refs/heads/master | 2023-02-24T11:12:42.114175 | 2021-01-31T14:51:19 | 2021-01-31T14:51:19 | 266,796,112 | 0 | 0 | null | 2020-05-25T14:10:58 | 2020-05-25T14:10:57 | null | UTF-8 | Scilab | false | false | 23 | part-00002 | 9
10
11
12
13
14
15
16
| |
5f7fc11b5ed1260a8a404e488e7c2ea36a14b31f | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH2/EX2.6/6.sce | e71b5b06eb979eb5be6b5d9c8069b59c237777d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sce | 6.sce | clc
h0=.761; //m
h=.55; //m
g=9.79; //m/s^2
rho=13640; //kg/m^3
P=rho*g*(h0+h); //N/m^2
disp("Gas pressure=")
disp(P/10^5)
disp("bar") |
c15e71309dd7bea431bec72c1843d6ca81d6178b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH12/EX12.1/Ex12_1.sce | 884b496d149803759f83ed18e4bfa78d59601947 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_1.sce | //Calculation of quantity of fuel injected
clc,clear
//Given:
n=6 //Number of cylinders
bsfc=245 //Brake specific fuel consumption in gm/kWh
bp=89 //Brake power in kW
N=2500 //Engine speed in rpm
s=0.84 //Specific gravity of the fuel
//Solution:
m_f=bsfc*bp/(1000) //Fuel consumption in kg/hr
m_f=m_f/n //Fuel consumptio... |
b1b7d6fd06fb86c79bcbf16db1dce108a5e45336 | 64647656adb5d4ff3cbb1147f2009fd55a598d27 | /macros/MB_INIT_TCP.sci | 9c466701ad3fdeb1d8e25a0db82fe3aa24244ad9 | [] | no_license | esc0rpi0n/modbus-blocks | 353ae5e5df9da7a6afc9bd5d264670b1e132e655 | 44664b3424e9b7b98fab0216676977fb7ad29544 | refs/heads/master | 2020-04-02T05:15:19.835714 | 2017-06-14T08:18:01 | 2017-06-14T08:18:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,942 | sci | MB_INIT_TCP.sci | function [x,y,typ]=MB_INIT_TCP(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)
ca... |
ab02d9de5da24cc449f49a1386a9af038d85ed24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH9/EX9.4/Exa9_4.sce | 23f3826405e4ffbe1966c080b8aabb61dd2d9857 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | Exa9_4.sce | //Exa 9.4
clc;
clear;
close;
//given data :
HT=100;//in meter
d=60;//in Km
//Formula : d=4.12*(sqrt(HT)+sqrt(HR));//in Km
HR=(d/4.12-sqrt(HT))^2;//in meter
disp(HR,"Height of receiving antenna in meter : "); |
2db833ca9eec8f51ee06ecf7eb16bdb549c94ac4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH2/EX2.3/Ex2_3.sce | 29afd54e4e1ea7d9894ba96d4526ebbb2385c9fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 671 | sce | Ex2_3.sce |
//Optoelectronics and Fiber Optics Communication by C.R. Sarkar and D.C. Sarkar
//Example 2.3
//OS = Windows 7
//Scilab version 5.5.2
clc;
clear;
//given
n1=1.6;//core and cladding refractive index of first fiber
n2=1.44;//core and cladding refractive index of second fiber
lamda=0.8;//wavelength of the el... |
62fab57b1b462f455db96fb62cfc3dbdee5d345e | 76a83cfb88a40c41e30531ec7d9661b0136d503c | /Faceviewing.sce | 73f4613caee71903d4173a294e7291bb6cc3a3a1 | [] | no_license | UtrechtUniversity/youth-tasks-fmri-faceviewing | 30378b8d1b971b3b42b13ef20bf334e0e73dc89a | 8726631e0fdc88625a47a0fae67967942e03c4ee | refs/heads/main | 2023-08-16T18:30:43.413459 | 2021-08-19T09:55:54 | 2021-08-19T09:55:54 | 405,977,171 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,964 | sce | Faceviewing.sce | # 2017 - ppas
scenario= "faceviewing";
scenario_type= trials;
active_buttons= 2;
button_codes= 1,2;
default_all_responses = false;
default_background_color = 108, 108, 108;
default_text_color= 255,255,255;
default_font="arial";
default_font_size=18;
response_port_output=false; ... |
4efdf8c3b6f46aa7a66c5e5b2b381eb6c23b1049 | 05ac16985ed247964c257764b2c14776a4cd6771 | /make-tests/make05.tst | 53eb66c42e7d4018df060a80905ee4fd3e606420 | [] | no_license | felixitous/Graphs | e7887a194429cdbf073c6e41d0d1b9969e2e8ec7 | 395364c7bac49812d28a72dc8862e41ab39651ca | refs/heads/master | 2021-01-22T10:01:56.943976 | 2014-01-15T22:45:23 | 2014-01-15T22:45:23 | 15,950,368 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 62 | tst | make05.tst | java make.Main -f make-tests/make05.mk -D make-tests/file05 C
|
cd894bb2362eb27562231f00b34a7854883e0c35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH9/EX9.5/Ex9_5.sce | 4d54542cdb0acff90fd21289e41e8cae3e0b1cc4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 751 | sce | Ex9_5.sce | clc
clear
printf("Example 9.5 | Page number 258 \n\n");
//Part(a) Calculate increase in specific enthalpy
//Part(b) Calculate change in enthalpy
//Given data
p1 = 1 //bar //initial pressure
T1 = 27+273 //K //initial temperature
p2 = 10 //bar //final pressure
T2 = 327+273 //K //final temperature
//Solution
... |
f251930aad5850724ec7b0d033d0cadcfb86a349 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3640/CH3/EX3.12/Ex3_12.sce | 32b51b5e39577e8142cf2e163dfc5dca40c59b2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,587 | sce | Ex3_12.sce | clc
//the code uses a userdefined function complexstring
function s=complexstring(a)
if imag(a)>=0 then
s=sprintf('%g+%gi',real(a),imag(a))
else
s=sprintf('%g%gi',real(a),imag(a))
end
funcprot(0)
endfunction
kVAL=100 //kva required for supply
kVAM=20 //kV... |
ffca978713cf7d33df5735eb17028f28d511bc83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.33/example1_33.sce | 5c4e6838f89e1d3a0b2ef5e516fae2aedd62ca4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | example1_33.sce |
//exapple 1.33
clc; funcprot(0);
// Initialization of Variable
longP=60+30/60;//longitude of place
GST=7+30/60+48.6/3600;//GST at GMM
RA=17+28/60/40/1600;
dot=longP/15;//difference in time
i=dot*9.8565/3600;//error
gmm=GST-i;//LST at L.M.N
LMT=RA-gmm;//local mean time
disp("local mean time in past mid... |
460ee8c6fd6d92f215c1750655e1d9faa544e0a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH7/EX7.1/example7_1.sce | 51633e93e1533d76f3be828468b813223fdcf2ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 865 | sce | example7_1.sce | disp('chapter 7 ex7.1')
disp('given')
disp('Design a nonsaturating precision half wave rectifier')
disp('peak output Vo=2volt')
Vo=2
disp('input peak value Vi=.5volt')
Vi=0.5
disp('frequency f=1MHz')
f=1*10^(6)
disp('supply voltage Vcc=+or-15volt and Vee=15volt') //(using bipolar op-amp)
Vcc=15
Vee=15
disp... |
2f726b3c788401ec0de2ea6de72eb4e78dcfb1bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH1/EX1.23/chapter1_23.sce | 78d95719d713e95ebe66631715931862fae41ece | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | chapter1_23.sce | //example1.23
clc
disp("The branch currents are shown in the fig 1.93(a)")
disp("Applying KVL to the two loops,")
disp("-2(I1)-5(I2)+12=0")
disp("i.e 2(I1)+5(I2)=12 ..(1)")
disp("-4(I1-I2)-6(I1-I2)+5(I2)=0")
disp("i.e -10(I1)+15(I2)=0")
disp("Solving equation (1) and (2),")
disp("2(I1)+5(10/15)(I1)=12")
... |
c6366e9193861b74c07049034745b04bba101d8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH18/EX18.27/Ex18_27.sce | 49314758b4baa0460fcc98499b33f35b268b494a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 952 | sce | Ex18_27.sce | // scilab Code Exa 18.27 Isentropic Flow-centrifugal Air compressor
T01=335; // in Kelvin
p01=1.02; // Initial Pressure in bar
beta1=61.4; // air angle at the inlet of axial inducer blades
gamma=1.4;
d1=0.175; // Mean Blade ring diameter at entry
d2=0.5; // impeller diameter at exit
cp=1005; // Specific Hea... |
082d2b4e122fd82166b8e844ffa27799134f1dc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH11/EX11.7/Example11_7.sce | 3ac65eb6bcdb6a7ab9566d9d6e81dcc591765aeb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | Example11_7.sce | //clear//
//Caption:Program to find the load impedance of a slotted line
//Example11.7
//page357
clear;
clc;
close;
S = 5; //standing wave ratio
T = (1-S)/(1+S); //reflection coefficient
Zo = 50; //characteristic impedance
ZL = Zo*(1+T)/(1-T);
disp(ZL,'Load impedance of a slotted line in ohms ZL=')
//Resul... |
3c9b43ab1f3a826432c6dae5762bf0739530e0af | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/gtild.man.tst | 9ca4cb056befd20e188a21dad7080906f70a4b9f | [
"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 | 831 | tst | gtild.man.tst | clear;lines(0);
//Continuous time
s=poly(0,'s');G=[s,s^3;2+s^3,s^2-5]
Gt=gtild(G,'c')
Gt-horner(G,-s)' //continuous-time interpretation
Gt=gtild(G,'d');
Gt-horner(G,1/s)'*s^3 //discrete-time interpretation
G=ssrand(2,2,3);Gt=gtild(G); //State-space (G is cont. time by default)
clean((horner(ss2tf(G),-s))'-ss2tf(Gt... |
ab4faa8172d3ea1abd41b0fa7f089f4320bfc349 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH7/EX2.a/exa_2_a.sce | 31b07122a962186415f3f6d211e6ea4928c73fa5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | exa_2_a.sce | // Exa 2.a
clc;
clear;
close;
// Given data
V_P= -4;// in V
I_DSS= 10;// in mA
V_GS= 0;// in V
R_D= 1.8;// in kΩ
V_DD= 20;// in V
I_D= I_DSS*(1-V_GS/V_P)^2;// in mA
// Applying KVL to the circuit, we get V_DD= I_D*R_D+V_D
V_D= V_DD-I_D*R_D;// in V
disp(I_D,"The value of I_D in mA is : ")
disp(V_D,"The val... |
4e390cb72f65e1c82bf49b5184fd6f81d2c9e12a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH9/EX9.5/Ex9_5.sce | cca135052947324152575f2da6a46a21eadf8af3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | Ex9_5.sce |
Pout=30D+3//output
e=.86//efficiency
Pin=Pout/e//input
Vl=440//line voltage
pf=.83//power factor
Il=Pin/(sqrt(3)*Vl*pf)
mprintf("Line current=%f A\n", Il)
Iph=Il/sqrt(3)//motor is delta connected
mprintf("Phase current=%f A", Iph)
|
f59d8510950b1af95affe58c229ab725361e0f71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH5/EX5.5/Ex5_5.sce | e086edf84deddef9143b0e107aeb5ca868472e53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | Ex5_5.sce | clc
T=300 //K
k=8.617*10^-5 //eV/K
q=1.6*10**-19 //C
epsilonx=8.854*10^-14 //F/cm
ni=9.65*10^9//cm^-3
NA=10^17 //cm^-3
d=8*10^-7//cm
VG=3//V
//2*phis=p
p=0.84//V
Co=epsilonx*3.9/d
disp(Co,"Co in F/cm^2 is=")
K=sqrt((epsilonx*11.9*NA*q))/Co
disp(K,"K is=")
Vdsat=VG-p+K^2*(1-sqrt(1+(2*VG/K^2)))
disp(Vds... |
601497edec37db4bcd3eb5a202f26b36d7cf72de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH3/EX3.2/3_2.sce | 5bba2943f36b9f8b71ddf7b19b86c07a484e1aea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 855 | sce | 3_2.sce |
clear;
close;
clc;
R=10;
L=0.1;
f=50;
w=2*%pi*f;
k=sqrt((R^2)+((w*L)^2));
angle=atan(w*L/R);
E=100;
Em=sqrt(2)*E;
A=Em*sin(angle)/k;
i1=A;
Em=round(Em*10)/10;
i1=round(i1*10)/10;
mprintf("current in amperes for part1=%fA\n",i1);
mprintf("current in part 2& part 3= 0\n");
mprintf("the DC com... |
d8a3d16a3026bcca25096a71b68ea748c692d4d4 | 8881166f518b8c3365fd0a2c0395dbbe4b666a4c | /include_hart_V2/demos/powermate/powermate.sce | 17f8f2cc6586c30fae5a9c6613e83a0ab85f52cc | [] | no_license | christianausb/OpenRTDynamics | e1e31e61060611a710cf870538969ba5047061f6 | df0c6946622d9a54ab63796337003fb318931b36 | refs/heads/master | 2021-01-21T06:59:51.243998 | 2018-07-13T13:17:29 | 2018-07-13T13:17:29 | 10,501,420 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,311 | sce | powermate.sce | thispath = get_absolute_file_path('powermate.sce');
cd(thispath);
z = poly(0,'z');
//
// Set up simulation schematic
//
// This is the main top level schematic
function [sim, outlist] = schematic_fn(sim, inlist)
// this is the default event
ev = 0;
[sim, zero] = ld_const(sim, ev, 0);
// Include the... |
30c279cad5bc466be4fe30c6557827eaff9e56f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/DEPENDENCIES/insertion_sort.sci | d6b5f5d32212cb49eb75eb1b5f9b8d29e92a5ec0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sci | insertion_sort.sci | function A = insertion_sort(A)
n = length(A);
for(i = 2:n)
t = A(i);
j = i;
while((j > 1) & (A(j-1) > t))
A(j) = A(j-1);
j = j-1;
end
A(j) = t;
end
endfunction |
339307e0307a8261b72c357c7556ede832e63f2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH14/EX14.3.4/14_3_4.sce | 7780d9b29bd81c8740e74df7e7e744f642ef46a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sce | 14_3_4.sce | clc
//initialisation of variables
w= 1000 //rev
r= 1 //ft
g= 32.2 //ft/sec^2
Q= 2000 //ft^3
wa= 0.07
w1= 62.3 //lbf/ft^3
//CALCULATIONS
u= w*r*2*%pi/60
q= Q/(60*%pi)
H= (u^2/g)*(1+(q/u)*cotd(35))
l= H/4
Ha= H-l
Hv= (u^2/(2*g))*(1+(q/u)*cotd(35))^2
Hva= Hv-78
Hpa= Ha-145
p= wa*Hpa*12/w1
//RESULTS
printf (' gain in press... |
cb4163abfcddb7e5eb909cfd8a90c2cf88681432 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH2/EX2.29/Ex2_29.sce | 26753029d870a0dea5e4c9e81f793c862b8a0fa1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_29.sce | //Example 2-29, Page No - 89
clear
clc
bw= 200*10^3
tr= 0.35/(bw*10^-3)
printf('The fastest rise time of the circuit is %.2f microseconds',tr*10^3)
|
9a8e063fa1c2d9b7954be36d9d446aa358bee525 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH7/EX7.22/ex_7_22.sce | 3af517a92c7938d7834b50b51f048c822a65dbab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | ex_7_22.sce | //Example 7.22 // sensitivity
clc;
clear;
close;
//given data :
d=0.06; // in mm
Rg=120; // in ohm
Gf=2; // gauge factor
v=6; // im volts
E=200; // GN/m^2
mu=0.3; // poisson's ratio
l=1000; // consider a load applied in N
Si=l/((%pi/4)*(d)^2)
e=Si/(E*10^9);
R=Gf*e;
dVo=2*(1+mu)*R*(v/4)*10^-6;
S=dVo/(l... |
3ad806769b92bba9d323d5231b8e343d26eb3a76 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/XG57FZY/ATWM1_Working_Memory_MEG_XG57FZY_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce | 5942ee864559b93ad9da99931503951488abf0c0 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,618 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_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... |
c15f34d8d71aabb3addfbb1419605ba4b906f09b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH3/EX3.8/3_8.sce | 69a65d5ca7bff8195f52e97637a49542fc2c1b23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | 3_8.sce | clc;
p1=7;//bar
p2=1;//bar
y=1.333;
T1=923;//K
T2=T1/[(p1/p2)^((y-1)/y)]
cp=1.11;
c2=45;
c1=9;
W=cp*(T2-T1)+[(c2^2-c1^2)/(2*10^3)];
disp("powar output is");
disp("kW",-W)
|
5da930986ba61288f346a3fc11f78cda17a24fd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH2/EX2.33/exa_2_33.sce | ef9c25d87a17968476a12a7f6cf4bdcafecfb030 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | sce | exa_2_33.sce | // Exa 2.33
clc;
clear;
close;
// Given data
e=1.6*10^-19;// in C
a= 0.004*0.0015;// in m^2
ni= 2.5*10^19;// per m^3
miu_e= 0.38;// in m^2/ v-s
miu_p= 0.18;// in m^2/v-s
V=10;// in V
i= 25;// in mm
i=i*10^-3;// in m
E= V/i;// in V/m
// Part (a)
ve= miu_e*E;// in m/sec
disp(ve,"Electric drift velocity in... |
44a0a335e1270ea0785f66d11959712fb2cc3412 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/m_sin.sci | f870ce2251f4ba4836989c1cbff89909e3b71d4c | [
"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 | 801 | sci | m_sin.sci | function [out1,out2]=m_sin(t,x,z,u,clock,flag,rpar,ipar)
//if flag>0 then write(0,'m_sin t='+string(t)+' flag ='+string(flag)),end
out1=[];out2=[];
select flag
case 1 then
out1=sin(rpar(1)*t+rpar(2))
case 2 then
x_message('?')
case 3 then
x_message('?')
case -1 then //initialisation
model=t
label='Sin'
st... |
b08eef798686f16caf53ddf14dd8fc0649f0de68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH3/EX3.1/example_3_1.sce | dacbeeb32c535d4f9b5efc71b2cef8de12c91d2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 658 | sce | example_3_1.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 3
// Thermal Radiation
// Example 3.1
// Page 114
printf("Example 3.1, Page 114 \n\n");
T = 5779 ; // [Temperature,in Kelvin]
// From Wein's law, eqn 3.2.8
lambda_m = 0.00290/T ; // [m]
// Substituting this value in plank's law, we g... |
55c67f44353ea32c1dfad32737e39f9d5473ea83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH11/EX11.4/Ex11_4.sce | 4fd2252ae4ce1acf3040fb195d9c27e6b0e7ab78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | Ex11_4.sce | clear ;
clc;
// Example 11.4
printf('Example 11.4\n\n');
printf('Page No. 316\n\n');
//given
Cm_S = 10000;// Company saving in Pound per annum
S = Cm_S/12;// Saving in Pound per months
Ca_C = 10500;// Capital cost in Pound
Ins_C = 7500;// Installation cost in Pound
T_C = Ca_C + Ins_C;// Total cost in Pound
... |
4e7baacacbaa4bd6011add80183113a0a9818986 | 505dbe6f806a6e0354b4f1f2326dc36f01fbe3e0 | /S3/Proba-Stats/56_6.sce | 7bb395bb8a032ad7808c9322e988f7a868e72724 | [] | no_license | MalikZouhiri/DropIUT | 5d1dea760cc1114114a2caf0bab1701e9adc815b | 1ae2cdd14f10182dbe6d0b2546e452851076591f | refs/heads/master | 2020-06-05T06:20:05.109658 | 2015-01-23T06:04:33 | 2015-01-23T06:04:33 | 29,574,014 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sce | 56_6.sce | // Vecteurs (3)
x=[0:0.1:1]
x(1)
x(2)
x+2
y=1:0.1:2
z=x+y
length(x)
size(x)
if length(y)==length(x) then p=x.*y;p
end |
f3dac89b604348932d7493de484931fd53b58163 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Zperspt.sci | 13601556533ace3b13aeb221ca52713581cab0c6 | [] | 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 | 413 | sci | Zperspt.sci | // 08.08.12
// 10.01.02
function X3=Zperspt(P)
global FocusPoint EyePoint
Tmp=P-FocusPoint;
X1=Tmp(1); Y1=Tmp(2); Z1=Tmp(3);
Tmp=EyePoint-FocusPoint;
E1=Tmp(1); F1=Tmp(2); G1=Tmp(3);
Ca=E1/sqrt(E1^2+F1^2);
Sa=F1/sqrt(E1^2+F1^2);
X2=X1*Ca+Y1*Sa; Y2=-X1*Sa+Y1*Ca; Z2=Z1;
E2=E1*Ca+F1*Sa; F2=-E1*Sa+F1... |
7b1ae070a127c3532c4f9a8404fdf9a4cd79ce17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH7/EX7.1/7_1.sce | b9062a072990b36367155eb261e7bc7772cd4a40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | 7_1.sce | clc;
clear;
function y=f(x)
y=(x-4)*(x+6)
endfunction
n=2;
a(1)=-24;
a(2)=2;
a(3)=1;
t=4;
r=a(3);
a(3)=0;
for i=(n):-1:1
s=a(i);
a(i)=r;
r=s+r*t;
end
disp("The quptient is a(1)+a(2)*x where :")
disp(a(1),"a(1)=")
disp(a(2),"a(2)=")
disp(r,"remainder=") |
74f0f3091187e083c0e4168b4f7e3c65bc938819 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH3/EX3.3.16/Ch3_3_16.sce | 9465945695fe4f98e476e21654c9aa2755aa7bd7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | Ch3_3_16.sce | clc
disp("Example 3.16")
printf("\n")
disp("calculate the value of alpha,Ib,beta for a transistor")
printf("Given\n")
//collector current
Ic=2.5*10^-3
//emitter current
Ie=2.55*10^-3
//Value of alpha
alpha=Ic/Ie
//Value of Ib
Ib=Ie-Ic
//value of beta
beta=Ic/Ib
printf("collector current \n%f ampere\n",Ic... |
3415d8d99ee11794b65dd61ea135eb2fb0f8e8df | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassbpc2bpc/test_2.sce | 82b59172443fb1969832bb29cb9df7e838f80bc2 | [] | 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 | 161 | sce | test_2.sce | // Test # 2 : Excess Input Arguments
exec('./allpassbpc2bpc.sci',-1);
[n,d]=allpassbpc2bpc([0.3,0.2],[0.1,0.5]);
//!--error 58
//Wrong number of input arguments
|
8ab8f6152ae0a584439d020d8aa08b382a6ddb4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.22/2_18_22.sce | ba5ed9ec09a9adcd6c7c33904c1efc3495316b82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 891 | sce | 2_18_22.sce | //water and its treatment//
//example 2.18.22//
clc
Purity_Lime=.85
Purity_soda=.80
Rate_lime=9//Rs.per kg//
Rate_soda=35//Rs.per kg//
W1=20.4;//amount of CaSO4 in ppm//
W2=9.5;//amount of MgCl2 in ppm//
W3=7.3;//amount of HCl in ppm//
M1=100/136;//multiplication factor of CaSO4//
M2=100/95;//multiplicat... |
4b856ceab6cdac5460547a3f48dc431da2353b30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH10/EX10.19/Ex10_19.sce | aed1fc0e7d33d20da76a911a6ee9906c13f1ca8f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | Ex10_19.sce | //EX10_19 PG-10.66
clc
Rf=60e3;//feedback resistance
R1=10e3;
R2=20e3;
R3=30e3;
V1=-1;//first input voltage at the inverting terminal
V2=-2;//second input voltage at the inverting terminal
V3=3;//third input voltage at the inverting terminal
Vo=-(Rf/R1*V1+Rf/R2*V2+Rf/R3*V3);//output voltage
printf("\n Theref... |
f873532209271f8d415fa421eb8d9433c363f887 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH23/EX14.23.24/Ex14_23_24.sce | c30e2668dc1b747f4ba27616bf212dbd722c682b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | Ex14_23_24.sce | //Section-14,Example-1,Page no.-PC.118
//To estimate the pH of the given solutions.
clc;
A_NH4Cl=0.01
K_aNH4Cl=(5.6*10^-10)
A_NHCH3_3Cl=0.0025
K_aNHCH3_3Cl=(1.5*10^-10)
pH1=-(1/2*log10(A_NH4Cl))-(1/2*log10(K_aNH4Cl))
disp(pH1,'pH of NH(CH3)3')
pH2=-(1/2*log10(A_NHCH3_3Cl))-(1/2*log10(K_aNHCH3_3Cl))
disp(pH2,'... |
3756e79fc96e81de79cb0639d4d25c5f20279704 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH1/EX1.26/Exa1_26.sce | d2fa59837b055cc3614cdbb2294c3c0f8dd17a36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,514 | sce | Exa1_26.sce | //Exa 1.26
clc;
clear;
close;
//given data
BETAac=100;//unitless
BETAdc=100;//unitless
VT=25;//in mvolts
VEE=10;//in volts
VCC=10;//in volts
VBE=0.7;//in volts
VEB=-0.7;//in volts
RC2=2.7;//in kohm
RC1=2.7;//in kohm
RC3=1.5;//in kohm
RC4=1.5;//in kohm
RE1=5;//in kohm
RE2=10;//in kohm
RE3=10;//in kohm
... |
8359a1ea1caf7f3522b9fad31e8dfbb69c81a215 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH1/EX1.7/Ex1_7.sce | 6cb1e76227cbd60a1dc303a0485064bb51832f8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | Ex1_7.sce | // Example 1.7
clc;
clear;
close;
// Given data
format('v',6);
VEE= 5;// supply voltage in V
RC= 2*10^3;// collector resistance in Ω
RE= 4.3;// emitter resistance in kΩ
VBE= 0.7;// in V
VT= 26;// in mV
IE= (VEE-VBE)/(2*RE);//emitter current in mA
re_desh= VT/IE;//dynamic emitter resistance in Ω
Ad= RC/(2*r... |
bbbd822bca8b86d55eaaa061c51682c547a819a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH3/EX3.1/Ex3_1.sce | dda9f83a9c9ff5f21cfa2d9fcfb31ef3c09875a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | Ex3_1.sce | //Chapter 3: The Antenna Family
//Example 3-3.2
clc;
//Variable Initialization
Z_0 = 377 //Intrinsic impedance of free space(ohm)
Z_d = 710 +%i //Terminal impedance of dipole cylinder (ohm)
//Calculation
Z_s = (Z_0**2)/(4*Z_d) //Terminal impedance of the slot (ohm)
//Result
mprintf("The terminal impedance of th... |
20514ccf0b35eb9cd40fb788021c851b1e0ce21a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3257/CH8/EX8.4/Ex8_4.sce | 08ab679e36ea3207bc67ce2cc3bacf277709d392 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_4.sce | // Material removal rate and cutting force in turning
clc
D_o = 10 // diameter in mm
N = 360 // spindle rpm
D_i = 9 // machined diameter in mm
x = 1.75 // axial speed in mm/min
l = 125 // length in mm
rate = 4 // specific energy in W-s/mm^3
printf("\n Example 8.4")
V_o = %pi*D_o*1e-3*N
V_i =%pi*D_i*1e-3*N
d ... |
fc75f8c7f73b15c667709a80641887a736a637c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH44/EX44.13/44_13.sce | afce2db58d87e655368bda685934f87d5cffaa1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 44_13.sce | //Problem 44.13: A cable which has a characteristic impedance of 75 ohm is terminated in a 250 ohm resistive load. Assuming that the cable has negligible losses and the voltage measured across the terminating load is 10 V, calculate the value of (a) the reflection coefficient for the line, (b) the incident current, (c)... |
8d5db4de258d4b7ac4a709debd0d8a98dfa4263f | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH4/EX4.22/ex_4_22.sce | 9ee7d7e019634b6eeaabbd6d2a0979701a0a8e86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | ex_4_22.sce | clc;
z = %z;
syms n z1 ;
X =3/(z-2);
X1 = denom(X);
zp = roots(X1);
X1 = 3/(z1-2);
F1 = X1*(z1^(n-1))*(z1-zp(1));
x1 = limit(F1,z1,zp(1));
disp(x1,'x1[n]=')
disp(x1*'u(n-1)',"x[n]=") |
1c58ef5e1a7996d33eab8e27fbb76d399da7015a | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH12/EX12.28/Ex12_28.sce | a50efb12ce2b7a357edfa5565077b27663fac4ea | [] | 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 | 260 | sce | Ex12_28.sce | //Chapter 12 : Solutions to the Exercises
//Scilab 6.0.1
//Windows 10
clear;
clc;
//Solution for 7.4
f100=[2;3;-2]
f110=[4;1;4]
f111=[5;1;-7]
f010=f110-f100
disp(f010)
f001=f111-f110
disp(f001)
//answer is wrong in book
ir3=[f100 f010 f001]
|
29e99ff48e1035ca7668bc71024908290ba50fe7 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/TOOLS.SCI | cd0d2b30cc53c416cef29cccc32472c74085b066 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 1,633 | sci | TOOLS.SCI | function T_scene_create()
{
# resetall;
resetallscenes;
resetallviewports;
displayname=root.displays.getmembers.get(0).name;
vp=addviewport(0,0,1,1,displayname,displayname);
vp.name="main";
vp.start;
vp.camerapos=point(0,6,10);
vp.cameradir=vecnorm(point(0,0,0)-vp.camerapos);
vp... |
19490207f5cfc576f4e71ea7b43054eb290612af | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH2/EX2.17/Example217.sce | c59b84db89d4682adcae2186907744c25e803789 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | Example217.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 2, Example 17")
disp("Head generated by the pump H")
//H is directly proportionl to D^2
D = 0.32;
H = 21.5;
Hred = 20;
disp("Diamet... |
1e6af8d051bff2011cd27315b58e85b0620caf4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH3/EX3.17/ch3ex17.sce | bf7514019091b319194c78e9786877a140c0673d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | ch3ex17.sce | //signals and systems
//time domain analysis of discreet time systems
//convolution by sliding tape method
clear;
close;
clc;
n=(0:10)';
y=[4;13;zeros(length(n)-2,1)];
x=(3*n+5).*(n>=0);
for k=1:length(n)-2
y(k+2)=5*y(k+1)-6*y(k)+x(k+1)-5*x(k);
end
clf;
plot2d3(n,y); xlabel('n'); ylabel('y[n]');
disp(... |
6709eb5e6994d3ba2e1a2b77ccf85b1c4e527bd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH14/EX14.4/Ex14_4.sce | e327efecd019bad60aec31644e4186d1ef98ef52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | Ex14_4.sce | //Chapter 14 Determination of Hydroniumion Concentrations
clc;
clear;
//Initialisation of Variables
E= 0.527 //v
T= 25 //C
R= 0.0592
e= -0.246 //v
//CALCULATIONS
pH= -(-E-e)/R
//RESULTS
mprintf("pH of the unknown solution= %.2f",pH);
|
3f9ff2aac60e6c6fa5498d8ad8699cebe0733d82 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /horizontal dots small moving pistol 10 times hit.sce | bca1cc948d31a1efa9d27694ef74e2d14a571331 | [] | 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 | 45,357 | sce | horizontal dots small moving pistol 10 times hit.sce | Name=horizontal dots small moving pistol 10 times hit
PlayerCharacters=A_air_trace_frozen
BotCharacters=nogravLEFT.bot;nogravRIGHT.bot;leftorrightnograv.rot;nogravLEFTf.bot;nogravLEFTs.bot;nogravRIGHTf.bot;nogravRIGHTs.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=A_air_trace_frozen
AddedBots=leftorrightnograv.rot;... |
d7400435b10e87f32e6345f1afe39c4ff64764d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH1/EX1.9/Ex1_9.sce | da0243cc411e088487b45aa3b8f690d5b3aca0c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | Ex1_9.sce | //Example 1_9
clc;
clear;
close;
format('v',6);
//given data :
//9*I1-2*I2-3*I3=24-V from mesh 1
//I1-6*I2+3*I3=0 from mesh 2
//3*I1+6*I2-11*I3=-V from mesh 3
d=[9 -2 -3;1 -6 3;3 6 -11];
delta=det(d);//determinant
//d1=[24-V -2 -3;0 -6 3;-V 6 -11];
//delta1=det(d1);determinant
//Putting I1=delta1/delta=0
... |
775a8bcb0293b14f9e93c4acfd0aaa3e4ba54269 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH15/EX15.2/Example_15_2.sci | 08dae0213e048b664713275609431502a11afce3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 767 | sci | Example_15_2.sci | clear;
clc;
printf("\n Example 15.2");
printf("\n For barium sulphate");
function[x] = increase_barium(d)
y = exp((2*233*0.13)/(2*8314*298*4500*d));
x = y-1;
funcprot(0);
endfunction
i=1;
d = [0.5 0.05 0.005];
while(i<=3)
printf("\n Increase in solubility for barium sulphate fpr particle s... |
0af876e6d68bf56c0daeb1967cdd778df8ef2209 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH5/EX5.11/example11_sce.sce | 15e8bf98dd40848a1d9dab672360dee2479b5fa0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | example11_sce.sce | //chapter 5
//example 5.11
//page 208
printf("\n")
printf("given")
Vce=5;Ic=5*10^-3;Vcc=15;hfe=100;Vbe=0.7;
Rc=(Vcc-Vce)/Ic
Ib=Ic/hfe
Rb=(Vcc-Vbe)/Ib |
1fcd8cd9f2de9cd89813ef6adebee188851afb2d | d7087cf730b37f76170323e080c090f8094979ac | /test/parser/t4.tst | 5574d21d5928d5e73682d092c7c08b2699687444 | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | tst | t4.tst | <cmd>
../build/42sh</cmd>
<ref>
bash</ref>
<stdin>
if true
then
echo toto | cat -e;
echo tutu; echo toutou; echo tata;
fi;
</stdin>
|
2e28299c00006962b2e1ea2cfd8a68abfbf625a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH11/EX11.4/Chap11_Ex4_R1.sce | 0519bb95c942f5929cf0d88a02e1486f411d6531 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,927 | sce | Chap11_Ex4_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-11,Example 4,Page 385
//Title:Dew temperature
//================================================================================================================
clear
clc
//INPUT
//For convenience, benzene i... |
7c7cb6dc253d99ba6cb5150e4450416531210276 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH12/EX12.1/12_1.sce | bbdc5190aa6a7d5b2bfd47ad2818e7dc1c73676d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | 12_1.sce | clc
//initialisation of variables
P= 15.0 //psia
T= 55 //F
P1= 0.2141 //psia
ma= 29 //lb
mb= 18 //lb
P2= 0.2141 //psia
P3= 0.3631 //psia
//CALCULATIONS
dp= P-P1
r= (dp*ma)/(P1*mb)
r1= r/(r+1)
r2= 1/(r+1)
r4= r2/r1
P= P2/P3
//RESULTS
printf ('relative humidity= %.2f ',P)
printf (' \n specific humidity=... |
dcbf8c23bdbee544ff81af613c39cae3f87d72f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH8/EX8.6/Example8_6.sce | 86d2fd1cbd321b0f37798f4f4a3959e799c1ebe2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | Example8_6.sce | //Example 8.6
clc
disp("We know that MOD-32 uses five flip-flops. With t_pd = 50 ns, the f_max for ripple counter can be given as,")
fm=(1/(250*10^-9))*10^-6
disp(fm,"f_max(ripple) = ")
|
f8e0c03b01103cc4fa8ca8ddd6c8695d344e7c08 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.18_19.tst | b79c330f42d5ea039aaad10c3884cc1db86d1124 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 26,829 | tst | bow.18_19.tst | 18 16:1.0 20:5.0 22:2.0 24:0.047619047619047616 29:3.0 30:0.5 39:0.3333333333333333 57:0.25 66:0.5 90:1.0 228:1.0 267:0.017543859649122806 314:1.0 317:1.5 393:0.3333333333333333 413:1.0 598:1.0 641:1.0 927:0.5 1030:1.0 1152:2.0 1153:0.6666666666666666 1154:1.0 1155:1.0 1156:3.0 1157:1.0 1158:1.0 1159:1.0 1160:1.0 1161:... |
a86194eee95af904a9f71ce467ad59a6893087ce | e86653ab56eded6714574f9f8f34013272027113 | /3432/CH9/EX9.11/Ex9_11.sce | 97e0ddb3eae750a1b91cf448ce40f518d72c324f | [] | no_license | FOSSEE/Xcos_TBC_Uploads | 3637554f9dca20d0c5ec2c5d00d30942edafe09a | 37e81552cb6d9066617ba91b13c91098e5ab6758 | refs/heads/master | 2023-03-30T10:45:38.033053 | 2021-03-15T05:40:35 | 2021-03-17T09:45:20 | 346,244,418 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,666 | sce | Ex9_11.sce | //Example 9.11
//Describing Function for a relay with hysteresis nonlinearity.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//Response of the saturation noninearity to sinusoidal input
figure;
importXcosDiagram(".\Ex9_11_model.xcos")
xcos_s... |
d13dedab3c621097e60a8c7c6cf1b804db85464b | 0398247443eeb413d3cfd5e012ea5d40e4c8b562 | /08/tests/Arithmetic/noboot/add/add.tst | a7d6e030b73c900b3e4b9dcd1651d20ac1362e26 | [] | no_license | willbr/the_elements_of_computing_systems | 1cfee98bf6eeca101f4a428a35b838aefbf27afa | ee8f19720958159a22bf90eb6a5f32ea8348e6fa | refs/heads/master | 2016-09-06T00:34:17.333924 | 2013-01-20T22:02:59 | 2013-01-20T22:02:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | tst | add.tst | load add.asm,
output-file add.out,
compare-to add.cmp,
output-list
D%D1.6.1
RAM[0]%D1.6.1
RAM[256]%D1.6.1
RAM[257]%D1.6.1
RAM[258]%D1.6.1;
set RAM[0] 258,
set RAM[256] 5,
set RAM[257] 10,
repeat 100 {
ticktock;
}
output;
|
1b4bc29a41ccdc6c2194a60a1e337e7a84a02ee9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH4/EX4.4/Chapter44.sce | 22d76fb70686ae9ac2c76f942e744ee02b1fcaa6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,125 | sce | Chapter44.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 4")
//Diameter of glass in m
d = 50*(10^(-3));
//radius in m
r = d/2;
//Height of milk in glass in m
H = 0.1;
//Initial temperature of milk in °C
... |
658b45b0b9c3f85df5e6a1eeeed0b100e4f66bd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH8/EX8.7/8_7.sce | 6740a83706fbc7c211b6cda7fff3f342e7bf9b50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 696 | sce | 8_7.sce | //To calculate the intrinsic carrier density and conductivity
m = 9.109*10^-31; //mass of electron, kg
k = 1.38*10^-23; //boltzmann constant
pi = 22/7; //value of pi
h = 6.626*10^-34; //planck's constant
T = 300; //temperature, K
e = 1.6*10^-19;
Eg = 0.7; //energy gap, eV
ni = 2*(2*pi*... |
3922efa782742d21f2b675431c35abf3d40a8dd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH12/EX12.10/12_10.sce | bff9274400d2b741aae3a46fa16a5acdcaaa438e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,307 | sce | 12_10.sce | //Temperature//
pathname=get_absolute_file_path('12.10.sce')
filename=pathname+filesep()+'12.10-data.sci'
exec(filename)
//Density at section 1(in kg/m^3):
d1=p1*1000/R/T1
//Mach number at section 1:
M1=V1/sqrt(k*R*T1)
//Stagnation temperature at section 1(in K):
T01=T1*(1+(k-1)/2*M1^2)
//Stagnation pressure ... |
b2dde786d6d5913595cdb6538f5850b4b6b7f1c4 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits__J._Paul_2045.zip/Electronic_Devices_And_Circuits__J._Paul_2045/CH1/EX1.7/Ex1_7.sce | cb232a41f79f16d907ae74041266ae4bd268943a | [] | 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 | 238 | sce | Ex1_7.sce | errcatch(-1,"stop");mode(2);//pagenumber 29 example 7
ferlev=0.02;//electron volt
q=4;//donor impurity added
w=0.025;//electron volt
ferlev=-((log(q)-8))/40;
disp("fermi = "+string((ferlev))+"electron volt");
exit();
|
74aeb0176d82507fe68677fdc6213e0369d440d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH6/EX6.4/Ex6_4.sce | 6e1124ae62c8c3da4c25f967ad514f3cf92efd70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 952 | sce | Ex6_4.sce | //Example 6.4
//Bode Plot with Complex Poles.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//System transfer function and its bode plot
K=10;
s=poly(0,'s');
Gs=syslin('c',(K)/(s*(s^2+0.4*s+4)));
//The bode plot of the system
f... |
371f19ea0bcf8adc9b66d24ddd77cc68b18c7b11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH17/EX17.2/Ex17_2.sce | 19e0b33811bd2f72ed2830b0e96f9e0c8124a994 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | Ex17_2.sce | clc;
close();
clear();
//page no 548
//prob no. 17.2
L=37; //latitude in degree
R=6400; H=36000; //from the text
del=atan(R*sin(L*%pi/180)/(H+R*(1-cos(L*%pi/180)))) //Declination angle
mprintf('The ange is %.2f degree\n',del*180/%pi);
|
36aab4f734d5e0cff1651966d0df2a185b51c8b5 | b23687e2eb02bcb6d0f581b7975f42c496faeda1 | /AverageValueOfSineWave.sce | 27e223a458e62db1b37d5497fe9520dd2665f116 | [
"MIT"
] | permissive | harvishj/Scilab | bd3fbd3e679eb07aa088ff2bab40d491c6499770 | 9daada512f42ea6f52199a34d6b18e64b107af94 | refs/heads/master | 2021-07-14T15:06:03.621923 | 2020-10-05T06:35:43 | 2020-10-05T06:35:43 | 213,328,984 | 1 | 3 | MIT | 2020-10-05T06:35:44 | 2019-10-07T08:16:52 | Scilab | UTF-8 | Scilab | false | false | 501 | sce | AverageValueOfSineWave.sce | clear;
clf;
dn = 1;
n = -10:dn:10;
k1 = 1;
n1 = 10;
k2 = 1;
n2 = 16;
x1 = sin(2 * (%pi) * n * k1 / n1);
x2 = cos(2 * (%pi) * n * k2 / n2);
y1 = sum(x1);
y2 = sum(x2);
subplot(2,1,1);
plot2d3(n,x1);
plot(n,x1);//Can be avoided
disp(y1);
xgrid(2);
title("Wave 1", "fontsize", 3);
xlabel("T","fontsize",3);
ylabel("X... |
aa958aa87060868b5668bcf7bbef4ae8db9cc2a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH4/EX4.10/Ex4_10.sce | 24552c8feafaf11fecf17072f17ad61c7c9fef60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 920 | sce | Ex4_10.sce | //Finding unknown forces
//Refer fig. 4.8
//Let us assume joint E as origin,EC as x-axis,EA as y-direction
//accordingly the co-ordinates are
//A(0,3),B(3,3),C(6,0),D(3,0),E(0,0)
YD=-40 //kN
YC=-40 //kN
//Using co-ordinates lengths are found out to be
LAB=3 //m
LBC=3*sqrt(2) //m
LCD=3 //m
LDE=3 //m
LB... |
1c2e9fdcb1b013e750de2e6ad10c9280ed5cae44 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/FA1.prev.tst | 7fdec82b8ec47fc71841229f88d466cd4788ec19 | [
"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 | 47 | tst | FA1.prev.tst | new (x,5): x^5
x^7 <> x^5: 1
a^7 <> b^7: -1
|
8dc3c403d7526c6d11ecf3f500a1bb7698ae6898 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH6/EX6.11/6_11.sci | 756eac7ce5514f6ff61c85d8291976ac2402e7e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sci | 6_11.sci | // Calculating Difference mode, Common mode gain and CMRR
clc;
Vo=3;
Vd=30*10^-3;
Ad=Vo/Vd;
disp(Ad,'difference mode gain=')
Vo=5*10^-3;
Vc=500*10^-3;
Ac=Vo/Vc;
disp(Ac,'Common mode gain=')
CMRR=Ad/Ac;
disp(CMRR,'Common mode rejection ratio=') |
de75d466ef989b3325fa4f68a581356cb9a75442 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/ZJ12XAM/ATWM1_Working_Memory_MEG_ZJ12XAM_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | baedaa1a8af845002da118bc12a08f32d885842c | [] | 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,599 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
cbde898bf02a40e666e18ecf5db22b236704c854 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH13/EX13.3/ques3.sce | e3b6f8ce9e3d0c8cf216edc6f6aafe675ebfd983 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | ques3.sce | //ques4
clc
disp('solution of the given linear differential equation is given by : ');
syms c1 c2 c3 x
m=poly(0,'m');
f=m^3+m^2+4*m+4;
r=roots(f);
disp(r);
y=c1*exp(r(1)*x)+c2*exp(r(2)*x)+c3*exp(r(3)*x);
disp('y=');
disp(real(y));
|
15d2aad0408caa04dccd04354f6389c190dd699f | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /AkarPersamaan/scilab/soal_03.sce | f8f7468231ae0b87583c69beadd732a6c04bf46d | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sce | soal_03.sce | function f = soal_03(x)
K = 0.4
pt = 3.5
f = K - x/(1-x)*sqrt(2*pt/(2+x))
endfunction
function K = eval_K(x)
pt = 3.5
K = x/(1-x)*sqrt(2*pt/(2+x))
endfunction
x1 = 0.1
x2 = 0.3
Npoints = 100
x = linspace(x1,x2,Npoints)
f = zeros(1,Npoints)
for i = 1:100
f(i) = soal_03(x(i))
K = eval_K(x(i))
printf("%1... |
14724de1880f0007338dfce29d107d21234bc58c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH11/EX11.2/11_2.sce | 5fcbcd66ced70852ebba492faa1a115b91b15de0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | 11_2.sce | clc
//initialisation of variables
R= 8.31*10^7 //ergs mole^-1 K^-1
M= 9.013 //mg
T= 1457 //K
d= 0.318 //cm
t= 60.1 //min
m= 9.54 //mg
g= 980 //cmsec^-2
D= 13.6 //g/cc
p= 76 //cm atm^-1
//CALCULATIONS
P= sqrt(2*%pi*R*T/M)*(m*10^-3/(%pi*(d/2)^2*t*60*p*D*g))
//RESULTS
printf ('vapour pressure= %.2e atm',P)
... |
a1a49eafcbc86b367802d5c1640592a4d31d3fc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH3/EX3.28/ch3_28.sci | 13495c06636f5c4d223b19728159e57164d931d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 787 | sci | ch3_28.sci | //to calculate sec voltage magnitude and ph
clc;
a=6000/100; //turn ratio
R1=780;
R2=907;
X1=975;
X2=1075;
Xm=443*1000;
disp('sec open');
//Zb=inf;
V1=6500;
V22=complex(0,Xm)*V1/complex(R1,Xm);
V2=V22/a;
disp(abs(V2),'voltage magnitude(V)');
disp(atand(imag(V2)/real(V2)),'phase(deg)');
disp('when ... |
3bfc0d131910bcbc7696761c4376d113b2717340 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Orbmonk Highground.sce | c21ddba7a6c03b0fb614cc5c6e3808359e8ccee6 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 111,014 | sce | Orbmonk Highground.sce | Name=Orbmonk Highground
PlayerCharacters=OrbMonk
BotCharacters=Shinji Bot.bot;McCoy Bot.bot;Rocket Flyer Bot.bot;Sergeant Bot.bot;Racer Bot.bot;Random Bot Watcher No Flyer.rot;watcherRotation.rot;Random Bot Watcher.rot;Random Bot Watcher Assassins.rot
IsChallenge=true
Timelimit=60.0
PlayerProfile=OrbMonk
AddedBots=watc... |
a8ba936dccd26ed0e721f5e1651e3c9e96679735 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH7/EX7.3/7_3.sce | f474a0ca52a2fff8fe0c595d6f609a9ceb69cf38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | 7_3.sce | clc
clear
//Initialization of variables
n=7
//calculations
alpha= (n+1)^3 *(2*n+1)^3 /(4*n^4 *(n+3)*(2*n+3))
bet=(n+1)^2 *(2*n+1)^2 /(2*n^2 *(n+2)*(2*n+2))
//results
printf("alpha = %.2f",alpha)
printf("\n beta = %.2f",bet)
|
2711558de8d2f6c89f70b158c947b3dc908305f1 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/percent/%sprsp.sci | 97400929eb2805a653071a9f66484904b8f69b81 | [
"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 | 314 | sci | %sprsp.sci | function x=%sprsp(a,b)
// a/b , a sparse b sparse
[ma,na]=size(a)
[mb,nb]=size(b)
if na<>nb then error(12),end
if mb<>nb then
a=a*b';b=b*b'
end
[h,rk]=lufact(b')
if rk<mini(mb,nb) then warning('deficient rank: rank = '+string(rk)),end
x=[]
for k=1:ma
x=[x;sparse(lusolve(h,full(a(k,:))')')]
end
ludel(h)
|
d6258cf4107db01390f0e242609cf93626f41391 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH3/EX3.1/Example_3_1.sce | e866b59ff494a55f92b3bcbfb6b8a47184dbe365 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | Example_3_1.sce | //Caption: Program to determine the Arithmetic Mean
//Example 3.1
//Page 40
clc;
x = input('Monthly Salaries of Employees');
n = length(x); //Number of Observations
X = sum(x)/n;
disp(X,'Arithmetic mean of salaries of the employees =')
//Result
//Monthly Salaries of Employees [12000,14500,8500,13500,13500,17500,11500];... |
7b661338e4c01b7cc1fdb97da759c54e145cb9f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH2/EX2.16/Chapter2_Example16.sce | 87e3a866f9ac7869c18482303e934edca2cd6450 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,273 | sce | Chapter2_Example16.sce | //Chapter-2, Example 2.1, Page 2.4
//=============================================================================
clc
clear
//INPUT DATA
Q=25;//Rating of a transformer in KVA
V1=2000;//Primary voltage in V
V2=200;//Secondary volatge in V
R1=0.15;//Primary winding resistance in ohm
X1=0.25;//Primary leakage ... |
35ca666e96be8d26c889e9f881e17edfb7f110c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH4/EX4.10/exe_4_10.sce | bea4a911fd2f81a2b070616951c6f75a901a68c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sce | exe_4_10.sce | // Example 4.10: channel width to channel length ratio and drain resisitance
clc, clear
Id=100; // drain current in micro-ampere
kn=20; // in micro-ampere per volt^2
Vt=-1; // in volts
Vgs=0; // gate source voltage in volts
Vdd=5; // dc voltage in volts
Vd=1; // drain voltage in volts
wl=(2*Id/(kn*(Vgs-Vt)^2));... |
e3ecfd5980784de129cdc95069ed310d53578216 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH2/EX2.1/ex2_1.sce | 94f1b8c5d35f7b175fe446ce9515136fa2344062 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | ex2_1.sce | // Exa 2.1
clc;
clear;
close;
format('v',6)
// Given data
I_C = 15;// in mA
I_CbyI_E= 0.995;
I_E= I_C/I_CbyI_E;// in mA
I_B= 0.005*I_E;// in mA
I_CBO = 3;// in µA
I_CBO = I_CBO * 10^-3;// in mA
alpha_dc= I_C/I_E;
disp(alpha_dc,"The value of Alpha_dc is");
// I_C = Alpha_dc*I_E + I_CBO;
I_E = (I_C-I_CBO)/... |
0462d777c4c2c74bd8ee89d2cd2b11b5580073b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH3/EX3.5/3_5.sce | 7bbe82412db2c78e0e308556f3e572e02f333d9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | sce | 3_5.sce |
clc
//Given
AB=2.5//inches
BC=7//inches
CD=4.5//inches
DA=8//inches
N=100//rpm
X=60//degrees
w=(%pi*N)/30
//From triangle ABM we have
AM=0.14//feet
BM=0.12//feet
Vb=w*AB/12//ft/s
Vc=w*AM//ft/s
Vcb=w*BM//ft/s
fb=w^2*(AB/12)//ft/s^2
bt=Vcb^2/(BC/12)//ft/s^2
os=Vc^2/(CD/12)//ft/s^2
//By measurement fr... |
c28d8e34a03c41e8d0cf079f24449efec4a680b6 | 717ddeb7e700373742c617a95e25a2376565112c | /503/CH5/EX5.4/ch5_4.sci | cc120a890b4c5ea8477e6146015372b47c6e941b | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 380 | sci | ch5_4.sci | // to calculate flux/pole
clc;
S=42;
p=2;
ph=3;
m=S/(p*ph); //slots/pole/phase
g=180*p/S; //slots angle
K_b=sind(m*g/2)/(m*sind(g/2)); //breadth factor
cp=17;
pp=S/p;
theta_sp=(pp-cp)*g; //short pitch angle
K_p=cosd(theta_sp/2);
N_ph=S*2/(ph*p*2); //2 parallel paths
E_p=2300/sqrt(3);
... |
f90a6565189878af57fc782d77b33a8ffbf12fd9 | 1988df91caa448a35bbf274a6d2698fe434571b1 | /axiom/hilbert.tst | 3415cf2d5308156ed6583e23ba84cc65b7543fb4 | [] | no_license | namin/GETFOL | bd60e9a2d9f0905c50ff5c0cff4b6bf57a2049e2 | bf42caf61799578eb82e9f17b3342bc2ee638a22 | refs/heads/master | 2021-10-25T08:08:20.142137 | 2021-10-22T16:16:40 | 2021-10-22T16:16:40 | 204,234,318 | 4 | 1 | null | 2019-08-25T02:05:54 | 2019-08-25T02:05:54 | null | UTF-8 | Scilab | false | false | 6,062 | tst | hilbert.tst | MARK begin;
COMMENT | ************************************************************* |
COMMENT | * AUTHOR: Richard Weyhrauch DATE: around 1984 |
COMMENT | * |
COMMENT | * SUBJECT: Paper at CADE 5 |
COMMENT | * |
COMMENT | * GETFOL VERSION: October 1989 |
COMMENT | * |
COMMENT | **... |
fab3c020114b51e259a1ede5cdb143854cb087ca | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testxclick.sce | 8854a5c9a8ecd9dfa000d2dfdacc8c58f9e0a0d7 | [] | 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 | 267 | sce | testxclick.sce | clf;
plot2d(0,0,0,rect=[0,0,1,1])
xgrid(4)
// wait for a click inside the window
[button,x,y,fig_id,menu]=xclick()
// place a cross at the selected point
plot(x,y,'xk');
// display the point's coordinates
xstring(x,y,' it''s point ('+string(x)+','+string(y)+')')
|
13193a9aabd81e9ab546ca670f17d42e1217c984 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436.zip/Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436/CH1/EX1.4/ex1_4.sce | df3132704c05a2638a5e5977245d6297308d2972 | [] | 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 | 175 | sce | ex1_4.sce | errcatch(-1,"stop");mode(2);// Example 1.4, page no-54
temp=2.022
millivolt_cor=37.325
op=millivolt_cor-temp
printf("Millivolt output available=% .3f",op)
exit();
|
b38a53f34fdbd55f3f057b1c4432e9aa94750ec6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3159/CH16/EX16.1/Ex16_1.sce | 4f35fcf3daf9253e326875ed4e505da4ce8ae417 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | Ex16_1.sce | // Calculate the net magnetic moment per iron atom in crystal
clc
a = 2.87 // lattice parameter in angstrom
n = 2 // number of atoms per unit cell
m = 1750 // Saturation magnetization in kAm^-1
mu = 9.273e-24 // bohr magneton
printf("\n Example 16.1")
m_atom = m*1e3*(a*1e-10)^3 /n
mu_b = m_atom/mu
printf("\... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.