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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0f353953e9560ec9580e146e5dc3f4563f18df75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH30/EX30.8/example_30_8.sce | 44c3ab4ad3fcc0c1b76513251b2b45d2d6e16fdd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,664 | sce | example_30_8.sce | clear;
clc;
disp("--------------Example 30.8----------------")
p=397;
q=401;
n=p*q; // formula
phi=(p-1)*(q-1); // formula
e=343;
d=1; // not actual 'd' value; it has to be computed
message=['N' 'O']; // NO
t=1;
alphabet=['A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M' 'N' 'O' 'P' 'Q' 'R' 'S' 'T' 'U' '... |
26d657515592212748816d6abf432b4076fbd721 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH5/EX5.22/5_22.sce | b3db415e58b10b94bedf8b0bcb70e7d57f9eb3cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | 5_22.sce | clear; clc; close;
Rb = 3.3*(10^(6));
Beta = 8000;
Re = 390;
Ai = (Beta*Rb)/(Rb+Beta*Re);
disp(Ai,"ac current gain(Ai) :");
|
e8c8815c5ff1bf1b7cdf3499134eb08c267446f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH5/EX5.30/EX5_30.sce | ce3840e4e699159ff4309dff1529ba8316ca71b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 818 | sce | EX5_30.sce | // Exa 5.30
format('v',6)
clc;
clear;
close;
// Given data
I_DD= 20;// in mA
R2 = 10;// in k ohm
R1 = 30;// in k ohm
R_S= 1.2;// in k ohm
R_D= 500*10^-3;// in k ohm
V_DD = 12;// in V
Vp= -6;// in V
V_G = (R2/(R2+R1))*V_DD;// in V
I_D= poly(0,'I_D')
V_GS= V_G-I_D*R_S;// in V
// Evaluation the value of I_... |
68c8323f35ab56ae89a0ddd4fd93709e75e26515 | b07438143759654d68984cb489f480e39485180b | /zadanie3.sce | 6317664f57e4dfff9f025d570a06fa94185c6b7d | [] | no_license | BartusZak/histogramPrzedzialy | a214788a450613167409ba9f5f3f6515a3ee6598 | b5d98b4a08f53862996ff8fe483dce8d6ca0ca6c | refs/heads/master | 2021-07-15T17:35:07.515816 | 2017-10-21T20:58:50 | 2017-10-21T20:58:50 | 107,815,311 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 828 | sce | zadanie3.sce | function histogramPrzedzialy(img,ilosc_przedzialow)
[h w] = size(img);
H = zeros(ilosc_przedzialow,1);
Y = zeros(2*ilosc_przedzialow+2,1);
dlugoscStopnia = ceil(256/ilosc_przedzialow);
pom = [0:dlugoscStopnia:255];
pom = [pom;pom];
X = matrix(pom,1,-1);
X = [X 255 255];
... |
3ddc213d9c6f50bbc4dda3be58f1c609543dd02a | 449d555969bfd7befe906877abab098c6e63a0e8 | /46/CH3/EX3.1/Example3_1.sce | 5e93b70b130cb8e2cc6a407e911650d7248a9415 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example3_1.sce | //Example 3.1
clc
s=%s;
xs=1/(s*(s+1));
disp(xs,'x(s)=')
syms t;
[A]=pfss(xs)
F1=ilaplace(A(1),s,t);
F2=ilaplace(A(2),s,t);
xt=F1+F2;
disp(xt,'x(t)=')
|
3c92a2c0879ce98c5b6e98611a7230ed65d8de35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH14/EX14.5/Example14_5.sce | 4141a8c0ff3004d433ffc806ccfed562359d6576 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,045 | sce | Example14_5.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 14: TRANSFORMERS
// Example 14-5
clear; clc; close; // Clear the work space and console.
// Given data
P = 100 ; // Power rating of the single channel power amplifier in W
Z_p = 3200 ; // Output ... |
0d90e77a9577809e3fdfbcf60984f9c8a5406924 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH16/EX16.4/ex16_4.sce | fcda8af5498bb9620ef589fca1aab7c8a3c75511 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex16_4.sce | clc;
clear all;
n = 5.8e28; // Number of electrons per unit volume
tr = 3.4e-14; // Relaxation time of electron in seconds
m = 9.11e-31; // Mass of electron in Kg
e = 1.6e-19; // Charge of an electron
rho = m/(n*e^2*tr); //Electrical resistivity of sodium metal
disp('Ohm.meter',rho,'Electrical resistivity of sod... |
4f09d2a9b8f55d2e815d4695b06e9e576bd87109 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2975/CH31/EX31.21w/Ex31_21w.sce | 8758ac6df3095a7025cc2e19116322d80c83ee2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,560 | sce | Ex31_21w.sce | //developed in windows 8 operating system 64bit
//platform Scilab 5.4.1
//example 31_21w
clc;clear;
//Given Data
capacitance=100*10^-6; //Capacitance of the capacitor (Unit: Coulomb)
dielectric=5; //Dielectric constant (Unit:unitless)
voltage=200; //Voltage of po... |
6d043354aaf543fd8c3a98b4e989f289b3080f1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH11/EX11.6/Ex11_6.sce | 889e567efd443d74a2c0edab026a088ff750f947 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | Ex11_6.sce | //example 11.6
clc; funcprot(0);
L=21;
Qwp=502-350;
Qws=350;
Ap=0.1045;
Ep=21e6;
epsilon=0.62;
Se1=(Qwp+epsilon*Qws)*L/Ap/Ep;
//part2
Iwp=0.85;
qwp=152/Ap;
Es=25e3;
D=0.356;
mus=0.35;
Se2=qwp*D/Es*Iwp*(1-mus^2);
//part3
p=1.168;
Iws=2+0.35*sqrt(L/D);
Se3=Qws/p/L*D/Es*Iws*(1-mus^2);
Se=Se1+Se2+Se3;
... |
a8af8aabeb2ec884960807ae261c66c0d494e323 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH12/EX12.4/12_04.sce | b38a5bb8370cba9949af64926641e27142651df3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sce | 12_04.sce | //Example No. 12_04
//Simpon's 1/3 rule
//Pg No.382
clear ;close ;clc ;
deff('F = f(x)','F = sqrt( sin(x) )');
x0 = 0 ;
xa = %pi/2 ;
//case(a) n = 4
n = 4 ;
h = ( xa-x0 )/n
I = 0
for i = 1:n/2
I = I + f(x0 + (2*i-2)*h) + 4*f(x0 + (2*i-1)*h) + f(x0 + 2*i*h) ;
end
I = h*I/3
disp(I,'Integral value ... |
7ee63fa4dc66f9ec7f86c689b2800987367ef27d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/util/%c_ones.sci | 82900ac9c6aacec29c1be8964cd4da149df04e83 | [
"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 | 68 | sci | %c_ones.sci | function x=%c_ones(a)
// Copyright INRIA
[m,n]=size(a)
x=ones(m,n)
|
8036824da942fe2465304f117dbb15181b18133d | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/hhneuron.sce | b5712e57d5844466ef03feec80823105275b7cf2 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | hhneuron.sce | //style.fontSize=16;
//style.displayedLabel="<table> <tr> <td align=left><b>Vin<br> E<sub>Na</sub><br>E<sub>K</sub><br>Vref</b></td> <td></td> <td></td> <td>HH Neuron</td> <td></td> <td></td> <td align=right><b>Vout<br>V<sub>Na</sub><br>V<sub>K</sub></b></td> </tr> </table>";
//pal5 = xcosPalAddBlock(pal5,"hhneuron",[]... |
d805379a6f284abae95a7ba5ba7934fe8e985361 | 139d4a83f28a14dc04c48d99a492bec7abcc3229 | /lab1_v8/3a.sce | aa5dee80786c9c8d43ae043df7785b93103be38f | [
"MIT"
] | permissive | s-kostyuk/labs_alg | 0f78d0a5df7b94f9190bc3b45a077fb3e68e74fb | 320902e94d9bfde9d7a13a427b315605929dec17 | refs/heads/master | 2021-01-10T03:54:40.483782 | 2015-12-03T22:52:39 | 2015-12-03T22:56:46 | 44,764,651 | 0 | 2 | null | 2015-12-01T15:07:01 | 2015-10-22T18:20:28 | Scilab | UTF-8 | Scilab | false | false | 614 | sce | 3a.sce | mode( -1 )
n = input(" Введите количество элементов n: ")
eps = input(" Введите число ε: ")
min_i = -1
mprintf("\n")
for i=1:1:n do
ai = (-1)^(i + 1) * 3^(i + 1) / factorial(i + 1)
if (abs( ai ) < eps) & (min_i == -1) then
min_i = i
end
mprintf( "Значение a %2d-е равно: % E\n", i, ... |
ec96d35f727cc9e69100eecde6f47b72ebf2842f | 0ade4f8a7ec375e54db514312b562334ab304d3e | /data/benchmark/Korns_10.tst | b31b6a6efd0427b27b2a64ac29bfb0263c7a31c0 | [] | no_license | zeta1999/go-pge | 39ac86612d4a90c1e53d2c45c1177e98b3bcf4e4 | 99a4b600185145bcc047e8e42cecfd2346b6b16d | refs/heads/master | 2021-01-01T11:10:20.053388 | 2014-01-16T16:06:50 | 2014-01-16T16:06:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 123,246 | tst | Korns_10.tst | x y z v w
f(xs)
33.028151 2.848507 10.709496 -4.095216 -34.714515 0.811171
8.443031 19.673335 25.022620 -23.053278 -32.691847 0.818230
23.507504 25.890675 -47.155011 -20.701745 -19.251747 1.060802
26.947003 -3.745203 10.601829 -3.347484 -21.734252 0.817182
-43.660796 2.873420 19.722036 34.243244 -12.652883 0.9086... |
746974fff6462293403bcedb0fc9682b6eb21e68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH16/EX16.13/16_13.sce | d1a09e4f5cf1d98c9afc51f981e5aa4eafb5b409 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | 16_13.sce | clear
clc
V=250
L=[
150 50 80 40 70 60 50 150
0 20 60 95 120 130 150 180
]
r=.1/(2*500)
D=L(1,:)
I1=L(2,:)'
I2=ones(8,1)
dv1=2*r*D*I1
dv2=2*r*D*I2
Ia=dv1/dv2
Ib=L(length(L))-Ia
Vc=V-(2*r*((Ia*D(1))+((Ia-I1(2))*D(2))+((Ia-I1(3))*D(3))))
mprintf("Ia= %.2f A, Ib= %.2f A, Vmin at C = %.3f V"... |
8e289a4694e684d9ffef0eec6b68495961785d98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH34/EX34.35/Ex34_35.sce | f6ae07c40e5662e84bfb65e2fb993ff714d2fa59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 803 | sce | Ex34_35.sce | // Example 34_35
clc;funcprot(0);
//Given data
P=30;// MW
Pc=10*10^7;// Plant cost in rupees
Ii=13/100;// Interest and insurance
D=5/100;// Depriciation
Mc=50*10^5;// Plant maintainence cost in rupees
Fc=700*10^5;// Fuel cost in rupees
Lc=25*10^5;// Lubricating cost in rupees
LC=75*10^5;// Labour cost in rupe... |
994ab6172902fc868a839eed8c42969a74f8e248 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH1/EX1.14.3/Example1_14_3.sce | 54e9db7bf27b1c5346b5336bf228f2e8bc31c332 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example1_14_3.sce | //Example 1.14.3
// to calculate the normalise frequency..
clc;
clear;
a = 40*10^-6; //radius of core...
del = 0.015; //relative RI difference..
lamda= 0.85*10^-6; //wavelength of operation..
n1=1.48; //RI of core..
NA = n1*sqrt(2*del); //Numerical Aperture..
printf(" The Numerical Aper... |
84b965e9b4c759258f11b2701749937fa02db36c | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/mdaqPing.sci | 721755e2be09633a727c98c815cad5f3fc0e0890 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 851 | sci | mdaqPing.sci | function result = mdaqPing()
[mdaq_ip_addr, res] = mdaq_get_ip();
if res < 0 then
disp("Unable to get MicroDAQ IP address - run microdaq_setup!");
result = %F;
else
mprintf('Connecting to MicroDAQ@%s...',mdaq_ip_addr);
connection_id = mdaqOpen();
if connection_id < 0... |
f8f02481ccd35a5466194483c09e00eb7b1952f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH6/EX6.3/Ex6_3.sce | b3744b494582a9471ab0ac4370503c5a890c7f94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_3.sce | clc
clear
// Given data :
Pout=1*735 // motor power output in W
Peffi=0.85 // motor efficiency
cellarea=9*4*125*125e-6 // area in m^2
Rad=1000 //incident radiation in kW/m^2
celleffi=0.12 // cell efficiency
// soln.
Pin=Pout/Peffi // power req by motor in W
N=Pin/(Rad*cellarea*celleffi) // number of modu... |
8a8e6970d46fb462e790ac36aa8a6d532e32b901 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH27/EX27.2/Ex27_2.sce | 4b16902e6f613f583c16e6b6c46f85f3922323b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 73 | sce | Ex27_2.sce | clc;
//e.g 27.2
AV=1000;
AV1=10;
beta=((AV/AV1)-1)/AV;
disp(beta);
|
0207250cb0a35207d92ad570ea8654768c1208e2 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/tests/AIO_COMPLEX_TEST/scan_testbench.sce | eee1460f85baaf655b2fff13e570374c74d0e863 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 714 | sce | scan_testbench.sce | //--------------- LOAD UTILS --------------------
clc;
mdaqClose();
mdaqHWInfo();
if exists("mdaq_ao_test") == 0 then
exec(mdaqToolboxPath() + "tests\AIO_COMPLEX_TEST\mdaq_aio_test_utils.sci", -1);
end
exec(mdaqToolboxPath() + "tests\AIO_COMPLEX_TEST\test_defines.sce", -1);
//--------------- BEGIN TEST --------... |
138d3ffb327dc58940699f7caef893109ba9368e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH7/EX7.9/Ex7_9.sce | 72044e6b2e0877f5d586d0d1f79b75ab3cbe574f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_9.sce | clc
T=500 //temperature in Kelvin
W=250 //watts of motor
h=2*3600 //time of operation in seconds
Q=W*h
deltaS=Q/T
mprintf("deltaS=%fkJ/K",deltaS/1000)//ans in textbook is wrong
|
1e8a0991ab7ddc0ef33a2025a42fa0088758f000 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH3/EX3.1/Ex3_1.sce | ea1de6f885dc6d6d7bb9aa6f41cb34472b22c293 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | Ex3_1.sce | //Example 3.1:
clc;
clear;
close;
//given data :
Beta=50;//amlification factor
dbb=1;//percentage variation in degree celsius
daa=dbb/50;//variation in degree celsius
format('v',5)
disp(daa,"(i) variation in alpha for a silicon BJT is ,(%/degree-Celsius)=")
temp=325;//in K
t=25;//degree celsius
Beta1=dbb*t;//in %
nBet... |
4f1dd6a7df0627c9bf42afc854319526143c4168 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TF37.prev.tst | 7d85a8409a3104df9111e2405899a65f60049d92 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,503 | tst | TF37.prev.tst | considerNonPrimitive
Expanding for base=2, level=4, reasons+features=base,primitive,same,similiar igtriv,norm
Refined variables=a,b,c
[0+1a,0+1b,0+1c]: unknown -> [1] [0,0,0] 2a³+b³-c³
---------------- level 0
expanding queue[0]^-1,meter=[1,2,2]: 2a³+b³-c³
[0+1a,0+2b,0+2c]: unknown -> [1] [0,0,0] a³+4b³-4c³
[0+1a,1+2b,... |
656adae21cbbb7e00e4d9feb05170f40bf1c5689 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.14.6/ex1_14_6.sce | 28eae46d04353a19551dc3ff8b9e1a0e67a0777c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sce | ex1_14_6.sce | //Chapter-1,Example1_14_6,pg 1-59
//if a plane cut at length m,n,p on the three crystal axes,then
//m:n:p=xa:yb:zc
//when primitive vectors of unit cell and numbers x,y,z,are related to miller indices (h,k,l)of the plane by relation
//1/x:1/y:1/z=h:k:l
//since a=b=c (crystal is simple cubic)
//and (h,... |
3baa31c1a9ed0b84911df8b64ed6843bc7fb19f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH3/EX3.27/ex3_27.sce | dd0fe91abf7f9398671589d479d949665bbb67df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | ex3_27.sce | // Example 3.27, page no-162
clear
clc
Ibmax=500*10^-9
Vcc=24
I2=50*10^-6
Vo=6
Av=100
fL=100
RL=5.6*10^3
I2=100*Ibmax
R1=Vcc/(2*I2)
R2=R1
Vi=Vo/Av
I4=100*Ibmax
R4=Vi/I4
R3=118.8*10^3
R1pR2=(R1+R2)/4
C1=1/(2*%pi*fL*R1pR2/10)
C1=C1*10^6
printf('\nC1= %.3f uF',C1)
C2=1/(2*%pi*fL*RL/10)
C2... |
6d61be75e609433f7e91131c6387467506dc5787 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH9/EX9.2/Example9_2.sce | d6657f7eac131dc1d08e07f93e776e97770ce680 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,331 | sce | Example9_2.sce | //clear//
//Caption: Program to Find limiting conditions for pin-photodiode
//Example9.3
//page 323
clear;
clc;
close;
T =300;//room temperature in kelvin
kB = 1.38054e-23; //Boltzmann's constant in Joules/k
m =0.25; //modualtion index
RIN_dB = -143; //Relative intensity in dB/Hz
RIN = 10^(RIN_dB/10);
Pc = ... |
6c0c7fdf45025e879813b874b8a796a11c35430c | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /VRT TEST.sce | 35eeea4f09e9c0dc7a3da3aa72470ccc8d117239 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 64,685 | sce | VRT TEST.sce | Name=VRT TEST
PlayerCharacters=clicker
BotCharacters=vrtbots.rot
IsChallenge=true
Timelimit=100.0
PlayerProfile=clicker
AddedBots=vrtbots.rot
PlayerMaxLives=0
BotMaxLives=20
PlayerTeam=1
BotTeams=2
MapName=cps.map
MapScale=2.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=false
Invinc... |
2378c1ea89dcc6bd0ac1f302db36348fbecb5eb5 | 499d051e2a4fa1bb1cc5ac86c4fe23ae88d60a6d | /scilab/plot_spec_round.sci | b9063961a164eee5e43bc5bf2aac2e5461f2d8e4 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gap-packages/automgrp | 27ef69cfb6a97093e708c4241abc2f002053359b | bae72980572af919f6498e13e88d71feb9175875 | refs/heads/master | 2022-10-11T13:52:38.771189 | 2022-09-23T07:10:33 | 2022-09-23T07:10:33 | 209,880,291 | 2 | 0 | MIT | 2022-01-27T00:21:10 | 2019-09-20T21:00:32 | GAP | UTF-8 | Scilab | false | false | 815 | sci | plot_spec_round.sci | // plot_spec_round.sci
function [sp] = plot_spec_round(autom, iter_num, prec)
if ~(exists("iter_autmats")) then
getf("/home/muntyan/math/automata/scilab/iter_autmats.sci")
end
num_states = size(autom); num_states = num_states(1);
mats = list(1);
for i=2:num_states
mats = lstcat(mats, list(1))
end
for i=1:iter_nu... |
1f351fbb4034ee3a9322fddf3028f9379e8fe30d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH3/EX3.9/Ex3_9.sce | eb374f28e53d802edaf38ff025b94fceca91569b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | Ex3_9.sce | //Ex 3.9
clc;clear;close;
format('v',5);
R=12;//ohm(Coil resistance)
L=0.1;//H(Coil Inductance)
V=100;//V
f=50;//Hz
XL=2*%pi*f*L;//ohm
Z=sqrt(R^2+XL^2);//ohm
disp(Z,XL,"(a) Reactance(ohm) & impedence(ohm) of the coil are");
I=V/Z;//A
disp(I,"(b) Current(A)");
fi=atand(XL/R);//degree
fi=round(fi);//degree
... |
7204c780e90860b7e63ef00d6b58df94cf55881b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.41/Ex12_41.sce | cb3132c8e66db37f6bf39fcc9859f588999a4a5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | Ex12_41.sce | //Chapter 12
//page no 535
//given
clc;
clear all;
D=0.45; //dispersion coefficient in ps/nm/km
Ts=22; //Pulse width in ps
l=0.5; //length in nm
Lcollision=2*Ts/l/D; //collision length in km
printf("\n Lcollision = %0.1f km ",Lcollision); //Result
|
ef89bb82f043f368c99f1f984021e410039ca101 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH23/EX23.10/Ex23_10.sce | d9433ba38f0712b15c9924c40fa909cd5fa74cfb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex23_10.sce | //Example 23.10
L=3*10^-3;//Inductance (H)
f1=60;//Frequency 1 (Hz)
f2=10*10^3;//Frequency 2 (Hz)
X_L1=2*%pi*f1*L;//Inductive reactance at 60Hz (ohm)
printf('a.Inductive reactance at 60Hz = %0.2f ohm',X_L1)
X_L2=2*%pi*f2*L;//Inductive reactance at 10kHz (ohm)
printf('\n Inductive reactance at 10kHz = %0.1f ohm'... |
ba8fcb3583a38d6cd215669df29c1d93aa9ff9c4 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/sen_amp.sce | e6098ee98464b59581f96e644d2fb19726a08358 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 606 | sce | sen_amp.sce | //************************** VMM Sense Amp******************************
if (blk_name.entries(bl) =='sen_amp') then
addvmm = %t;
mputl("#VMM w/Sense Amp",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
vmmsen_str=".subckt vmm_senseamp1 in[0]=net"+string(blk(blk_objs(bl),2))+"_"+string(ss)+ " in[1]=net"... |
61e8641c9eb306774cbc9aa7552553a36343d3d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.18.b/ex_1_18_b.sce | ea3080fac5e369553aedf65735eac30674f55948 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | ex_1_18_b.sce |
//Example 1.18.b// determine its reading
clc;
clear;
close;
//given data :
Iin=160; // in celcius
t1=1.2; // in seconds
t2=2.2;// in seconds
I=20; // in celcius
Io=Iin+(I-Iin)*exp(-t1/t2);
disp(Io,"thermometer reading,Io(degree celcius) = ")
|
9a8c65689efd4ca2ae6138c583395ddf13270444 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH1/EX1.5/ex5.sce | 81db740be28b5dbb4b7a36aaa110eaa8ae3db0dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex5.sce | // Example 1.5 : DC gain, 3dB frequency and frequency at which gain=0 of voltage amplifier
// 1.5b
R_s =20*10^3; // (ohm)
R_i =100*10^3; // (ohm)
C_i =60*10^-12; // (ohm)
u = 144; // (V/V)
R_o = 200; // (ohm)
R_L = 1000; // (ohm)
K=u/((1+R_s/R_i)*(1+R_o/R_L));
disp(K,"The dc gain (V/V)= ")
disp(20*log10(K)... |
642dfb77fc2f87a670ffb231f03ba12176844a6c | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Gaiseki.sci | 3d17995efdcb1464a168703da4d0cf878816e7e3 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sci | Gaiseki.sci | function G=Gaiseki(a,b)
if length(a)==3
Tmp=[a(2)*b(3)-a(3)*b(2),...
a(3)*b(1)-a(1)*b(3),...
a(1)*b(2)-a(2)*b(1)];
else
Tmp=a(1)*b(2)-a(2)*b(1);
end;
G=Tmp;
endfunction
|
7aa002713aec446e290a1858ff127aecdfb0e494 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH1/EX1.2/Example1_2.sce | 3bc4f0725282e9c81f3810b9a83214bd56ba3602 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | Example1_2.sce | //clear//
//Caption:program to calculate bandwidth from its spectrum
//Example1.2
//page10
clear;
clc;
close;
fLow = 10^4; //fLOW = 10KHZ lowest frequency
fHigh = 10^5; //FHigh = Highest frequency
B = fHigh - fLow;
disp(B,'Bandwidth in Hz = ')
//Result
//Bandwidth in Hz = 90000.
|
91f65b558e753aec666e998ae6eb995cdb431187 | b260f3d67de5bd0fbb64f116da0d48c79d85382a | /ssbmod/ssbmod_example.sce | cf82de945f4a2858209d8ff049f9b5a47ba6fc62 | [] | no_license | nikitapinto/Scilab-Communications | 92c1002a14452dab39edda3675bc0c4a4da25919 | 4ebf7bbd70374b812eeb8dd3333ed997bca70b09 | refs/heads/master | 2021-01-10T06:27:41.892245 | 2016-04-02T16:37:42 | 2016-04-02T16:37:42 | 51,426,801 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 969 | sce | ssbmod_example.sce | // Example script to demonstrate functionality of ssbmod.
// The script contains an example for each of the three variations of function ssbmod.
// Define Values
fc = 20;
fs = 100;
t = [0:2*fs+1]'/fs;
x = sin(2*%pi*t);
// Using function ssbmod
// output is a lower sideband modulated signal with zero intial phase
y_d... |
a4e29a68791c7ab7d20ac87c1d83070a07906736 | aea1638d4fb4de62edc0b1054e3f7d5946eecfe9 | /readme.tst | 5eb33066efc554a77121f6f0b35fc0f0919685fb | [] | no_license | gkgu/learngit | 032c791f6cb62434ff123a65fd3101a33898768f | 50d0393c43ad689147347ef47dc3f1c843cdd61f | refs/heads/master | 2021-01-11T05:59:17.514488 | 2016-09-23T08:40:04 | 2016-09-23T08:40:04 | 68,997,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 41 | tst | readme.tst | ggggggit
git is free software
add a line
|
d33745f1381ca2fac10bea92eafcaa883afca5d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH2/EX2.6/6.sce | a8c19f359bba51b51b83334d0bf2dd678098f0a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | 6.sce | //Example 2.6 On Velocity and Stream Function
// Initialisation of variables
function[z] = shi(x,y)
z = x^2 - y^2;
endfunction
// Calculations
h = 0.00001;
u = (shi(3,2+h)-shi(3,2))/h; // Partial derivative wrt y
v = -(shi(3+h,2)-shi(3,2))/h;
Velo = sqrt(u^2+v^2);
theta = atand(v/u);
//Res... |
b2feea573b4b83e520de7f9efba690d023bb88ae | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/c-wsp/0066.tst | 820a003139c044d93cbaba646123b0a2fb90440e | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6 | tst | 0066.tst | ;{B
|
beca8858f4bda14f2b7de32cd720769b0b17b5cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH6/EX6.8/example8.sce | 43b08bce5d41de8f012296427406f888db5dbd07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | example8.sce | //Chapter-6 example 8
//=============================================================================
clc;
clear;
//input data
Na = 1.8*10^15;//Doping Concentration
J = 25*10^3;//current density in A/cm^2
q = 1.6*10^-19;//charge of electron
//Calculations
Vaz = J/(q*Na);//Avalanche Zone Velocity
//o... |
01f06100c4b5f7225f5249acfb319a6aa2b40578 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH5/EX5.45/Ex5_45.sce | d1e0cbb64572852f799908c53d19962efafe5a17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 841 | sce | Ex5_45.sce | clc;
p=500*10^3; // rated power of alternator
v=11000; // rated voltage of alternator
m=3; // number of phases
l1=1500; // friction and windage losses
l2=2500; // open circuit core losses
ra=4; // armature resistance per phase
l3=1000; // field copper loss
pf=0.8; // power factor
disp('case a: Half load');
ia... |
ce02d20930835f3147b53c0ca02b7a6da97a9d67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH5/EX5.7/ex5_7.sce | 590bb5720b5f3c7802bbc2f7c486f3f7bc9a7e64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | sce | ex5_7.sce | // Exa 5.7
clc;
clear;
close;
format('v',6)
// Given data
h_ic = 1.1;// in k ohm
h_ic = h_ic * 10^3;// in ohm
h_rc = 1;
h_fc = -51;
h_oc = 25;// in µA/V
h_oc = h_oc * 10^-6;// in A/V
R_L = 10;// in k ohm
R_L = R_L * 10^3;// in ohm
R_S = R_L;// in ohm
// The current gain,
Ai = -h_fc/(1+(h_oc*R_L));
dis... |
9327ae2cb8392416426ff7b89cd213d51cd84ed4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH5/EX5.22/Ex5_22.sce | 657cdbf6ea0616a113c625df7fa0178a6ba1117c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 892 | sce | Ex5_22.sce |
//Chapter-5,Example 5_22,Page 5-36
clc()
//Given Values:
a=25*10^-10 //width of well
delx=5*10^-10 //uncertainity in position of particle
n=1 //ground state
//calculation:
x1=a/2
psi1=sqrt(2/a)*sin(n*%pi/a*x1)
P1=(psi1^2)*delx //Probability of f... |
228623a5002418645fa8d9740ba6e4de7ad1e980 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH4/EX4.22/exa_4_22.sce | ef4c4856254121cd95a48089fe34db9edf9b88db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | exa_4_22.sce | // Exa 4.22
clc;
clear;
close;
// Given data
I=35;// in mA
I=I*10^-3;// in A
lamda=1300*10^-9;// in m
h= 6.62*10^-34; // in Js
c= 3*10^8;// in m/s
e= 1.6*10^-19;// in C
toh_r= 30;// in ns
toh_nr= 90;// in ns
toh= toh_r*toh_nr/(toh_r+toh_nr);// in ns
nita_int= toh/toh_r;
disp(nita_int,"The internal quantu... |
75ffa696339c65af13f0137e0ca391576ba6122e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH12/EX12.12/Ex12_12.sce | d07af2ad02037b28bf8d1eebca430ca2a2254379 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,202 | sce | Ex12_12.sce | //Variable declaration:
Ts = 106.0 //Surface temperature (°C)
Tsat = 100.0 //Saturation temperature (°C)
//Calculation:
DTe = Ts-Tsat //Excess temperature (°C)
//From table 12.5:
C1 = 5.56 //Constant C1
n1 = 3.0 //Co... |
663cdb6a13ee0c40413a36ca7e61a7bc1e4e5d51 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/percent/%cnl.sci | 2111ec67f315eb346c516e9949e4e194f064aa27 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 60 | sci | %cnl.sci | //[r]=%cnl(l1,l2)
//%cnl(l1,l2) : l1==l2
//!
r=%t
//end
|
a7b71564b6a91bdbbb5b74687b158dd7b29818a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2378/CH1/EX1.3/Exa_1_3.sce | 744b27186a77955b45db22e61aa23b43b772cab4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 702 | sce | Exa_1_3.sce | //Torsional spring constant of a propeller shaft
//Exa_1_3
clc;
clear;
//refer fig:1.25
G=80e+9; //shear modulus of shaft in N/m^2
D12=0.3; //outer diameter of AA section in m
d12=0.2; //inner diameter of AA section in m
l12=2; //length of 12 segment in m
kt12=(G* %pi *(D12^4-d12^4))/(32*l12... |
443d66b1b55e7e29257fa4f91994bfa3a7938715 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH9/EX9.3/68ex1.sce | 3d3a69821974bf3ce633eb2421caec1a73e67d32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | 68ex1.sce |
//3x-5<2x+8
clear;
clc;
close;
x=poly(0,'x');
p1=(3*x-5);
p2=(2*x+8);
//p1-p2<0
disp("<0",p1-p2)
mprintf("i.e., x<13 is the solution for those values of x which are < 13")
|
4832032e41922aa833793c16a969021486e14ad5 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testvector.sce | 3b29fd1b8cfd030b5ed1313c0343eea88d8047ee | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,804 | sce | testvector.sce | exec('scilab-base-program-make_point.sce',-1) //to delete
exec('scilab-base-program-check_point.sce',-1) //to delete
// création du type "vector" à partir de deux points
function V=make_vector(x,y)
V=mlist(['vector','x','y'],x,y)
endfunction
U=make_vector(1,1) // crétaion d'un vecteur par ses coordonnées
//... |
93d9db5f35bd6a106d1dbd309c4b1d76e41edfcb | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/err_getAssertions5.tst | 274bbbcf2a719b46b8c863741b0a8a488dad4a16 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 97 | tst | err_getAssertions5.tst | ; interactive-mode false
(set-option :interactive-mode false)
(set-logic QF_UF)
(get-assertions)
|
d445019e0b518762aa2cd71d3f3bde07f696c2f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH4/EX4.1/4_1.sce | ad93f421e6b87b6855b53977216f9999c11526db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_1.sce | clc
//initialisation of variables
clear
T1= 400 //K
T2= 300 //K
k1= 6.095 //cal mole^-1 K^-1
k2= 3.253*10^-3 //cal mole^-1 K^-2
k3= -1.017*10^-6 //cal mole^-1 K^-3
//CALCULATIONS
dH= k1*(T1-T2)+0.5*k2*(T1^2-T2^2)+(1/3)*k3*(T1^3-T2^3)
//RESULTS
printf ('Heat required to raise the temperature = %.f cal-mole^-1... |
b41a3efd47cc84bfa218c01afe188872f59768d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH10/EX10.4/Ex10_4.sce | 2b7c19defa367b4c95eb1f3bdba72f690faae2db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 947 | sce | Ex10_4.sce | clear all; clc;
disp("Scilab Code Ex 10.4 : ")
//Given:
ep_x = 250;//(*10^-6) Normal Strain
ep_y = -150; //*(10^-6) Normal Strain
gamma_xy = 120; //*(10^-6) Shear Strain
//Construction of the circle:
strain_avg = (ep_x + ep_y)/2;
tou = gamma_xy/2;
R = sqrt((ep_x - strain_avg)^2 + (tou^2));
//Principal... |
227fcaa283e3e37d8d074cff383f33466ea39983 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH9/EX9.14/ex9_14.sce | 1125062050f8f59ce2e7df519696b5a05d34a0ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | ex9_14.sce | clc;
clear all;
n = 1; // Single particle
a = 50e-10; // Width of box in meter
deltax = 10e-10; // Intervel between particle
p = (2/a)*deltax;//The probability of finding the particle
disp('',p,'The probability of finding the particle is ');
|
db22646ac38abf8d598ff19d6c202a35b0b67966 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH10/EX10.4/ex10_4.sce | 338b70e70e429f4ea5fb89edce622a9908919a01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex10_4.sce | clc;clear;
//Example 10.4
//given data
mn=1.00893;//mass of neutron in a.m.u
mp=1.00813;//mass of proton in a.m.u
md=2.01473;//mass of deuteron in a.m.u
ma=4.00389;//mass of alpha-particle in a.m.u
//calculations
dm=md-(mn+mp);
disp((-dm*931),'binding energy in MeV');
dm=ma-2*(mn+mp);
disp((-dm*931),'bin... |
341f8bd26b445223e4d4eb40520e4997f003b5a5 | 244971ae8af51184d278cdc2be1c80775413adae | /SSSoSourceLambda.sci | 33a11c35ca1a6160b2ec309b89d71851ab82fe89 | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 940 | sci | SSSoSourceLambda.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function Out=SSSoSourceLambda(Pout_mW,f0_GHz)
// Optical Source
//
// Calling Sequence
// Out=SSSoSourceLambda(Pout_mW,f0_GHz)
//
// Parameters
// Pout_mW : Optical Output Power [mW]
// FW... |
7b93edab909e25ba8e4c72b21f0f632df2aafa76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH7/EX7.2/Ex7_2.sce | f27b74c1ebc7e98c5d5a9577f530d33e9d677459 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | Ex7_2.sce |
//Example No.7.2
//Page No.208.
//To find energy for vacancy information.
clc;clear;
Av = 6.022*10^(26);//Avogadro's constant.
d = 9500;//Density.
Aw = 107.9;//Atomic weight -[g/mol].
k = 1.38*10^(-23);//Boltzman's constant.
T = 1073;//Temperature -[K]
n = 3.6*10^(23);//Number of vacancies -[per m^3].
N =... |
b67970c9b38064a64bf181f943c1f58754ccb29e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH2/EX2.2/Ex2_2.sce | 63a86c6e9a8adb46ae7802572be73bd04ac7b796 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | Ex2_2.sce | //Ex_2_2
clc;
clear;
close;
format('v',6);
//given data :
l=0.5;//m
B=0.5;//Wb/m^2
I=50;//A
v=20;//m/s
F=B*l*I;//N
disp(F,"Force expereinced by the conductor(N)");
e=B*l*v;//V
disp(e,"emf induced(V)");
|
e480406912c7bb1fd622f972d2decbda32fefcf6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.52/ch1_ex_52.sce | eba623ea80a82593eaa4e040206e7e13fda8a440 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,309 | sce | ch1_ex_52.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 52
disp("CHAPTER 1");
disp("EXAMPLE 52");
//VARIABLE INITIALIZATION
v1=20; //LHS voltage source in Volts
v2=12; //RHS voltage source in Volts
r1=5; //LHS resistance in Ohms
r2... |
f37791e37bc6483e966679409f99b62ee5f177e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH5/EX5.21/Ex_5_21.sce | 7a47eb7a9cb80abf006023c1969feb88388b082b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | Ex_5_21.sce | //Example 5.21
clc;clear;close;
z=poly(0,'z');
H=(1+z^-1)/(1+3/4*z^-1+1/8*z^-2);
pole=roots(numer(H));
zero=roots(denom(H));
disp(H,'System Transfer Function H(z)=');
disp(zero,'System zeros are at');
disp(pole,'System poles are at ');
plzr(H); |
b52a7b743d70efc6a80add33cf4a41b6bb5addb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH8/EX8.8/Ex_8_8.sce | 9256c65de87728567d6291289f5b8d7ac6255b58 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | Ex_8_8.sce |
// Example 8.8 //bit rate
clc;
clear;
close;
ts=8;//ns
l=8;//km
tn=4;//ns
tn1=tn*l;//ns
tc=1;//
tc1=tc*l;//ns
td=5;//ns
tsys=1.1*sqrt(ts^2+tn1^2+tc1^2+td^2);//ns
btmax=(0.7/(tsys*10^-9))*10^-6;//M bit/s
bt=btmax/2;//
disp(bt,"maximum bit rate for NRZ format in MHz")
|
1d013858148a2448fa14dda053ae29cea2815869 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH10/EX10.3/10_3.sce | 6ef3af8b390915c1cf33cd10705471002a6165a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 702 | sce | 10_3.sce | clc
clear
//Initialization of variables
p=144*29*0.491 //psf
R=53.3
T=70+460 //R
gamw=62.4 //lb/ft^3
gama=0.073 //lb/ft^3
hw=3/12 //ft
hw2=3.5/12 //ft
hv=32.2 //ft/s^2
ms=9 //lb
g=32.2 //ft/s^2
//calculations
rhoa=p/(R*T)
hs=hw*gamw/gama
ht=hw2*gamw/gama
hv=ht-hs
V=sqrt(2*g*hv)
msv=ms*V*60
mm=msv*ga... |
8c052ee4cf048ab97cfdf15540dbaf9c4677ab04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH16/EX16.7/16_7.sce | 6b9e1a0460fb3fa20d942c6507be1e07c80547a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 16_7.sce | clc;
//page no 582
//prob no. 16.7
//a helial antenna with 8 turns with freq=1.2GHz given
N=8;f=1.2*10^9;c=3*10^8;//Speed of light in m/s
//a)Determination of optimum diameter of antenna
wav=c/f;
D=wav/%pi;
disp('m',D,'a)1.The optimum diameter for antenna is');
S=wav/4;//Determination of spacing for the antenn... |
94ce624a79eb49d8f2a4ddbfb7c8a8dede9d047e | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH11/EX11.3/11_3.sce | b6679f1e787527f3b1bdaad95a074bef894db3d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | 11_3.sce | V=12500
Xs=8
Vt=V/sqrt(3)
Ef=Vt
Ef=Vt*1.2
Ia=(Ef-Vt)/Xs
theta=%pi/2
pf=0
Pe=0
Qe=-sqrt(3)*V*Ia
disp(Ia)
disp(Pe)
disp(Qe)
disp(pf)
Ef=Vt*0.8
Ia=(Vt-Ef)/Xs
theta=-%pi/2
pf=0
Pe=0
Qe=sqrt(3)*V*Ia
disp(Ia)
disp(Pe)
disp(Qe)
disp(pf)
|
fb1c5dc58def6b06ecf377a24b4bbb77da90f760 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072.zip/College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072/CH29/EX29.6/EX29_6.sce | b0ab968a46629e5a1f0cead26029e114cfea9f4c | [] | 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 | 275 | sce | EX29_6.sce | errcatch(-1,"stop");mode(2);//Chapter 29
//Example 6
//given
M_C=14.003242 //mass of carbon in atomic mass units
M_N=14.003074 //mass of nitogen in atomic mass units
delta_M=M_C-M_N
E=delta_M*(931.494)
disp(E,"Energy released in beta decay in Mev is")
exit();
|
1ff78a46b0ea5da72a7e096a2d2e4b407b7cd12b | 4ad62940f89daf332cf9e241120da981bc1c3d5d | /testing/test1.tst | c7be92efaa18eb2256cdc00b12259154f3b1de2e | [] | no_license | Rovi98/SBC-menu-IA | 473ca98cf474be3f2a8c1c49bc2880dd3e0a7432 | d661ffab75e77e92ac824457f279dfd81c13796a | refs/heads/master | 2020-05-18T19:05:40.016175 | 2019-05-22T13:27:39 | 2019-05-22T13:27:39 | 184,599,387 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | tst | test1.tst | (batch "test_cfg.clp.bat")
80 ;age
170 ;height
65 ;weight
1 ;sex: male
1 ;execise-level: sedentary
;no diseases
yes ;eat meat
3 ;religion
;no positive preferences
;no negative preferences
yes ;verbose print
|
cfaa28288cf4e27827cb116c7b42d7c79c824ab1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /53/CH6/EX6.4/example_4.sce | a41ba027dd6925040eb3fbc274e5ee3b8bb0526e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | example_4.sce |
Av=100;
printf("Av=1+(R1/R2)\n");
//Let R2=1 Kohms
R2=1;//in Kohms
printf("R1=(Av-1)*R2");
R1=(Av-1)*R2;
printf("\nRESULTS:\n");
printf("The design values are R1=%d Kohms and R2=%d Kohm",R1,R2); |
373de85216a589723dff5ea119622cfa87a2e29b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH10/EX10.6/106.sce | 1ef781cfa6a3a3c1b51e735e864cedc24a80c9ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 106.sce | clc;
// Example 10.6
//page no 105 fig. 10.3
printf("\n Example 10.6 page no 105 fig. 10.3\n\n\n");
// since the density of air is effectively zero,the contribution of air to the 3 ft. manometer can be neglected
//the contribution due to the carbon tetrachloride can be found by using the hydrostatic equation
rho... |
3cd708ddeaaafbe1cedcf72030c1cba4bf70ad0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH7/EX7.9/Ex7_9.sce | b65af80d85df9912f3826f4cd7e3d976bad6c13d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,192 | sce | Ex7_9.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex7_9.sce.
clc;
clear;
Vp=220; //primary voltage in V
Vs=250; //secondary voltage in... |
4b8cfb79ceccb9a351b83245e2e50ba42c6c506e | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH8/EX8.1/8_1.sce | a7dd6c03bab1bc2fecc21cadeb71ad7a63c5737e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | 8_1.sce | T0 = 308;
T1 = 693;
T1_ = 523; // T1_ = T1'
T1_ = 523; // ""
f = (T0*(T1-T1_))/(T1_*(T1-T0));
disp(f,"The fraction of energy that becomes unavailable due to irreversible heat transfer is") |
adde9d349c7f35e68c0830ed90e1cfdce4f042d2 | 9835e6a99ef801fdd06a9193c1846cae987d740a | /MissionsA/MissionA-4.sce | 4e02bc09a643f4f40fee2c93a2d65886da4ceb7c | [] | no_license | Martinhubz/Exo-Life | c2356d064d2f4727b7a42b104aaca340c0e65a64 | dcea54e689b2d7bb3b454648d7cb6fb5a57f115f | refs/heads/master | 2021-04-30T08:52:50.851933 | 2018-02-13T16:19:34 | 2018-02-13T16:19:34 | 121,385,860 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | MissionA-4.sce | //---------Mission A-4-----------
//-------------------------------------
// Améliorer la qualité de l'image
// Utilisation d'un filtre médian pour supprimer le bruit
//
//
funcprot(0)
getd("../Fonctions")
missPath="./"
nomMission="MissionA-4"
// PBM--->matrice
img = readpbm(missPath+"Jupiter1.pbm")
//Traiteme... |
3018c29545328ed36fc33029d23d8f1463f04e12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH5/EX5.6/5_6.sce | 0d8687fb86929defde0155ac98eb1d6e4e6db6b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | 5_6.sce | //ques-5.6
//Calculating equivalent conductance of solution
clc
C=0.01;//normality of solution
k1=126.5//equivalent conductance at infinite dilution (in L^2 mho/eq)
k2=k1-(60.2+0.229*k1)*sqrt(C);//equivalent conductance (in L62 mho/eq)
printf("The equivalent conductance of solution is %.3f L^2 mho/eq.",k2);
|
118494554c6fe545aa704b19fb8409b29762898c | 449d555969bfd7befe906877abab098c6e63a0e8 | /63/CH7/EX7.4/Exa7_4.sci | 9e70db855759f4f796e6a69c13f8dc12f331b716 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sci | Exa7_4.sci | //Determine the charactericstic impediance of the quarter-wave transfomer
Z0 = 200;
Zl = 300;
Z01 = sqrt(Z0*Zl);
disp(Z01, 'Charactericstic impediance of the quarter-wave transfomer is (in ohms)') |
ebc2a226cb5c4a4716c2f2106822c59cea1255c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /555/CH7/EX7.6/6.sce | b63796099ca31d16065d48e4c4b87d548f85479a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | 6.sce | // Implementation of example 7.6
// Basic and Applied Thermodynamics by P.K.Nag
clc
clear
T1 = 200; //K
T2 = 100; //K
function Cv = f(T)
Cv = 0.042*T^2;
endfunction
Q1 = intg(T1,T2,f);
function S = g(T)
S = f(T)/T;
endfunction
dS_sys = intg(T1,T2,g);
Wmax = dS_sys*T2 + abs(Q1);
printf("Maxi... |
3d4944fccf7bdfe71939745bab200acf20423d4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH11/EX11.8/Example11_8.sce | 1c44bb316fd1f23a95a3aac91feaad1612971048 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | Example11_8.sce | //Example 11.8
clc;
clear;
close;
format('v',6);
//Given data :
Cd=0.65;//constant
A=220;//m^2
g=9.81;//constant
l=30/100;//meter
H1=16.8/100;//meter
H2=6.8/100;//meter
T=A/[2/3*Cd*l*sqrt(2*g)]*integrate('h^(-3/2)','h',H2,H1);//sec
disp("Time taken is "+string(floor(T/60))+" minute "+string((T/60-floor(T/6... |
ea12d089572571cfa3163cc73268e60e55d31866 | 036a77bd5f07b7b2b808ef3d90e92d20bd7b6c33 | /hard/tests/tooFewParameters.tst | fdb70251c81ea2b2a151f130f1a1f4d43fceb925 | [] | no_license | Jaymee-Ericca-7/simple-compiler | 186b11486e5af8debdde301acba84851c4545b02 | 209a8ed43c579a9ce34c63a10083cdbde5546313 | refs/heads/master | 2020-09-18T06:19:53.304100 | 2015-08-11T13:44:06 | 2015-08-11T13:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | tst | tooFewParameters.tst | int sum(int x, int y) begin
return x + y;
end
main begin
int s;
int x;
x = 1;
s = sum(x);
return s;
end
|
278edcb9318425241c64c397147453ee8fb39158 | 734830c483d7180158343b9b5599994878b8b197 | /make-tests/unfinished/test1.tst | b48d4fb60422f1db3d22468a317b99a5bdd4c1cc | [] | no_license | aykamko/proj61b | b53a3b569f82522144e010505859aa3ab66585bb | 5f6688b70f907107512267712a325f907e5e627b | refs/heads/master | 2021-01-16T22:08:56.235971 | 2013-12-12T09:19:39 | 2013-12-12T09:19:39 | 13,669,280 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 73 | tst | test1.tst | T1: T2 T4 T7 T2
T2: T3 T5
T3:
#ignore me plz
T4: T5 T6
T5:
T6: T5
T7: T6
|
968848ef897e452d8cb6cce109cbb0f42bb64932 | 9912678e28073cbe4e3b8c355954b571bf3d4d1a | /projects/01/IfAThenB.tst | f53d77a1824d97190a30b658f638b4bad7956ec1 | [] | no_license | Toraja/nand2tetris | f98ee40afbd529acc6564483f45ce0fd02f40692 | 7955c6a3ac28fa1e48654f0f2b3fb1c464adc2ea | refs/heads/master | 2021-04-28T01:12:45.034616 | 2018-04-01T03:11:44 | 2018-04-01T03:11:44 | 122,270,476 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | tst | IfAThenB.tst | // This file is created by me
load IfAThenB.hdl,
output-file IfAThenB.out,
compare-to IfAThenB.cmp,
output-list a%B3.1.3 b%B3.1.3 out%B3.1.3;
set a 0,
set b 0,
eval,
output;
set a 0,
set b 1,
eval,
output;
set a 1,
set b 0,
eval,
output;
set a 1,
set b 1,
eval,
output;
|
7b1b8d2095b07192b5ac9a302e93139e43285394 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH3/EX3.10/Example_3_10.sce | 63d38c1e4cd782945eb852e44953c5e403bd580a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,091 | sce | Example_3_10.sce | clc;
printf("Example 3.10\n");
k=10;
n=0.2;
//Using the power-law model (equation 3.121):
printf("\n Given:\n Consistency coefficient k = %d N.s^n/m^-2",k);
printf("\n Flow behaviour index = %.1f",n);
Ucl=1; // centre line velocity
printf("\n Centre line velocity = %d m/s",Ucl);
l=200; // length of pipe
p... |
7b080795a6beb2a805f39898ebf9aca6529388a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH14/EX14.22/109ex1.sce | f8c4d9373dd06412ee189953166ec75275798fe5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | 109ex1.sce |
clear;
clc;
close;
function[val]=formulae(a,b)
val=(a+b)*(a-b)
endfunction
val=formulae(47.5,22.5)
... |
e4483a04f9cf3f85c40f0ac3541be79db6342eea | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /VRT TEST.sce | cdb4d8da8d8caf03a74b5efb68b874cb0e52b1ce | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 62,043 | sce | VRT TEST.sce | Name=VRT TEST
PlayerCharacters=clicker
BotCharacters=vrtbots.rot
IsChallenge=true
Timelimit=100.0
PlayerProfile=clicker
AddedBots=vrtbots.rot
PlayerMaxLives=0
BotMaxLives=20
PlayerTeam=1
BotTeams=2
MapName=cps.map
MapScale=2.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=false
InvincibleBots=false
T... |
3c933b64b6e4f8a26fb36e1da1e9c1a42e0aae4a | d7633cb5f07c988a044ff9b890b9a281020fd097 | /m3da01/utils.sce | 4144d16ce938c6de0891eaac01f22e24078045da | [] | no_license | Supabyte/M3DA | 92296615d8501dfad309cd7341480a5589f3fe35 | 3c80475d78ee2d9c4cae8ca7424e56346b58beec | refs/heads/master | 2020-06-22T18:18:46.062697 | 2013-11-23T13:05:13 | 2013-11-23T13:05:13 | 197,769,562 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,601 | sce | utils.sce | function q = dc2quat(dc)
// dc2quat quaternion direction cosine matrix angle axis
////**********************************************************************
//
// dc2quat calculates the quaternion corresponding to a direction
// cosine matrix. I believe this is based on the algorithm
// given by A. R. Klumpp, "Singular... |
28f54ca6d68a6e65ea4236ec5b5b3b9e9fac88d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH10/EX10.2/ex10_2.sce | cfc232c2a3608425e4835f855c7a579c66fab395 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | ex10_2.sce | // EXa 10.2
clc;
clear;
close;
// Given data
V_sat = 12;// in V
V_H = 6;// in V
R1 = 10;// in k ohm
R1 = R1 * 10^3;// in ohm
// Formula V_H= R1/(R1+R2)*(V_sat-(-V_sat)) and Let
V = V_H/(V_sat-(-V_sat));// in V (assumed)
R2= (R1-V*R1)/V
disp(R1*10^-3,"The value of R1 in kΩ is");
disp(R2*10^-3,"The value of ... |
31a2fd8dbf372a3e5614921b2888c51517fb37ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH12/EX12.21/Example12_21.sce | 1dca18de27829bdc815cfd6b92bfc89e3c8e8df7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,383 | sce | Example12_21.sce | //Example 12.21
//Program to :
//(a)Calculate second order dispersion coefficient for L1
//(b)Determine the dispersion slope for L2
//(c)Verify that periodic dispersion management map will provide
//sufficient coincidence to facilitate reliable DWDM transmission
clear;
clc ;
close ;
//Given data
L1=160; ... |
78c277b9cf269decb468e130a9127142751253af | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH9/EX9.13/chapter9_ex13.sce | 92ae15c7f090b014c5078388d5012623183383d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 748 | sce | chapter9_ex13.sce | clc
clear
//input
//all values refered to primary and from given equivalent circuit
v=240;//supply voltage in volts
r0=0.25;//resistance in ohms
x0=0.4;//reactance in ohms
rl=7.75;//load resistance in ohms
xl=5.6;//load reactance in ohms
n=5;//turns ratio of the transformer
//calculations
rt=r0+rl;//tot... |
4a3e2fae1786c56d795def7909a10d9293de0eb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH1/EX1.8.a/1_8_a.sce | 6b9e7b822b30bec47975ab337efa650bb7938b71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | 1_8_a.sce | d = 30; //inflated diameter of ballon in feet
W = 800; //weight of the balloon in lb
g = 32.2; //acceleration due to gravity
//part (a)
rho_0 = 0.002377; //density at zero altitude
//Assuming the balloon to be spherical, the Volume can be given as
V = 4/3*%pi*((d/2)^3);
//The Buoyancry force is given as
B =... |
5653c7f8425253797f0eebdfa13b49175e32ba50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH14/EX14.3/EX14_3.sce | 44b090683e06748cc925ca5096724bcb88574fd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,633 | sce | EX14_3.sce | //Book - Power System: Analysis & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye
//Chapter - 14 ; Example 14.3
//Scilab Version - 6.0.0 ; OS - Windows
clc;
clear;
kV=13.8; //The sending end line voltage in kVolts
Vsln=1.05*k... |
76848aa945f540c7365cb39a56272d03fc9e8f6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH17/EX17.2/Example_17_2.sce | 71a69f644af66ede25401c22736f95c3a94b0e70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 891 | sce | Example_17_2.sce | //clear//
clear;
clc;
//Example 17.2
//Given
Nreal = 7;
VbyL = 1.5;
m = 0.8;
yb = 0;
xb_star = 0;
//xb=0.1*xa;
//(a)
//Stripping Factor
S = m*VbyL;
//From an ammonia balance,
//ya =0.9*xa/VbyL;
//Also
//xa_star = ya/m
//Using Eq.(17.28)
//N = ln((xa-0.75*xa)/(0.1*xa-0))/ln(S)
N = log(0.25/0.1)/... |
60d2972dc830792f900d88a41450a5471d38a72a | cefe1787aed5bd5b40d2139f03ad095cab6f6c01 | /input/muysencillo.tst | 1adc591b1a6337793b838946310477ddf1eefa60 | [] | no_license | ftmlik/tfg_roc_keel | 088e73a34b6569c1c0a0d5880d98740888ef552d | 071179de84fa663099aaeb695d60fbbda6076e11 | refs/heads/master | 2020-04-04T02:49:17.564536 | 2017-01-07T15:16:13 | 2017-01-07T15:16:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 133 | tst | muysencillo.tst | true-class positive negative
positive 0.2 0.1
positive 0.9 0.2
negative 0.9 0.3
negative 0.3 0.4
positive 0.9 0.45
positive 0.1 0.46
|
661b63365e21f79c6716cd2a287f944d93d988d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH5/EX5.19/EXAMPLE5_19.SCE | 9ebd9021e9eb1269bf8bc809bdd155e8262203af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,092 | sce | EXAMPLE5_19.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 5
//ANGLE MODULATION
clear all;
clc;
printf("EXAMPLE 5.19(PAGENO 222)");
//given
f_m1 = 1*10^3//modulating frequency for first case
f_m2 = 500//modulating frequency for second case
V_m1 = 2//modulating voltage for first case
V_m2 = 8//modul... |
edbb30f481b0544ecdbf9cad812e95e796edad12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH11/EX11.1/11_1.sce | 5d1500ddf9e34d565b05aa6ac0336d9666c01952 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,427 | sce | 11_1.sce | clear
clc
//Example 11.1
disp('Example 11.1')
//(a) Desired closed loop gain=1 and tau=[1 3 10]
s=%s;
tauc=[1 3 10]';
tau1=10;tau2=5;K=2;theta=1; //Time delay
Y_Ysp=(1)./(tauc*s+1); //Y/Ysp=delay/(tau*s+1) Eqn 11-6
//delay=(1-theta/2*s+theta^2/10*s^2-theta^3/120*s^3)/(1+theta/2*s+theta^2/10*s^2+theta^3/120*s^3);//T... |
3897226b23d32ae2143339c7942728d84c967b20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH1/EX1.60/Example_1_60.sce | 0604c92b559d778551b2c730dad4e89180889461 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | Example_1_60.sce | //Example 1.60 A man purchases a lottery ticket, in which he win
clc;
clear;
disp(1-(0.0001+0.0004),"Probab. that man does not get any prize=",0.0004,"Probab. that ma wins second prize of Rs 4000=",0.0001,"Probab. that man wins first prize of Rs 10,000=");
disp((0.0001*10000+0.0004*4000+0.9995*0),"The Mathematical ... |
a0c4cdb4f84d96069a0ad30fe5377d7af032c258 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/tests/pause.tst | 95391b876b0d4aac0f058ee0a28cc4e0277ae58d | [
"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 | 685 | tst | pause.tst | // Copyright INRIA
a=1;
deff('[x]=tata(y)','x=-y,write(%io(2),''enter quit''),pause,x=+20')
xx=tata(10);
quit;
if 10+xx<>0 then pause,end
b=2;
deff('[x]=tata(y)',['x=-y'
'write(6,''enter return'')'
'pause'
'x=+20'])
xx=tata(0);
return
if 20-xx<>0 then pause,end
deff('[... |
7cff2bc507b4bfac2db319d5c6acde19acbccb81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH13/EX13.4/Ex13_4.sce | e186490d9c76154bfcd4bfe17c2721dbd9952168 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | Ex13_4.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 13 Example 4")
Po=2;//total pressure in bar
P=0.3;//static pressure in bar
y=1.4;//expansion constant
disp("we know that,Po/P=(1+(y-1)*M^2/2)^((y)/(y-1))")
dis... |
9588573059622a573dd2e6c8cff3885045da04c8 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/CS3B.prev.tst | 6edf324392975ad87a3aff1bef93039633720256 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,752 | tst | CS3B.prev.tst | CandidateSelector expand width=4 base=5 exponent=3 left=4 right=0 fileName=test/CS3B.data.tmp
chain8 [[0,-3,-2,-2],[-1,1,1,1],[0,2,2,1],[0,2,1,2]] det=-1 [28,-18,-21,-19] [134,-86,-97,-95] [642,-412,-461,-459] [3076,-1974,-2205,-2203] [14738,-9458,-10561,-10559] [70614,-45316,-50597,-50595] [338332,-217122,-242421,-24... |
43db2c5c780a478c36dce8162c79081696b38b39 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Community bonding /Jupyter/Driver.sci | f69ec8f39849dcd2da54cfdfb32cdf821e710347 | [] | no_license | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sci | Driver.sci | server = 'a.soumitra@172.16.68.1'
args = 'Hello World!'
script = 'Printer.py'
removedir('Params')
createdir('Params')
fd = mopen('Params/server.txt','wt');
mfprintf(fd, server);
mclose(fd);
fd = mopen('Params/script.txt','wt');
mfprintf(fd, script);
mclose(fd);
fd = mopen('Params/arguments.txt','wt');
mfprintf(f... |
49774999c812e9215c110173a42bced477d4bec9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH16/EX16.28/16_28.sce | 723b2c50ff4f02b42de86170d41f47d5def84ea8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | 16_28.sce | clear
clc
t1=15
P1=1.3
pf1=.75
t2=9
P2=.4
pf2=.8
pfd=.95
kvar1i=P1*1e3*tan (acos(pf1))
kvar1f=P1*1e3*tan (acos(pfd))
kvarr1=kvar1i-kvar1f
kvar2i=P2*1e3*tan (acos(pf2))
kvar2f=P2*1e3*tan (acos(pfd))
kvarr2=kvar2i-kvar2f
SBC=abs(kvarr2-kvarr1)
FBC=min(kvarr2,kvarr1)
mprintf("Switch Bank Cap... |
bd3cb76081cf3c5a80074a0f8f9775f5440baff2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH8/EX8.10/example10.sce | 4414a81b7cf2037668df1490c6fe893a314864bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,137 | sce | example10.sce | clc
clear
//input data
Ihl=3//Head loss in impeller in m
Cr2=4.64//Flow velocity through impeller at outlet in m/s
U2=30//Blade outlet speed in m/s
dPi=35.3//Difference in pressure gauge readings at impeller inlet and outlet in m of water
Pg=4.7//Pressure gain in the casing in m of water
n=0.385//Part of absol... |
ed0075025324d9974ea47d0460cb555469ea89cc | 5c808b0f55fefd29b91c7cb73f2f3a08093c5033 | /Code/Scilab Code/FalseNegsForChordSamples.sci | ed7ad6d7a198f290320309a125014038dba14726 | [] | no_license | JOfTheAncientGermanSpear/Filter-Bank-Guitar-Note-Chord-Detection | a01e2ce521561dfea555a588d6bb1e0f1deca18e | cb0d54c74275a990dcb984c4ec349e6ca4e72a1a | refs/heads/master | 2021-01-20T12:00:42.472605 | 2013-06-14T03:04:33 | 2013-06-14T03:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sci | FalseNegsForChordSamples.sci | function [chordNames, isFalseNegs] = FalseNegsForChordSamples()
chordNames = GetChordNames();
numOfChords = length(length(chordNames));
isFalseNegs = zeros(1, numOfChords);
for currChordIndx = 1:numOfChords
currChord = chordNames(currChordIndx);
isFalseNegs(currChordIndx) = ~Audi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.