blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2a496e21fb50c18514f06fea9dbc6e47a446ffad | 6b317caeff9d26dcf0051f56bfcaa94676704bb3 | /Hebb.sce | c3259cd857e0eebf01f5e74a249b76815516c863 | [] | no_license | devanshmody/c-cpp-programs | 8d1a11915a421f420ba8cec71ea6d369e574baf9 | fc2cbe444c2f7ce49417e06db62c24ee89c6acaa | refs/heads/main | 2023-04-24T15:03:10.218495 | 2021-05-05T09:41:10 | 2021-05-05T09:41:10 | 364,527,543 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | Hebb.sce | n=input("Number of input pattern");
x=[]
c=1;
for i=1:n
a=input("Enter a pattern");
x=cat(1,x,a)
end
wtmat=input("Enter wight matrix");
for i=1:n
net=0;
for j=1:length(wtmat);
net=net+wtmat(j)*x(i,j);
end
r=sign(net);
for j=1:length(wtmat)
delt... |
53710e68f692090fcc6e8b1d4f0f5ca643eba37d | ffda72af53128fa90b1d8ad1a8772b965c2e3442 | /António Vacations/Scilab/vacations.sce | 5a81b9898a8b5552da74b4d7cfa1f9b1999d7abc | [
"MIT"
] | permissive | linux-man/The-Travelling-Salesman-Problem | 5ca99a3b0024273ed1f6404000fb28785ee18a9f | 6e6d1020b3ae86dc928aeaeea773065d3a9145d7 | refs/heads/main | 2023-03-07T06:04:59.935447 | 2021-02-16T12:52:32 | 2021-02-16T12:52:32 | 333,133,666 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,040 | sce | vacations.sce | /*
Cities Codes
Amesterdam 1
Athens 2
Berlin 3
Bern 4
Brussels 5
Budapest 6
Copenhagen 7
Stockolm 8
Helsinki 9
Lisbon 10
London 11
Madrid 12
Oslo 13
Paris 14
Porto 15
Rome 16
Vienna 17
Frankfurt 18
*/
//Data
nCities = 17
visit_duration = [2 2 3 1 3 ... |
e879474d516a266ad63cde1998b478f2f7e4f078 | d9111ba53f15c146e1ba9ef4c76ae213b4af2db0 | /interpolation/interpolation.sce | 9923133b5642c32d75adc9c3f29081be7b85711d | [] | no_license | Andruka/ChislMethod-5-semestr- | c404b946e093d2e7ac2bbdd914ffb4b243310f0b | a28547b347d62bb5594131900bd8a33653aef259 | refs/heads/master | 2021-09-02T05:04:10.915470 | 2017-12-30T16:05:16 | 2017-12-30T16:05:16 | 115,805,317 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 974 | sce | interpolation.sce | x=[0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 178 180];
y=[234... |
1ecf0fcc8dd560721e26012e3233c2642abd6e7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH6/EX6.13/ex13.sce | 800f3f60b0df592ae1fb6310859973daf7421834 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 810 | sce | ex13.sce | clc
clear
//Input data
R1=0.06;//Thickness of material layer in m
R2=0.12;//Thickness of the two insulating materials in m
R3=0.16;//Thickness of material layers with pipe in m
K1=0.24;//Thermal conductivity of one layer in W/mC
K2=0.4;//Thermal conductivity of another layer in W/mC
L=60;//Length of the pipe in... |
cd4fd126f56f31ea9344d129f4a6c52c0693e712 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.23/Ex2_23.sce | b1ee4ddd9902039ce940e84245f44fe77ce1dad1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,159 | sce | Ex2_23.sce | clear
//
//
//Initilization of Variables
D_s=20 //mm //Diameter of steel
D_Ci=20 //mm //Internal Diameter of Copper
t=5 //mm //THickness of copper bar
P=100*10**3 //N //Load
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
//Calculations
A_s=%pi*4**-1*... |
99a730eeaeff2d07ca166424191e41b5afe6ef43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH4/EX4.3/example_4_3.sce | 3c9b9984e3d36b615fd0918d77d7bafe61ec0f22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 670 | sce | example_4_3.sce | //Scilab Code for Example 4.3 of Signals and systems by
//P.Ramakrishna Rao
//x(t)=A*cos w0*t*gate(t/T)
//T=1/2*fo
//fo=0.5 Hz
clear;
clc;
//Fourier Transform
A=1;
T=0.5;
fo=1/(2*T);
Wo=2*%pi*fo;
for f=-20:1:20;
X(f+21)=A*integrate('cos(Wo*t)*cos(2*%pi*f*t)','t',-0.25,0.25);
end
disp(X,'X(0)-->X(20)');
... |
286eb9dc58df16af570b5c8469f9640957603d37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1844/CH3/EX3.10/3Q10.sce | effc293f6a6b2ec6ae005fbbe0fa756d8a91e8a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | 3Q10.sce | clc
L=882.1 // in m
a = 65*10^(-7)//in ()1 degree F)^-1
Tm=65
To=84
Ct= L * a * (Tm-To)
l1=100
k1=2+1/6
l2= 150
k2=4+12/60
l3=50
k3=1+1/10
l4=200
k4=7+48/60
l5=300
k5=3
l6=82.1
k6=5+1/6
Cs= l1*(1-cosd(k1))+l2*(1-cosd(k2))+l3*(1-cosd(k3))+l4*(1-cosd(k4))+l5*(1-cosd(k6))+l6*(1-cosd(k6))
TC=Ct-Cs
CL=L+... |
15417b168131322f7b884d112323f2a0495e9b31 | 3d76fea8c13ccbbd85a72caff487d44353b3c546 | /2018-2019/Fall 2018/Object Oriented (Java)/homework7/TestPreorderElementIterator.tst | b0be7deef95034e807ab42deb125076f1033912e | [] | no_license | munoz24/schoolWork | 7b3c4b77b10d0ff449098052858dbd0470ff2507 | abfb2203a28005be129f52bed79c38d0f869a49d | refs/heads/master | 2020-04-26T02:10:35.656695 | 2019-03-01T03:33:18 | 2019-03-01T03:33:18 | 173,226,541 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 63 | tst | TestPreorderElementIterator.tst | 729888243="d e"
1574077876=true
632230633="bc"
1794997492=true
|
8b30a9ed7e762c5311479ffd020f0e0981656e88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH6/EX6.6/Ex6_6.sce | 2e529469ae3fb887dfa5d29f996dcf5a1511a2a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | Ex6_6.sce |
clc; funcprot(0);
// Initialization of Variable
d=62.4;//displacement in mm
H=250.0;//height of datum m
r=115.4;//image distance in mm
//calculation
h=H*d/r;
disp(h,"height of chimney in m")
clear()
|
3216dec373668707bda8f6c1d61ce1ab551f6fc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH5/EX5.1/ex5_1.sce | 237037ad0a2e993b62f566e17430abb18c60197a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | ex5_1.sce | // Exa 5.1
clc;
clear;
close;
// Given data
R = 10;// in k ohm
R = R * 10^3;// in ohm
C = 0.001;// in µF
C = C * 10^-6;// in F
f_c = 1/(2*%pi*R*C);// Hz
f_c = f_c * 10^-3;// in kHz
disp(f_c,"Cutoff frequency in kHz is");
R_F = 100;// in k ohm
R1 = 10;// in k ohm
A_F = 1+(R_F/R1);
disp(A_F,"The passband v... |
6ba4d3db6dbd42156619e2b5b331bee25c6758f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH3/EX3.6/Ex3_6.sce | 8c87e5be77400e12ddaf207d6efdd699805e80ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 547 | sce | Ex3_6.sce | clc
M=30 //molar mass for ethane in kg/kmol
Tc=305.43 //temperature in kelvin
Pc=4.884 //pressure in MPa
P=70 //pressure in bar
Pr=(P*10^5)/(Pc*10^6)
mprintf("Pr=%f\n",Pr)//ans vary due to roundoff error
M1=7 //mass of ethane present in kg
Moles=(M1/M)*1000 //moles of ethane
mprintf("Moles of ethane=%fmol\n",M... |
978e4da6c977411dfa2183de48f000085f60a8a7 | 7a77a301987b89460fe3eddfbb6110d64a45e293 | /d.sci | 5e63dc8c6f86d04181275dbe4a16cb4ad802d7c9 | [
"MIT"
] | permissive | UTEC-mateIII/TAP-1 | e73758b5401730365b9e14f8405234b94151f2b1 | d6c0c2d2e1e890864107d680a6e0d7547d271d6f | refs/heads/master | 2022-06-06T03:39:54.375274 | 2020-04-19T18:55:40 | 2020-04-19T18:57:51 | 256,275,251 | 0 | 4 | MIT | 2020-04-19T17:15:09 | 2020-04-16T16:50:29 | Scilab | UTF-8 | Scilab | false | false | 468 | sci | d.sci | exec('platesD.sci')
exec('Doolittle.sci')
filas=5
[A b] = platesD(filas,1,1)
disp('Ejercicio c:')
printf('A:\n')
disp(A)
printf('\n')
printf('b:\n')
disp(b)
printf('\n')
rA = rank(A)
rAb = rank([A b])
[n _n] = size(b)
if(rA == rAb)
if(rA == n)
printf('Determinado\n')
// Solución por Doolitle
lu = Dooli... |
f5e119079ec52175087527896a62cf4943c84650 | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH11/EX11.6.1/Weiner_Filter.sce | b5cc11fa82c009867e56c4951c311840da0beae3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Weiner_Filter.sce | //Graphical//
//Example 11.6.1
//Design of wiener filter of Length M =2
clear;
close;
clc;
M =2; //Wiener Filter Length
Rdx = [0.6 2 0.6] //Cross correlation matrix between the desired input sequence and actual input sequence
C = Rdx(M:$) //Right sided sequence
To_M = toeplitz(C)
Rxx = [0.6 1 0.6] //Auto cor... |
0d36d6c838c5459460bab0d2aef3f91bc66a7148 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH27/EX27.15/Ex27_15.sce | c7741d555886653c1e673fb9347613ff5e642514 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 131 | sce | Ex27_15.sce | clear
//Given
a=10
b=2
c=3
//Calculation
Vce=a-b
Ic=c-b
Ro=Vce/Ic
//Result
printf("\n The output resistance is %0.3f k ohm",Ro)
|
7f7d85686bb4827082803cee5b521ed55cadd554 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH7/EX7.9/Ex_7_9.sce | 2e3a1814be06e0bbdc7e2b5a94cc6fc7ab850947 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | Ex_7_9.sce | // Example 7.9;//overall power
clc;
clear;
close;
Pdc=300*10^-6;//d.c. power in watt
f=20*10^6;//frequency in hertz
Ti=5*10^-9;//recombination life time in nano second
Pe=(Pdc*sqrt(1+(2*%pi*f*Ti)^2))*10^6;
disp(Pe,"overall power in micro watt")
|
8fa2cad53cb65ddd7cf9b957bd62cf5e66ebc032 | 46ffb5fda9448453eba4d6787a1568028b241d88 | /ABMLangangen/calibration/calibSimplexMeanSquares_11:58:13.350 AM 07-juin-2013.sci | c99f8d5ccbce8a07f926b2680afc785cd4b259dd | [] | no_license | JusteRaimbault/Models | f81f886dc050445dae68e933e0c052c7f9c0b59c | 52f9c28fe20c8e491fb83e22ef162256eb966d32 | refs/heads/master | 2016-09-10T23:23:05.419418 | 2013-07-30T22:02:34 | 2013-07-30T22:02:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,643 | sci | calibSimplexMeanSquares_11:58:13.350 AM 07-juin-2013.sci | ms=[];incomemean=[];bref=[];bnorm=[];
ms(1)=4.837358271377804E7;
incomemean(1)=17000;
bref(1)=12000;
bnorm(1)=30000;
ms(2)=4.8155241393382326E7;
incomemean(2)=17000;
bref(2)=13000;
bnorm(2)=30000;
ms(3)=5.092290478630149E7;
incomemean(3)=17000;
bref(3)=12000;
bnorm(3)=31000;
ms(4)=1.8876618021012735E7;
incomemean(4)=18... |
5df1a67184fe779ed0913c869ff254af48314906 | 4caec94f4ed1e7a859ef5a3d1e26c29855ab6e4b | /scilab.sce | 18ae454c648ab2543ee7cbd127794d1a5fae5eed | [] | no_license | idebland/conhecimento | 03b28d45c4d68124e4158897d249ed9bf24366bf | acfec9eb49a1f14afd0311717bb75edb7a2f4639 | refs/heads/master | 2021-01-10T20:40:27.360471 | 2014-10-28T22:55:50 | 2014-10-28T23:02:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 46 | sce | scilab.sce | clc
clear
mprintf("entre com o primeiro nº")
|
1edc0a47f9f135d2676c687867d21a57cd46867c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH3/EX3.10/Ex3_10.sce | 3a55d656c746e577a78a23707930aebefe500063 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,024 | sce | Ex3_10.sce | // Scilab Code Ex3.10: Page-106 (2013)
clc; clear
phi = 2.36; // Work function of sodium, eV
N_A = 6.02e+023; // Avogadro's number
e = 1.6e-019; // Energy equivalent of 1 eV, J
I = 1e-008; // Intensity of incident radiation, W/Sq.m
K = 1.00; // Kinetic energy of the ejected photoelectron, eV
rho =... |
e380e446a27e95ca8ebc65ef32ddb9fca4f5b095 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH5/EX5.1/ex_5_1.sce | 214198dcb30209821bf5a272393f73e6544f4b3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | ex_5_1.sce | //Ex 5.1
clc;
clear;
close;
format('v',5);
V1=2;V2=3;V3=4;V4=5;//V
R1=10;R2=15;R3=22;R4=50;//kohm
Rf=10;//kohm
Vout=-Rf/R1*V1-Rf/R2*V2-Rf/R3*V3-Rf/R4*V4;//V
disp(Vout,"Output voltage of the circuit(V)");;
|
c5c4cad61658c82f4f3d270808d2acfd2f2d524d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%r_n_r.sci | dd15d49451101ad4011913a489e765e8b99a9dd8 | [
"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 | 195 | sci | %r_n_r.sci | function r=%r_n_r(l1,l2)
//%r_n_r(l1,l2) <=> l1<>l2 for rational matrices
//!
// Copyright INRIA
r=l1('dt')<>l2('dt')
if ~r then
r=l1('num')<>l2('num')|(l1('den')<>l2('den')&l1('num')<>0)
end
|
4dfe2a8c7daaf541e2826fdee29beb7ad94ba1d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH1/EX1.a.16/Example_a_1_16.sce | ac51dd351549f30ef0a27318a92dd35c9ae55f44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | Example_a_1_16.sce | //Example 1_16 page no:33
clc;
R1=5
R2=6
R3=3
R4=3
R5=10
R6=6
R7=2
R8=4
V=100;
R9=1/((1/(R7+R8))+(1/R6));//calculating the resistances
R10=1/((1/(R3+R4))+(1/R2));
Rt=1/((1/13)+(1/8));
It=V/Rt;
I8=20.2*(13/(13+8));
I13=20.2*(8/(13+8));
I5=I8;
I10=I13;
I4=3.845;
I3=6.25;
Va=I3*3;
Vb=I4*4;
Vab=Va-Vb... |
89d1a427873f4e4e18ef30e1315dbd3853a24575 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH3/EX3.8/example3_8.sce | f272c3242b9ca32eb382f408a29f05ae258a5613 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,696 | sce | example3_8.sce | clear;
clc;
//Example3.8[Heat Loss through an Insulated Steam Pipe]
//Given:-
T_steam=320;//[degree Celcius]
T_surr=5;//[degree Celcius]
k_iron=80;//Thermal conductivity of cast iron[W/m.degree Celcius]
k_insu=0.05;//Thermal conductivity of glass wool insulation[W/m.degree Celcius]
h_out=18;//Covection heat t... |
df7b47105f0de656d0d92588589f669024ff3d90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH17/EX17.21/Ex17_21.sce | db67ae8a4e77533b2c23eb2d3a7c247cb79ba655 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 817 | sce | Ex17_21.sce | //Fluid Systems - By Shiv Kumar
//Chapter 17- Dimensional and Model Analysis
//Example 17.21
//To Find the Ship Velocity and Propulsive Force in the Prototype.
clc
clear
//Given Data:-
//For Model,
Lm=1; //Length of Model, m
Vm=0.7; //Speed in the Model, m/s
F... |
523604762587eb2f278064fde0d64d67256fde1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH3/EX3.34/3_34.sce | 2a595b89433843fc77b39bf4ffb16cfcd019c3bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sce | 3_34.sce | clear//
//Case a :
//Variables
R = 8.0 //Resistance (in ohm)
P1 = 60.0 //Power (in watt)
//Calculation
I1 = (P1/R)**0.5 //Current (in Ampere)
//Case b :
//Variables
R = 8.0 //Resistance (in ohm)
P2 = 120.0 //Power (in watt)
//Calculation
I2 = (P2/... |
db6b30bc623e14a4b77ce825893984ed9712f9cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH6/EX6.8/Ex6_8.sce | 300cde46b6874e791ef38bc2ed48591a126130d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 584 | sce | Ex6_8.sce |
//Example 6_8
clc();
clear;
//To determine the velocity of the third piece
momentumbefore=0 //units in kg meter/s
m=0.33 //units in Kgs
vz=momentumbefore/m
printf("The Z component of velocity is Vz=%d meters/sec\n",vz)
m=0.33 //units in Kgs
v0=0.6 //units in meters/sec
vy=-(m*v0)/m //interms of... |
987f1b26e081b61692844f943deacb8e66929934 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH7/EX7.5/Ex7_5.sce | a5ba78d77c755794475c26ddf1eb5103fabdb7a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_5.sce | //===========================================================================
//chapter 7 example 5
clc;clear all;
//variable declaration
f = 50; //frequency in Hz
L = 5*10^-3 //inductance
V = 100; //voltage in V
I = 10; //current in A
R1 = 3000; //resistance in Ω
//calculations
x = ((2*%pi*f*L... |
62435c5fed0aca4a68b35afd2a763688575eb02a | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH3/EX3.13/3_13exam.sce | b6f2e6600d0cad43a38ccab67f9235b44d0e489e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | 3_13exam.sce | //Engineering and Chemical Thermodynamics
// Example 3.13
//Page no:137
clear ; clc ;
//Given
Ws_real = -2.1 ; //[MW]
Ws_rev = -2.8 ; // [MW]
n_tur = Ws_real / Ws_rev ;
disp(" Example: 3.13 Page no : 137") ;
printf("\n Isentropic efficiency of turbine = %.2f %%", n_tur * 100); |
f80892044811728188ffba9ccf0d003c460aad2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH7/EX7.12/Ex7_12.sce | e79c5df8c5c1b19d42259bf9c9c817342366c6c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | Ex7_12.sce | clc
//Chapter7
//Ex_12
//Given
Eo=8.85*10^-12//F/m2
Er=1000
D=3*10^-3 //in m
V=5000 // in V
d=200*10^-12 //in m/V
L=10*10^-3 //in mm
A=%pi*(D/2)^2
F=Eo*Er*A*V/(d*L)
disp(F,"Force required to spark the gap in Newton is")
|
b2e8d7805193ad8661efff487fcdcb10b9fbe884 | fa428f297a915e9a041597642bfe29627ab69c42 | /app/views/listings/sell.sce | ff47f11e2607ff9460b8575eefe211c88c32452c | [] | no_license | TheBrenny/Web-Dev-and-Security | dff903be92838b14f7126dd1f7092922b86bf2cc | e4abb96dc24e606704b09f5acdd2684d6d5d577d | refs/heads/main | 2023-06-17T08:33:35.176024 | 2021-06-15T05:07:20 | 2021-06-15T05:07:20 | 343,603,444 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,084 | sce | sell.sce | [[i= partials/header ]]
[[i= partials/navbar ]]
<div class="container">
<div class="flex row product">
<div class="container center productImg">
<img src="/assets/img/products/defaultImage.svg" alt="img">
<input type="text" name="image" placeholder="defaultImage.svg" disabled... |
ab7f76814b1d886ff7cad22a5d708da5c4a3cad8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH3/EX3.3.A/additional_ex_3.sce | c665cb5e00b4f13e543d01c809454016231f2702 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | additional_ex_3.sce | clc;
clear;
disp("efficiency(n)=(useful power/total power)*100%");
disp(" =total sideband power/(total sideband power+carrier power)*100%");
syms m Pc
N=[((m^2)*Pc/2)/(Pc*(1+(m^2)/2))];
disp("*100% ",N);
disp("----------------------------------------------------------------");
m=0.7 //modulation index... |
fc8aaebc0539a8f03fb5467029e8ff4a4bb64d1a | e580123e7d2608cf56ac7c63d2102b7a3aa60ec0 | /structure.sce | 272781ccd56961baf6098024e079b6187c9fa25c | [] | no_license | Ray-mech/league-software | 439397a7dcb307c736b9a8a5d3f11d641ccc856b | 8a404148529975df6932dec91066c45ae6cd974c | refs/heads/master | 2021-07-01T05:07:00.401185 | 2018-07-12T04:13:52 | 2018-07-12T04:13:52 | 96,173,739 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,938 | sce | structure.sce | //init
clear;
clf;
//define function
//positive definite?
function [ispos] = isPos(X)
ev = spec(X);
ispos = "POSITIVE";
for i = ev',
if real(i) < 0.0 then
ispos = "NON-POSITIVE";
end,
end
endfunction
//parameters of th... |
ed4f3218643ec3409a1022d2ad237b78baa78660 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_MatFunc/normalize.sce | 4b194d09b73bda56a0bd72972e1db54b2515ca62 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | normalize.sce | // Function Name: normalize
// Return its normalised version, has been normalised to have unit p-norm(3rd parameter)
// Calculating the normalize
inputMat = [ 1, 2, 3; 4, 5, 6; 7, 8, 10;]
result = armaMatFunc("normalize",inputMat)
|
811b0428170f42a903e6f0af1688bb27856e0070 | 717ddeb7e700373742c617a95e25a2376565112c | /1592/CH6/EX6.1/Example_6_1.sce | 6dfef7a585b38db8b3fad7366028af6a54561c8f | [] | 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 | 717 | sce | Example_6_1.sce | //Scilab Code for Example 6.1 of Signals and systems by
//P.Ramakrishna Rao
//Sampling of signal
clc;
clear f n X X_delta w;
fs=200;
for f=-200:200
X(f+201)=5*[delta(f-75)+delta(f+75)];
end
figure(1);
f=-200:200;
plot2d3(f,X,-2);
title('X(f)');
xlabel('---> f');
w=1;
n=-1;
for f=-275:275
X... |
b4aa0265c50c98ebac29fe5378c127e1b6f34045 | 3655c97e8146a7ca97eaf60c4eb20ced2238eacb | /scilab/Eight Queens/bestFitness.sci | af9d1c6799f0951717e30009008bd2b0b9838a4b | [] | no_license | edielsonpf/genetic-algorithm | 99ae112982b6fee77ecfc55cbd10172b381e1dde | 94c599a23fa3b2f477c7a5062f65248a93cc395a | refs/heads/master | 2020-04-05T22:02:45.016605 | 2018-12-24T14:36:40 | 2018-12-24T14:36:40 | 32,630,334 | 0 | 1 | null | 2019-03-25T12:23:16 | 2015-03-21T11:45:11 | Python | UTF-8 | Scilab | false | false | 361 | sci | bestFitness.sci | function [best_fit, best_individual]=bestFitness(populacao)
pop_fit = fitnessFunction(populacao);
best_fit=pop_fit(1);
best_individual=1;
for i=2:length(pop_fit)
if(pop_fit(i)>best_fit)
best_fit = pop_fit(i);
best_individual=i;
end
end
disp("Be... |
29a68ceeabe4646c4cf8a959916f2f4281e7c016 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH14/EX14.7/ex14_7.sce | 85812cd578d9c1f0b72b493788bdd90ee7817da7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | ex14_7.sce | clc;
//From table 14.2 at 25 oC and 1 atm for C8H8
del_Ho=-2039.7; // LHV in MJ/kmol
// Combustion equation is C3H8+ 5O2 +18.8N2 → 3CO2 +4H2O +18.8N2
// From table 14.3
h333_C3H8=2751; // h333_h298 of C3H8 in kJ/kmol
h333_O2=147; // h333_h298 of O2 in kJ/kmol
h333_N2=145; // h333_h298 of N2 in kJ/kmol
h1333_CO2... |
19d2dbd3788808c95c68cf790ce5de4105c28d77 | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualProcessComm_V4/demos/hrtFrameCommand.sce | 6131580c1710da9b6de9074f7b8f74dbfb9bef0b | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sce | hrtFrameCommand.sce | //
// This help file was automatically generated from hrtFrameCommand.sci using help_from_sci().
// PLEASE DO NOT EDIT
//
mode(1)
//
// Demo of hrtFrameCommand.sci
//
//========= E N D === O F === D E M O =========//
//
// Load this script into the editor
//
filename = "hrtFrameCommand.sce";
dname = get_absolute_file_... |
207dc9ef19151c08dfcab47825c5eed6bc206497 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH17/EX17.8/145ex1.sce | f8d94ead067eafeb7acf17b61b262610f9c32a9c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | 145ex1.sce |
//given u=160,g=10,h=240
clear
clc
close
//using the formulae "h=u*t-(g*t^2)/2"
u=160;
g=10;
h=240;
t=poly(0,'t');
r=(240-u*t+(g*t^2)/2)//u*t-(g*t^2)/2-h=0
a=5;b=-160;c=240;//from equation we get these values
//using the formulae - solution of quadratic equation ax^2+bx+c=0
t=(-b+sqrt(b^2-4*a*c))/(2*a);... |
f514725986c867011d55c78f58582e4d063c105f | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH9/EX9.9/Example_9_9.sce | 7482d7ddb816c84fafe68629cb80015bc9026166 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,161 | sce | Example_9_9.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 9
//Chemical Reaction Equilibria
//Example 9
clear;
clc;
//Given:
//Reaction: N2(g) + 3H2(g) --> 2NH3(g)
To = 298; //temperature in K
T = 700; //(K)
R = 8.314; //ideal gas constant
Hf = -46100; //standard heat of formation (J/mol)
Gf = -1... |
c14217145b1f5c5eb4d9dca1615513c3a75732a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH5/EX5.1/Example_5_1.sce | 141ba9a06d19bdbd6c7b573fe755a4f38dee6295 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 645 | sce | Example_5_1.sce | //clear//
clear;
clc;
//Example 5.1
// Given
mu = 0.004; //[kg/m-s]
D = 0.0779;// [m]
rho = 0.93*998; //[kg/m^3]
L = 45; //[m]
//For fittings, form Table 5.1
sum_Kf = 0.9 + 2*0.2;
//From Eq.(4.29), assuming alpha_a = 1,
// since pa = pb, and Va_bar = 0
//A = Vb_bar^2/2 + hf = g*(Za-Zb)
A = 9.80665*... |
014231216cf4bba48e6e8a2249a5a0302e48124a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH7/EX7.5.2/Example_7_5_2.sce | e3866eb5b82e9b78c9702956c5e56f87144e6831 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_7_5_2.sce | // Example 7.5.2 page 7.24
clc;
clear;
R=0.6; //responsivity
Pin=15; //optical power in microwatt
Ip=R*Pin; //computing photocurrent
printf("\nPhotocurrent generated is %d microAmpere.",Ip);
|
d288834afe643243aa81cf520638823be1e7239b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH8/EX8.27/8_27.sce | 9157c43f27191eed9abd539f7ffdfa03b5b0e929 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | 8_27.sce | clc
//initialisation of variables
dq=-80
dv=0.091*10^-6//m^3
p=1.013*10^5//n/m^2
//CALCULATIONS
du=dq-(p*dv/46)
//results
printf(' \n change in internal energy= % 1f cal',du)
|
512a8e4104b998bfac4706c268d2d979316b6df0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH1/EX1.7/Ex1_7.sce | fa7fe2be9ceff6740a36a3cf0c2c9b0ea5126c61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | Ex1_7.sce | //exa 1.7
clc;clear;close;
format('v',9);
dmax=40;//MW//Maximum demand
CF=0.5;//Capacity Factor
UF=0.8;//Utilisation Factor
LF=CF/UF;///Load Factor
disp(LF,"(a) Load Factor : ");
C=dmax/UF;//MW//Plant Capacity
disp(C,"(b) Plant Capacity(MW) : ");
RC=C-dmax;//MW//Reserve Capacity
disp(RC,"(c) Reserve Capacity... |
1ffa0c1df69ca9628bbef7610b77ce12e90d8162 | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH3/EX3.1/example3_1_TACC.sce | 174d4cbda5749f2258cb98d39b775763067ff19f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | example3_1_TACC.sce | //example 3.1
clear;
clc;
//given:
V1=14;//initial volume of cylinder in m3
V2=9;//final volume of cylinder in m3
P=2000;//pressure during the operation in N/m2
U=(-6000);//internal energy of the system in J
//to find energy transfered in form of heat:
W=-P*(V2-V1);//work done during the operation in J
... |
c22ba45c82d2a5f61f7b1429e524958a552b9c7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH6/EX6.2/Ex6_2.sce | 21e7b7a1c0ecc1015087b6c4dadbc96eff6e2a1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,110 | sce | Ex6_2.sce | clear
//
//
//
//Variable declaration
h=6.63*10^-34; //planck's constant(J-sec)
m=1.673*10^-27; //mass of proton(kg)
v=10^4; //velocity of proton(m/sec)
V1=100; //potential difference in 1st case(V)
V2=10000; //potential difference in 2nd case(V)
V3=6400; //potential dif... |
5cc8c75820188283bd68ed74039600a1fc7ad11f | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH1/EX2/1_2data.sci | dc6b25a4817a2c04aa4414eecdff273ecae9abc7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 30 | sci | 1_2data.sci | m=36;//kg
acc=7;//ft/sq sec
|
53b33c49ddea2849a7b4589edd6e90416c850245 | 717ddeb7e700373742c617a95e25a2376565112c | /752/CH12/EX12.4.2/12_4_2.sce | bef067f0a7922e50e516523aca26a08aaf75311f | [] | 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 | 306 | sce | 12_4_2.sce | clc;
//page no 420
//problem no 12.4.2
//a binary unipolar waveform with following specifications are given
A=4;//max value of received signal voltage
Vn=0.5;//rms noise voltage
Vth=2;//Threshold voltage for the comparator
Pbe=1/2 * b;// bit error probability
disp(Pbe,'The bit error probability'); |
fa45b0abbddd02c307c32e70668b5efd9e68b2a0 | 47adabef6eb8924aff50314b05cfd89f90e19aec | /macros/http_urldecode.sci | 28ebdf4507b2a24a51c86aaa77f531275951e398 | [
"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 | 204 | sci | http_urldecode.sci | function [keys, values] = http_urldecode(URL)
// This function converts a URL-encoded set of key-value pairs to a
// pair of Scilab vectors corresponding to the keys and values respectively
endfunction
|
6cb418e8b91db3752f8a72be9b30c82c2bbbf4c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH7/EX7.12/7_12.sce | f377b3c22e5507e096784d533bed5d113eb8a08c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,818 | sce | 7_12.sce | clear;
clc;
printf("\t\t\tExample Number 7.12\n\n\n");
// heat transfer across evacuated space
// Example 7.12 (page no.-351-352)
// solution
E = 0.06;// emmisvity of polished aluminium plate
d = 0.025;// [m] seperation between plates
p = 101325*10^(-6);// [Pa] pressure of air between plates
T1 = 100;// [de... |
5694569e33c25ddbf2a4ab76a0eb390e4c3d7b34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH7/EX7.7/ex_7_7.sce | 0ada0f30c8b44af4a392edc8970e33462fa5f89f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | ex_7_7.sce | //Example 7.7: Acceleration, Coasting and Braking periods
clc;
clear;
close;
//given data :
S=1.6;// in km
Va=40;// in km/h
V1=64;// in km/h
alfa=2.0;//in km/p/sec
Beta_c=0.16;// in km/h/sec
Beta=3.2;// in km/h/sec
t1=V1/alfa;// in sec
disp(t1,"Duration of Acceleration,t1(sec) = ")
T=(S*3600)/Va;// in sec
// Formula: T... |
ff2b2f0212d404e54b094ecb52814db0c88ef06b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH4/EX4.3/Ex4_3.sce | 3f143509db81db406f426aa1d9ff7dc51bfa77d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,246 | sce | Ex4_3.sce | //Example 4.3, Page Number 158
//The Function fpround(dependency) is used to round a floating point number x to n decimal places
clc;
d=0.2*(10**-3) //Chip Diameter in meter
d1=1 //Distance in Meter
l=550*(10**-9 ) //Wavelength in Meter
q=0.001 //External Quantum Efficiency
i=50*(10**-3) //Operational Current
... |
b86dfcc4470bb221aac4eade2f89efac0f18f41f | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH10/EX10.8/exa10_8.sce | f7cd02d3a143890ef385ec010b6e9a8de287f18a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | exa10_8.sce | clc;
//Example 10.8
//Page No 418
//solution
s=8;
//(a)
disp("(a)With the 7 bit PCM,");
b=7;
r=s*b;
disp('kbps',r,"line speed = ");
//(b)
disp("(b)With the 8 bit PCM, ");
b1=8;
r1=s*b1;
disp('kbps',r1,"line speed = ");
|
1a8e605768a610f1d12a99decb5af85ef1baefa6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3169/CH6/EX6.3/Ex6_3.sce | 9d5a64f0a4805ffda375a6a9115edc1012434801 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 978 | sce | Ex6_3.sce | //developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear;
//example 6.3
//calculation of series resistance ,damping resistance and maximum output voltage of the generator
//given data
n=8//number of stages
C=0.16*10^-6//value of condenser(in farad)
Cl=1000*10^-12//value of load capacitor (... |
539056fb19d1dfa820b540590ff41ebb7c9d5adb | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH8/EX2.cs/Casestudy8_2.sce | 5279f4453ef1a2e57ca61e806d349c347b4b903b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,722 | sce | Casestudy8_2.sce | // Csae study: Chapter-8, Page No:253
// 2.Processing of a customer list
CUSTOMERS=10;
printf(" Input names and telephone numbers\n");
printf(" [Names must have First,Second and Last_name]\n");
for i=1:CUSTOMERS
//Read data
[first_name(i),second_name(i),surname(i),... |
93cb8a74599060baa1e2811de4365f881d1c165c | 717ddeb7e700373742c617a95e25a2376565112c | /1301/CH3/EX3.22/ex3_22.sce | cd4cc0d1b4bdb5539bc886d3174404aabbe5490b | [] | 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 | 268 | sce | ex3_22.sce | clc;
F=50-30; //force in lb
w1=50; //weight in lb
w2=30; //weight in lb
m=(w1+w2)/g; //calculating mass
disp(m,"Mass in slugs = "); //displaying result
a=F/m; //Newton's Law
disp(a,"Accelaration in ft/sec square = "); //displaying result
|
8a29c1b991846d64707db08ed36d0e31a16ad524 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH8/EX8.9/Example8_9.sce | d4c3c89f35ab3144094ddbb5d9d1d03ad0463a7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | Example8_9.sce | //chapter8,Example8_9,pg 184
alpha=((%pi*10)/(60*60*180))//converting into radian
B=0.5//fringe width
u=1.4
lam=2*B*alpha*u
printf("wavelength of light used\n")
printf("lam=%.12f m",lam) |
8eea8e23988d47667c61086dc01db374cccd2a1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH6/EX6.2/6_2.sce | 896d3b5028d5a2fc78c4b84fadbd7b2c87538c7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 153 | sce | 6_2.sce | clc
//initialisation of variables
P= 10 //atm
Kp= 0.1719
//CALCULATIONS
a= sqrt(Kp/(10+Kp))*100
//RESULTS
printf (' percentage = %.f percent',a)
|
93a75f53ed61cee0bedaa9d07a3be1dccf9fdd34 | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/anirudhga3.sce | d29cd25310192228738ef2a62a7f2997f7b575b3 | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,134 | sce | anirudhga3.sce | clc
clear
x=5
z=26
iter=5
bob=1000
se=zeros(1,iter)
vo=zeros(1,iter)
a=zeros(1,z)
cap=[288 95 115 133 107 22 34 186 190 33 56 100 90 82 143 68 166 44 73 72 60 68 15 8 20 29]
tim=[0 12 6.2 5.6 27 17 20 44 18 16 23 24 34 11 9 11 11 13 17 14 30 25 30 28 27 33;
12 0 5.2 9.9 39 29 32 52 29 27 34 36 46 23 20 23 15 18 24 21 3... |
3356a4c99823eb960a195f3e6bc9df1206ecc0cf | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/macros/percent/%ssr.sci | f71d1ca942f0c4d814cbf2255ddaec8670b7f068 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sci | %ssr.sci | //<f>=%ssr(m,f)
// %ssr(m,f) soustrait la matrice de fractions rationnelles f a la
//matrice de scalaires m.
//Cette macro correspond a l'operation m-f
//!
[t,n2,d2]=f(1:3),
if sum(size(m))=-2 then m=m*eye(d2); end;
[n2,d2]=simp(m.*d2-n2,d2)
f=list(t,n2,d2,f(4))
//end
|
2113a90375462e026028e9ace194bfe4de4f5d11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.10/2_10.sce | 2e0ca6d0c76448e445c05c1868e3d859d63d37a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_10.sce | clear;
clc;
//Example 2.10
printf("Example 2.10")
A= 1 //sq m
x1=0.15
x2=0.01
x4=0.15
T1=973 //[K]
T2=288 //[K]
dT=T1-T2 //[K]
//Thermal conductivities
k1=1.75
k2=16.86
k3=0.033
k4=5.23
//in absence of air gap,sum of thermal resistances
sR=(x1/k1*A)+(x2/k2*A)+(x4/k4*A)
Q= dT/sR
printf("Heat los... |
b25923683221e83ec68b5f0ca137ba83cfeee030 | e8bcf3f9ffdfb367940fb9ed498b1c598ce92e65 | /clear.sce | 1aa96edfc32aceacabe08d74569ab45ad17c819b | [] | no_license | yoddha24/Intro-to-Scilab | 1fe25aee3ebd319bc2c9e2cf7c25d7050b09890e | 4c458c1bea6880839ebae07adfd39dea0eac4e2c | refs/heads/master | 2021-01-20T18:24:05.191473 | 2016-08-08T13:45:16 | 2016-08-08T13:45:16 | 65,207,356 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | clear.sce | disp("Define three vaiables named a,b,c")
a = 10;
b = 12.2;
c = a * b;
disp("Checking if variables have been defined as a,b,c")
disp(isdef("a"))
disp(isdef("b"))
disp(isdef("b"))
disp("After clearing the variable a")
clear a
disp(isdef("a"))
disp(isdef("b"))
disp(isdef("b"))
|
7be9c960d9b11ba1862f8fb3c3fdace488e38005 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/examples/addinter-examples/ex13f.sce | 02dbf2882b56ad69bca9d3e86d92492aca1c5592 | [
"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 | 156 | sce | ex13f.sce | [a]=ex13f([1,2,3]+%i*[4,5,5]);
if norm(a-2*[1,2,3]-%i*[4,5,5]*3) > %eps then pause,end
[a]=ex13f([1,2,3]);
if norm(a-2*[1,2,3]) > %eps then pause,end
|
65328b49e3f801203a88436d58ed5b4f0583afe0 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /Human/radiateur.sce | 9a4143bbd38edc8bf8e0093a8192c41247f37d22 | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,494 | sce | radiateur.sce | #************************************************************
# Scenario of radiateur
#
# date : Wed Nov 24 14:33:26 2004
#************************************************************
p3d_sel_desc_name P3D_ENV radiateur
p3d_sel_desc_name P3D_ROBOT radiateur
p3d_set_robot_steering_method Linear
p3d_set_robot_curre... |
87aa21a07753ce77f56f332cb33c8686c6ae19e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH11/EX11.5/Ex11_5.sce | fd5b35e4a562616bdf83ad86541492c1e574e1e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | Ex11_5.sce |
clc
//given
Tb=27
Tc=30
Td=24
Te=21
k=Te*Tb/(Tc*Td)//k=Nd/Ne
//by applying componendo and dividendo, using Ne=0 and reducing we get
a=(1-k)//where a = Nd/Na
b=1/a
printf("\nThe ratio of the speed of driving shaft to the speed of driven shaft\n\nNa/Nd = %.2f",b)
|
806a76163a84ff19892ee6ddde790031e79f947d | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH9/EX9.10/Example9_10.sce | 4a99ac9fdbe1c82b0255b01b97efe94be36db795 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example9_10.sce | clear;
clc;
// Example: 9.10
// Page: 354
printf("Example: 9.10 - Page: 354\n\n");
// Solution
//*****Data******//
x1 = 0.3;// [mole fraction of component 1 in the mixture]
x2 = 0.7;// [mole fraction of component 2 in the mixture]
phi1 = 0.7;// [fugacity coeffecient of component 1 in the mixture]
phi2... |
164606cd705a61c50f31675e9918b9c6183308e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH6/EX6.7/exa6_7.sce | c7130ca232a31ccf8bfa5814ca2204daf7cfe67d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 577 | sce | exa6_7.sce | //Exa 6.7
clc;
clear;
close;
//given data
L=3;// in m
delta=0;
hx='10*x^(-1/4)'
// (a) Average heat transfer coefficient
h=1/L*integrate(hx,'x',delta,L);
disp("(a) Average heat transfer coefficient is : "+string(h)+" W/m^2K")
// (b) Heat transfer rate
A=3*.3;// in m^2
Tp=170;// plate temp. in degree C
T... |
c44160ee10e602fa6b9bb2c8d1daa713e1e32ea4 | 573df9bfca39973c9bf2fa36f6e5af2643d7771e | /scilab/regressão/exemplo_reg_linear2.sce | 8cfb088790cc0a108291fc5a9c5df1b3d0f66b24 | [] | no_license | DCC-CN/152cn | ef92c691edabe211b1a552dbb963f9fd9ceec94a | 4fe0b02f961f37935a1335b5eac22d81400fa609 | refs/heads/master | 2016-08-13T01:34:17.966430 | 2015-04-07T07:31:58 | 2015-04-07T07:31:58 | 44,502,526 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | exemplo_reg_linear2.sce | //
//
//
clear;
clc;
getd('../lib');
getd('.');
// exemplo do livro Algoritmos Numéricos, 2a. ediçao
x = [ 1.2 2.5 3.0 4.1 6.2 7.1 8.8 9.5];
y = [ 6.8 6.1 9.9 9.7 12.1 17.9 18.0 21.5];
[b1 b0 r2 s2] = reglin_simples(x, y, %T);
x_reg = linspace(0,10,1000);
y_reg = b1*x_reg + b0;
plot(x, y, 'g.');
plot(x_reg, y_reg... |
1133b4d84a7cdb27de0870aab74d493b7a23a9ac | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/DEVELOPMENT-LANGUAGES/oto-manguean/ctp.tst | acb3f2c6b127cfb50904744bbfc72a62c910cc4b | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,772 | tst | ctp.tst | xlyu V;HAB;1
xlyu V;PFV;1
xlyu V;PFV;3
xlyu V;HAB;3
xlyu V;PROSP;2
xlyu V;PROSP;1
xlyu V;HAB;2
xlyu V;PROG;3
xlyu V;PROSP;3
xlyu V;PROG;2
xlyu V;PROG;1
xlyu V;PFV;2
lya V;PROG;2
lya V;PROSP;1
lya V;PROG;1
lya V;PFV;3
lya V;HAB;3
lya V;HAB;1
lya V;PROSP;2
lya V;PROSP;3
lya V;HAB;2
lya V;PFV;2
lya V;PROG;3
lya V;PFV;1
jl... |
3b695e2025c66b4b89766d5744b6dcfdee87310a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH18/EX18.9/Ex18_9.sce | 2bb42384daf0a33d29fa31f52ef67ccf6b2173ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | Ex18_9.sce | clc
u_m = 0.8 // mean velocity in m/s
D = 5 // Diameter in cm
v = 4.78e-7 // dynamic coefficient of viscosity
Pr = 2.98 // Prantl number
K = 0.66 // Thermal conductivity in W/mK
l = 3 // length of pipe in m
tw = 70 // Wall temperature
tf = 50 // mean water temperature
printf("\n Example 18.9\n")
Re = u_m*D*1e... |
3adcedb3b7033e5406a626714032dfed51e4038a | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH5/EX5.20/Ex5_20.sce | db63c8b83da3033ab6c354d65208264adf90b3dc | [] | 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 | 301 | sce | Ex5_20.sce | // Calculation
function ans = f1(x1,x2)
ans = 6*exp(-2*x1-3*x2)
endfunction
// (A) x1 limit- (0,1) x2 limit- (0,1)
p1 = feval([0,1],[0,1],f1)
p = p1(2)
// Result
printf ( "P(x1<1 and x2<1): %.3f",p)
// Note : Answer may vary because scilab use feval function and it calculates differently.
|
b8c2b4a59d23ff860a194d216e83ad85bc4bf5c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH5/EX5.15.5/Example5_24.sce | 17daed58cd5074af4fa54d466d801d2b742a2814 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,502 | sce | Example5_24.sce | //Chapter-5,Example5_15_5,pg 5-44
//for an electron
e=1.6*10^-19 //electron charge
m_e=9.1*10^-31 //mass of an electron
L=10^-9 //width of well
h=6.63*10^-34 //Plank's consta... |
fbc78859746e3f609b17c4c7c4a366f2c377eb74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH6/EX6.1.1/6_1_1.sce | b2fee30f0339b53128982490e4e26bbb5e0edf9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 135 | sce | 6_1_1.sce | disp('Vectors u an v are:')
u=[-1;2]
v=[4;6]
disp(v,u)
disp('Projection of v on u=(u.v)/(v.v)')
a=u'*v
b=u'*u
p=a/b
disp(p,'=') |
fe6211260ab0c7f93fdd49ee74cb74a51b7d9cd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH11/EX11.2/11ex2.sci | 532bb89671fdd34142dda904ee5646f54a2191bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sci | 11ex2.sci | disp('Division Algorithm')
a=4461; //dividend
b=16; //divisor
r=modulo(a,b) //remainder
k=fix(a/b) //quotient
j=b*k+r //dividend=divisor*quotient+remainder
a=-262; //dividend
b=3; //divisor
k=fix(a/b) //remainder
r=modulo(a,b) //quotient
j=b*k+r //dividend=divisor*quotient+remainder
disp(... |
aae379430ff1caccee71bb456baf99091e514e50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH2/EX2.11/211.sce | 7dcc0f4843eb6f546687a7eca68efb3aa54a5585 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | 211.sce | // problem 2.11
d=4
h=4
s=0.6
s1=1
h1=s*h/s1
v=3.142*d*d*0.25*h1
x=h1/2
cog=h/2
h2=cog-x
a=3.142*d*d*d*d/64
bm=a/v
mh=bm-h2
disp(mh,"metacentric height in m,negative sign indicte that cylinder is in unstable equilibrium")
|
506346a4f637f374ed660508d2250a19ec536f9b | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/arity_02.tst | 72ec02c403b97a6b5ba5f8c3ddc15f1d47796c0b | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | tst | arity_02.tst | // @Harness: verifier
// @Purpose: "Test for arity mismatch in subroutine calls"
// @Result: "ArityMismatch @ 8:8"
architecture arity_02 {
external subroutine a(x: int): void;
subroutine b(): void {
a();
}
} |
37b42673c9cb8e84f0e80a7cdb1a66aecd9e83cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH6/EX6.2/Chapter6_example2.sce | 32dee3ca1ec111c2fd21c28c68ee7a8853f1fe3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 757 | sce | Chapter6_example2.sce | clc
clear
//Input data
//Data from combustion chart
p=[1,33,33,1]//Pressure of air fuel mixture in kg/cm^2
T=[65,600,1450,725]//Temperature of air fuel mixture in K
V=[16,1.23,3.45,16]//Volume in m^3/kg
U=[11.8,110,295,140]//Internal energy in kcal/kg
H=[22.7,150,395,225]//Enthalpy in kcal/kg
S=[0.068,0.068,0.... |
20a1b457b7ed91053b7aeb23b45183c034ed128e | e806e966b06a53388fb300d89534354b222c2cad | /macros/boundingRect.sci | 9c8e8826f75e80c6249e50d2252880ea941f46d9 | [] | 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 | 93 | sci | boundingRect.sci | function [rectMat]=boundingRect(points)
rectMat=opencv_boundingRect(points);
endfunction
|
6677a6d8efe104a195b0f74d3455aaca0db46cf8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH9/EX9.11/Example_9_11.sce | e5558c94136b882847f078c1fe0a2dbeb831dd55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 862 | sce | Example_9_11.sce | // Chapter9
// Page.No-444
// Example_9_11
// Design of voltage regulator
// Given
clear;clc;
Vo_min=5; // Min output voltage in volt
Vo_max=12; // Max output voltage in volt
Vref=1.25; // Reference voltage in volt
Iadj=100*10^-6; // Adjustment pin current in ampere
R1=240; // Assumption
R2_min=R1*(Vo_min-Vr... |
c68483d3ebb3e369227c2a5d8a2f0b45867f61be | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH28/EX28.6/ex_28_6.sce | be50f72f9ef0cccb162c33145f1857d787be3190 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sce | ex_28_6.sce | //find
clc
//solution
//given
L=500//mm
Nm=900//rpm
Nc=200//rpm
T=5000//N-m
Tmax=1.25*T
vr=Nm/Nc
//Dp+Dg=(L*2)...eq1
//Dg=vr*Dp....eq2
//usieng eq1 and eq2
Dp=182//mm
Dg=4.5*Dp/1000//m
v=%pi*Dg*Nc/60//m/s
Cv=3/(3+v)
fog=140
//yg=.175-(0.841/Tg)=0.175-0.841*m/Dg...Tg=Dg/m
//yg=0.175-0.001m
Wt=2*Tmax/... |
d2aa9c1bac9fe21bbf2e3d670db4ba211ef0a2da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH10/EX10.15/Ex10_15.sce | 4c9364a8dfb5d08825f8d3c9b2d01abf5713b54f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 845 | sce | Ex10_15.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 10.15\n\n\n");
// Chapter 10 : Refrigeration
// Problem 10.15 (page no. 539)
// Solution
//THE HEAT PUMP
T1=70+460; //70F=70+460 R //Energy flows into the system at reservoir at constant temperature T1(unit:R) //from problem 10.1
T2=32+460; //32F=32+4... |
43bc99156caca655de96e1d2e49bb882226443e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH23/EX14.23.6/Ex14_23_6.sce | 6aa62b497bbc79bab1c8f10f5d96b27b77cad098 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | Ex14_23_6.sce | //Section-14,Example-4,Page no.-PC.77
//To calculate pressure of CO.
clc;
K_p=4*10^-2
Kbar_p=2
p_CO=sqrt(K_p*Kbar_p)
disp(p_CO,'Required pressure of CO')
|
2e0a41495e455ad7cfb7b870f829e3b1c9d60e3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH3/EX3.4.s/Example3_4_at_page198.sce | 00ca0c6c2fca09cb26a869be82a28ff2cdb912ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example3_4_at_page198.sce | // Sp_Example 3.4
clear; clc; close;
format('v',6);
// Given data
Nr=4;//poles
La=10.7;//in mH
Lu=1.5;//in mH
i=7;//in A
q=3;//phase
//Calculations
lambda_a=La*10^-3*i;//in Wb/T
lambda_u=lambda_a;//in Wb/T
i2=lambda_u/Lu/10^-3;//in Ampere
Wm=(i2-i)*lambda_u/2;//in Jooules
disp(Wm,"Energy conversion ... |
fca97c2814282327f2804d8e917af8f2484cffd4 | 891e9f4e3fce67f553f07f24cef2e802423770b9 | /fseminf/fseminf.sci | 67885c2107cee9244711327becec6772a2a1177d | [] | no_license | animeshbaranawal/FOSSEE | ae6b6c1a39803ad0fb26780b7f960a62431c71d2 | 75b1b18dcfd935f7ebbe89b44573c8076dae4267 | refs/heads/master | 2022-06-24T14:20:49.508846 | 2022-05-30T17:13:09 | 2022-05-30T17:13:09 | 50,281,099 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,300 | sci | fseminf.sci | function [x,fval] = fseminf(fun,x0,ntheta,seminfcon,w,s,A,b,Aeq,beq,lb,ub)
fsinfObjfun = fun
fsinfStartpoint = x0
intervals = w
samplespace = s
fsinfA = A
fsinfb = b
fsinfAeq = Aeq
fsinfBeq = beq
fsinflb = lb
fsinfub = ub
[v,t1,t2] = seminfcon(fsinfStartpoint,[0 0])
//d... |
d2ae502e2f079fb82720e9b99d053d561c93101b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.24/EX3_24.sce | c431dd9e1caef9087026c359e9c6c84018312360 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | EX3_24.sce | //EXAMPLE 3-24 PG NO-189
W1=-1200;
W2=3400;
P=W1+W2;
disp('iv) Power (P) is = '+string (P) +' W ');
X=[sqrt(3)*(W2-W1)]/P;
disp('iv) (tan (Q)) is = '+string (X) +' ');
|
660f2f3196b291d067c7b34b32e2021230df733f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH12/EX12.9/Ex12_9.sce | 2d1eb9ae6ecd05ae55b4d43d79141aec3ab78712 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sce | Ex12_9.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 12 Example 9")
T1=(1200+273);//temperature of body in K
T2=(600+273);//temperature of black surrounding in K
epsilon=0.4;//emissivity of body at 1200 degree celc... |
6e989a307e411a7cb599da839031ab10509fa9b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH46/EX46.3/Example46_3.sce | 9e8f5b0482e3b51203622ebe4769ad73eb023ec8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,568 | sce | Example46_3.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 8: BRAKING
// EXAMPLE : 8.3 :
// Page number 810
clear ; clc ; close ; // Clear the work space and console
// Given data
... |
35328196516c4c18a5a24d1b7e022d6f4a2a48fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH16/EX16.1/Ex16_1.sce | 15f4eeedbc7ef16eec8d6cab123867cb0510b4e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | Ex16_1.sce |
clc
// Given that
V_Cd=-0.403 //Half Cell Potential of Cd++|Cd in volt
V_Ni=-0.250 //Half Cell Potential of Ni++|Ni volt
C_Ni=10^-3
C_Cd=0.5
n=2 //Net electron exchange in Redox reaction
printf(" Example 16.1\n")
printf("\n Part A:")
dV=V_Ni-V_Cd // Potential difference in volts
printf("\n Standard C... |
779a2f25f41ec1504c4979e5f6a6b7e93baa8963 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH3/EX3.10/Ch03Ex10.sce | 6ec4e12d56d58e5e73c8cd1e2829ad90a8f3917a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,335 | sce | Ch03Ex10.sce | // Scilab code Ex3.10: Pg 90-91 (2008)
clc; clear;
C_1 = 6e-06; //Capacitance, F
C_2 = 4e-06; //Capacitance, F
V = 150; // Supply voltage, V
// Part (a)
// The reciprocal of the resulting capacitance of capacitors connected in series is the sum of the reci... |
975cca49914d27715cd805242b8d7ac049fd8607 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH2/EX2.13.a/Example2_13_a.sce | 42728da958ed2c6136b5241cea257dd438e9cf06 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example2_13_a.sce | //Example 2.13 (a)
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
//Z- transform of (-1/5)^n u(n)+5(1/2)^(-n)u(-n-1)
clear;
clc ;
close ;
syms n z;
x1 =(-1/5)^n ;
X1= symsum (x1 *(z^(-n)),n ,0, %inf );
x2 =(1/2)^(-n);
X2= symsum (5* x2 *(z^(-n)),n ,0, %inf );
X = (X1 -X2);
//Display the result in comman... |
1bc3337315cebe9978ff2a4dfd0ec9a7bbb06183 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH5/EX5.9/ex5_9.sce | 91c5ebdc9914599e78f4eb5ca383fb97273ab20e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | ex5_9.sce | // Exa 5.9
clc;
clear;
close;
format('v',6)
// Given data
W1 = 300;// in kW
W2 = 100;// in kW
V_L= 2000;// in V
Eta= 90/100;
P = W1+W2;// in kW
disp(P,"The power input in kW is");
// tan(phi) = sqrt(3)*((W1-W2)/(W1+W2));
phi = atand(sqrt(3)*((W1-W2)/(W1+W2)));
pf = cosd(phi);// power factor
disp(pf,"The ... |
e3c53329752e6cc0ab9d7c12bbdad26e63315bc6 | 5bc3a272ac3972765259062ed2c4abd8ac31eb84 | /EE 324 controls lab/lab8/q2.sce | 617b979dfae05f69c921c2cd651c754de5364df4 | [] | no_license | ishan-2404/Duaon-mei-yaad-rakhna-XD | 51a268cb15695d78a1bd086d958f402fe6ee093d | bf702ac84c18f7d677a35f9f850e3bfb63a32625 | refs/heads/main | 2023-07-13T17:10:57.650902 | 2021-08-14T07:06:22 | 2021-08-14T07:06:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | q2.sce | s = poly(0,'s');
k1_range = [.001, .01, .1, 1];
t = 0:.1:75;
steps = zeros(length(t), length(k1_range));
impulses = zeros(length(t), length(k1_range));
for i = 1:length(k1_range)
k1 = k1_range(i)
k2 = k1/5;
G = (s+k1)/(s+k2);
G = syslin('c',G);
steps(:, i) = csim('step', t, G);
impu... |
2dfed5e065397ac341f72404199fc09896452ebc | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.10_17.tst | d5e65adbde3b3137c5503c2f37395e59fa3db44f | [] | 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 | 241,186 | tst | 5.10_17.tst | 10 1337:1 1464:1 2944:1 3054:1 4077:1 4312:1 4370:1 5651:1 5899:1 6835:1 7597:1 7718:1 7928:1 9537:1 9587:1 9849:1 11446:1 11792:1 11811:1 14086:1 14680:1 16409:17 16884:1 17156:1 17636:1 18493:1 19584:1 19867:1 19924:1 23123:1 23665:1 23703:1 24502:1 25034:1 25281:1
10 807:1 1337:1 1464:1 1816:1 2786:1 2944:2 3054:1 3... |
4d074ccffe5a11b0e997fb58c2dffbcfd65979fe | 68e9d6c19069591c9f3af13aedcbd686cb7053cb | /tests/ieee-sqrts.tst | a8947834cd46c2ee167675382448fa794bf73846 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause",
"Zlib",
"BSD-3-Clause"
] | permissive | erwinmars/hyperion | c0de7ab000e49564b98d54d5dfe9636ec0159b8c | 6a042a852e52bb73ed9089c76587c0f4ed9d8d1b | refs/heads/master | 2020-06-12T13:22:37.841600 | 2016-12-05T12:06:40 | 2016-12-05T12:06:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,134 | tst | ieee-sqrts.tst | *
*Testcase ieee-sqrts.tst: IEEE Square Root, Convert From/To Fixed
*Message Testcase ieee-sqrts.tst: IEEE Square Root, Convert From/To Fixed
*Message ..Includes SQUARE ROOT (5), CONVERT FROM/TO FIXED 32 (6), 11 instr total
*
* SQUARE ROOT tests - Binary Floating Point
*
#
# Tests five square root instructions:
# SQU... |
0a2951546da6366fa4c67a1ed119e5187acf3993 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3129/CH7/EX7.4/Ex7_4.sce | c19ceaf1f954ea1b5ad6d02df7f24b70632ec04f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | Ex7_4.sce | //Finding the values of the Snubber Circuit for a thyristor cicuit
//Example 7.4(Page No- 340)
clc
clear
//given data
dv = 100;//V/us;
I_TD = 100;//A
R = 5;//Ohm
L = 0;//H
Ls = 0;
fs = 2*10^3;//Hz
Vs = 200;//V
//part(a)
Rs = Vs/I_TD;
Cs = ((0.632*R*Vs)/(100*(R+Rs)^2));
printf('(a) Rs : %d Ohm',Rs);
pr... |
3e85fce398280b2eb0f1414d7e8db741fde09d3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH18/EX18.4/18_4.sce | 187d6662fd8f32fec366150f89c613175dd9f60d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | 18_4.sce | clc;
// page no 680
// prob no 18_4
T_sky=120;// Sky temp expressed in K
L_dB=2;// antenna feedline loss
L=10^(L_dB/10);
// the noise temp is given as
Ta=((L-1)*290 + T_sky)/L;
disp('K',Ta,'Noise temperature is' ); |
d8e589a00bf8e82804ee83500d4fa490a3110187 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MachineLearning/SP_DecisionTree-NZ-01.tst | 46671a1aba65777fb891c3d9956280808b969235 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,063 | tst | SP_DecisionTree-NZ-01.tst | ----------------------------------------------------------------------------------------
--Create View
CREATE OR REPLACE VIEW tblDecisionTreeMulti_VW
AS(
SELECT OBSID, VARID, NUM_VAL AS Value FROM tblDecisionTreeMulti);
-- Execute Stored Procedure
-- note: alter table column VAL to VALUE in tblDTData.
SELECT '***** E... |
c7123314ba5bccb6da8b19defcbd679c131e285b | e806e966b06a53388fb300d89534354b222c2cad | /macros/isEpipoleInImage.sci | b2d48d076a2db60bf19c8a5ecb7b7505f507f3e6 | [] | 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,568 | sci | isEpipoleInImage.sci | function [isepi, varargout ] = isEpipoleInImage(fundamental_matrix, imagesize)
// Find whether image contains epipole.
//
// Calling Sequence
// isepi = isEpipoleInImage(F, imagesize)
// [isepi, epipole] = isEpipoleInImage(F, imagesize)
//
// Parameters
// F : A 3 * 3 fundamental matrix computed from stereo images. It ... |
d5654f2a800d3eca6a1e65afca30517338c85443 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH18/EX18.8/example18_8.sce | 3eb1ba3dcf2a3428e44e42ec8f9647f6c2d8a3ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | example18_8.sce | clc
// Given that
r = 0.6e-10 // radius of the atom
N = 28e26 // no. of electron in per m^3
mu_ = 4 * %pi * 1e-7 // magnetic permeability of space
Z = 2 // atomic no. of helium
m = 9.1e-31 // mass of an electron in kg
e = 1.6e-19 // charge on an electron in C
// Sample Problem 8 on page no. 18.24
printf("\n # PROBLEM... |
bcf9dec61f639f0218c75ba40444fc45a882aa53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH5/EX5.19/5_19.sce | 7e387899f459c5cbec85231aeb769f1f2ce6eeb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | 5_19.sce | clc,clear
printf('Example 5.19\n\n')
VA=2000*1000
V_L=11000,V_ph=V_L/sqrt(3)
R_a=0.3,X_s=5 //armature resistance and synchronous reactance
//case (i)
phi=acos(0.8) //lagging
I_L=VA/(sqrt(3)*V_L) , I_a=I_L
E_ph = sqrt((V_ph*cos(phi)+I_a*R_a)^2 +(V_ph*sin(phi)+ I_a*X_s)^2)
//Using E_ph = sqrt((V_ph*cos(ph... |
f5a150bd2c3deb9be6ac21488dd95f52cc123664 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/packages/interval-2.1.0/test/libieeep1788_tests_num.tst | 191ffbb6ad16c1efeb7b210b7ed173656654ec23 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,582 | tst | libieeep1788_tests_num.tst | ## DO NOT EDIT! Generated automatically from test/libieeep1788_tests_num.itl
## by the Interval Testing Framework for IEEE 1788.
## https://github.com/nehmeier/ITF1788/tree/92558f7e942665a78f2e883dbe7af52320100fba
##
## Copyright 2013-2015 Marco Nehmeier (nehmeier@informatik.uni-wuerzburg.de)
## Copyright 2015-2016 Ol... |
8b55572babf02288956f4b256663110449906087 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH5/EX5.5/5_5.sci | 628de84d86a226f10a7f60b1525950fac3c83721 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sci | 5_5.sci | //5.5
clc;
emf_std_cell=1.0183;
emf_cell=70/50*emf_std_cell;
printf("e.m.f. of the cell=%.2f V",emf_cell)
V_read=1.35;
V_cal=1.32379;
error_voltmeter_percent=((V_read-V_cal)/V_cal)*100;
printf("\nPerentage error of the voltmeter=%.2f",error_voltmeter_percent) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.