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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0fa21c59a55b500d10b5ccf2f1684094578f4ca4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH1/EX1.14/1_14.sce | 1702ff6ec185f7af999218822f5e0b5e6062bf88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | 1_14.sce | //Example 1.14
//1s compliment
//Page no. 12
clc;close;clear;
function [x1]=com1(x) //function for 1s compliment
for i=8:-1:1
x=x/10;
xd=x-fix(x)
if(floor((xd*10)+0.1)==1)
x1(1,i)=0;
else
x1(1,i)=1;
end
x=x-xd;
end
end... |
4e2bcadffaa8a7f29fc814789d3b62c027d87069 | b61214213da59c049ec1a018e815f4feb95bccca | /lexers/Scilab/polyfit_fulldemo.sce | 4a86f812d961ed225e318ebfad567f5e01d1a9f8 | [] | no_license | Alexey-T/lexer_tests | 25ab893f928fe2ac073c153e349c140fd3bd8678 | 3d26a98a4f9a2ae12c4074ea90b9416d75736b83 | refs/heads/master | 2023-08-17T13:07:10.432096 | 2023-08-13T06:51:15 | 2023-08-13T06:51:15 | 74,854,492 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,814 | sce | polyfit_fulldemo.sce | // demo
// Interpolation
xb=0:0.01:20;
yb=sin(xb)+sin(2*xb);
xib=0:1:20; //coef. interp. nodes
y1b=sin(xib)+sin(2*xib);
// interpolations
yi1b=interp1(xib,y1b,xb,'linear');
yi2b=interp1(xib,y1b,xb,'nearest');
yi3b=interp1(xib,y1b,xb,'spline');
// error interp.
bl1=yb-yi1b;
bl2=yb-yi2b;
bl3=yb-yi3b;
// max error in... |
a88fd8e8083a39796c3620fd1c890edbdb34046b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH7/EX7.6/Ex7_6.sce | 1599b5c04323ff49447f620e20cca60793088d97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_6.sce | //Fluid Systems by Shiv Kumar
//Chapter 7 - Performance of water turbine
//Example 7.6
//To Find Speed and Power Developed by the Turbine
clc
clear
//Given:
//Ist Condition
P1=8500; //Power Developed, kW
N1=120; //Speed, rpm
H1=32; //Head, m
//2nd Condition
... |
b300f255076ea621cff5401e6a0552da2bdb17c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH8/EX8.3/ex8_3.sce | 10b13fc5f4fbb4f33fb819699d3d7865f80c5847 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | ex8_3.sce | // Exa 8.3
clc;
clear;
close;
// Given data
V1 = 2;// in V
R_f = 500;// in kohm
R_f = R_f*10^3;// in ohm
R1 = 100;// in kohm
R1 = R1 * 10^3;// in ohm
V_o = (1+(R_f/R1))*V1;// in V
disp(V_o,"The output voltage in V is");
|
611dd4b8e0d32f45ce381f40a1603c14558b455d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH1/EX1.3/1_3.sce | 4b29c042f419d18d8b46dd9157ef8bf2a411d703 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | 1_3.sce | clc
//Initialization of variables
P=14.7 //psia
T=70+460 //R
M=32
//calculations
Ro=1545/M
V2=3*Ro*T
V2=V2*32.174
vrms=sqrt(V2)
//results
printf("rms velocity = %d ft/sec",vrms)
|
d0b36c92e5fe6c41feb270e9ab08b5d5f1d103d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/CH11/EX11.17/ch11_17.sce | 3fdef1c7f3f80973aeb8628625cae3636c4d3458 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,706 | sce | ch11_17.sce | clc
disp("Problem 11.17")
printf("\n")
printf("Given")
disp("v1=5*cos(w1*t) v2=10*cos(w2*t+60)")
//The circuit is modeled as
disp("Resistance is 10ohm and inductance is 5mH")
R=10;L=5*10^-3;
//Let V be phasor voltage between the terminals
Vmag=10;
Vph=60;
x=Vmag*cos((Vph*%pi)/180);
y=Vmag*sin((Vph*%pi)/... |
04a91df8769b05d073dd24ceaca14e27513ecb2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH12/EX12.4.b/solution12_4.sce | 25b7d4c677b69d8defa23130f88267c1baafd8ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,845 | sce | solution12_4.sce | //Function to round-up a value such that it is divisible by 5
function[v] = round_five(w)
v = ceil(w)
rem = pmodulo(v,5)
if (rem ~= 0)
v = v + (5 - rem)
end
endfunction
//Obtain path of solution file
path = get_absolute_file_path('solution12_4.sce')
//Obtain path of data file
datapath = path + ... |
e6d884d38f9517c7e45e06b1639b4cb4e5f52b45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH2/EX2.8/exmp2_8.sce | e3a51ab0f19fa9dabc066b9a58ac516b5ae5ee0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | exmp2_8.sce | //Example 2.8
clc
disp("The frequency is given by,")
disp(" f = 1 / 2*pi*sqrt(C*L_eq)")
leq=(2*10^-3)+(20*10^-6)
format(8)
disp(leq,"where L_eq(in kHz) = L1 + L2 =")
disp("For f = f_max = 2050 kHz")
format(5)
c=(1/(4*(%pi^2)*((2050*10^3)^2)*0.00202))*10^12 // in pF
disp(c,"Therefore, C(in pF) =")
disp("... |
4517272d24fdc0334eaf1541fe27138979e8b2d4 | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_2/Scilab_programs/Poles_and_zero_of_parallel_system.sce | 5fb4607df89a20795276aaaeb0b8af2d0c72de35 | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | Poles_and_zero_of_parallel_system.sce | clear
close
clc
s = poly(0,'s');
n1 = 10;
d1 = s^2 + 2*s + 10;
g1 = n1/d1;
n2 = 5;
d2 = s+5;
g2 = n2/d2;
g_parallel = g1+g2;
G = syslin('c', g_parallel);
z = roots(G.num);
p = roots(G.den);
disp(z, 'The zeros of the system are : ');
disp(p, 'The poles of the system are : ');
plzr(G); // Pole-zero plot of the sy... |
1ec416abf2c255174a43260a3c1c2781912ca2ac | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0059.tst | b19088567bd467772a9348b8813a069537dfa3ce | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 189 | tst | 0059.tst | sPLiTTer Z {}
fIlTeR t { }
FILteR U {NoT y oR not pA }
NT BRAncH H -> Nip
gROupER pW {AgGreGAte sum(oDgc.P) As M }
uNgrOUPer lT { }
GROUpfiLTEr IOSGS {}
mergEr OZu { exPOrt CnB } |
b7c80ef8b58c55ac8828fc4b128cd2b5bcc2f42f | cb8f7527014d931e50d45722db791d704fd28c9f | /To evaluate integral of any function.sce | c0d4f49b9a4dd32ea67e540a2e53eff09e6b0308 | [] | no_license | vishu-byte/Integral-solving-methods-in-scilab | 3e368c10056c13587b98bb2d6cb7270ac1d4e108 | ee1baa2ebbefc25b00ab5bcd0b92bf482c6b0cff | refs/heads/master | 2022-12-11T15:35:54.238221 | 2020-09-12T05:23:02 | 2020-09-12T05:23:02 | 294,874,954 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,419 | sce | To evaluate integral of any function.sce | /*AIM: TO EVALUATE THE INTEGRAL OF ANY FUNCTION USING
a)TRAPEZOIDAL RULE
b)SIMPSON'S 1/3 RULE
c)SCILAB INBUILT FUNCTION
d)SIMPSON'S 3/8 RULE
AUTHOR: VISHU SAINI BSC PHYSICS HONS SEC A 2ND YEAR
FUNCITONS:
GLOBAL VARIABLES:
*/
clc
clear all
////Function declaration////
function y=f(x)... |
b2be000465373de49e33f83dac31dc1b245a7abe | 181f67b4868e49ca80872d6ac088a51540f90da6 | /186A7/A7F.sce | 9c7298d237b443254c14bf9daddbb53b69f74056 | [] | no_license | nobody51/AP186 | 567f25ba1ad7f71ad2983860078eeaccffa46080 | cb916fc9b38b508026403a2227ffc76d490fe948 | refs/heads/master | 2021-08-28T09:35:55.488122 | 2017-12-11T21:34:46 | 2017-12-11T21:34:46 | 104,969,401 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | A7F.sce | lunar = imread('C:\Users\Anton Cruz\Desktop\186\AP186\186A7\7F\canvas.JPG');
lunar = double(lunar);
graylunar = mat2gray(lunar(:,:,1));
f=scf();
imshow(graylunar);
isoview();
xs2png(gcf(),'graylunar');
lunarFT = fft2(graylunar);
f=scf();
imshow(imnorm(log(abs(fftshift(lunarFT)))));
isoview();
xs2png(gcf(),'graylunar... |
52c70650ed82b9ab8588fdb6d937dcccf418d690 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.6/Example1_6.sce | 80372b632e7c47fe8c4850159785e5a5166a9170 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | Example1_6.sce | // Example 1.6
clear; clc; close;
format('v',6);
// Given data
P=4;//No. of poles
f=50;//in Hz
R2=0.1;//in ohm
X2=1;//in ohm
N=1440;//in rpm
E1_line=400;//in volt
Kdash=2;//stator turns by rotor turns
//Calculations
K=1/Kdash;//rotor turns by stator turns
Ns=120*f/P;//in rpm
E1ph=E1_line/sqrt(3);//
... |
b71be9c3e67d4ecf74dc45ed5575e1731571223d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.1/example4_1.sce | 8425712433cc3afe696c0bf81f7c03a0e120fbeb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | example4_1.sce |
//example 4.1
//calculate mean rainfall;additional guages needed
clc;funcprot(0);
//given
p=[78.8 90.2 98.6 102.4 70.4]; //rain guage readings at respective stations
s=0;
for i=1:5
s=s+p(i);
end
pavg=s/5;
u=0;
for i=1:5
u=u+(p(i)-pavg)^2;
end
sx=(u/4)^0.5;
Cv=sx*100/pavg;
N=(Cv/6)^2;
N=ro... |
f284f4ca860a11e04a3c0f6759aeb98ead6df601 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH8/EX8.9/Ex8_9.sce | b2793aad599b0b4f6357bc5d0d7b34d8e9f0f211 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,656 | sce | Ex8_9.sce | //Calculations on gas engine
clc,clear
//Given:
pH2=49.4/100,pCO=18/100,pCH4=20/100,pC4H8=2/100,pO2=0.4/100,pN2=6.2/100,pCO2=4/100 //Composition of Coal gas
MW=20 //Mixture weakness in percent
//Solution:
//Combustion equations for determining the moles of Oxygen used
//2[H2] + [O2] ---> 2[H2O] //For Hydrogen
//2[... |
8ce13664f5de2e3f1aae1de1a1d5f62a69624f6e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/intfilt/intfilt6.sce | fd2e847afcd79077b7ae4dbba2d70e3e4c78e106 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | intfilt6.sce | //i/p arg filter order is negative
a=0.6;
f=intfilt(1,-2,a);
disp(f);
//output
//!--error 4
//Undefined variable: y
//at line 13 of function sinf called by :
//at line 164 of function intfilt called by :
//f=intfilt(1,-2,a);
|
e0250935dccde2b8fa753e6836e5b4677cce8714 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH45/EX45.02/45_02.sce | abe0fa15bff0a5d787c88a3e3bd4ede596f738da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | 45_02.sce | //Problem 45.02: A d.c. voltage supply of 200 V is connected across a 5 μF capacitor as shown in Figure 45.5. When the supply is suddenly cut by opening switch S, the capacitor is left isolated except for a parallel resistor of 2 Mohm. Calculate the p.d. across the capacitor after 20 s.
//initializing the variables:
C... |
e50bea0819579653939b5f637b8a6925e070ae94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH7/EX7.18.1/Ex7_18.sce | e9b45be9dd11144a7782a7062138037f0d256253 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | Ex7_18.sce | clc
clear
D=0.27;
L=0.38;
Pmep=6;
N=250;
F=1000;
Reff=0.75;
Mf=10;
CV=44400;
BP=(2*(22/7)*N*(F*Reff))/60;
printf('Brake Power= %3.2f kW',BP/1000);
printf('\n');
A=(22/7)*(1/4)*(D*D);
IP=[Pmep*100*L*A*N]/(2*60);
printf('Indicated Power= %3.2f kW',IP);
printf('\n');
Em=BP/(IP*1000);
printf('Mech... |
7c4bfffee5ec8580b2da4771661ff63a33c0ae43 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.6_18.tst | e4b448bfde94fa43189938bd0e66d9f20c5ece76 | [] | 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 | 750,153 | tst | 5.6_18.tst | 6 219:1 305:1 1088:1 1117:2 1137:1 1236:1 1550:1 1840:1 1842:1 1932:1 1937:1 2093:1 2188:1 2510:1 2820:1 2853:1 2862:1 2895:1 2900:1 3340:1 3422:1 3425:1 3435:1 3652:1 3695:1 4351:1 4420:1 4497:1 4765:2 4819:2 4865:1 5041:1 5100:1 5260:1 5301:1 5453:1 5456:1 5502:1 5769:1 6371:1 6931:1 7157:1 7261:1 7347:1 7366:1 7521:... |
be6a00cbd78ef0c4b64672a9e80ecbb22f498a95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH1/EX1.9/Ex1_9.sce | 33ef7b3d60c0f54bde2aec67f0db72ac3586c2f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | Ex1_9.sce | // Example 1_9
clc;funcprot(0);
// Given data
t=50;// °F
// Calculation
t_c=(5/9)*(t-32);// °C
T_K=t_c+273;// K
T_R=t+460;// °R
printf("\nt_c=%2.0f°C \nT_K=%3.0f K \nT_R=%3.0f°R",t_c,T_K,T_R);
|
c384cbff0f63c541495af56e2d5c697a3ca4b1a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH25/EX25.15/25_15.sce | d3a68c1819e63f056b6e048c91dcc80704428b41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | 25_15.sce | //ques-25.15
//Calculating Boyles temperature for Carbon monoxide gas
clc
a=3.59;//(in L^2 atm/mol^2)
b=0.0427;//(in L/mol)
R=0.0821;//(in L atm/mol/K)
Tb=a/(R*b);
printf("Boyles temperature required is %d K.",Tb);
|
c5193080642e2031f38f7d6f8f67f3f6c2b98a9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH3/EX3.21b/Exa_3_21b.sce | 428a164d7eac7d3fba2c24d8d5916665a66ec122 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sce | Exa_3_21b.sce | clear;close;clc;
max_limit=10;
h=[2 5 0 4];
n2=-2:length(h)-3;
x=[4 1 3];
n1=-1:length(x)-2;
y=convol(x,h);
n=-3:length(x)+length(h)-5;
a=gca();
subplot(211);
plot2d3('gnn',n2,h)
xtitle('impulse Response','n','h[n]');
a.thickness=2;
a.y_location="origin";
a=gca();
subplot(212);
plot2d3('gnn',n1,x)
a.y_... |
64ce0a98910dc8aebf550b52326501f42bcc0d56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH12/EX12.7/example_12_7.sce | 5e2663f9d01f0582986e9d1d5a3dd75e5bd00eb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,589 | sce | example_12_7.sce | //Chapter 12
//Example 12.7
//page 475
//To calculate critcal clearing angle
clear;clc;
Xd=0.25; //direct axis transient reactance of the generator
Xl1=0.5; Xl2=0.4; //reactances of transmission line
E=1.2; //voltage behind transient reactance
Xinf=0.05; //reactnce before infinite bus
V=1; //infinite bus voltage
Pm=1... |
5b4e93bc863df8754997dbb58e62b745047158aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH19/EX12.19.4/Ex12_19_4.sce | 478802d9f38e9ff3fdc12f418a6a6b216aef2cbb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | Ex12_19_4.sce | //Section-12,Example-4,Page no.-SS.59
//To calculate concentration of holes and electrons in an n-type silicon.
clc;
C_n=0.1 //(ohm-cm)^-1
e=1.6*10^-19 //Coulombs
u_e=1300 //cm^2/Vsec
N_D=C_n/(e*u_e) //atom... |
e634a3f0d85a5a0441d3e448bd52429b7a64dc9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH10/EX10.2/ex10_2.sce | 7928c484144aa4f4c0bc7b64057e0e3d721a83f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 851 | sce | ex10_2.sce | // Exa 10.2
clc;
clear;
close;
format('v',6)
// Given data
V_CC = 20;// in V
V_BB = 20;// in V
R_C2 = 1;// in k ohm
R_C2 = R_C2 * 10^3;// in ohm
R_C1 = R_C2;// in ohm
f = 500;// in Hz
h_fe = 50;// unit less
PW = 0.2;// in ms
PW = PW*10^-3;// in sec
V_CEsat = 0.3;// in V
V_BEsat = 0.7;// in V
I_CEsat= ... |
646808cb3df587d04ef6b6946ed9a97357cd9d1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH26/EX26.2/Ex26_2.sce | 60c7f29645767ef575032a42fa6e033582a39cbc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | sce | Ex26_2.sce | clc;
//e.g 26.2
L=100*10**-6;
C=100*10**-12;
R=5;
fo=0.159/sqrt (L*C);
disp('MHZ',fo*10**-6,"fo=");
Zp=L/(C*R);
disp('Kohm',Zp*10**-3,"Zp=");
|
965ff32bd08137e01f9aa47eb5018376512cb45e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH3/EX3.3.3/Ex3_3_3.sce | a9501fe6b313f54aa7778358c4bfdb626f8c032d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 713 | sce | Ex3_3_3.sce | //Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
//Example 3.3.3
//windows 7
//Scilab version-6.0.0
clc;
clear;
//given
L=5;//fiber length in km
NA=0.275;//numerical aperture
c=3E5;//speed of light in km
n1=1.48;//refractive index
p=2*c*n1;
e=NA*NA;
d=L*e;
delt... |
b8625533b5c46f63ca5be964b25a24360f250bab | e16ed2b1e5415e101f10dbee6680d11e6fdb5e6d | /MPages/dcp_mp_acm_worklist/script/mp_dcp_load_static_list.tst | 00f8ebc02cb74920eb5eb995769f40f23366a362 | [] | no_license | mikeysjob/ccl | 484145533a1e880c9369022c02c9756c86cfdce2 | 2e7b7cbc7a5bad0f035f744e1bab07a19d250f9a | refs/heads/master | 2023-02-09T23:40:06.341187 | 2021-01-06T17:31:02 | 2021-01-06T17:31:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | tst | mp_dcp_load_static_list.tst | declare json = vc go
set json =
'{"list_request":{"patient_list_id":14336524.0,"groups":[{"group_name":"ACM Group 1",\
"group_id":20355774.0},{"group_name":"lots of patients group","group_id":53047473.0}], "locations":[]}}' go
;'{"list_request":{"patient_list_id":17964947.0,"groups":[],"locations":[{"locatio... |
97c2cfaa720bcf1b905196ebdd8469fd2ef4c5b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH5/EX5.6/Ex5_6.sce | 90ed84b2b90e62749bf8f93d63bb9f192208c657 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,083 | sce | Ex5_6.sce | //chapter 5
//example 5.6
//Calculate wavelength for photon and electron
//page 105
clear;
clc;
//given
E=1000; // in eV (Kinetic energy of photon)
K=1000; // in eV (Kinetic energy of electron)
m0=9.1E-31; // in Kg (mass of electron)
h=6.6E-34; // in J-s (Planck's constant)
c=3E8; // in m/s (velocity of ligh... |
8f61f12329438ee81c2b4b796b09b3db09ec7c9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH4/EX4.8/4_8.sce | 8d5659e8fc392ec9296d1ba0c6a6990b7cb196ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | 4_8.sce |
clc
//initialisation of variables
Q= 4 //ft^2/sec
d= 6 //in
D= 1 //ft
g= 32.2 //ft/sec^2
//CALCULATIONS
V= Q/((%pi/4)*(d/12)^2)
V1= Q/((%pi/4)*D^2)
L= (V-V1)^2/(2* g)
//RESULTS
printf (' Loss of head= %.2f ft',L)
|
420032ae6650105fe652efff5fcd14f78187e63a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH2/EX2.8/Ex2_8.sce | 2f30c11b7e59a16ac551ea066c1f27f63a61974e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | Ex2_8.sce | // chapter 2 example 8
//------------------------------------------------------------------------------
clc;
clear;
// | ax ay az |
// v*E = | ∂/∂x ∂/∂y ∂/∂z |
// | 0 0 80*cos(6.277*10^8t - 2.092y) |
// Electric flux density D = εoE... |
4d96bc60e2ccdbece6bf498ebfa941ad875c9a5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH10/EX11.2/2.sce | 3366f3ce65ab71c0239471bb34ac297eac46678d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | 2.sce | clc; funcprot(0);
//Example 11.2 Critical Pressure
// Initialisation of variables
V0 = 1.689*500; //Velocity in ft/sec
rho = 0.001267; //From table 4.1
P = (848.7/12)*13.75; // Pressure at 20,000 ft
gma = 1.4;
g = 32.174;
R = 53.351;
T = 459.4+25; //Temperature ... |
0c136f4dd85407bd382c26d52610d0b3f22c53b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH32/EX32.11/Ex32_11.sce | 749955b14d38af26f3eaad076260f367c75874ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | Ex32_11.sce | clc;
Acm=0.001;
AOL=180000;
Zin=1*10**6;
Zout=80;
SR=0.5;
Acl=1;
CMRR=Acl/Acm;
disp(CMRR);
Vpk=3;
fmax=SR/(2*%pi*Vpk)
disp('kHZ',fmax*10**3,"fmax=");
|
63034a65606315aa041328e51440fd5f21d9ff08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH5/EX5.18/Ex5_18.sce | f5cbe9b301dd770fa34b06884d73bcbd0c9a2e10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | Ex5_18.sce | // Scilab Code Ex5.18: Page-293 (2008)
clc; clear;
h = 6.62e-034; // Planck's constant, Js
e = 1.602e-019; // Energy equivalent of 1 eV, J
E_k = 12.8e+006; // Energy of the moving neutron, eV
m0 = 1.675e-027; // Rest mass of a neutron, kg
lambda = h/sqrt(2*m0*E_k*e) // de-Broglie wavelength associated... |
7d554510a99c17bdfe19eab7957b168a7750203a | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH12/EX12.2/Example12_2.sce | 96a9c26910ead64a46efd81ca563249685248e38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,540 | sce | Example12_2.sce | clear ;
clc;
//Page No.357
// Example 12.2
printf('Example 12.2\n\n');
// Solution fig.E12.2
// Given
// Main reaction - C6H6 + 3H2 --> C6H12
F_Bz = 100 ;// Fresh benzene feed / basis - [mol]
con_Bz = .95 ;// Fraction of conversion of benzene
sp_con = .20 ;// Fraction of single pass conversion
ex_H2 = .20... |
2907f33ca73352a32db8c33048c75e6005722485 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.26/Ex2_26.sce | 448652caf637b38beb9db1f0100d9f2ad121e3fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 858 | sce | Ex2_26.sce | clear
//
//
//Initilization of Variables
L=500 //mm //Length of assembly
D=16 //mm //Diameter of steel bolt
Di=20 //mm //internal Diameter of copper tube
Do=30 //mm //External Diameter of copper tube
E_s=2*10**5 //N/mm**2 //Modulus of Elasticity of steel
E_c=1.2*10**5 //N/mm**2 //Modulus of Elasticity of copper
p=2 /... |
cb6f5c91417867096b9820e7cc6b64957abda7df | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH15/EX15.1/Chapter15_example1.sce | f3d20efc8e9c1186569d3aaf3582e1d7be89fd87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | Chapter15_example1.sce | clc
clear
//Input data
n=6//Number of cylinders
p=720//Horse power in h.p
N=180//Speed in r.p.m
f=250//Fuel rate in gm per horse power hour
//Calculations
w=(((f/1000)*p)/((N/2)*60*n))*1000//Weight of fuel per cycle in gm/cycle
//Outptut
printf('The quantity of fuel to be injected per cylinder is %3.2f gm... |
eadcb98a366a6a98f10ba95075149db578343b84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH3/EX3.12/ex12.sce | 5c690ee245cde6984201a87626135e63e2c9ec07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 868 | sce | ex12.sce | //example 12
//determining specific using diffenet laws
clear
clc
T=100 //given temp.in 100 celsius
P=3 //given pressure in MPa
v1=0.0065 //specific volume in m^3/kg using table
printf("\n hence,the specific volume for R-134a using R-134a tables is v1 = %.3f m^3/kg. \n",v1)
M=102.3 //molecular mass in kg
R=8.3... |
24ff2718634cc2e5c77fbfdecf3993de8f32005b | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/arParEst.sci | 971bc45b84d925045aff379656b0ceee3060d4fc | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,551 | sci | arParEst.sci | function [model_est, var_est, msg_strg] = arParEst(data_in, order, method)
checkNArgin(3, 3, argn(2))
model_est = [];
var_est = [];
if isvector(data_in) then
data_in = data_in(:);
end
select method
case 'covariance' then
x_min_len = 2*order;
case 'mo... |
300f4f96598d5f81f96a47f22296726f7ed66bd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH3/EX3.1/Example3_1.sce | 82fa13885dfa3f6107266cfffcab09280b35e486 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,050 | sce | Example3_1.sce | clear;
clc;
// Illustration 3.1
// Page: 53
printf('Illustration 3.1 - Page: 53\n\n');
// solution
//****Data*****//
// a = CO2 b = H2O
Ca0 = 0;//[kmol/cubic m]
Cai = 0.0336;//[kmol/cubic m]
Dab = 1.96*10^(-9);// [square m/s]
//*******//
density = 998;// [kg/cubic m]
viscosity = 8.94*10^(-4);//[k... |
eaecd3dc86b0c9dac7f54b9a0de99f4d77d2619e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH17/EX17.5/Ex17_5.sce | 3ccd413f7e9d40e41cee25b9812c125779a0d3fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex17_5.sce | //Chapter 17: Antenna Temperature, Remote Sensing and Radar Cross Section
//Example 17-3.1
clc;
//Variable Initialization
k = 1.38e-23 //Boltzmann's constant (J/K)
trans_pow = 5 //Transponder power (W)
r = 36000e3 //Distance (m)
wave_lt = 7.5e-2 //Wavelength (m)
ant_gain = 30 //Antenna gain (dB)
earth_an... |
97105f51ec631b8363566714cf8b4af3e453ab88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH4/EX4.5/Example4_5.sce | 4bfee7ad293b45c589d62cb347fa643de59dbab3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,132 | sce | Example4_5.sce | //clear//
//Caption :To find out the Internal Quantum Efficiency and Internal Power level of LED source
//Example4.5
//page149
clear;
clc;
tuo_r = 30e-09;//radiative recombination in seconds
tuo_nr =100e-09;//non-radiative recombination in seconds
Etta_internal = 1/(1+(tuo_r/tuo_nr));//internal quantum efficien... |
33a42b0986a586b9928f665b25fcbf22dd1a12e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3159/CH8/EX8.4/Ex8_4.sce | 9caa01a0dffc6c685a385b994d82a7f53c4fc7e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Ex8_4.sce | // Calculate time required to get required boron concentration
clc
D = 4e-17 // diffusion coefficient
c1 = 0
cs = 3e26
c_x = 1e23 // number of atoms
x = 2e-6 // depth in m
printf("\n Example 8.4")
A = cs
B = cs - c1
k = (A-c_x)/B
if k >0.99966 then
if k< 0.9997 then
z = 2.55 // from table
... |
06ec21841288591338ee37c30808ac6b8fe7445c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH9/EX9.4/9_4.sce | 62bdf7e79c8ce59ab89f11e81411a854275b110f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | 9_4.sce | clc
//initialization of variables
disp("From steam tables")
ht1=218.12
ht3=1412.1
st3=1.6571
ht4=1134.6
ht5=925.8
ht6=69.7
//calculations
w=(ht1-ht6)/(ht4-ht6)
WbyJ=ht3-ht4+(1-w)*(ht4-ht5)
W=778*WbyJ
Q=ht3-ht1
eta=WbyJ/Q
//results
printf("Specific work = %d ft-lb/lbm",W)
printf("\n Efficiency = %.3f",e... |
bbd4997a5276d423ca06f0d0c4545d7914155cd4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH5/EX5.3/Ex5_3.sce | c639b29d653200d26f0298695405c083ce454878 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | Ex5_3.sce |
// Ex5_3
clc;
// Given:
th=2.4;// in Mev
z=0.0009;// mp-mn in atomic mass unit
// Solution:
x=-(2.4/931);//assuming no barrier operates
y=x+z;
printf("The mass difference between A & B is = %f u", -y)
|
ba157b163d296a1267310cce83ada29ea9e76a24 | fc97dca636256fc30f018840e244a173c06ec54b | /easy/tests/tooLargeInt.tst | 9b8feb56c202ba69f8d6439b536a7d611742ad61 | [
"MIT"
] | permissive | tuomasb/compiler | 23fd2190bc6911380a5acf45241c1f2b2580538f | aa366ace6f2c29b5e0080faf8c50dcb7be0b02f4 | refs/heads/master | 2020-05-17T21:51:17.977674 | 2014-06-09T00:24:17 | 2014-06-09T00:24:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | tst | tooLargeInt.tst | main {
int i;
i := 111000000000000000;
i := 0 - 948117614885700293;
return i;
}
|
7f2e42ae9a5b1e15cabe1c0bf73cee4e912e5108 | 449d555969bfd7befe906877abab098c6e63a0e8 | /196/CH8/EX8.10/example_8_10.sce | 27b063114122e958084a067654ad654bb857b7c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | example_8_10.sce | //Chapter 8
//Example 8-10
//ProbOnWheatstoneBridge
//Page 232, Figure 8-12
clear;clc;
E = 1 ;
DR = 0.001 ; R = 120 ; //Resistance in Ohm
Vout = (E*DR)/(4*R) ;
printf ( "\n\n Output of the Bridge = %.9f V ", Vout ) |
7503af0c81cc194b1b29d3e452d6c649bb3f6c50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH2/EX2.16/Example_2_16.sce | a1256075c6588d9a4962eb0a80f360639adf2e29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | Example_2_16.sce | // Example 2.16 A business firm receives on an average
clc;
clear;
m=2.5;
disp(m,"Average call =");
function value = poisson(m, x)
value = (exp(-m)*(m^x))/(factorial(x));
endfunction
X_0=poisson(m,0);
X_4=poisson(m,4);
disp(X_0,"Probability of no call is ");
disp(X_4,"Probability of exactly 4 call is ");
|
d1a09c972efdd4061f88992525c5aec6eaa0c182 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH7/EX7.16/7_16.sce | e23702fa081932219875383cb3c51955f0d52f20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 853 | sce | 7_16.sce | clc
clear
//Input data
P=20;//Power developed by a four stroke diesel engine per cylinder in kW
N=2000;//Operating speed of the diesel engine in rpm
s=0.25;//Specific fuel consumption in kh/kW
p1=180;//Pressure of fuel injected in bar
d=25;//Distance travelled by crank in degrees
p2=38;//Pressure in the combust... |
134df6f64fb0f4aacc0a7e075b2c3b85cc4cabd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH4/EX4.3/ex_4_3.sce | 7778e8a24dc71692203ee6325062b253a1d3fb8a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | ex_4_3.sce | clc;
clear;
Dev_sen=3.5;// Deviation Sensitivity in rad/volt
a=2.5;// amplitude in volts
B=a*Dev_sen; //Peak Phase Deviation
disp(B,"Peak Phase Deviation( in rad)");
|
935cfa6e4cae2b99bab5775f564e632230a1f597 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH1/EX1.12/Ex1_12.sce | d14494f3265d4a86cbd970c8bbae13edad59b1c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | Ex1_12.sce | //Example 1.12 Addition of two Binary numbers
clc // clears the console window
clear // clears the variable browser
m = bin2dec('0110'); //conversion from binary to decimal
n = bin2dec('0111');
k= m + n; //addition of decimal numbers
a = dec2bin(k);//conversion from decimal to Binary
// displays the binary addi... |
a44dd78634e460c393c5409ed71ddf4e03400998 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH13/EX13.13/Ex13_13.sce | d3f138c8b57a4b5f86ce35d766791f0e23bcb0f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex13_13.sce | clear;
clc;
//Example 13.13
Va=150;
Vt=0.026;
Ic13=0.2;
gm13=Ic13/Vt;
printf('\ntransconductance=%.2f mA/V\n',gm13)
ro13=Va/Ic13;
printf('\noutput resistance=%.2f KOhm\n',ro13)
Av2=gm13*ro13;
printf('\nvoltage gain=%.2f \n',Av2)
|
6717d65a1ffa2cbffa9a52dbb94f07ea04b8c598 | 47adabef6eb8924aff50314b05cfd89f90e19aec | /demos/cpp_find.dem.sce | 255518972231e3952a9806ddd001d533a1ab5a11 | [
"BSD-3-Clause"
] | permissive | sengupta/scilab-http | acf41286543dfadb62bfbf1fc74d19cd6ec65815 | 114ac7ab3a55e08399a82e8a1c084bc23cace3a3 | refs/heads/master | 2021-03-12T20:38:08.900774 | 2012-04-03T13:14:33 | 2012-04-03T13:14:33 | 3,886,870 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | cpp_find.dem.sce | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2008 - INRIA - Allan CORNET
// Copyright (C) 2010 - DIGITEO - Allan CORNET
//
// This file is released under the 3-clause BSD license. See COPYING-BSD.
function demo_cpp_find()
mode(-1);
lines(0);
disp("cpp_find(''Sc... |
1923e03f9c77691323136d105a770c876aee1a42 | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/scilab/scilab_shallowwater/paramssaastest1.sce | d524e5589499a29d25ab9ee053d18460487beaeb | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,085 | sce | paramssaastest1.sce |
// Constants
g = 9.81;
u0 = 0;
v0 = 0;
b = 0;
h0 = 5030;
consts=struct('g',g,'u0',u0,'v0',v0,'b',b,'h0',h0);
//Domain definition
// Define the x domain
ni = 51;
//ni=41;
xmax = 100000;
dx = xmax/(ni-1);
x = [0:dx:x... |
3976572230f85fe5e4e2e72fdc31e2dc6729414e | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH8/EX8.15/example_8_15.sce | 53f97fd04bb331ca39e7aaf9c77fbe7f7ae9502b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example_8_15.sce | s=%s
F=2*s^5+s^4+6*s^3+s+1
disp(routh_t(F))
r=coeff(F)
routh=routh_t(F)
n=length(r)
c=0;
for i=1:n
if (routh(i,1)<0)
c=c+1;
end
end
if(c>=1)
printf("system is unstable")
else printf("there are no roots on RHS")
end
|
16afb380d8dcf18a33ac76aa55c70d6ee0c8e5ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH2/EX2.4/EXP2_4.sce | 04d33db0d673215b49af59db4076ff28d9ece36c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | EXP2_4.sce | clc;funcprot(0);//EXAMPLE 2.4
// Initialisation of Variables
Es=1.8;........//Electro negativity of Silicon from fig.2-8
Eo=3.5;........//Electro negativity of Oxygen from fig.2-8
//CALCULATION
F=exp(-0.25*(Eo-Es)^2);........//Fraction covalent of SiO2
disp(F,"Fraction covalent of SiO2 :")
|
e5289712e0c9748f4afbc76d8170f5752bfa5c82 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.6_7.tst | 327fd42e1bc5c8779c4281212f0d3ce00c6d4173 | [] | 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 | 780,428 | tst | 5.6_7.tst | 6 217:1 302:1 1050:1 1079:2 1106:1 1216:1 1523:1 1804:1 1883:1 1886:1 2026:1 2125:1 2425:1 2714:1 2742:1 2754:1 2777:1 2784:1 3202:1 3273:1 3277:1 3286:1 3518:1 3559:1 3928:1 4162:1 4228:1 4308:1 4578:2 4632:2 4668:1 4786:1 4814:1 4854:1 5041:1 5186:1 5191:1 5237:1 5513:1 6080:1 6583:1 6768:1 6867:1 6960:1 6977:1 7127:... |
33b8096757ac3baf5870ff8ea1cd1eff2ad15a94 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/dutycycle/dutycycle5.sce | 49164310555f329df67dab324da65aee5028ffb0 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | dutycycle5.sce | //check o/p when i/p is TAU(pulse width in seconds) and PRF(pulse frequency in pulses/seconds)
//product of PRF and TAU should be less than 1
d=dutycycle(0.034,0.45);
disp(d);
//output
// 0.0153
|
16d59378cb5184691722d1cb177943446d23bb78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH7/EX7.2/Ex7_2.sce | 1e9f2eae9910cc33aeb88c05412cdd1538489f38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | Ex7_2.sce | //Example 7.2, Page Number 306
//Vacuum photodiode output
clc;
l=500*(10**-9) //Wavelength of radiation in metres
P=1*(10**-6) //Power in Watts
q=0.5 //Quantum Efficiency
e=1.6*(10**-19) //Charge of an electron in Coulombs
h=6.63*(10**-34) //Plancks Constant in meter square kilogram per second
c=3*(10**8) //S... |
35a748f1f5afbe97a2d081655b6e7d94de12eed3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH9/EX9.11.1/example11_1.sce | 014b388057b0da010c60910bb3f52b40f1e2169a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | example11_1.sce | clc
syms x n;
disp('u=((4.7....(3n+1))*x^n)/(1.2.....n)')
disp('v=((4.7....(3n+4)*x^(n+1))/(1.2.....(n+1))')
disp('l=u/v=>')
l=(1+n)/((3+4*n)*x)
disp(limit(l,n,0)) |
fb020e5d90e2ef7feb094da3b5e1f70d4455c8ca | a1161d9e9d26e0a7b20c31269be145f13d9d3e89 | /QA/tests/water/water_pme.tst | 5419ddef8014b745037586af62091ea369f68b05 | [
"LicenseRef-scancode-warranty-disclaimer",
"ECL-2.0"
] | permissive | nwchemgit/nwchem | c06e7e1fe11b3afad17b167f29a97c4fa3ad0fda | c5a8125298a6ea7d6eb27b07c196ea8041aa7198 | refs/heads/master | 2023-09-05T17:18:34.513866 | 2023-09-02T02:56:47 | 2023-09-02T02:56:47 | 111,318,191 | 425 | 164 | NOASSERTION | 2023-09-11T16:34:14 | 2017-11-19T17:48:21 | Fortran | UTF-8 | Scilab | false | false | 1,500 | tst | water_pme.tst | Time = 0.001
Temperature = 302.85
Volume = 0.00
Pressure = 8.76E+07
Energy = 0.000E+00
Time = 0.002
Temperature = 303.77
Volume = 6.48
Pressure = 8.68E+07
Energy = -7.311E+03
Time = ... |
f603e651ec28637015d66e0518483291bbf376ff | 75e8de13b449936c15072e897be26dfe860bf5f4 | /data/samples-77-to-80-percent.sci | 92d7ca8689bb1fbcdbea725295bc25ca0482d5da | [
"LicenseRef-scancode-public-domain"
] | permissive | MyFreertosLab/my_motors_test | 98888702fd22774611b5c01f65d5c3938feb2838 | 2e059c196ec7be0ebd7ac9bd4f8c96585d1da169 | refs/heads/master | 2023-05-13T08:33:44.999855 | 2021-06-03T19:04:42 | 2021-06-03T19:04:42 | 373,610,906 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 76,755 | sci | samples-77-to-80-percent.sci | A=[
77.02096, 11592, 11112, 11576, 11272, 11560, 10080;
77.02096, 11584, 9904, 11568, 9272, 11560, 10080;
77.02096, 11584, 11080, 11568, 9272, 11560, 10504;
77.02096, 11592, 11080, 11568, 10064, 11560, 10144;
77.02096, 11584, 10240, 11576, 9136, 11560, 9472;
77.02096, 11592, 11072, 11576, 9136, 11560, 9472;
77.02096, 1... |
542f7f65a90e6995eea4212e7b64bd69bc5d4c1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH30/EX30.4/ex_30_4.sce | 3116eb068b388bb3c914aa2bdb74ee9cfc76e2c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,311 | sce | ex_30_4.sce | //find
clc
//solution
//given
q=(%pi/180)*20
qs=%pi/2
vr=3
fog=70
fop=100
P=37500//W
Np=750//rpm
//b=L/3
oh=150//mm
//tan(qp1)=1/vr
qp1=(%pi/180)*18.43
qp2=(%pi/2)-qp1
Tp=20//assume
Tg=vr*Tp
Tep=Tp/cos(qp1)
Teg=Tg/cos(qp2)
ypb=0.124-0.686/Tep
ygb=0.124-0.686/Teg
Ng=Np/3
//since theyr are made of ... |
9362195e583e9a4025456e626b6fb49f4f3b17f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH12/EX12.19/example12_19.sce | c74ef8d3fe672f60f6a5c9a26e2dfe1b9f26d62c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | sce | example12_19.sce |
clc
// Given that
m = 0.0001 // mass of Sr(90) in gm
t = 28 // half life of Sr(90) in year
t_ = 9 // time in sec
// Sample Problem 19 on page no. 12.38
printf("\n # PROBLEM 19 # \n")
printf("Standard formula used \n")
printf(" lambda = 0.693 / t_1/2 (Decay constant) \n del_N = N_0*lambda*t (disintegration of samp... |
0853eecf57deb9904fc55884286e51c8761bb07e | 2157e5477a68100718fef686429f6ab2d846fffe | /macros/lsqlin.sci | 3f777d563409d25a78cb5484afeac9ca156255a1 | [] | no_license | sidn77/FOSSEE-Optimization-toolbox | 44ca727e3f2dff5b61b43384421ae9e633d95bb1 | 58416c0613131665e14c0143791fb1f305c411e0 | refs/heads/master | 2021-01-11T04:58:15.068871 | 2016-09-29T11:31:12 | 2016-09-29T11:31:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,636 | sci | lsqlin.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the BSD.
// This source file is licensed as described in the file LICENSE, which
// you should have received as part of this distribution. The terms
// are also available at
// https://opensource.org/licenses/BSD-3-Clause
// Au... |
cfa74942136a7de896922f02c331943a4e2b8bf3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH6/EX6.3/Chapter6_example3.sce | d4b8d8cc3afc1ae2f1b7db5f5917d0ade9537333 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | Chapter6_example3.sce | clc
clear
//Input data
m=(28*1.66*10^-27)//Molecular mass of a gas in kg
d=(3.48*10^-10)//Diameter in m
k=(1.38*10^-23)//Boltzmans constant in J/K
P=1.01*10^5//Pressure at STP in N/m^2
T=273//Temperature at STP in K
//Calculations
D=((1/(P*3*d^2*sqrt(m)))*((2*k*T)/3.14)^(3/2))/10^-5//Diffusion coefficient of... |
f5198596fb0bde10637678817d4b184400de4cfb | b0ec3c95e6b967fabb9b53e0629980e5bc07e752 | /Mesher/Surface Remesher/LexicalTriangulation.sce | c88418947d7e094b905a0ae4a687f9ccbc8fed15 | [] | no_license | chi-tech/whitepapers | 8847ae667fc02418daf123896daf1c027f55ea20 | fe758fa106e7c8d144e1ac108c9e9f3238310d9c | refs/heads/development | 2020-09-10T16:07:05.190042 | 2020-07-15T14:38:09 | 2020-07-15T14:38:09 | 221,751,686 | 0 | 1 | null | 2020-07-15T14:38:11 | 2019-11-14T17:27:50 | TeX | UTF-8 | Scilab | false | false | 3,626 | sce | LexicalTriangulation.sce | clear all;
clc;
funcprot(0)
printf("Hello\n")
//##############################################################################
function [rlexlist, tempPointList]=SortLexicographically2D(pointList)
listSize = size(pointList)(1);
tempPointList = pointList;
rlexlist = linspace(1,listSize,listSize)
//=====... |
d0e2d91bd8345fc2a817c8c3c7552b34ea7f55b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH10/EX10.25/ex10_25.sce | ff65dd70cf28ede2b11f5f17ccacbb8ba4546cfc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex10_25.sce | // Example 10.25, page no-285
clear
clc
sig=6.22*10^7//per ohm-m
n=5.9*10^28//m^3
e=1.6*10^-19//C
mu=sig/(n*e)
printf("The mobility of electrons in Si is %.2f*10^-3 m^2/V-s",mu*10^3)
|
a9b0c90d837d58f891367c42ee2842ab8e34a4d6 | 668ca4e9ddcb0e4af73b341adf7dc544e552980d | /笔记/第一天.tst | 5b7e6d6e49d4a3f832fc46d85e68aec36c38c57f | [] | no_license | ysily8817/biji | 6d5c70e681d9753597557a3204d8b6f69a5b2d7b | 15ff1b882a6e107caea02401bc384a38ceb1c4d6 | refs/heads/master | 2022-06-25T07:41:45.485965 | 2019-09-30T04:14:12 | 2019-09-30T04:14:12 | 199,145,828 | 0 | 0 | null | 2022-06-21T01:36:05 | 2019-07-27T09:44:03 | Scilab | UTF-8 | Scilab | false | false | 1,185 | tst | 第一天.tst | 一、反射:主要用于框架当中,首先完成类加载操作,然后解剖类里面的数据
加载类的三种方式
1、Class.forName("reflect.Person");
2、new Person().getClass();
3、Person.Class;
二、通过反射获取类中的构造方法
Class class1 = Class.forName("reflect.Person"); //获取类对象,加载类到虚拟机中
Constructor c = class1.getConstructor(String.class);//获取构造方法的对象
c.setAccessible(true); //如果构造方法是private修饰时,... |
9900cb52f11c8c36e0fbc38b9153d058e727fff8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH3/EX3.16/Exa3_16.sce | 54600aced3fae0aceda35c93023e673d7bc3012e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | Exa3_16.sce | // Exa 3.16
clear;
clc;
close;
//Part (a) is a derivation not a numerical problem
//Part (b) is a plot, and can be plotteed with any assumed value of R
R=5;//in ohm(assumed)
V=0:12;//in volt
I=-V/R//in Ampere
disp("V-I characteristics is shown in figure.")
plot(V,I);
title("V-I characteristics");
xlabel("V... |
4047d044bd2ee4bfcb350429dc7b687289efad6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/3_03data.sci | 59bbbdff8e29e31b46d737bebac450808d279390 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sci | 3_03data.sci |
P1=9144//Pressure altitude in Km
P=0.3*10^5//corresponding pressure at pressure altitude in N/m^2
//density altitude:
D1=8686.8//density altitude in Km
D=0.485//corresponding density at sensity altitude in Kg/m^3
//Temperature at that altitude:
T=P/(D*R)//from equation of state |
8373b50292f73c1fe6b00bc7014f1c8594aae897 | 0d01d6b51f01f32713ff1c7bb3e898fb9a0243d6 | /Bookstore-laodtest-csv.tst | 9a21db91e3614219e8c88f94a96055f8dbe197cd | [] | no_license | gtrofimov13/loadtest-bookstore | 11f6f19623972479810fa3ab518f28ac746173c4 | 6ffc6e84fd06444cc88746492de342da6f1a9581 | refs/heads/master | 2022-12-19T07:52:32.244692 | 2020-09-24T07:01:28 | 2020-09-24T07:01:28 | 298,188,242 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,078,214 | tst | Bookstore-laodtest-csv.tst | <?xml version="1.0" encoding="UTF-8"?>
<SOAtestProject xmlVersion="5" productVersion="9.10.9">
<TestSuite className="webtool.test.TestSuite" version="46.15.2">
<DebugAssets className="webtool.test.debug.DebugAssets" version="1">
</DebugAssets>
<ReportingSettings className="webtool.test.ReportingSettings" version... |
e18a7902e39b08842bc1e9f55239771466988041 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH5/EX5.9/Ex5_9.sce | e808f57210303e62b7fdf2d1415204af72666082 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,286 | sce | Ex5_9.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 5 : DIRECT CURRENT MOTORS
// Example : 5.9
clc;clear; // clears the console and command history
// Given data
I_L= 80 // dc shunt motor current in A
V_t = 220 // supply voltage i... |
5bb0e639d0733da6a9e67b39a9078184798562fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /162/CH7/EX7.3/example73.sce | 264dd9596117f871a5129955404fef37416a5724 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | example73.sce | //Example 7.3
//Linear and circular convolution of two sequences
clc;
x1=[1,2,3,4];
x2=[3,1,4,2];
y1=convol(x1,x2);
disp(y1,'Linear convolution of the two sequences')
X1=fft(x1,-1);
X2=fft(x2,-1);
Y2=X1.*X2;
y2=fft(Y2,1);
disp(y2,'Circular convolution of the two sequences'); |
25a80ab3b6db8d6dcb0e724e04608f18f1fe679c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_D._C._Kulshreshtha_2885.zip/Electronic_Devices_And_Circuits_D._C._Kulshreshtha_2885/CH14/EX14.2/ex14_2.sce | e2849d19cc55cd4cdec9777a922e5e5f0896e604 | [] | 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 | 223 | sce | ex14_2.sce | errcatch(-1,"stop");mode(2);//Find the output voltage
;
;
//soltion
//given
R1=20*10^3;//ohm
Rf=2000*10^3;//ohm
v1=4;//V
v2=3.8;//V
vo=v2*(1+Rf/R1)-(Rf/R1)*v1;
printf("The output voltage= %.1f V",vo);
exit();
|
bca14a236f997e886bb29821786d749fce29b931 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3764/CH3/EX3.03/Ex3_03.sce | 81cfc6ea8f97b7220c411f10a57e259089aad3d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_03.sce | clc
//
//Variable declaration
tmin=70*((10**6)) // Shearing stress(Pa)
G=77*((10**9))*(1.0) // Modulus of rigidity(Pa)
L=1500 // ength of arc AA'(mm)
c1=20 ... |
a28b01107bad583ed219f6ddfa65be4630ba42a1 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.2_3.tst | 24b688e25f98d32a127fbc7662acf9b9554f453d | [] | 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 | 3,659 | tst | bow.2_3.tst | 2 14:0.1111111111111111 21:1.0 41:0.5 81:0.2 110:0.5 141:0.5 269:1.0 289:1.0 343:1.0 544:1.0 951:1.0 1226:1.0
2 6:1.0 141:0.5 424:1.0
2 6:3.0 9:1.0 14:0.3333333333333333 16:0.01694915254237288 21:1.0 27:0.125 50:0.17647058823529413 52:1.0 81:0.2 84:0.09090909090909091 90:1.0 91:1.0 126:0.5 268:1.0 286:1.0 289:1.0 357:1... |
2ab723b8954e24e2cb31519cf290409f1bc62f29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH12/EX12.6/ex12_6.sce | d52a7a6336f1bf5262a0d86c44fc7f51073911f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | ex12_6.sce | clc;
clear all;
lemdaT=750;//given penetration depth at T=3.5K
Tc=4.22;//given critical tempreture
T=3.5;////given tempareture
//part a
x=(T/Tc)^4;//temporary variable
lemda0=lemdaT/sqrt(1-x);//penetration depth at T=0K
disp('Angstrome',lemda0,'penetration depth at T=0K is=');
//part b
N=6.02*1e26;//given
al... |
7c944435abfbd8af4713ea0f9d1b54624116dc29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3369/CH16/EX16.2/Ex16_2.sce | 6503ada922f991f145bf85b121e718d01aba76c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 793 | sce | Ex16_2.sce | //Chapter 16,Example 2, page 556
//Determine the (a)ripple voltage (b)voltage drop (c)Average output volatge (d)ripple factor
clear
clc
I1 = 5*10^-3 // A
C3 = 0.10*10^-6 // F
C2 = 0.05*10^-6 // F
C1 = 0.01*10^-6 // F
Vs = 100 // kV
f = 50 // Hz
// (a) Ripple voltage
printf("\n Part (a)")
delV = I1/f*((2/C1)+(1/C3))
p... |
c9d9b0d60c3f5ae844a9f30f84c1635f4ecc7abd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH17/EX17.1/Ex17_1.sce | 69e6d1ba38723d525a1931a1b023ceba99cd22b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | Ex17_1.sce | //Variable declaration:
w1 = 1.5 //Thicknessof fin (in)
L = 12.0 //Length of fin (in)
w2 = 0.1 //Thickness of fin(in)
//Calculation:
Af = 2*w1*L //Face area of fin (in^2)
At = Af + L*w2 //Total area of fin (in^2)
//Result:
printf(... |
cbb739ebce7d6e5146350331cf03e1f4c90f1a71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH3/EX3.2/Example3_2.sce | 49686899cd2be049541310701f7662430e802642 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,044 | sce | Example3_2.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 3: DC Dynamo Voltage Relations - DC Generators
// Example 3-2
clear; clc; close; // Clear the work space and console.
// Given data
kW =100; // Power rating of the generator in kW
V_1 = 500; // V... |
ffcf487794bf0bc217f97e2a8ad7b9603ff86633 | b53c36fcf9bc2bca0900ecb3da203534653d846f | /TripMaker/trip-tests/trip03.tst | 847e42f1b308a7a1955ad0a7828d8695fc11dbda | [] | no_license | ShinYen/Resume | 33e16518dbfb0383786dbcec7d925a30535bd924 | a595c24da5390aa3adf4a42fc2202852968c553a | refs/heads/master | 2021-03-30T16:59:45.173542 | 2014-04-06T04:07:07 | 2014-04-06T04:07:07 | 16,993,515 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 86 | tst | trip03.tst | java -ea trip.Main -m trip-tests/map02 <<EOF
Berkeley, San_Francisco, Santa_Cruz
EOF
|
64f48818df621302703e77995e8d65c77f11fef7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH1/EX1.19/Ex_1_19.sce | 944fe9f526107d626035b7ed1c78ea40c25b3a39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | Ex_1_19.sce | //Example 1_19
clc;
clear;close;
//Given data
Vs=12;//V
P=0.3;//W
Rs=100;//ohm//as slope is -100V/A
//Vs=Vg+Ig*Rg leads to Rs*Ig^2-Vs*Ig+P=0
X=[Rs -Vs P];//polynomial
Ig=roots(X);//A
Ig=Ig(2);//A(taking one value)
disp(Rs,"Source resistance, Rs in ohm ");
disp(Ig*1000,"Trigger current in mA ");
Vg=P/Ig;/... |
6ae1b31ce37ab1ea276f0734c2c13c5b8f753979 | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH5/EX5.1.19/5_1_19.sce | 3e0f3172c8513d591e7602af8704e54fa66fcd47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | 5_1_19.sce | disp('The given matrix is:')
a=[1 1 1;2 2 2;3 3 3]
disp(a,'A=')
disp('A is not invertible because its columns are linearly dependent.')
disp('Hence, 0 is an eigenvalue of matrix A.') |
1420f99846286367c9349e3a391f5d0eb031b4b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH21/EX21.5/Ex21_5.sce | ba010426500c2493d678162cd57dc97579271e44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | Ex21_5.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 21.5
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
va=5.96e3;//Velocity of the acoustic wave
Lb=1.7e-3;//Beat length in m
Theta=13.5;//Angle between acoustic wave and the light waves
f=va/(L... |
075374093127500841062c4c6ec370660ea93ff5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH10/EX10.10/10_10.sce | d68043779208abdc93bedbe25b08381ad0568f5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 659 | sce | 10_10.sce | clear//
//Variables
ND = 2 * 10**14 //Donor atom concentration (in atoms per cubic-centimeter)
NA = 3 * 10**14 //Acceptor atom concentration (in atoms per cubic-centimeter)
ni = 2.3 * 10**19 //intrinsic concentration (in atoms per cubic-centimeter)
//... |
a9bd7b1d3a522e3a82184ef8b7abffce2a3ba59f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH41/EX41.2/Example41_2.sce | c697e3d7f1ac0255baa8c3c4856f8e7203cca68a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,298 | sce | Example41_2.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 3: ELECTROLYTIC AND ELECTRO-METALLURGICAL PROCESSES
// EXAMPLE : 3.2 :
// Page number 748
clear ; clc ; close ; // Clear the ... |
fd406bc65fa2b8f9b88f03261e73ddf760efeafd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH9/EX9.9/9Ex9.sce | 402492a7d3b8dd9d508b7ad6d20947d19570c550 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | sce | 9Ex9.sce | //Chapter 9 Ex 9
clc;
clear;
close;
x=(2^(1/4)-1)*((2^(3/4))+(2^(1/2))+(2^(1/4))+1);
mprintf("The value of the expression is %.0f",x);
|
28c847d8e28ecea4bd84a92f2b5288854c5cff84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH13/EX13.11/Ex13_11.sce | 63b906462e216b5234b5140207ebcc49c589b80a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | Ex13_11.sce | //Variable declaration:
//From figure 13.2:
h1 = 390.0 //Fluid enthalpy on entering the compressor (kJ/kg)
h2 = 430.0 //Fluid enthalpy on leaving the compressor (kJ/kg)
h3 = 230.0 //Fluid enthalpy on leaving the condenser (kJ/kg)
//Calculation:
QH = h2 - h... |
d1bb04350fc09fdcecf1479e66bb8cc075938f85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH4/EX4.7/Ex4_07.sce | b9abb381833793d43852ef988d9d99e3b521faa4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,081 | sce | Ex4_07.sce | // Scilab Code Ex4.7: Page-146(2013)
clc; clear
function region = check_region(lambda)
if lambda >= 400 & lambda < 700 then
region = "visible";
else region = "infrared";
end
endfunction
n_l = 3; // Lower electron orbit in Paschen series
n_u = [4, %inf]; // First and limiting upper... |
b29f85e485209c2db30dd544da186929f9a942d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.62/ex1_62.sce | aaa7dbfdc476b2f47012a6501a9c85a0d94f5d60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | ex1_62.sce | //Exa:1.62
clc;
clear;
close;
P_o=500*735.5;//in watts
N_o=40;//in rpm
s_f=0.12;
N_f=N_o*(1-s_f);//full load speed (in rpm)
T_f=P_o/(2*%pi*N_f/60);//Full load torque (N-m)
T_m=2*T_f;//Motor torque (in N-m)
T_l=41500*9.81;//Load torque (in N-m)
t=10;//seconds
w_s=s_f*N_o*2*%pi/60;//slip speed (in rad/sec)
K... |
950c03f4fba78132e2075d8b92c52115d50732de | 047d952507eb3b9d71fac69ec3332225f17f53ef | /main/out/main/testfiles/test28.tst | f936f338a7501d8f8d6c6e7ec19d7ed79f2126ab | [] | no_license | patrick-nanys/project-laboratories-hw | 89ab8f366219f491e6feba5558bf41ef8205dda1 | ba57a9d5e4ca33a3cc1be3cdb4fe679fe0149f93 | refs/heads/master | 2022-08-09T14:14:31.220503 | 2020-05-18T11:20:03 | 2020-05-18T11:20:03 | 250,313,203 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 90 | tst | test28.tst | 2;eer;1
1;p
1;p
1;p
p1,p2,p3;-;-;-;4;0;2
b1;-;-;-;4;0;1
startGame
stepPolarBear 1 1
status |
63a83032c4d151156fe66fc2f033aa056c18937e | d8b00ba08203d369b2c5f550547a8bec3b784a8f | /sol_mylu.sci | 4473767800cc4564700f776e503ba0f4fa6b4fa4 | [] | 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 | 97 | sci | sol_mylu.sci | function[x]= mylu_sol(L,U,P,b)
bb=P*b;
y = lsolve(L,bb);
x= uslove(U,y);
endfunction
|
ab6cc6aeaaf6789a4b2a43d23a90a7ca53b77c25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH13/EX13.4/Ex13_4.sce | 2afe2a6a0780196b8a71bba8beb1f737e299d8cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | Ex13_4.sce | clear
//
//
//
//Variable declaration
n1=1.5; //core refractive index
n2=1.45; //cladding refractive index
//Calculations
delta=(n1-n2)/n1; //relative difference
NA=n1*sqrt(2*delta); //numerical aperture
i0=asin(NA); //acceptance angle(radian)
i0=i0*180/%pi ; /... |
f870dc4e905da9b47a68ee0680da9b1414e5fbbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH3/EX3.7/Example37.sce | fdc245d6427fd80ee5aa74cbe7108b96e16fb6bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,880 | sce | Example37.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 3 Example # 3.7 ")
// Heat Transfer coefficient is given in W/m2-K as:
h = 200;
// Radius of cylinder in m is given as:
R0 = 0.05;
// Therma... |
b9aa0d2131105766287d2c93b7ed8757d20b3b65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH5/EX5.24/Ex5_24.sce | 912b7f05e2fb9dde9fdc3eaf707ae9dc604ae849 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | Ex5_24.sce | clc
c1 = 3 // machine cost per component using existing euipment in Rs
c2 = 1 // machine cost using fixture in Rs
s = c1 - c2 // saving in machine cost per piece
f= 1000 // cost of fixture in Rs
N = f/2 // components
printf ("\n Minimum number of components to be produced if cost of fixture to be recovered = %d"... |
cb9b7f60ecf4cd3055b695ff8c8967eaded675e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.24/Ex12_24.sce | daa5912cb69204a3621ffda8e916b1169da5bb9c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | Ex12_24.sce | //Chapter 12
//page no 492
//given
clc;
clear all;
OBR=-40; //in dB
//y=Pref/Pin
y=10^(OBR/10);
printf("\n Prefl = %0.2f percent Pin",y*100);
|
b530bdce67e076206372089b2cf959de28696ce6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH6/EX6.9/Ex6_9.sce | df88748132f57156e381e3b758b0ab3ec4bcd784 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | Ex6_9.sce | clc();
clear;
//Given :
h = 6.625*10^-34; //planck's constant in Js
m = 9.109*10^-31;// electron mass in kg
e = 1.6*10^-19; // charge of an electron in C
//Lambda = h/sqrt(2*m*eV) here we dont have V , so let us caluclate the remaining part.
lambda = h/sqrt(2*m*e);// wavelength in A
// 1 A = 1.0*10^-10 m
pri... |
ef3009e1e510127362cdf61db7e1c2f8c4941211 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH10/EX10.6/ex_6.sce | 457a28921ac617dccd9b6abddc74b3eb3d348350 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sce | ex_6.sce | // Chapter 10_Fundamentals of the Metal Oxide Semiconductor Field Effect Transistor
//Caption_Threshold voltage voltage
//Ex_6//page 448
e = 1.6*10^-19;
tox=650*10^-8
eps=11.7*8.85*10^-14
eps_ox=3.9*8.85*10^-14
Qss=10^10
Vtp=-1
Nd=2.5*10^14
ni=1.5*10^10 //intrinsic carrier concentration
phi_tn=0.0259*log(Nd/ni)
xdt... |
5a087b1dce3d84afe2fc44ad89014bbeea0010e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH6/EX6.22/ex6_22.sce | f475baeb131e387528ef11619526258cd22a5f49 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | sce | ex6_22.sce | // Exa 6.22
clc;
clear;
close;
format('v',6)
// Given data
D = 5/100;// distortion without feedback
A = 1000;// open loop voltage gain
Beta = 0.01;// feedback ratio
Af = A/(1+(Beta*A));// unit less
disp(Af,"The Amplifier voltage gain is");
f1 = 50;// in Hz
fdas1 = f1/(1+(Beta*A));// in Hz
disp(fdas1,"The l... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.