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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
07a6b95e912b330a63028a533638b97060937b73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH1/EX1.12/Example1_12.sce | e9dcbc162e9f99dc20b1ca07202fd037228bca3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | Example1_12.sce | clear;
clc;
// Example: 1.12
// Page: 24
printf("Example: 1.12 - Page: 24\n\n");
// Solution
// The relation is:
// (C/5) = ((F - 32)/9)
// For C = F
C = - (32*5/4); // [degree Celsius]
printf("The temperature which has the same value on both the centigrade and Fahrenheit scales is %d degree Celsius o... |
3f84d749f852f039d46d101d222120da8edcf301 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH2/EX2.10/10.sce | 68ce7f130f851bd154f9fef610040dad0dc6c7b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 680 | sce | 10.sce | clc ;funcprot(0);
//Example 2.10
//Initializing the variables
phi = 30; //30 degree
h = 1.2 ; // Height of tank
l = 2; // Length of tank
g = 9.81;
//Calculations
function[Theta]=SurfaceAngle(a,phi)
Theta = atand(-a*cosd(phi)/(g+a*sind(phi)));
endfunction
//case (a) a = 4
disp(tand(SurfaceAngle(4,phi)),"Tan of... |
0721a69effeaf5a1b50a32265a7bbe53617e4aa8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH1/EX1.2.d/Ex_1_2_d.sce | 10564551397fca85fd06d2afe1743a87aa18f5c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 123 | sce | Ex_1_2_d.sce | //Example 1.2 (d)
clc;clear;
t=-5:0.01:5;
x=-0.5*(t-4);
plot(t,x);
title('x(t)=r(-0.5t+2)');
zoom_rect([-5 0 5 5]); |
960db68531a35640d25c2ef9cbf6843c6b8a25ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /824/CH4/EX4.11/4_11.sce | b8da7df28727bddd093f59e1188ecd4530fb6187 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 672 | sce | 4_11.sce | //clear//
clc
clear
exec("4__11.sci");
t = 0:1:500;
function w=f(t,C)
w =zeros(4,1);
v = v0+v00*t;
w(1)= -k*C(1)*C(2)-v00*C(1)/v;
w(2) = -k*C(1)*C(2)+v00*(Cb0-C(2))/v;
w(3) = k*C(1)*C(2)-v00*C(3)/v;
w(4) = k*C(1)*C(2)-v00*C(4)/v;
endfunction
x=ode([.049;0;0;0],t0,t,f);
l1=x(1,: )'
l2=x... |
1518839afe1b5d571b6a5b55afd67197633b3379 | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/Link2AT.sci | 63db7a6f1a771771dc521ef95dd47b0aefcab011 | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 2,402 | sci | Link2AT.sci | // Link2AT.sci generates "A" and "T" matrix from link information
// www.controlsystemslab.com July 2012
//
// Usage: [A,T] = Link2AT(L,q);
// if L contains n links, A becomes a 4 x 4 x n matrix
// and T is the overall homogeneous transformation; i.e, T=A1*...*An
//Notes:
// - For a revolute joint the THETA p... |
55b2e4dc91c76896e5521ae8e81cef97d768b923 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH14/EX14.3/ex3.sce | 502cc6791f55a56ed86eb399dac792889e3fbade | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | ex3.sce | // Example 14.3 Redesign the output stage of Example 14.2
V_T=25*10^-3; // (V)
I_S=10^-14; // (A)
I_Q=2*10^-3; // Required quiescent current (A)
// We select I_BIAS=3mA which is divided between I_R and I_C1
// Thus we select I_R=0.5mA and I_C1=2.5mA
V_BB=2*V_T*log(I_Q/10^-13);
disp(V_BB,"V_BB (V)")
I_R=0.5*10^-... |
d4ae78de6c234b20e2732d2f41fdd4966797890d | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH6/EX6.2.2/ques2_2.sce | ec1d804ae1bf4360befaf71ebd2b1f4865d981ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 122 | sce | ques2_2.sce | //no output
//ques1
clc
disp('definite integral');
syms x a
g=x^7/(a^2-x^2)^1/2
f=integ(g,x,0,a);
disp(float(f));
|
61b7820f3600fd45298d2e486f3d1c07317ac717 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH15/EX15.4/15_4.sce | 069f53fd7a23f400b9b393757bc0fd9c1b9e3377 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | 15_4.sce | clear; clc; close;
Vm = 30;
Idc = 50;
C = 100;
Vdc = Vm - 4.17*Idc/C;
disp(Vdc,'Filter dc voltage = ');
|
3680646b7a335c2c2502df955448ef560f519bee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH7/EX7.25/Ex7_25.sce | 0128a2fa0af9baeb70c211a97c1a7dd8efb4f85d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,519 | sce | Ex7_25.sce | //Example 7.25
// An estimator design for a simple pendulum
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space representation
w0=1;
F=[0 1; -w0^2 0];
G=[0 1]';
H=[1 0];
J=0;
n=sqrt(length(F));//order of the system
// ... |
be1c261a2d35ddc4e1b3d5db9ab21aed2b51ff60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH5/EX5.4/Ex5_4.sce | a83839d26b80f3cb9df8ca1092f2980455434c9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 963 | sce | Ex5_4.sce | clc
//Machine A
f1 = 2000 // annual benefit from better production quality in Rs
i = 10 // interest rate
i = 10/100
f2 = 12000 // salvage value in Rs
f3 = 8000 // operating and maintenance cost in Rs
I1 = 100000 // initial cost in Rs
n = 5 // years
p1 = (f1*((1+i)^n-1))/(i*(i+1)^n)
p2 = f2/(1+i)^n
c1 = p1 + ... |
30244fe43babe5531e3d2a1fd396e2f321b6f565 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.4_16.tst | 982ec6321d307c316b022cee4f125a91a2c575fe | [] | 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 | 5,873 | tst | bow.4_16.tst | 4 1:0.05263157894736842 16:0.010638297872340425 139:0.3333333333333333 142:1.0 143:1.0 146:1.0 168:1.0
4 16:0.010638297872340425 27:2.0 28:1.0 33:0.3333333333333333 41:0.25 77:1.0 104:1.0 112:1.0 162:1.0 589:1.0 988:1.0
4 1:0.05263157894736842 6:0.25 15:0.3333333333333333 16:0.010638297872340425 18:0.5 19:1.0 30:1.0 33... |
feb5fa8c2b943844cfdf6c269b58b1ca3dbd6577 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH4/EX4.4/Ex4_4.sce | c4313952786313cba152013ab3e236f330f742a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | Ex4_4.sce | clc
//initialisation of variables
f=5//cm
d=10//cm
r=150//liters
p=4//in
A2=7.84*10^-3//m^2
//CALCULATIONS
A=((%pi)*(f*10^-2)^2)/p//m^2
V1=(r*10^-3)*(1/60)/A//m/s
V2=(A*V1)/A2//m/s
//RESULTS
printf('The velocity of the fluid in both pipes=% f m/s',V2)
|
ee5d3490a3531c3b8cf7ccb5b295c1ccf64083fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH3/EX3.17/ex3_17.sce | 2ee807ffbfbb76c85644ee8a6ec38ca412c76499 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex3_17.sce | // Exa 3.17
clc;
clear;
close;
// Given data
I_Zmin = 1;// in mA
I_Zmin=I_Zmin*10^-3;// in A
I_Zmax = 5;// in mA
I_Zmax=I_Zmax*10^-3;// in A
I_Lmin = 0;// in mA
I_Lmin=I_Lmin*10^-3;// in A
I_Lmax = 4;// in mA
I_Lmax=I_Lmax*10^-3;// in A
R = 5;// in kohm
R = R * 10^3;// in ohm
V_Z = 50;// in V
disp("Part... |
4b71aa69fe4743dbb0d711729f6be1fea4f1017d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH4/EX4.2/4_2.sce | 70a3e9d172c8ccdd5b98b420445ad3d0c26aeab6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | 4_2.sce | clc,clear
printf('Example 4.2\n\n')
Slots=120
Pole=8
Phase=3 //number of phases
n=Slots/Pole //Slots per Pole
m=Slots/Pole/Phase //Slots per Pole per Phase
beeta=180/n //Slot angle in degree
K_d=sind(m*beeta/2) /(m*sind(beeta/2)) //Distribution Factor
printf('Distribution Factor:\nK_d=%.3... |
0c8fed804842da6e39df32a6f572fd39077f739f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH12/EX12.2/Ex12_2.sce | 4f059fa2a2bdfdd6b1c1124fb8f3b1e888d82817 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sce | Ex12_2.sce | // Example 12_2
clc;funcprot(0);
// Given data
T=20;// °C
SPL=20;// Sound Pressure level in dB
// From table 1.1,
rho_0=1.204;// kg/m^3
gamma=3.5/2.5;// Specific heat ratio
// Calculation
// (a) Inverting equation 12.18,
Pa=2*10^-5*(1*10^(20/10));// Pa
// (b) From equation 12.17,
a=(gamma*1.013*10^5*rho_0... |
cb7d71b9cbb9d5c0810ffef4cbf775067865e760 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH5/EX5.27/5_27.sce | 5d44737f884a3ac4c731cf2f4b9099beaff8ca3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | 5_27.sce | //Example 5.27
//Linear Iteration Method
//Page no. 198
clc;clear;close;
deff('x=f(x)','x=20/(x^2+2*x+10)')
printf('n\tx\t\tf(x)\n')
printf('-------------------------------------\n')
x=1;
for i=1:19
printf(' %i\t%.10f\t%.10f\n',i,x,f(x))
x1=x;
x=f(x);
end
printf('\n\nx = %.10f',x1) |
7c0c76c8422ddfe760ac7489cc2dd9ccd7775f2a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_In_Engineering_Dr._K._M._Gupta_1367.zip/Material_Science_In_Engineering_Dr._K._M._Gupta_1367/CH14/EX14.3/14_3.sce | a3639a32e1dae066e63d8d8f9ac9552f7afa09a7 | [] | 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 | 225 | sce | 14_3.sce | errcatch(-1,"stop");mode(2);//Find Power loss due to Hysteresis
//Ex:14.3
;
;
a=600;//loop area in J/sqm
f=50;//in Hz
v=0.01//volume in cu. m
w=a*f*v;//in W
disp(w,"Power loss due to Hysteresis (in W) = ");
exit();
|
88ce4dfe58c3adf2dc3cea8e2b1a4f3ba26cbbdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH3/EX3.28/ex3_28.sce | 5d0997091bd87fc94841bc4c0fee7ef2f6e7b521 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | ex3_28.sce | //Exam:3.28
clc;
clear;
close;
d=1.181;//
wavelength=1.540;//in angstrom
angle=90;//in degree
n=2*d*sind(angle)/(wavelength);//the bragg reflection index
disp(n,'bragg reflection index for BCC crystal='); |
e0392e99349b54a699e4a03963848a7807619057 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.14/ex5_14.sce | 1733960517e76c9aa7846bbc0136d8a06c0bad4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,030 | sce | ex5_14.sce | //Chapter-5, Example 5.14, Page 171
//=============================================================================
clc
clear
//INPUT DATA
V=200;//voltage in V
R=50;//resistance in ohms
L=0.5;//inductance in Henry
F=50;//freq in hz
//CALCULATIONS
Xl=2*%pi*F*L;//inductive reactance
Z=(R)+((%i)*Xl)//impedance
... |
84413ef7fdaf925d76f6fd73550782e77952f23b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3369/CH3/EX3.12/Ex3_12.sce | 1e6e0a8fdb9632fda78d4406d7d86f6bb6bae5c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | Ex3_12.sce | //Chapter 3, Exmaple 12, page 107
//Binding energy
clc
clear
h = 4.15*10**-15
c = 3*10**8
Imax = 1000*10**-10
We = h*c/Imax
printf("\nBinding Energy = %e eV ",We)
//Answer may vary due to round off errorS
|
17f1353397d91cb71ea020b9d5b2bf63e04c4e11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH5/EX5.4/ex_5_4.sce | 1c64503e327b3c764cc909bafcb5d7b56b030a49 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_5_4.sce | // Example 5.4: conductivity
clc, clear
// given :
format('v',8)
V=.432; // voltage drop across the wire in volts
I=10; // current through the wire in A
l=1; // length in m
d=1*10^-3; // diameter in m
R=V/I;
A=(%pi*d^2)/4;
p=(R*A)/l;
b=1/p;
disp(b,"conductivitty,b(ohm^-1.m^-1) = ")
|
460740ee6c6fe174af1d961980d5aee7c7fe113f | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH5/EX5.3/exm5_3.sce | 9a698cd1b1c0162b5c87d418ba92378f28aecbd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exm5_3.sce | // Example 5.3
// A program to evaluate the power series. It uses if...else to test accuracy.
// e^x=1+x+x^2/2! + x^3/3! + +x^n/n!,0<x<1
ACCURACY=0.0001;
x=input("Enter value of x:");
n=1;term=1;sum1=1;count=int8(1);
while(n<=100)
term=term* x/n;
sum1=sum1+term;
count=count... |
200926f2e37a058007960a383482c3346d0730ed | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH6/EX6.4/6_4.sce | 8c77eba15878c5163f773a01b898a2e408db0d0c | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | 6_4.sce | clc;
VO=0.21;
VN=0.79;
n=3.5;
nO=VO*n;
nN=VN*n
nC=1;
m_O=32;
m_N=28;
m_C=44;
mO=m_O*nO;
mN=m_N*nN;
mC=m_C*nC;
m=mO+mN+mC;
disp("total mass is:");
disp("kg",m);
//percentage of carbon is
mc=12;
P=mc*100/m;
disp("percentage of carbon is:");
disp("%",P)
n=nO+nN+nC;
m_=[nO*m_O/n]+[nN*m_N/n]+[nC*m_C/n]
R_=8.3145;
R=... |
3f3adbaa9a14e6f6c36b15884e3ecbc202acd660 | 3b742855dce5a8af730e0cbc0fa60a17c93592a7 | /B-splines.sce | e8c9b98b6e1104318a190d3be72734c969f945fb | [] | no_license | AlexisZankowitch/scilab | 287c90ba944622f50c6fd445044441618153d04b | 2a6dfafe03743e26fd78308265813134025cf224 | refs/heads/master | 2021-05-30T04:37:00.736119 | 2015-12-06T13:39:59 | 2015-12-06T13:39:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,540 | sce | B-splines.sce | function T = polyControleBsplines()
ibutton = 0;
i=1;
while (ibutton <> 2 & ibutton <> 5)
plot2d(0,0,rect=[0,0,3,3])
[ibutton,x,y]=xclick()
T(i,:)=[x,y]
plot(x,y,"ro");
if(i>1)
plot([T(i-1,1),T(i,1)],[T(i-1,2),T(i,2)])
end
i = i+1
end
... |
e80d7310b4ecff7614801bebd96c84fbe53b4734 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH28/EX28.5/Example28_5.sce | c2cb1bcca0047de21823ce6c36b86c28c9df0afc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Example28_5.sce | //Given that
C = 1 //(say)
R = 1 //(say)
//Sample Problem 28-5a
printf("**Sample Problem 28-5a**\n")
//q = qo*e^(-t/(R*C))
//q = qo/2 when t = Tq
Tq = log(2)*R*C
printf("At t=%fT, the capacitor will be half charged\n", Tq)
//Sample Problem 28-5b
printf("\n**Sample Problem 28-5b**\n")
//U = Uo*e^(-2*t(R*... |
ee2cb100aa9e9b4e65867fcadbc59b09a6ec5742 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH9/EX9.5/Exa9_5.sce | 1acf7a0f8722d59394c5d3cce444aeda96320268 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,217 | sce | Exa9_5.sce | //Exa 9.5
clc;
clear;
close;
//Given data :
P=100000;//in Rs
F=20000;//in Rs
n=8;//in years
Sum=n*(n+1)/2;//sum of the years
disp("The rates for years 1-8, are respectively 8/36,7/36,6/36,5/36,4/36,3/36,2/36,1/36");
disp("The calculations of Dt and Bt for different values of t are summarized in table below u... |
a6039509631c5b036796d8bd015dd23c3d91dd8e | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH17/EX17.7/ex_17_7.sce | 5b2f13f1fad3912319cef9924a80d0010e88e61d | [] | 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 | 845 | sce | ex_17_7.sce | //find torque req,stress,numbr of threads
clc
//soltuion
//given
do=25//mm
p=5//mm
W=10000//N
D1=50//mm
R1=25//mm
D2=20//mm
R2=10//mm
u=0.2//=tan(q)
u1=0.15
N=12//rpm
pb=5.8//N/mm^2
d=do-(p/2)//mm
Lead=2*p
//tan(a)=Lead/(%pi/d)=b=0.1414
b=0.1414
//P=W*tan(u+a)
//P=W*[(tan(a)+tan(q))/(1-tan(a)*tan(q)... |
d015f7c06f78e41182900089d1c433c0dc2839a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH13/EX13.03/13_03.sce | 8e57e219faa9118e0e129c09cef92386110ec4ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 968 | sce | 13_03.sce | //pathname=get_absolute_file_path('13.03.sce')
//filename=pathname+filesep()+'13.03-data.sci'
//exec(filename)
//Pressure of steam entering(in bar):
p1=12
//Pressure at exit(in bar):
p2=6
//Mass flow rate(in kg/s):
m1=5
m2=m1
m3=m1
//Exit velocity(in m/s):
C3a=500
//From steam tables:
h1=3045.8 //kJ/kg
h... |
0c0a910db9e06cc2a5324860a573af813fe4c1cd | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Posição dos Eixos.sce | 7caaa82bc26b55fab1a130835f80354b53835ce1 | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | Posição dos Eixos.sce | x=0:0.1:2*%pi;
plot(x,sin(2*x),'rpentagram')
a=gca(); // definição da janela de plotagem
a.y_location ="middle"; // left, middle
a.x_location ="middle"; // bottom, origin
|
0b355826c5eabc62079b5e5670630dedde485a36 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnTa/enta.5.tst | 1490755d6b5cfa0a3755a991c18e2155dd31092a | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 63,708 | tst | enta.5.tst | a a b r o o ஆ ப ் ர ூ
a a g a u r s h o l a ஆ க ் அ வ ு ர ் ஷ ோ ல ா
a a h w a a n i t ஆ ஹ ் வ ா ன ி த ்
a a k a a s h ஆ க ா ஷ ்
a a n a n d i t ஆ ன ந ் த ி த ்
a a n a n d m a y e e ஆ ன ந ் த ம ா ய ீ
a a r i f ஆ ர ி ஃ ப ்
a a s h i k ஆ ஷ ி க ்
a a s m a n ஆ ஸ ் ம ன ்
a a s m a n ஆ ஸ ் ம ா ன ்
a a t i k a h ஆ த ... |
5b477813fad29f813956fef3be895c92590c924f | 84ea66af72ab1c482a1a03fd2d8bdc74e9ad1668 | /Tutorial01-Basics/Scilab_code/Tutorial1_Matrix_manipulation.sce | e4e06a67194bb4fee7b857aaa42c5bcb0b365ecf | [] | no_license | FOSSEE/scilab-tutorials | c4a9464a5b163074566234e42659f99e2012ecc0 | 301609f6ef1653dee4fa2ed74bca3e6f7abc1308 | refs/heads/master | 2020-03-26T23:48:04.178016 | 2018-10-08T00:44:39 | 2018-10-08T00:44:39 | 145,567,949 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,239 | sce | Tutorial1_Matrix_manipulation.sce | //Script for Matrix manipulation tutorial
//This script gives a demonstration of a few basic matrix operations used in Scilab
//Manual entry of matrices (A,B,x)
A = [1 2 3;3 2 1;2 4 5];
B = [5 4 2;1 8 9;5 4 1];
x = [1;2;3];
//Elementwise Matrix operations
//Summation of two matrices
Mat_Sum = A + B;
disp(Mat_Sum,'A+B... |
e7e1bc869daaf18cfa6456b3e5d8f79505472dfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH9/EX9.4/Example9_4.sce | 9182f0d2a751a56e860f64e3ea3e1113190fb1c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,435 | sce | Example9_4.sce | clear ;
clc;
// Example 9.4
printf('Example 9.4\n\n');
// Page no. 235
// Solution
f_NH3 = 5 ;// NH3 in feed-[g]
f_N2 = 100 ;// N2 in feed-[g]
f_H2 = 50 ;// H2 in feed-[g]
p_NH3 = 90 ;// NH3 in product-[g]
m_NH3 = 17 ;// Molecular wt. of NH3-[g]
m_N2 = 28 ;// Molecular wt. of N2-[g]
m_H2 = 2 ;// Molecular wt. of ... |
a918ec070c1caee43e1244f935e5eda61a5f76cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH1/EX1.1.8/U1_C1_8.sce | 4761dff23f0af88f2c0ca26e7747e24e47f1aa59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | U1_C1_8.sce | //variable initialization
IbyI_not=.99 //ratio of moving length and rest length
c=3*10^8; //speed of light (meter/second)
//calculation of velocity of rocket ship
Beta=(1-IbyI_not^2)^(1/2); //calculating value of Beta
v=Beta*c; //vel... |
b96e1ac81768322a8b476969b34a1a74f43adc11 | 31bd22a0de3a609c9bdfa652c93ed112749bf698 | /MATEMATICAS PARA INGENIERIA I/Archivos scilab/tarea2.sce | 728cef313e83c7d9e7b27221f594a2d69342b25e | [] | no_license | eliasrobleroperez/4to-cuatrimestre | 048e4da60229962106595a1d2caab04733e6e9d8 | 529bc470e75e5165ea01637d71e2e99025754d53 | refs/heads/master | 2020-12-03T18:26:05.289314 | 2020-01-02T21:12:33 | 2020-01-02T21:12:33 | 231,429,581 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | tarea2.sce | /*clf();
x = linspace(0,100,10000)
y = ((x+1).*%e^x)-(x.*%e^-x);
ylabel('$y=(x+1)e^x-xe^{-x}$','fontsize',5,'color','blue');
plot(x,y)
clf();
x=linspace(0,100,10000);
z=(x+1).%e^x-x.%e^-x
ylabel ('${(x +1)e^x-xe^-^x}$','fontsize', 4);
plot(x,z)*/
clf();
x= linspace(0,2*%pi,1000);
r=2.*cos(3.*x);
polarplo... |
86908b6cbc75d1ed6325fbef8c1236e03b05b18d | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH6/EX6.9.2/ex9_2.sce | 474b4fbb99f2600299dd0025ee3cf7e9f4576a13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 55 | sce | ex9_2.sce | clear
clc
integrate('1/sin(x)^3','x',%pi/3,%pi/2)
|
cb4af5426514a77a2a1015fee6d16ee3bfb45237 | 2764ca18ed56fdd91b2ecb2c2025f496cb7685f9 | /CSCI430/GaryFowlerCSCI430Prog1/Debug/testfile1.tst | 4dcdb04f4b98eddaf289e05c38427604c70c207e | [] | no_license | IamGary24/CollegeCourseWork | 576c0b299124ea1c61c59266e9e15872f4f1184d | 801d78042dbe0d3af993a5eff411c39157124b6b | refs/heads/master | 2021-05-13T14:06:43.616746 | 2018-01-08T21:58:05 | 2018-01-08T21:58:05 | 116,728,205 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 99 | tst | testfile1.tst | enqueue 5
enqueue 7
dequeue
enqueue 3
enqueue 8
enqueue 9
dequeue
dequeue
dequeue
dequeue
dequeue
|
1fe0949c8cdd452b69ed5e9c9b3f92c6c58c2537 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH19/EX19.3/19_3.sce | b7d47b99f085869ebe7d660aa975f1d2f87eaab3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | 19_3.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 19.3
//calculation of the power of lens for the spectacles
//given data
d=1.5//distance(in m) upto which the man can clearly see objects
//calculation
f=-d//focal length of the lens
P=1/f//definition of power of ... |
01008bac37cea35da5bcfaec86866ff62625c362 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH4/EX4.13/ex4_13.sce | e18e6e37ebe9f07d83e24efb799db69ba0d2ec07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 889 | sce | ex4_13.sce | // Exa 4.13
clc;
clear;
close;
format('v',5)
// Given data
Beta = 44;
R_L = 1.51 * 10^3;// in ohm
R_E = 270;// in ohm
V_CC = 4.5;// in V
R2 = 2.7 * 10^3;// in ohm
R1 = 27 * 10^3;// in ohm
R_C = 1.5 * 10^3;// in ohm
Vth = V_CC * (R2/(R1+R2));// in V
Rth = (R1*R2)/(R1+R2);// in ohm
// Applying KVL to input... |
e9967859632e822f088c542e3c33ed9d463980d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH1/EX1.13/Example1_13.sce | 15431a639b7e153ac020ae69257ee258dd637694 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 861 | sce | Example1_13.sce | clear;
clc;
// Example: 1.13
// Page: 24
printf("Example: 1.13 - Page: 24\n\n");
// Solution
//*****Data*****//
delta_T_C = 30;// [OC]
//*************//
// The relation between the Kelvin temperature scale and the Celsius temperature scale:
// T(K) = T(OC) + 273.15
// Here, the temperature rise is ... |
23a62d757a7723d009068fcabcf427fc0d758843 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH8/EX8.10/Ex8_10.sce | fba448fa20dfc709206aa22241c5dbecd17200f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sce | Ex8_10.sce | //Example 8_10
clc;clear;funcprot(0);
// Given values
rho_m=788.4;// kg/m^3
mu=5.857*10^-4;// The dynamic viscosity of methanol in kg/m.s
d=0.03;// Diameter of orifice in m
D=0.04;// Diameter of pipe in m
rho_Hg=13600;// kg/m^3
g=9.81;// m/s^2
h=0.11;// m
//Assumptions
C_d=0.61;
//Calculation
beta=(d/D);... |
e086efa89a93e6b9d5a470ea13248e36c0d0a71c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH7/EX7.17/7_17.sce | 4cb4bb14cc66227992455dd91c90e45929ff182c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sce | 7_17.sce | clc,clear
printf('Example 7.17\n\n')
V_L=400,V_ph=V_L/sqrt(3)
E_bph=V_ph
P=4,f=50//Pole and frequency
delta_mech=4*(%pi/180) //mechanical angle in degrees by which rotor is behind
delta_elec= delta_mech *(P/2) //delta_mech convertd to electrical degrees
Z_s=complex(0,2) //synchronous impedance
//referring t... |
01093db5837bc41b00a229b2903e48081b6e2101 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.21/Ex1_21.sce | 1f9555d91af3ed61c02fbdafb2803ee54b679fb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,214 | sce | Ex1_21.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 21
clc;
disp("CHAPTER 1");
disp("EXAMPLE 21");
//VARIABLE INITIALIZATION
I=20; //current source in Amperes
v1=10; //voltage source in Volts
v2=40; //voltage source in Vo... |
b4b93fc499ce0af2ee3172b3ce6fd939f15326a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH35/EX35.13/ex13.sce | 6150d62e1cf98aacb1776a65e30869c47383d941 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex13.sce | clc
disp('d and n represents the deviation and no. of objects in given sample')
n=10
d=0.04
m=0.742
M=0.700
disp('taking the hypothesis that the product is not inferior i.e. there is no significant differene between m and M')
t=(m-M)*(n-1)^0.5/d
disp('degrees of freedom=')
f=n-1 |
a1bdcce8fe50083d2c25e4038884157aeaed9ae1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH4/EX4.5/ch4ex5.sce | f4fdc2f01ce8b94cca65475c232d1d0efad3dfd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | ch4ex5.sce | //signals and systems
//example4.5
// X(S) = s+3+5*exp(-2*s)/(s+1)*(s+2)) Re(s)>-1
s1 =%s ;
syms t s;
[A]=pfss((s1+3)/((s1+1)*(s1+2))); //partial fraction of F(s)
F1 = ilaplace(A(1),s,t)
F2 = ilaplace(A(2),s,t)
//F3 = ilaplace(A(3),s,t)
Fa = F1+F2;
disp(Fa,"f1(t)=")
[B]=pfss((5)/((s1+1)*(s1+2))); //partial ... |
c2c26a1bc563ad649476610aa28ca1706d530e0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH14/EX14.1/Ex14_1.sce | 1771639f2e0849ebd2ed1f627ff828d25d8be67a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | Ex14_1.sce | //Example 14.1//
//(a)=The mass of each component will be
a=1.00;//m^3 //composite
b=0.70;//m^3 //Vol % E-glass fibers
c=a-b
mprintf("c = %f m^3",c)
d=2.54;//Mg/m^3 //density Of E-glass
mg=d*b
mprintf("\nmg = %f Mg",mg)
e=1.1;//Mg/m^3 //density of epoxy
me=e*c
mprintf("\nme = %f Mg",me)
w=(mg/(mg+me))*100... |
8f8d6408b32e49424fde251266f8e2a0db1e7749 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/local/2dof_controller/dc/imc/scilab/vande_imc.sce | 17eaba0af0e4a707f9a6ec1ac6e0ae76a2f74922 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | vande_imc.sce | // Updated(24-7-07)
// 10.10
// Kannan Moudgalya, April 2004
num = [-1.117 3.1472]; den = [1 4.6429 5.3821];
G = trfu(num,den);
Ts = 0.1;
[B,A,k] = myc2d(G,Ts);
alpha = 0.5;
getf imc_stable.sci;
[k,HiN,HiD,R,S] = imc_stable(B,A,k,alpha);
[zk,dzk] = zpowk(k);
Bp = B; Ap = A;
|
d727a37b5902d6d58431977641456df914b85923 | c87a44be475d3008f7d0fcb8dd2eac3b2fa78e94 | /Examples/Chapter_7/Example_7_6.sce | ac842fe99131167a2b95f9d9cc737dce4630fe9f | [] | no_license | Echeban/icmd3e | 6c766ffafab0137a64de46448879d8a9eed2903c | 6ca0273e322fa390fcabc66669f3f56c9af5a563 | refs/heads/master | 2020-03-27T09:08:47.798549 | 2018-08-27T15:45:44 | 2018-08-27T15:45:44 | 146,316,991 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,607 | sce | Example_7_6.sce | // Example 7.6
mode(0); clc; funcprot(0);
exec('C:\Users\EJB\OneDrive\Scilab\CLT.sci');// see Appendix
E1=45000; E2=12000; G12=5500; //MPa E-glass/Epoxy Table 1.1
v12=0.19; tt=0.6; tk=0.1; //mm
F1t=1020; F1c=620; F2t=40; F2c=140; F6=60;//MPa Table 1.1
orientation=[0,90,90,0];
thickness=[3,4,4,3]*tk;//mm
n=lengt... |
5f996f610bd758020c84aa1aea1b0d0e99498044 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH5/EX5.7/Ex5_7.sce | 10ce853819e82b0dfaa68145cb599144ffdcb8c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 800 | sce | Ex5_7.sce |
// Theory and Problems of Thermodynamics
// Chapter 5
// Second law of Thermodynamics
// Example 7
clear ;clc;
//Given data
T1 = 300 // ambient atmosphere temperature in K
T2 = 600 // reservoir temperature in K
TR = 240 // refrigerator temperature i... |
2a54f8174cb539e25acef0b619053dab39644f08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH2/EX2.18/ex2_18.sce | a32f495a79e9728c989940988a58a9cc0d6c89f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | ex2_18.sce | clc;
v0=20; //velocity in ft/sec
g=32; //gravitational constant in ft/sec
t=2; //time in sec
v=v0+(g*t); //kinematical equation
disp(v,"Velocity in ft/sec = "); //displaying result
s=(v0*t)+(1/2)*g*t*t; //kinematical equation
disp(s,"Distance in ft = "); //displaying result |
656674af656bfac73f95d010825ff0c5f09a9d86 | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/equationDifferentielle/chapitre3/ex14.sci | 57e66aaaf84879ba715b008049290ea7caaf025f | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sci | ex14.sci | clf
c=0.4;xmin=0;xmax=20;N=101;
function[y]=f14(x,u)
y(1)=u(2);
y(2)=c*(1-u(1)^2)*u(2)-u(1);
endfunction
t=linspace(xmin,xmax,N);
y0=0;vy0=1;
y=ode([y0;vy0],0,t,f14);
comet(y(1,:),y(2,:))
//plot2d(t,y(1,:))
|
77fac12bdc1e4f736187ed78ecc42af7a1c6e262 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH13/EX13.11/13_11.sce | 1d2522eb9a564f70f28c936144548287163f0694 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sce | 13_11.sce | clc;
clear;
format('v',6);
Pt=10^6;
Ddb=23;
r=10^4;
Pisotropic=Pt/(4*%pi*r^2);
D=10^(Ddb/10);
P_main_beam=D*Pisotropic;
disp(P_main_beam,"The power density radiated in the diection of main beam(in W/m^2)=");
|
7e7dc0bcfff63f028ffb1513c7e2ee997e992799 | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH9/EX9.5/example9_5.sce | daae1c909bffc5e7bc357bf7c0fd2b6682ea0d77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example9_5.sce | // to find the longest pulse width
// example 9-5 in page 261
clc;
//Given data
Ri=10e+6;// input resistance in ohm
Cc=0.1e-6;// coaxial cable capacitance in farad
//calculation
printf("pulse width=%.1f s",Ri*Cc/10);// here pulse width=tou/10 seconds
//result
//pulse width=0.1 s |
da1aa624d6323e789879b71321c8b946b13adabb | 6a585e9d0b48fac0f59ea732a39adba1ec9c1450 | /conversionGrados.sce | 01b1b44ac6026898d614e93af880a804645ed2cd | [] | no_license | josrangel/scilabEjemplos | e02cbe23976177837859f04cc2e3a4c7199bd25f | 0523f1b350d53696525a9cd0d6bb58cd5e2a59ef | refs/heads/master | 2022-12-28T21:19:28.795105 | 2020-10-10T13:06:47 | 2020-10-10T13:06:47 | 302,904,089 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | conversionGrados.sce |
function convCAF(celcius)
fahrenheit=1.8*celcius+32
printf("La conversion de grados Celsius a Fahrenheit es : %f", fahrenheit)
endfunction
function convFAC(fahrenheit)
celcius=(fahrenheit-32)/1.8
printf("La conversion de grados Fahrenheit a Celsius es : %f",celcius)
endfunction
|
78e33c4d822b0e8a5bdfaf797537932c7ff9f8db | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH7/EX7.55/example7_55.sce | 4ea3b760c0050c787917754accd5908f63ae06d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 497 | sce | example7_55.sce | // Evaluate Vds and Rd
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 7-55 in page 358
clear; clc; close;
// Given data
b=10^-4; // Constant in A/V^2
Vdd=10; // Drain voltage in V
Vt=1; // Voltage expressed in volts
Ids=0.5*10^-3; // Drain-s... |
2f384cc2c9a3f7e7477c0432990576e6b0147b8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH12/EX12.5/ex12_5.sce | 8e01d9ad5ec78840cf7366f48a6ccd80c04a234c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 941 | sce | ex12_5.sce | //Chapter-12, Example 12.5, Page 344
//=============================================================================
clc
clear
//INPUT DATA
Imax=400*10^-3;//maximum value of current in mA
Iav=150*10^-3;//average value of current in mA
Vs=100;//maximum value of secondary voltage in V
//CALCULATIONS
//we know th... |
16da8939a69d5d36fbfc5c3a827c780c3a62bcd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH7/EX7.17/7_17.sce | 2da6a994749b2ce98f678b6a459a19f7df9f2aa6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 83 | sce | 7_17.sce | clc;
hR=-281102;
hP=2*-393520+3*-241830;
h=-hR+hP
disp(h,"molar enthalpY is")
|
7351fdafbdee4ee9f4724a9e3f78228963918b3a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_S._L._Kakani_And_K._C._Bhandari_2825.zip/Electronic_Devices_And_Circuits_S._L._Kakani_And_K._C._Bhandari_2825/CH19/EX19.11/Ex19_11.sce | b1f9123e187fc701f677823ea8d3e047fd463f3c | [] | 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 | 173 | sce | Ex19_11.sce | errcatch(-1,"stop");mode(2);//Ex19_11 Pg-962
oct='23'; //binary input
dec=oct2dec(oct) //decimal output
disp("The decimal equivqlent of 23 is")
disp(dec)
exit();
|
6f071a1cd1ebf9eb670f7b3673278a0482204082 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH3/EX3.36/Ex3_36.sce | 84cc2421abc9d1ed186d98e9501084e152a71136 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | Ex3_36.sce | //Example 3_36
clc;
clear;
close;
format('v',6);
//given data :
f=100;//Hz
C=100;//micro F
Cdash=200;//micro F//When current is half of maximum
L=1/(2*%pi*f)^2/(C*10^-6);//H
disp(L,"Inductance(H)");
XL=2*%pi*f*L;//ohm
XC=1/2/%pi/f/(Cdash*10^-6);//ohm
//at I=Im/2 Z will be 2*R
//Im=V/R and I=V/Z=V/sqrt(R^... |
5cf94b4a0cbea5f3d22561bbd40f036c24884675 | da9e7a3715817f30e928501ef7df7e0761b30267 | /houghcircles/abc.sci | da62f1cd5ef51c7b0d11305c6a334ef0b74505ff | [] | no_license | abhilashasancheti/Scilab-and-image-procesing-Toolbox-using-OpenCV | 0dfe057928b7ea19727e8c363da3f4deab588265 | c3facb7f29be33a8691501352463d1acb0f4fce7 | refs/heads/master | 2021-04-12T04:12:24.904824 | 2015-07-29T16:50:37 | 2015-07-29T16:50:37 | 39,903,072 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | sci | abc.sci | exec builder_gateway_cpp.sce;
exec loader.sce;
b=houghcircles(a,9,9,2,2,1,50,200,100,0,0);
|
8fd0ca95718e0097691b3225e5aeb7fb8111e416 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /Structure/PIL_slab_coup.sci | c696ea827d8c93207a86612b9474a9864813b8c2 | [] | 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 | 3,971 | sci | PIL_slab_coup.sci | // **** Purpose ****
// Given a primitive unit cell and its wannier Hr couling information.
// Given another dimension reduced slab. This code tells you sites
// that involved the in <n(0)|H|m(R)> calculations in the new slab cell.
// **** Variables ****
// [pc_vec]: 3x3, real
// <= primitive lattice row vectors
// [... |
bd797418545e21a69179b6fe0ad97591ca865afe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3788/CH8/EX8.5.2/Ex8_5_2.sce | d3378503c5fdbeb5155991d6e257fb20c5071778 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,005 | sce | Ex8_5_2.sce | //Example 8.5.2
//Calculate the rain attenuation
clc
clear
Upfreq=17.80 //17.80Ghz
//Polarization=vertical
kv=0.0510
av=1.0927
elevationangle=45
hs=0.05
hr=4.00
R=63
latitude=25
Ls=((hr - hs)/(sind(elevationangle)))
printf("The slant path length is %f km",Ls)
Lg=Ls*c... |
c264e8e8a1afc3a3c83efd3d9e9c5eb74bac5ace | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH3/EX3.12/Ex3_12.sce | 2ccbea2f8032b2fddd2c7e43e4dc74f5043b0aec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 834 | sce | Ex3_12.sce | clc
clear
//DATA GIVEN
m=0.44; //mass of air in kg
T1=180+273; //initial temperature of air in K
T2=15+273; //final temperature of air in K
W12=52.5; //work done during the process in kJ
//V2/V1=3
Vr=3; ... |
c687829e3f6c1a114d9e557672ec5c38323dd9da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH12/EX4.13/Ex12_13.sce | 6a845a7d78f8216407b5d0abef83b77a870f0af1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | Ex12_13.sce | //Part B Chapter 4 Example 13
clc;
clear;
close;
b=30;//mm(thickness)
l=8;//m
d=260;//mm
D=d+2*b;//mm
N=300;//rpm
tau_s=16;//N/mm^2
Gs=8.5*10^4;//N/mm^2
Gb=4.5*10^4;//N/mm^2
Ips=%pi/32*d^4;//mm^4
Ipb=%pi/32*(D^4-d^4);//mm^4
TsByTb=Ips/Ipb*Gs/Gb;
Ts=%pi/16*d^3*tau_s;//Nmm
Tb=Ts/TsByTb;//Nmm
T=Ts+Tb;//Nm... |
bc66db3a381c8e92294f5d1902a05348eb25216a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH2/EX2.21/2_21.sce | 60c66897c1dbb571a0d1295edb87188684c1ca17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | 2_21.sce |
//To calculate the glancing angle
n = 2; //second order
h = 1;
k = 1;
l = 0; //plane (110)
lamda = 0.065; //wavelength of X-rays, nm
lamda_m = lamda*10^-9; //wavelength of X-rays, m
a = 0.26; //axial length, nm
a_m = a*10^-9; //axial length, m
x = sqrt(h^2+k^2+l^2);
theta = asind(n*lamd... |
d5fdf578449a745d5bd50cd9cf0a5e7d109751c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH10/EX10.6/Ex10_6.sce | c05cd5febfbbe8aaa2590fc993237f0eb244526f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,484 | sce | Ex10_6.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 10 Example 6")
N=3000;//engine rpm
m=5;//fuel consumption in litre/hr
r=19;//air-fuel ratio
sg=0.7;//specific gravity of fuel
V=500;//piston speed in m/min
P_... |
72dc3bdebaa7e97eb7d5a4c496b0b22b81d54708 | b67defe3c1cae63dd1a79578f840d069568034e6 | /scilab/main_mul1.sci | fe924d049614da67165b1deb4c797d8caa396535 | [] | no_license | wmacevoy/luck | bf5d93ce00e8136634d715057a97706d3aa804b3 | 47e5c8eb1782a1b4f3f5b9e7583290d9a842532e | refs/heads/master | 2023-05-03T14:46:51.353817 | 2023-04-25T03:13:44 | 2023-04-25T03:13:44 | 33,452,250 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sci | main_mul1.sci | clear();
exec("mulsamp.sci",2);
exec("mulprobln.sci",2);
exec("mulluck.sci",2);
exec("numlucksetup.sci",2);
exec("numluck.sci",2);
// get sample set
nsamps=10000;
ntrials=100;
p=[0.1;0.2;0.3;0.4];
x=mulsamp(nsamps,ntrials,p);
problns=mulprobln(x,p);
// setup for luck estimates
setup=numlucksetup(problns);
// estima... |
89ed6538e8f3576a84990dd204c19ac6da4d6ada | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH2/EX2.19/ex_2_19.sce | 9c6e8d13b84443770dab7e4bfb07ce1518f62f46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_2_19.sce | //Example 2.19://error
clc;
clear;
close;
n=40;//revolutions
rc=0.12;//registration constant
err=n/rc;//energy recorded in kWh is
e2=22000;//volts
e1=110;//volts
i2=500;//amperes
i1=5;//amperes
i=5.25;//amperes
lv=110;//volts
pf=1;//
t=61;//seconds
ae=((sqrt(3)*e2*lv*i*i2*pf*t)/(e1*i1*3600))*10^-3;//kWh
e=((err-ae)/ae)... |
b9e4db6571b87690092264f42044f681ada31068 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.7.3.b/ex_2_7_3_b.sce | 80a4d2e320efb4aeed25b3c103d10395d863ab72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 589 | sce | ex_2_7_3_b.sce | //Example 2.7.3.b: Average deviation
clc;
clear;
close;
//given data :
n=10;
X1=147.2;// in nF
X2=147.4;// in nF
X3=147.9;// in nF
X4=148.1;// in nF
X5=148.1;// in nF
X6=147.5;// in nF
X7=147.6;// in nF
X8=147.4;// in nF
X9=147.6;// in nF
X10=147.5;// in nF
AM=(X1+X2+X3+X4+X5+X6+X7+X8+X9+X10)/n;
d1=X1-AM;
d2=X2-AM;
d3=... |
dd30acf3631494c1a7d07f94c876e6b008bb4814 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH7/EX7.61/ch7_61.sci | 6ad8cadf2f9c0ef0864d4a70474979c3f0e7c312 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 505 | sci | ch7_61.sci | //to calculate rotational loss ,armature resistance,eff,line current and speed
clc;
Pshaft=20000;
eff=.89;
P_L=((1/eff)-1)*Pshaft;
Pin=Pshaft+P_L;
V=250;
I_L=Pin/V;disp(I_L,'line current(A)');
Rf=125;
If=V/Rf;
Ia=I_L-If;
Ploss=P_L/2;
Ra=Ploss/Ia^2;disp(Ra,'armature resistance(ohm)');
Psh=V*If;
Prot=Pl... |
284e09c2b1b4a061580d8f00798a215a6f0e93d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH14/EX14.7/14_7.sce | 3619456b8c3c2b639416f4cc6e93afc86268b748 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | 14_7.sce | clc
//initialisation of variables
P= 1 //atm
T= 11 //C
Tsat = 170.03
Csf= 0.006
r= 1/3
s= 1
dt = Tsat - T
cl= 4.218 //J/gm K
hfg= 2257 //J/gm
Pr= 1.75
ul= 283.1*10^-3 //gm/m s
s= 57.78*10^-3 //N/m
pl= 958*10^3 //gm/m^3
pv= 598 //gm/m^3
gc= 10^3 //gm m/N s^2
g= 9.8 //m/s^2
//CALCULATIONS
p= pl-pv
q= ((((cl*dt)/(hfg*Csf*... |
03f01fbe294bf7e3174ee7a533e24982b23d9766 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_M._R._Srinivasan_3411.zip/Engineering_Physics_M._R._Srinivasan_3411/CH13/EX5.1.u2/Ex5_1_u2.sce | 8c01e3daf3b701c834f32bdd5d750f552672fa96 | [] | 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 | 349 | sce | Ex5_1_u2.sce | errcatch(-1,"stop");mode(2);//Example 5_1_u2
;
;
//To find the temprature where would be the critical field
hc=0.070 //units in K
ho=0.0803 //units in K
tc=7.22 //units in K
T=tc*sqrt(1-(hc/ho)) //units in K
printf("Temprature T=%.2f K",T)
//Given in textbook T=2.94K But the correct... |
70e96e4ee6e27c9ec41ea60ede3551e8c9cc5fdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH3/EX3.d.301/Ex3d_1.sce | 79d1e22c207530fa0400e35dcc6cb217f6cb5f22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | Ex3d_1.sce | // Scilab Code Ex3d.1: Page-205 (2008)
clc; clear;
D = 200; // Distance between the source and the slit, cm
a = 0.02; // Slit width, cm
x = 0.5; // Position of first minimum, cm
n = 1; // Order of diffraction
lambda = a*x/(D*n); // Wavelength of light used, cm
printf("\nThe wavelength of light use... |
3c531ade41db89582c1cc03264d068b45b0493b6 | 491f29501fa7d484a5860f64aef3fa89fb18ca3d | /examples/electronics/IdealSwitch/computeHandG.sce | 6f6b8f3eeab8059034631e8df805d67ded581bd6 | [
"Apache-2.0"
] | permissive | siconos/siconos-tutorials | e7e6ffbaaea49add49eddd317c46760393e3ef9a | 0472c74e27090c76361d0b59283625ea88f80f4b | refs/heads/master | 2023-06-10T16:43:13.060120 | 2023-06-01T07:21:25 | 2023-06-01T07:21:25 | 152,255,663 | 7 | 2 | Apache-2.0 | 2021-04-08T12:00:39 | 2018-10-09T13:26:39 | Jupyter Notebook | UTF-8 | Scilab | false | false | 289 | sce | computeHandG.sce | h_alpha=[L_alpha(5)-st;
X_alpha-L_alpha(4);
L_alpha(3)-20+L_alpha(1)*(L_alpha(7)+R1);
L_alpha(3)+L_alpha(2)*(L_alpha(9)+R1);
X_alpha-L_alpha(1)-L_alpha(2);
R2-L_alpha(7)-R1;
L_alpha(5)-L_alpha(4)+L_alpha(6);
R2-L_alpha(9)-R1;
-L_alpha(3)+L_alpha(8)];
g_alpha = (L_alpha(3)-L_alpha(4))/sL; |
921931deafd90bd08cdb15d31d6327aa3db35e42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH1/EX1.9/1_9.sce | 1aebcbbe63d26ea50955f7d0bb037fb3eee1f9eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 1_9.sce |
clc
//initialisation of variables
clear
d= 6//ft
x= 4 //ft
w= 62.4 //lbf/in^2
//CALCULATIONS
Ig= %pi*d^4/64
A= %pi*d^2/4
Io= Ig+A*x^2
h= Io/(A*x)
P= w*A*x
//RESULTS
printf ('Depth of centre of pressure = %.2f ft',h)
printf (' \n Total pressure on plate = %.f Lb',P-7)
|
3b6a5668aeaf9a594b8de55618ad31ef87ef0989 | e806e966b06a53388fb300d89534354b222c2cad | /macros/pyramid.sci | 29d6c1e7da94d64825d6e6b0db6e02454f83eacb | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,346 | sci | pyramid.sci | function [out]=pyramid(inputimage,direction,level)
// Computes the pyramid reduction or expansion of input_image
//
// Calling Sequence
// output_image=pyramid(inputimage,direction,level);
//
// Parameters
//
// inputimage : image matrix on which pyramid reduction or expansion has to be applied
// Direction : An input... |
f65228e656e71e0e6543f57f3430fc77f2f04722 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH13/EX13.2.2/13_2_2.sce | 0b2dcd1ec50181fe522fe331d912250da4c9767b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | 13_2_2.sce | //Transport Processes and Seperation Process Principles
//Chapter 13
//Example 13.2-2
//Membrane Seperation Processes
//given data
//nomenclature similar to previous problem
c1=200;//urea in g/m3
c2=0;
kc1=1.25e-5;
pm=8.73e-6;
kc2=3.33e-5;
Na= (c1-c2)/((1/kc1)+(1/pm)+(1/kc2));
A=2;//area in m2
R=Na*3600*A;... |
cbc2b0bf8daab0392d46312dffa3ae7825e8f2aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH8/EX8.12/8_12.sci | c13988ba8ded4fa4e19d5f9e33de9e1e3c46552a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sci | 8_12.sci | //coefficient//
s=%s;
syms k t;
y=k/((s+1)*s^2*(s+4));
disp(y,"G(s)H(s)=")
r=1+(8*t)+(18*t^2/2);
disp(r,"r(t)=")
R=laplace(r,t,s);
disp(R,"R(s)=")
e=limit((s*R)/(1+y),s,0)
disp(e,"Ess=")
printf('Given Ess = 0.8 \n")
e=0.8;
k=72/e;
disp(k,"k=")
|
5f4a3034e7b249278329b197e4be22c1c679886b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH2/EX2.13/2_13.sce | be06ac152ff45a3d8f3f845ef46fdd736f5b3d2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | 2_13.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 2.13
//calculation of average focal length of concave mirror considering uncertainity
//given data
fi=[25.4 25.2 25.6 25.1 25.3 25.2 25.5 25.4 25.3 25.7]; //focal length(in cm)
N=length(fi);
//calculation
fbar=mea... |
8159636a011df771bf5073677d30882a0186a1f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH1/EX1.9/Ex1_9.sce | 7023069fe5e538af2af60785ec9ffbf8f54ec3bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 874 | sce | Ex1_9.sce | clear ;
clc ;
d = 1;//diameter of the steel bar in inches
l = 12;//length of the steel bar in inches
d1 = 3/2;//external diameter in inches
d2 = 1;//internal diameter in inches
P = 5;//axial pull in tons
E_s = 30*10^6;//modulus of elasticity of steel in lb/in^2
E_b = 14*10^6;//modulus of elasticity of brass in ... |
a6e2595047cba011f57e53acbbfcb4dfd5f7df7c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%s_d_r.sci | f7167b827a252d076a8805b220abedbf0036da23 | [
"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 | 150 | sci | %s_d_r.sci | function f=%s_d_r(n1,f2)
// n1./f2
//!
// Copyright INRIA
if size(n1,'*')==0 then f=[],return,end
f=rlist(n1.*f2('den'),ones(n1).*f2('num'),f2('dt'))
|
b967dac5beb509d3c3900356b0ca1342d2692aee | 420d4bcc40d948804a4370652e50a00cbe639cfe | /Graphs API/trip-tests/explore06.tst | 34d4ecf864968836af48ca0ab745a403706246f6 | [] | no_license | itsbriantruong/projects | 8cce3eba78a98e598e249f0adffcd9c3b9e3d5ab | 252ad31d3c74ef77e1cee43244e8f51ca47f9b63 | refs/heads/master | 2021-05-29T19:08:04.548321 | 2015-09-09T09:03:16 | 2015-09-09T09:03:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 114 | tst | explore06.tst | java -ea trip.Main -m trip-tests/explore02 <<EOF
INYSTBC-87, Poughkeepsie, I87-287
I95-87, East_Harlem, Troy
EOF
|
0100e4a33ab8817e38f06495cc99dea4f0060526 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH4/EX4.4/Ex4_4.sce | d4098f1d9906dfab980cbdb4d79331687cdffe43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,653 | sce | Ex4_4.sce |
clc
clear
//Input data
C=61;//The mass of carbon present in the coal according to coal analysis on mass basis in %
H=4;//The mass of hydrogen present in the coal according to coal analysis on mass basis in %
O=3;//The mass of oxygen present in the coal according to coal analysis on mass basis in %
N=2;//The mass... |
1792fdaaa7928961fe78e4ced58caa1b890dd427 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set8/s_Elements_Of_Electromagnetics_M._N._O._Sadiku_42.zip/Elements_Of_Electromagnetics_M._N._O._Sadiku_42/CH10/EX10.6/sadiku_10_6.sce | 6a316cf8730ac69f857b756fb7323856e8b13d24 | [] | 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 | 184 | sce | sadiku_10_6.sce | errcatch(-1,"stop");mode(2);;
;
a=2*10^-3,b=6*10^-3,t=10^-3,l=2,c=5.8*10^7;
Ri=l/(c*%pi*a*a);
Ro=l/(c*%pi*((b+t)^2-b^2));
Rdc=Ro+Ri;
disp(Rdc*10^3,'Resistance in mOhm');
exit();
|
48d934f1b5f5864a5b59b224739deb14a29a1f72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH3/EX3.27/Ex3_27.sce | e9157b56ffa2054293a3d6c9e9b2fae5d0b7da35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,229 | sce | Ex3_27.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex3_27(b).sce
clc;
clear;
//case(b)
//from case(a) result v(t)=5+6.36 sin(t)+2.12 sin(3t)+1.27 sin(5t)
V0=5
V1=6.36/sqrt(2);
V3=2.12/sqrt(2);
V5=1.27/sqrt(2);
... |
9116e6274c3c4839d6ca61db142276aa09cfa153 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.41/Ex5_41.sce | e61913fedd9a29cf0e27025b536415915741f313 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | Ex5_41.sce | clear
//Given
V=1.5
a=1.5
r1=0.5 //ohm
r2=0.25
R=2.25 //ohm
//Calculation
E=V+a
r=r1+r2
Rt=r+R
I=E/Rt
pd=V-(I*r1)
pd1=V-(I*r2)
//Result
printf("\n (i) The circuit current is %0.3f A",I)
printf("\n (ii) P.D across the terminals of each cell is %0.3f V and %0.3f V",pd,pd1)
|
2ec002ef72e463614ad3e73839d5be55f86b01fb | 63e41587daefcf8180d9ee0a356e14531008e696 | /evalfr_samplecase.sce | 8279b7614d940fee0993dd3c966d16fda6488762 | [] | no_license | rutup1595/gui-codes | 10f7415b3a0cb456043e19e9273d78c4860fcaae | 880b91beac114d16b1c854b27a770903c9ced6fe | refs/heads/master | 2020-12-05T08:39:00.817311 | 2019-08-16T05:00:40 | 2019-08-16T05:00:40 | 67,854,154 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | evalfr_samplecase.sce | z=poly(0,'z');
sys=syslin('d',(z-1)/(z^2+z+1)); //example taken from http://in.mathworks.com/help/control/ref/evalfr.html
p1=evalfr(sys,1+%i)
aa=pid(rand(2,2,1),3,4,5);
p2=evalfr(aa,1+%i)
bb=syslin('c',[1,3;4,5],[5,6;8,9],[2,3;4,5],[1,2;8,9]);
p3=evalfr(bb,1+%i);
s=poly(0,'s');
ab=syslin(... |
cfab5e4515d2ec08cfc5da26c42e3bd65eed3362 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH2/EX2.7/2_7.sce | a26eb5ad671863fdb0f0ea5bd6c82f82eee320ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,071 | sce | 2_7.sce | clc;
clear;
format('v',6);
r0=[1,0,0]; //Position vector ro
r1=[0,1,0]; //Position vector r1
r2=[0,0,1]; //Posi... |
b59d0371930b961e491f1bd9cb6a328d5be43b01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.24/ex1_24.sce | d52d4428d38aca58ffa938923581db289eba37ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | ex1_24.sce | // Exa 1.24
clc;
clear;
close;
// Given data
V_S = 2;// in V
R = 100;// in ohm
I_D = V_S/R;
I_D = I_D * 10^3;// in mA
disp("Part (a)")
disp(I_D,"The diode current in mA is");
V_K = 0.7;// in V
I_D1 = (V_S-V_K)/R;
I_D1 = I_D1*10^3;// in mA
disp("Part (b)")
disp(I_D1,"The diode current in mA is");
R_f = 3... |
7c8b3e9ff5ebaf18be7f139af93ed042aa5f263b | a617a2a0835b5800a12c9ff4126b81b96e78c59b | /primeiroPrograma.sce | 754b630d997561ae2dea7480f4262d6a78a0a646 | [] | no_license | chagas-junior/scilab | d515e5399536081b12742a58879be3057c52f476 | e0ca4ed7b4f264a46d410a1b6d4b6830bb28ed4b | refs/heads/master | 2023-02-26T06:57:01.468742 | 2021-02-03T01:57:03 | 2021-02-03T01:57:03 | 335,104,373 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | primeiroPrograma.sce | v = [0,1];
for k = 1:100
v = [v,v($)+v($-1)];
end
disp(v)
passo = %pi/10;
for x=0:passo:%pi/2
disp([x,cos(x)]);
end
A = [3 2 2 1;1 3 0 3;1 1 5 4;3 3 2 2];
B = [3;5;4;2;];
x = inv(A)*B;
disp(x)
|
ccdfecddaacbd229a9409748faa8ef9b440723a2 | 06b39a12c3fb0c4ff6cf9c538ec9e44a7db515ae | /czwarte.sce | 187543108b3ce779959206fbdfbee8d5783462e2 | [] | no_license | szczygielskipatryk/EMN | 1bb300f293d0a704ee4316145c8c0d331987e7b6 | 98903729a60b22edaf8890dfaa4a525a49c5826b | refs/heads/master | 2020-09-09T16:30:44.386075 | 2019-11-14T18:31:12 | 2019-11-14T18:31:12 | 221,497,151 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,052 | sce | czwarte.sce | clear;
clc;
X=[1;2;3;5;5;6;7;8];
n=7;
x_dach=%pi/2
function Y=f(X);
for i=0:n
Y(i+1)=sin(X(i+1));
end
endfunction
Y=f(X)
function wynik=omega (x,X,n)
wynik=1
for i=0:n
wynik=wynik*(x-X(i+1))
end
endfunction
function wynik=odle(X,n)
hi=X(2)-X(1)
wynik=[1,hi];
for... |
b5800c869fb0452687e5ae91894232c98f128753 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH3/EX3.10.1/ex_3_10_1.sce | 4596880d537d03cdc37dbe5a718449b4abf533ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | ex_3_10_1.sce | //Example 3.10.1// multiplier
clc;
clear;
close;
//given data :
V1=200;//in V
V2=100;//in V
V3=10;// in V
Rm=100;//in ohm
I_fsd=50*10^-3;
//for the range 0-10V
Rt3=V3/I_fsd;
Rs3=Rt3-Rm;
disp(Rs3," the multiplier,Rs3(ohm) = ")
//for the range 0-100V
Rt2=V2/I_fsd;
Rs2=Rt2-(Rm+Rs3);
disp(Rs2,"the multiplier,Rs2(ohm) = ... |
77d92cf5cc90252d84c0a4d943812d0bf90ff5ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH6/EX6.7/SolEx6_7.sce | 6f1eef8a02180059275a28e6dfd4fc9384de0925 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | SolEx6_7.sce | //Calculate (a) the voltage gain Av and (b) the current gain Ai.
//Example 6.7 page no 178
clear
clc
hfe=90
Rl=800//Ω
Rc=800//Ω
Rb=831//kΩ
hie=200
hoe=100*10^-6
Av=-((hfe*Rl*Rc)/(hie*(Rc+Rl+hoe*Rl*Rc))) //voltage gain Av
Ai=((Rb*hie)/(Rl*(Rb+hie)))*Av //current gain Ai
printf("\n The value of... |
8a6fcaff9ea85506c4ba1677232b7b0071d1837a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH16/EX15.1/EX15_1.sce | 07444cea25f7d24639e5139cc1bf0c8df89cb6eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 675 | sce | EX15_1.sce | // Grob's Basic Electronics 11e
// Chapter No. 15
// Example No. 15_1
clc; clear;
// A sine wave of voltage varies from zero to a maximum of 100 V. How much is the voltage at the instant of 30° of the cycle? 45°? 90°? 270°?
// Given data
Vm = 100; // Vm=100 Volts
t1 = 30; // Theta 1=30°.
t2 = 4... |
8eba76922f94176aa42497ae17a562e7de714d93 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.1_12.tst | 62c7447e4705788ef6202b603b81547eb235831f | [] | 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 | 29,717 | tst | bow.1_12.tst | 1 12:0.015151515151515152 13:0.2 27:0.125 36:0.1 41:0.23076923076923078 50:1.0 58:0.25 67:1.5 70:0.18181818181818182 82:0.125 85:0.3333333333333333 98:0.2 109:0.3333333333333333 113:1.0 176:0.5 197:0.14285714285714285 230:2.0 341:1.0 381:1.0 405:1.0 438:1.0 473:1.0 497:1.0 500:1.0 506:1.0 522:0.3333333333333333 535:0.5... |
2c842fe3d33945503656e0cba20dee3c38e089ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH22/EX22.19/22_19.sce | 74b1afa29f4a295f655e750456ef39623ad0e800 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 958 | sce | 22_19.sce | clear//
//Variables
VCC = 15.0 //Source voltage (in volts)
RE = 2.0 //Emitter Resistance (in kilo-ohm)
RC = 1.0 //Collector Resistance (in kilo-ohm)
R1 = 10.0 //Resistance (in ki... |
5b5990540facfd457b6b2675863757d8124b7792 | 592bf1b1d89678676ae0712650915903d5788735 | /components/screen/layout/bck.tst | 90cc9cc478a9f70ab8a897f365e1a2412f6ba271 | [] | no_license | MarceloPimentel050975/ParceirossNextJs | c4fb20c5af5b44a8d95d7ea22029cecd69ebe395 | c2b674ab645be13603bc9024a508a1814d7d20c4 | refs/heads/main | 2023-08-13T04:48:11.862413 | 2021-10-05T14:22:25 | 2021-10-05T14:22:25 | 409,997,930 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,739 | tst | bck.tst | import React, { Component, useState } from 'react';
import { fade, makeStyles, Theme, createStyles } from '@material-ui/core/styles';
import AppBar from '@material-ui/core/AppBar';
import Toolbar from '@material-ui/core/Toolbar';
import IconButton from '@material-ui/core/IconButton';
import Typography from '@material-u... |
b70e8b2bea6552683edd31512f7169d2711d04f3 | f23e565144f1b0f63c7b613c0f549944d425a073 | /Cours/TP_INFO/TP_noteD3/TD4-ballarinlea-merciermarielle.sci | 78c917c731d462136072cd46f6d6d9ff18a47df4 | [] | no_license | Antoine-Gerard/Valar-Morghulis | c45766f03898241bd9c424256744b5ffa16dd82c | 796363bfbc6f2e3249c90f1762e041ff5a4e705a | refs/heads/master | 2021-08-31T06:06:55.296982 | 2017-12-20T13:54:33 | 2017-12-20T13:54:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,727 | sci | TD4-ballarinlea-merciermarielle.sci | // Ballarin Léa
// Mercier Marielle
// A
ones(1, 50)*0
ones(1, 50).*10
z = 0:0.3:10
linspace(-3, 7, 50)
(2 .* ones(0,25)) .^linspace(1, 25, 25)
// B
// 1
function r = f(x)
r = (1 + x) .* sin(%pi .* x)
endfunction
x = linspace(-2, 2, 100)
y = f(x)
fenetre = figure("Figure_name", "Equation", "position", [100 ... |
d700274d7607a9c8ee0a98e93c51e9390a0b5e53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH6/EX6.1/ex6_1.sce | 3895e7c405774fc6b333c40d31172c2e4842c820 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | ex6_1.sce | clc;
clear all;
t = 50; // Thickness of the metal in mm
d = 1; // Hole diameter in mm
ss = (d/t)*100;//The percentage sensitivity of the wire
disp('%',ss,'The percentage sensitivity of the wire is')
|
f69b2113bf12f131caa612c9cf2c1656ad095645 | 87b382eda583f3015f0660bc7da6f714bd51a860 | /test4.tst | 60ed33af5706b1947b2076325a54b909a0d8dc1a | [] | no_license | Nagendra999/Repo2 | 2268bdd915d84e43aaf88cfbb242e12f2926752c | ad7d1b480bea7b481ab892075934ef78be0d818d | refs/heads/master | 2020-04-08T02:02:07.482216 | 2018-11-27T01:00:17 | 2018-11-27T01:00:17 | 158,919,964 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 55 | tst | test4.tst | index.html test1.txt test2.txt test3.txt test4.tst
|
00fa331c265521936199ec93241eebf28f194777 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3516/CH13/EX13.2/Ex13_2.sce | 387a23df023aff5a40a807296752376e28d75a9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,678 | sce | Ex13_2.sce | printf("\t example 13.2 \n");
printf("\t approximate values are mentioned in the book \n");
printf("\t bubble point at 95F and 14.7psia \n");
x(1)=0.077; // mole fraction of C4
x(2)=0.613; // mole fraction of C5
x(3)=0.310; // mole fraction of C6
K(1)=3.13; // fig 7
K(2)=0.92; // fig 7
K(3)=0.3; // fig 7
a(1)=... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.