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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
433cc659a4304ce2d6b39acd19f18740db2d2000 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH10/EX10.2/2.sce | c66595aa3b076a97f920fc4f3f38fcd42b22702a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | 2.sce | clc
t_db=290; //K
phi=0.6; //relative humidity
p_t=1.01325; //bar
p_vs=0.0194; //bar
p_v=phi*p_vs;
W=0.622*p_v/(p_t - p_v);
disp("Specific Humidity=")
disp(W)
disp("kg/kg of dry air")
t_dp=9 + (10-9)*(0.01164-0.01150)/(0.01230 - 0.01150); //By interpolation from steam tables
disp("dew point temperatu... |
63664aaa16c60894d12d67c33ecfc6b99d930f8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH9/EX9.1/Chapter9_Example1.sce | 3d3de24fc91bc4ca1851278779278bd5a1f3ed52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Chapter9_Example1.sce | clc
clear
//INPUT
t2=300;//temperature of the sink in K
n1=0.4;//efficiency of the engine
n2=0.6;//efficiency of the engine
//CALCULATIONS
t1=t2/(1-n1);//temperature of the source in K
t3=t2/(1-n2);//temperature of the source in K
//OUTPUT
mprintf('the temperature of the source when 0.4 efficiency is %3... |
94c1af605aedb10ac6dbca26d4c6452b4c616f6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH5/EX5.1/Ex5_1.sce | e8ec372e0dedb651517148b0723ddd451377adb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 671 | sce | Ex5_1.sce |
funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=round(sd*100)/100
dms=[d m sd]
endfunction
l1=11.5;//position
l2=13.5;//position
r1=8.5;//position
r2=6.5;//position
alpha=3+15.0/60+28.0/3... |
28e6c800d67b61bcf7cd86ff678303bb29b9ac79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH2/EX2.7.14/Example_2_7_14.sce | 10f21d3a77da9590b53b1025aaa814706517b165 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | Example_2_7_14.sce | // Example 2.7.14 page 2.34
clc;
clear;
NA=0.2; //Numericla aperture
d=50d-6; //Diameter of core
lamda=1d-6; //Wavelength
a=d/2; //computing radius
v=2*3.14*a*NA/lamda; //computing normalized frequency
Mg=v^2/4; //computing mode volume for parabollic profile
Mg=round(Mg);
... |
bd9097ab045e5e03408dbfd1eba656a61a876433 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH6/EX6.17/17.sce | 63dc3ec2917f4b32702957a765556b4e2510ae4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | 17.sce | //Variable declaration
H0=64*10**3; //initial field(ampere/m)
T=5; //temperature(K)
Tc=7.26; //transition temperature(K)
//Calculation
H=H0*(1-(T/Tc)**2); //critical field(ampere/m)
//Result
printf('critical field is %0.3f *10**3 ampere/m \n',(H/10**3)) |
addc70cdbf29206758cfd611650c31f825cb06dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH8/EX8.22/Example_8_22.sce | 9f9c28b292d48caadbf03752d2ca482ebae7e470 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | Example_8_22.sce | //Example 8.22
clear;
clc;
//Given
T=298;//Temperature in K
R=8.314;//gas constant in J K^-1 mol^-1
k=4.814-(2059/T);//k=log(K),where K is the equillibrium constant
//To determine the values of delGo,delHo and delSo
delSo=4.814*R;//entropy change in J K^-1 mol^-1
delGo=-R*T*k;//free energy change in J mol^... |
43156051ebbc946d810d22b0df49475f1dd8b69e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH5/EX5.3/exmp5_3.sce | 4b9aca00818e974dc153f900e5d5219a8b60653c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | exmp5_3.sce | //Example 5.3
clc
disp("(i) We know that,")
bw=((20*10^3)*sqrt(((2)^(1/3))-1))*10^-3
format(7)
disp(bw,"BW_n(in kHz) = BW_1 * sqrt(2^1/n - 1) =")
bw1=((20*10^3)*sqrt(((2)^(1/4))-1))*10^-3
format(4)
disp(bw1,"(ii) BW_n(in kHz) = BW_1 * sqrt(2^1/n - 1) =")
|
66fd1b3b72b0e053325876e6401912577a1392c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH16/EX16.3/Ex16_3.sce | 58be1fc2dcc86c1081974bb5d7bcb98069ca2e0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex16_3.sce | // Ex16_3 Page:311 (2014)
clc;clear;
z = 30; // Length of the optical fibre, km
alpha = 0.8; // Fibre loss, dB/km
P_i = 200; // Power input to the optical fibre, micro-watt
P_o = P_i/10^(alpha*z/10); // Output power of the optical fibre, micro-watt
printf("\nThe output power from the optical fibre = %... |
d30734a783fb00c4b3a3632d8a0dba658ab150eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /876/CH2/EX2.2/Ex2_2t.txt | 9e8be31796b8cd17722ac7cb96a0bcab5bd81397 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | txt | Ex2_2t.txt | //caption:Find limiting error in percentage
//Ex2.2
clc
clear
close
V=150//maximum range of voltmeter(in V)
A=0.02//magnitude of accuracy(in V)
Vm=83//voltage measured
dA=A*V
%er=(dA/Vm)*100
disp(%er,'limiting error(in %)=') |
a18b0670c9c4b36a8b3841610e4ca7bd69676b37 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/Tet_equitri.tst | 917aee46fedc6a492d8f49aac0e9bc0e099b6e4b | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,006 | tst | Tet_equitri.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>3D equilateral triangle flow, Tetrahedral elements, P=5</description>
<executable>IncNavierStokesSolver</executable>
<parameters>Tet_equitri.xml</parameters>
<files>
<file description="Session File">Tet_equitri.xml</file>
</files>
... |
a142a293f443ac9a4e832ca2b50c30ea9124663b | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/DEPENDENCIES/data1_4.sci | 5b1bd6ed9d29bb0fc76f5e2a5281e57005e468a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sci | data1_4.sci |
//Introduction Example 1.4
//Initial value of the series (diameter in mm)
a = 100
//Final value of the series (diameter in mm)
b = 1000
//Eleven shafts to be standardized
n = 11 - 1
|
4090d20ee6983a438f52ac4eea3b019cb41fcf1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH5/EX5.7/example5_7.sce | a573e401908f8e0c76e326c767055205156c5477 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 671 | sce | example5_7.sce | p1=200;
v=240;
v0=120;
p2=100;
disp("Part a");
r1=(v0^2)/p1;
r2=(v0^2)/p2;
r=r1+r2;
v1=v*r1/r;
v2=v*r2/r;
disp("the voltage (in V) across the 200 W , 120 V bulb is"); disp(v1);
disp("the voltage (in V) across the 100 W , 120 V bulb is"); disp(v2);
disp("Part b");
p_1=(v1^2)/r1;
p_2=(v2^2)/r2;
disp("the p... |
98362b6784c9b50d8e86ad4b7ad920bd3b047ab9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH9/EX9.20/ex9_20.sce | ba9ee7d7abf9a8d1f94936b4e5fb05f4d8b1da97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | ex9_20.sce | // Exa 9.20
clc;
clear;
close;
format('v',6)
// Given data
V1 = 250;// in V
V2 = 500;// in V
Pcu = 100;// in W
Pi = 80;// in W
V = V2;// in V
A = 12;// in A
phi= acosd(0.85);// in °
// The efficiency of the transformer
Eta = ((V*A*cosd(phi))/( V*A*cosd(phi) + Pi+Pcu ))*100;// in %
disp(Eta,"The efficien... |
d1644d507bfe5e06f3664e32db316093c7cd18de | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH4/EX4.19/Ex4_19.sce | e6faed92b7ab859708bc821f2aba7f41912275af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 970 | sce | Ex4_19.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex4_19.sce.
clc;
clear;
r1=3e-2;
r2=6e-2;
r3=9e-2;
q1=9e-12;
q2=-6e-12;
q3=3e-12;
d1=2e-2;
d2=4e-2;
d3=7e-2;
d4=12e-2;
epsilon_not=8.854e-12;
a=9e9; ... |
9f87e7b33e76f8947e1a2e7e240c2a39f087b0cf | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/man/elementary/tanhm.sci | 8b584f115ff41108b17baebd029f0f52d4a1307d | [
"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 | 309 | sci | tanhm.sci | .TH tanhm 1 "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
tanhm - matrix hyperbolic tangent
.SH CALLING SEQUENCE
.nf
t=tanhm(x)
.fi
.SH PARAMETERS
.TP 10
x,t
: real or complex square matrix
.SH DESCRIPTION
tanhm is the matrix hyperbolic tangeant of the matrix x.
.SH SEE ALSO
tanh
|
958d38c8a09371b08acb91c70bca2b0b95d220ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH20/EX19.13/EX19_13.sce | ab478858245e8ddc17faf5ee01b3bd1d0272a1bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | sce | EX19_13.sce | // Grob's Basic Electronics 11e
// Chapter No. 19
// Example No. 19_13
clc; clear;
// A transformer with a 1:6 turns ratio has 720 V across 7200 Ohms in the secondary. (a) How much is Is? (b) Calculate the value of Ip.
// Given data
vs = 720; // Secondary voltage=720 Volts
Rl = 7200; // Secondary... |
e3ab7b4062f565773c8956a9f50b39efae14cead | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH9/EX9.6/example6_sce.sce | d66a161e513120e2ed4715e0376e9883bca7c18b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example6_sce.sce | //chapter 9
//example9.6
//page 335
fc=1.5*10^3;
x=1.414;//damping factor
C1=2/x;
disp(C1)
C2=x/2;
disp(C2)
R1=1;R2=1;
Rf=2;
Wc=1;
Wc=2*3.14*fc;
disp(Wc)
R=R1/Wc;//to keep C1 nad C2 unchanged
disp(R)
Rf=2*R
R1=R*10^7;R2=R*10^7;//for maiking filter for practical use
disp(R1,R2)
C1=C1*10^-7;C2=C2*10^-7... |
e60f56341d366aed498c99159b785534782bcb88 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3432/CH7/EX7.29/Ex7_29.sce | 3ae94561bb667ca679e22c97bf44dec415e580bc | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,242 | sce | Ex7_29.sce | //Example 7.29
// A reduced order compensator design for a satellite attitude control
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space representation
F=[0 1;0 0];
G=[0 1]';
H=[1 0];
J=0;
n=sqrt(length(F));//order of the system
/... |
e7e4b20877864f94291aae5ab209466de43b6544 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH4/EX4.2/exa_4_2.sce | 171553cdce24b992026c9dc054e7569ea313c486 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 814 | sce | exa_4_2.sce | // Example 4.2
clc;
clear;
close;
// Given data
T1= 800+273;// in K
T2= 400+273;// in K
T3= 179+273;// in K
T0= 25+273;// in K
Q= 2018.4;// heat taken by water in kJ/kg
// Formula mCp*(T1-T2)= Q
mCp= Q/(T1-T2);
delta_Qgas= mCp*integrate('1/T','T',T1,T2);// in kJ/K
delta_Qwater= Q/T3;// in kJ/K
delta_Qnet=... |
620e9c1cd4f0b5e9c200a9f8f125476178e3656d | 6577008921680ddcc005d6cd1fbfc6e580f04740 | /Code/RK4.sci | be835b2700609a93fda0649fdc5369f991c25b86 | [] | no_license | bagasadif/Program-Scilab | a9539ddf00a5c75ca844d93e9b35309427a28722 | 94d09657ae48d130184c23c34af9a0f4a1a2ab18 | refs/heads/master | 2023-02-19T19:24:24.042558 | 2021-01-24T22:27:39 | 2021-01-24T22:27:39 | 332,569,383 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 958 | sci | RK4.sci | /*
Author : Bagas Adi Firdaus
Deskripsi : Program PDB Metode Runge-Kutta Orde 4
*/
printf('\nProgram PDB Metode Runge-Kutta Orde 4\n');
b=input('Masukkan nilai t yang akan dicari x(t) nya = ');
h=input('Masukkan nilai h = ');
t0 = 0;
x0 = 0;
y0 = 1;
x = x0;
y = y0;
t = t0;
n = (b-t0)/h;
function turunanx=f1(t, x, ... |
00084de228a0358dd6326fdb48e7d8817ccc7c1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH8/EX8.3/ex3.sce | 31ff0645fbc9225561f2d9cdb87cd81faff25119 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 561 | sce | ex3.sce | //example 3
//the rate of irreversibility of a heat engine
clear
clc
Tsink=300 //Temp. of sink in K
Tsource=1200 //Temp. of source in K
nthrev=1-Tsink/Tsource //efficiency of carnot engine
Qin=500 //rate at which heat is received from the source in kW
Wrev=nthrev*Qin //maximum power produced by a heat engine ... |
f7ad75f970cf39c3b4fe527c3b4213a5069e2a30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH4/EX4.24/exa_4_24.sce | 481d5f946631e1f722e6d86385b76d02ad5e64fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | exa_4_24.sce | // Exa 4.24
clc;
clear;
close;
// Given data
V_Dmin= 2;// in V
V_Dmax= 4;// in V
Vs= 15;// in V
R1= 470;// in Ω
Imax= (Vs-V_Dmin)/R1;// in A
Imin= (Vs-V_Dmax)/R1;// in A
disp(Imax*10^3,"The maximum value of current in mA is : ")
disp(Imin*10^3,"The minimum value of current in mA is : ")
|
6677d7c745ddf0296d0a44a8cf01e4345f2de0f8 | e708f81011d4a09a8ad1ee85f0c1872e1634f35c | /Documentation/Wrapping/Scilab/btk/builder.sce | df1befaf0195f4c3d1ca1737395873221d65f75b | [
"BSD-3-Clause"
] | permissive | allardhoeve/BTKCore | ef26f818acf06780c3e57147097f65f2d72c1c27 | f6805699fe37f64ac6434a92736c6b59f0ea148d | refs/heads/master | 2020-04-27T07:58:51.948297 | 2019-03-28T11:03:41 | 2019-03-28T11:03:41 | 174,155,043 | 0 | 1 | NOASSERTION | 2019-03-06T14:27:02 | 2019-03-06T13:55:59 | C++ | UTF-8 | Scilab | false | false | 864 | sce | builder.sce | mode(-1);
lines(0);
try
getversion('scilab');
catch
error(gettext('Scilab 5.0 or more is required.'));
end;
// ====================================================================
if ~with_module('development_tools') then
error(msprintf(gettext('%s module not installed."),'development_tools'));
end
// ===========... |
89a9fb7def317a6954c907a018f5eb95c289eb4e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH8/EX8.7.5/ex_8_7_5.sce | 128a70554319ce1795ae45009f9a06efe54b91f7 | [] | 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 | 307 | sce | ex_8_7_5.sce | errcatch(-1,"stop");mode(2);//Example Q.5: Lx and Rx
;
;
//given data :
r1=28.5;//in ohms
L1=52.6;//in mH
R2=1.68;//in ohms
R3=80;//in ohms
R4=R3;// in ohms
Lx=(R3/R4)*L1;//inductance in mH
Rx=r1*(R3/R4)-R2;//in ohms
disp(Rx,"unknown resistance,Rx(ohm) = ")
disp(Lx,"unknown inductanceLx(mH) = ")
exit();
|
cb076f27e00aa51841bcfbb8189dfab72b20c3dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH6/EX6.4/Ex6_4.sce | 4f272ba9a9930f278424f1897ebedfb8d0c44914 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sce | Ex6_4.sce | clear
//
//
//
//Variable declaration
h=6.60*10^-34; //planck's constant(J-sec)
m=1.674*10^-27; //mass of proton(kg)
lamda=10^-10; //de-broglie wavelength(m)
e=1.6*10^-19; //charge of electron(c)
//Calculations
E=h^2/(2*m*lamda^2); //energy of neutron(J)
E=E/e; ... |
bf8fd7e128fc1e407c613558cacd475b7535a993 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH3/EX3.20/Ex3_20.sce | 591e8bb8fce437043fc7bc2d3e1c0966624c7bf8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_20.sce | // Problem 3.20,Page no.68
clc;clear;
close;
sigma=0.012 //strain
P=150 //KN //Total Load on the Post
E=1.4*10**4 //N/mm**2 //modulus of elasticity
//b be the width of the post in mm
//2b is the longer dimension of the post in mm
//Calculations
//We know,
//sigma=(P*(A*E)**-1)
//After substituting values and si... |
ae57188431eb67bfd25a3bc4a3067b7ee5271e4c | 9d545f988a80789144df937ce4a90017c378cb92 | /End Sem Exam/b13236_endSem.sce | 9d0c01fd2cecff49d09ea4ee57e2c12f0efc36da | [] | no_license | tshrjn/EE304P | 215dc669daaf372242afe2c1f580a36df26e51ce | ac1c045262dd0b419354d2d22861c734508b7b8e | refs/heads/master | 2021-01-10T03:02:18.270276 | 2015-12-01T02:42:16 | 2015-12-01T02:42:16 | 46,113,211 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,930 | sce | b13236_endSem.sce | function [levelNos, xq,ql,qv] = quantise (x, mx,mn, l )
s = (mx - mn )/l;
ql = [mn:s:mx];
qv = [mn-s/2: s : mx +s/2];
index = 1;
levelNos = [];
xq = [];
while index <= length(x)
count = 1;
while count <= length(ql)
if (x (index) > ql(count) ) then
... |
5db3ba85f4225dc8e46ce80eeac7a1b23763fbe2 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/HR4.prev.tst | 853f89f7df70f2999c1b69e33b651e074360634e | [
"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,503 | tst | HR4.prev.tst | polys[0]=0
polys[1]=-4
polys[2]=-4
polys[3]=2,1
order=2
initialize: mN=-1, mRElen=3, mNPlen=1, mOrder=2, mLinit=2
exp: multiply ring=[0,0,*0] by mN=0
exp: multiply ring=[0,0,*0] by mN=0
exp: multiply ring=[0,0,*0] by mN=0
setRE(0,1): [*0,0,0] -> [*1,0,0]
result=1, RE=[*1,0,0]
0 1
exp: multiply r... |
c17322fcdfad863f3446d042c6cc277460c8540a | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH2/EX2.17.b/2_17_soln.sce | bbee213aa089f7cf39a32b1204eff0b6d74d9853 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | 2_17_soln.sce | clc;
pathname=get_absolute_file_path('2_17_soln.sce')
filename=pathname+filesep()+'2_17_data.sci'
exec(filename)
// Solution:
// Change in pressure,
delP=P2-P1; //kPa
betaa=betaa*1000; //kPA
// % Change in volume,
delV=-(delP/betaa)*100; //% ,- sign indicates oil is being compressed
// Results:
printf("\n Results: ... |
ef54864aedaaa371517121868e76046da114677f | d4e77af84a9eba1cc0b4e9fc79c0d42ec8729c27 | /tests/circle.tst | 17c31d57e10ac21df57d09488ef88a56721f9409 | [] | no_license | fericss/super-secret-avalg13-project2 | 94e9ab7e4a4106f3f68ede9e7402edd54d137ced | 9e9d062e1702f6adda56439394a4f3ec704d0637 | refs/heads/master | 2021-01-06T20:41:43.350335 | 2013-12-06T17:35:25 | 2013-12-06T17:35:25 | 32,411,892 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 37,061 | tst | circle.tst | 1000
100.0 200.0
100.62831439655588 199.9980260856137
101.25660398833527 199.99210442038162
101.88484397154083 199.9822352380809
102.51300954433376 199.96841892832998
103.14107590781283 199.95065603657315
103.76901826699346 199.92894726405893
104.39681183178648 199.9032934678125
105.02443181797696 199.87369566060175
10... |
92edabcdb136a7f130e20e4757f2f5115297558b | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /tests/chi-square/chi2rnd.tst | c09eda72b974871d313e9e49c568bce48312155d | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,599 | tst | chi2rnd.tst | // Copyright (C) 2012 - Prateek Papriwal
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-... |
659ac0c7bf2d4116c38cbfa6806a09c241e10e7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH2/EX2.4/exa_2_4.sce | b0a65f69e88be3e64e10edae62cb36953c9e4eae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | exa_2_4.sce | // Exa 2.4
clc;
clear;
close;
// Given data
a= 0.85;
b= 0.00004;
c= 5*10^-5;
T1= 300;// in K
T2= 2300;// in K
gama= 1.5;// the ratio of specific heats
m=1;// in kg
delta_H= m*integrate('a+b*T+c*T^2','T',T1,T2);// in kJ
disp(delta_H*10^-3,"Change in enthalpy in MJ is : ")
// Formula delta_U= integration of... |
11410f82b3f53463fb02472f0c5a10dafefd64d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH5/EX5.11/example_5_11.sce | 3ecb536453579dd13cff2d310ea1dd0732e9673f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | example_5_11.sce | syms G1 G2 G3 G4
//for C1/R1
a=(-G2)*G3*G4
Y=G1/(1+(G1*a))
disp(Y," C1/R1 = ")
// for C2/R1
x=(-G1)*G2*G3
O= (x)/(1+(x*G4))
disp(O,"C2/R1 = ")
//for C1/R2
k=(-G1)*G2*G4
K=k/(1+(k*G3))
disp(K,"C1/R2 = ")
//for C2/R2
f=(-G1)*G3*G4
Z= G2/(1+(G2*f))
disp(Z,"C2/R2 = ")
|
e096d78051946534ecd24a264d3a97f924a6f8de | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH3/EX3.6/example6_sce.sce | 300bc12f4ce973e66b69a518950eddbdbf0d476f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | example6_sce.sce | //chapter 3
//example 3.6
//page 88
printf("\n")
printf("given")
Eo=21;Vf=.7;
t1=1.16*10^-3;t2=15.54*10^-3;
Vp=Eo+Vf
Vr=2*Vp
Il=40*10^-4;
Ifrm=(Il*(t1+t2))/t2;
Ifsm=30;
Rs=Vp/Ifsm
printf(" surge limiting resistance is %3.2fohm\n",Rs) |
d96de61cb0accc0fa98b4d1a0cda0cf2d37c3fe9 | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/imsharpen.sci | 0c8451ba5598f8b4c280995e5067a228bdcbdc17 | [] | no_license | shreyneil/FOSSEE-Image-Processing-Toolbox | f315a82c325b2d6cbd0611689f3e30071a38490d | dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56 | refs/heads/master | 2020-12-02T16:26:13.755637 | 2017-07-07T19:22:33 | 2017-07-07T19:22:33 | 96,552,147 | 0 | 0 | null | 2017-07-07T15:32:15 | 2017-07-07T15:32:15 | null | UTF-8 | Scilab | false | false | 1,085 | sci | imsharpen.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
517ef8e87120229333bf6ce5471ce7692154bb4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH9/EX9.3/ex9_3.sce | a60a4cfcf3106e84c1c8664d42345b1c8ae6c5ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | ex9_3.sce | clc;
tc=80; //temp in celcius
tf=((9/5)*tc)+32; //calculating temp in farenheit
disp(tf,"Temperature in farenheit = "); //displaying result |
23a0ab1702c21ca24ec1b7e5dc111c90694f8f8a | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/pei.tst | c1b1ad769304fb51186b91c6f234f603f76001a1 | [] | 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 | 96,064 | tst | pei.tst | –sempf ku²tsempf² V;PL;3;PST+RCT
–por ku²por¹ V;SG;1;PST+RCT
–pon i²ngwon² V;SG;2;PST+IMMED
–sa i²sa¹ V;SG;3;PST+IMMED
–ʔets ki²tits¹n V;IND;PL;2;FUT
–ppar u²ngwar¹ V;SG;1;PST+IMMED
–mben nu²mben¹mᵖ V;POT;DU;1+EXCL;FUT
–ʔi ga²ʔi¹s V;IND;DU;1+INCL;FUT
–ʔo siᵈ¹n ki¹ʔo² V;SG;2;NEG;FUT
–yuts si²yuts²n V;PL;1+INCL;PST+RCT
–... |
ff3f2b76a0e098aa51c41e967feeed9e843bfe65 | 71fc0b80f29bd03d097bc45e07b3184189b6445c | /nand2tetris/proj3/a/RAM8.tst | 5c406275ff8de74ac33c5d71c4f5b2c7f17696ed | [
"MIT"
] | permissive | ethull/university | 05441b4a74833dd9ae2f904017bfe5140461f4af | 80e00400cf06e5574f4654f51d78544a5d7f66bb | refs/heads/main | 2023-06-08T00:52:03.533293 | 2023-05-25T15:37:21 | 2023-05-25T15:37:21 | 313,761,541 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,847 | tst | RAM8.tst | // This file is BASED ON part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: project03starter/a/RAM8.tst
load RAM8.hdl,
output-file RAM8.out,
compare-to RAM8.cmp,
output-list time%S1.4.1 in%X1.2.1 load%B2.1.2 address%D3.1.3 out%X1.2... |
66d29fcaeb814ab48504be441bb271c90209b638 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH2/EX2.28/EX2_28.sce | a3909fdaedc2866e5b81c53725e37b642b415039 | [] | 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 | 1,063 | sce | EX2_28.sce | clc;funcprot(0);//Example 2.28
//Initilisation of Variables
L=0.02;....//thickness of wall in m
K=62;....//thermal conductivity of iron plate in W/m*degrees celcius
Tg=530;...//temparature of hot gas in degrees celcius
Ta=30;....//temparature of cool gas in degrees celcius
hg=100;....//heat transfer coefficient o... |
ae5d29bf413f84ba227c0b918e304d5ba5ab60c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH19/EX19.5/19_5.sce | 2a62fb5b7e2a8ebd3edcd1a06d7e9b9ff21a23a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 19_5.sce | clc
//Initialization of variables
c=0.5 //M
c1=0.000025 //M
D2=0.280
D1=0.417
//calculations
c2=D2*c1/(D1)
dC=c1-c2
SCN=c- 6*c2 -4*dC
K=dC*SCN^2 /c2
//results
printf("Kc for dissociation = %.2f M^2",K)
|
b4b78b2df7ce1dd50ff45e46360af3865ba31dc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1328/CH16/EX16.4/16_4.sce | d40926e9ac21c4c6ad63951d9135763385ab1f1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,248 | sce | 16_4.sce | printf("\t example 16.4 \n");
printf("\t approximate values are mentioned in the book \n");
T1=250; // inlet hot fluid,F
T2=100; // outlet hot fluid,F
t1=80; // inlet cold fluid,F
t2=100; // outlet cold fluid,F
W=30000; // lb/hr
w=50500; // lb/hr
printf("\t 1.for heat balance \n")
C=0.225; // Btu/(lb)*(F)
Q=(... |
9457654d66132e11013f0b5a38b1617be26abd16 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/LocalRegions/Tests/LocProject3D_Prism_Mod_Basis_P6_Q7.tst | c92a629c7ffd583f00065adf43635c3ee992329c | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 578 | tst | LocProject3D_Prism_Mod_Basis_P6_Q7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Project3D Prism Modified basis P=6 Q=7</description>
<executable>LocProject</executable>
<parameters>-s prism -b Modified_A Modified_A Modified_B -o 6 6 6 -p 7 7 7 -c 0.0 0.0 0.0 1.0 0.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.5 0.0 1.0 0.5 1.0 1.0</parameter... |
54398f1b1fadef505e27a045c9c0627ab67d4d0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH12/EX12.16/12_16.sce | 3ae63bd2620c56c728257fa115e6faf7b010713a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 923 | sce | 12_16.sce | //To find teeth, distance and efficiency
clc
//Given:
L=400/1000 //m
G=3
theta=50, phi=6 //degrees
pN=18 //mm
//Solution:
//Number of teeth on each wheel:
//Calculating the spiral angles of the driving and driven wheels
alpha1=theta/2 //degrees
alpha2=alpha1 //degrees
//Calculating the number of teeth on dr... |
5fa36d0dc9b5ddcf39587796c1a489968f347757 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH6/EX6.4.3/Ex6_4_3.sce | b6337abad6c5f71eb97cc1cb74683878cea067c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_4_3.sce |
clc
//Initialzation of variables
kb = 1.38*10^-16 // g-cm^2/sec^2-K
T = 373 // K
T0 = 273 // K
sigma = 2.83*10^-8 // cm
p = 1.01*10^6// g/cm-sec^2
l = 0.6 // cm
d = 13*10^-7 // cm
m = 2/(6.023*10^23)// gm/sec
M1 = 2.01
M2 = 28.0
sigma1 = 2.92//cm
sigma2 = 3.68//cm
sigma12 = (sigma1+sigma2)/2
omega = 0.8... |
35c7d89e2e8581b558980b75373d4eb6cfb4cecf | 2eac84edf941c64588fef76f10d02309aabcb2fb | /System/Scilab/Scripts/createAllLibraryIcons.sci | a3f696bc5ce05f387114ed4ddbc399d7481bb439 | [
"BSD-3-Clause"
] | permissive | AlexisTM/X2C | fdd93bd33b931ea448ba516f5e3f9af6a5149a6a | 31f39b598afe271a7fd46ef1ee9e06c410b1120c | refs/heads/master | 2021-08-07T04:26:24.391617 | 2017-11-07T14:34:33 | 2017-11-07T14:34:33 | 109,844,123 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,650 | sci | createAllLibraryIcons.sci | // Copyright (c) 2017, Linz Center of Mechatronics GmbH (LCM) http://www.lcm.at/
// All rights reserved.
//
// This file is licensed according to the BSD 3-clause license as follows:
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followin... |
53cd29c76839d16a6fcd48bb97020c0a589a7ede | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH9/EX9.6/Example9_6.sce | 4179e61b5565617c350ee903d9742b444133a1c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | Example9_6.sce | //Chapter-9,Example9_6,pg 9_25
P=4
A=P
No=1000//speed of motor
Z=540
V=230
phi=25*10^-3//flux(In Wb)
Ra=0.8
Ebo=phi*P*No*Z/(60*A)//induced e.m.f
Iao=(V-Ebo)/Ra//armature current
SL=Ebo*Iao//stray losses
wo=2*%pi*No/60//angular velocity
Tf=Ebo*Iao/wo//loss torque
printf("induced e.m.f\n")
printf("Ebo=%.f V... |
a36ecc3956709986e5fdf373307df0e644737d82 | 19e7b2a92e135cbdbd427cbb0b422f1706b80d35 | /tests/stidp-force.tst | 7873ffa493cf3afa02770a2533fa23a2907e108a | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | friedkiwi/hyperion | 08106d9235c67480b609452903d7f253f7baeb5f | d0ccfbc9a74dd0a77a75ac224025fc68f6a6617f | refs/heads/master | 2023-03-16T08:26:25.222250 | 2022-01-06T23:54:32 | 2022-01-06T23:54:32 | 142,925,136 | 0 | 1 | NOASSERTION | 2021-09-12T21:15:38 | 2018-07-30T20:31:06 | C | UTF-8 | Scilab | false | false | 584 | tst | stidp-force.tst | *Testcase cpuverid FORCE (z/Arch LPAR FMT-0)
cpumodel 4444
cpuserial 666666
sysclear
archlvl z/Arch
cpuverid C8 FORCE
lparnum 9
cpuidfmt 0
r 1a0=00000001800000000000000000000200 # z/Arch restart PSW
r 1d0=0002000180000000000000000000dead # z/Arch pgm new PSW
r 200=b2020208 ... |
b1ac555ad35776b4b076dda744850baf4109a60f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH7/EX7.1/Ex7_1.sce | 28938a6935e37df7072c849896f1b5e28d2299e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | Ex7_1.sce | clear
//
//
//
//Variable declaration
chi=-0.4*10**-5 //magnetic susceptibility
H=5*10**5 //magnetic field intensity(amp/m)
mew0=4*%pi*10**-7
//Calculation
B=mew0*H*(1+chi) //magnetic flux density(wb/m**2)
M=chi*H //magnetic moment(A/m)
//Result
printf("\n magnetic flux density... |
766780f3208a70bc733979e9aff217a56a3ed6d1 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_ods_7_a.tst | 425e2d90245c4317e3372f58e4fcc4b905def7da | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 205 | tst | test_ods_7_a.tst | begin transaction (level = 1)
begin transaction (level = 2)
rollback transaction (level = 2)
begin transaction (level = 2)
rollback transaction (level = 2)
commit transaction (level = 1)
xxx#0
xxx#1
xxx#2
|
985a9bab12a23a4a5ac72c34f03536b5c75df350 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.12/Ex9_12.sce | 9a29fa9eb967d232b97ce527ec100e9628ffb1bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | Ex9_12.sce | //Example 9_12 page no:364
clc;
Zreal=4;
Zimg=3;
Vl=400;
Il=12;
Zph=sqrt(Zreal^2+Zimg^2);
PF=Zreal/Zph;
sinpi=0.6;
Active_power=sqrt(3)*Vl*Il*PF;
Reactive_power=sqrt(3)*Vl*Il*sinpi;
Apparent_power=sqrt(3)*Vl*Il;
disp(Active_power,"the active power is (in W)");
disp(Reactive_power,"the reactive power is (in... |
ef389f7f2fb5657be128889d4957ec848ba70baa | 984eb42b786cbcd713b20a3494373ae93604b5c5 | /Sandbox/test1.tst | db4a5f842c2e7e0e1a18db356533b4fd6d445c88 | [
"MIT"
] | permissive | patch72/Logger | ad763c7d531cd4841baf87058205301cdb32f408 | a5d8db43e6cbed422be2219935e541855fa305a5 | refs/heads/master | 2022-01-22T05:08:25.602725 | 2022-01-01T08:30:38 | 2022-01-01T08:30:38 | 189,538,595 | 2 | 0 | null | 2019-05-31T06:17:47 | 2019-05-31T06:17:46 | null | UTF-8 | Scilab | false | false | 632 | tst | test1.tst | PL/SQL Developer Test script 3.0
16
--clear screen
--set serveroutput on size unlimited
declare
begin
logger.set_level(p_level => 'ERROR');
for indx in 1 .. 100 loop
logger.log(p_text => 'Debug message '||to_char(indx), p_scope => 'Anonymous');
logger.log_information(p_text => 'Information message '||to_c... |
3a3a4109cc485f8bf19581542e7831e55abfa502 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH8/EX8.5/Ex8_5.sce | eb12e55497af87d8315958cb5b564e4831b09514 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,565 | sce | Ex8_5.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 8 Power Amplifiers Pg no. 277,278 and 279
clear;
clc;
//Given Data
//Figure 8.13
VCC=20;//collector supply voltage in volts
RC=270;//collector resistance in ohms
RE=150;//emitter resistance in ohms
R1=3.3D3;//divider network resistance R1 in ohms
R2=1.5D3;//... |
d65d0a6c210d275bb847bc8e34b2ec88277e851c | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/SURPRISE-LANGUAGES/Romance/cat.tst | ed61c00769a54c326c6cf9c449e450b709422874 | [] | 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 | 371,691 | tst | cat.tst | abominar V;PFV;IND;SG;1;PST
destriar V;PFV;IND;SG;1;PST
distingir V;SBJV;PL;1;PRS
malparlar V;IND;PL;1;FUT
cerndre V;SBJV;SG;3;PST
violar V;PFV;IND;PL;1;PST
demostrar V;IMP;PL;1;POS
universalitzar V;SBJV;PL;3;PST
mocar-se V;IND;SG;2;PRS
falsificar V;IND;PL;3;FUT
detectar V;SBJV;SG;1;PRS
dutxar-se V;IND;SG;1;FUT
matar V... |
0c61318d9ea7512f0f3ffa60974f8e4327c00561 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH3/EX3.2.8/exa3_2_8.sce | 15032561900aee1246b6ebd19ade77133a02e6fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | exa3_2_8.sce | //Caption:transfer_function
// example 3.2.8
//page 41
// we have defined parallel and series function which we are going to use here
//exec parallel.sce;
//exec series.sce;
syms G1 G2 G3 G4 G5 H1 H2;
//shift the summing point before block G5 towards left of block G5
a=G2*G5;
b=G4/.H1;
c=series(G5,H2);
d=ser... |
de287ba7c798e2367429d52d42221ffb757c208e | 39ae3a0860e66749f94b889f0c286e6903457911 | /.ipynb_checkpoints/OHS-checkpoint.sce | e6fe6cfd25c9cb847c2b8e114258691375135544 | [] | no_license | IgorLim98/Projeto-REA | 1215a2705317add4fa6849ae00ae8adf25657519 | 67fcaae58e7c51154d1f8e43716b209baffecde9 | refs/heads/main | 2023-05-18T16:51:48.726045 | 2021-06-08T18:33:04 | 2021-06-08T18:33:04 | 362,553,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,247 | sce | OHS-checkpoint.sce | //Resolução da equação de movimento para OSCILADOR HARMÔNICO SIMPLES
//A equação é: X''(t) = -(k/m)X(t) uma edo de 2ª ordem
//Parâmetros do problema
//m = 1kg; K = 1N/m;
//Intervalo de tempo = 0 à 40 segundos
// deslocamento da mola incialmente é 0.20 metros
// velocidade no instante t = 0 é 0 metros/segundo
clear... |
2d142e84d52ad11d075ceed9ec4e8d676a96051d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH5/EX5.1/Ex5_1.sce | ff977a7fa2a68006744ef391e9a30e3d854f9944 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | Ex5_1.sce | //Ex5_
clc
Vm = 24
RL = 1.8*10^3
Im = Vm/RL
Irms = Im/2
Idc = Im/(%pi)
r = ((Irms/Idc)^2 - 1)^.5
disp("Vm = "+string(Vm)+"V")//applied voltage to half wave rectifier
disp("RL = "+string(RL)+"ohm")//load resistance
disp("Im = Vm/RL = "+string(Im)+"A")//peak current
disp("Irms = Im/2 = "+string(Irms)+"A")//rms... |
e15ff6f63598b9457a1bc3d6772cad3c779603ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH9/EX9.10/9_10.sce | f0bb029c77495589b9adb06edd9b4899a38c2a21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | 9_10.sce | //clc();
clear;
//To determine the polarisability of He and its relative permittivity
R=0.55*10^-10; //radius of He atom in m
N=2.7*10^25; //density in atoms/m^3;
epsilon0=8.85*10^-12;
alphae=4*%pi*epsilon0*R^3;
printf("polarisability in Fm^2 is ");
disp(alphae);
epsilonr=((N*alphae)/epsilon0)+... |
c29c8d8c91a802f39004ae4d076320775cd8bee0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH4/EX4.15/Ex4_15.sce | 03e7033510f03e9901787f9112a1f93b068744f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | Ex4_15.sce | //Caption: Signal to noise ratio
//Example 4.15
//page no 188
//Find signal to noise ratio
clear;
clc;
fs=64*10^3;
fm=2*10^3;
fM=4*10^3;
SNR=(3*fs^3)/(8*%pi^2*fm^2*fM);// Signal to noise ratio
SNRO=10*log10(SNR)
disp("dB",SNRO,"Output signal to noise ratio =");
|
94e84df6ae7f968ce01a8785cb41a64baabbe8a8 | affb43e91a6a0cac39356ff1c5f9f5154b70a4a2 | /FFT/DFT_manual.sce | b5a1d620991cc8f4f7b0ae48791ec60cb71b482f | [] | no_license | kathan-shah99/Digital-signal-processing | 87fb0615a98a764c546681ffb18fea32d69caa6d | 3d5ad3553152a2b57f98a3b1a26756ebca37d7bc | refs/heads/main | 2023-04-07T06:53:06.263109 | 2021-04-07T03:57:52 | 2021-04-07T03:57:52 | 355,397,284 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | DFT_manual.sce | //---Author :Kathan-shah-----
clc
clear
a = [1 2 3 4 5]
//------------------------Manual-FFT-----------
function [final]=FFT(x)
N = length(x)
for k=0:N-1
y = 0
for j=0:N-1
y = y + (x(j+1)*(exp(((-2*%i*%pi)*(k*j))/N)))
end
final(k+1) = y'
end
endfunction
disp(inc)
DFT = FFT(a)
disp("Manual... |
be8c8f28a2391b28b39715ca9b8c36e5c064333f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.79/Example1_79.sce | 33031c894a35579471ea137d3ca9658856b2ee0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example1_79.sce | // Example 1.79
clc;clear;close;
// Given data
format('v',6);
P=16;//no. of poles
f=50;//in Hz
Z2=0.02+%i*0.15;//in ohm
Nr=360;//in rpm
//calculations
Ns=120*f/P;//in rpm
Sfl=(Ns-Nr)/Ns;//slip at full load
R2=real(Z2);//in ohm
X2=imag(Z2);//in ohm
Sm=R2/X2;//slip at max torque
Nm=(1-Sm)*Ns;//in rpm... |
4e7c42418d0d645b7d931e97e26f260d850edfaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH13/EX13.1/Ex13_1.sce | a753815e7da570b40cd6a8812a0010b047da3614 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,203 | sce | Ex13_1.sce |
// Variable Declaration
kv_gA = 11.0 //Voltage rating of generator A(kV)
MVA_gA = 40.0 //MVA rating of generator A
x_gA = 0.12 //Reactance of generator A(p.u)
kv_gB = 11.0 //Voltage rating of generator B(kV)
MVA_gB = 20.0 //MVA rating of generator B
x_gB = 0.08 //Reactance of ... |
a677359c5d09858f94433b3031373cfcd5cb9bed | 0aec733f491e323ee4095172863390d8a700f001 | /appendix_a/MyXor.tst | 76063fcfcecf270fc796e7db4637d465d51fdaa5 | [] | no_license | bkc-tomi/elements_of_computing_systems | 1b8fb337cf79310c650220c1ff3a14b392aa0812 | c4ad16fb591ec0ba7087f47ef9408b7bdbcaaa2e | refs/heads/main | 2023-01-19T14:41:26.245450 | 2020-11-21T08:33:49 | 2020-11-21T08:33:49 | 312,721,188 | 0 | 0 | null | 2020-11-21T08:33:50 | 2020-11-14T01:21:11 | Scilab | UTF-8 | Scilab | false | false | 187 | tst | MyXor.tst | load MyXor.hdl,
output-file MyXor.out,
output-list a b out;
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; |
492b1ee883b2be6e00fee14fb69a438e85255a28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3369/CH16/EX16.8/Ex16_8.sce | 94475426ebb23fa4b46a5e8517e24ea70e76f6c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | Ex16_8.sce | //Chapter 16,Example 8,page 562
//Determine the circuit efficiency
clear
clc
C1 = 0.125*10^-6 // F
C2 = 1*10^-9 // F
T2 = 2500
T1 = 250
// Bsaed on Figure 16.12
T2T1 = T2/T1
a = 4 // alpha
theta = T2/6
// From table 16.1
X = (1/a^2)*(1+C2/C1)
R1 = (a*theta*10^-6/C2)*(1-sqrt(1-X))
R2 = (a*theta*10^-6/(C1+C2))*(1+sqrt(1-... |
df949ce50e3c58572cf22e96ce4cb8bb1f867ff4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH13/EX13.13/Ex13_13.sce | 026947f090756dcd7375d25f4ac69fbcfe7e4e90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sce | Ex13_13.sce | clc
clear
//DATA GIVEN
Ta=40; //number of teeth of gear A
Tb=100; //number of teeth of gear B
Tc=50; //number of teeth of gear C
Td=150; //number of teeth of gear D
Te=52; //number of teeth of gear E
Tf=130; ... |
b1a2d61dae77ce8a4920e924a140470f8677ed88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH4/EX4.27.i/Ex4_27i.sce | 22a878f32037ef1fca1680bc596e253a63e6ca2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | Ex4_27i.sce | //Caption:Normalized power
//Example 4.27.i
//page no 200
//Find Normalized power for quantization noise
clear;
clc;
fm=3*10^3;
v=8;
VH=5;
VL=-5;
q=2^v;
del=(VH-VL)/q;
Nq=del^2/12;//quantization noise
disp("W",Nq,"Normalized power for quantization noise")
|
5332bae1a1aac9bee7b30cddacf983fa0e79e937 | 25ec4bae7c1d991a8b4f36a96650a07061417648 | /Exemplos/exemplo07SegueFaixa/turnRight.sce | 407ae51e67735106f89f6c045a14017eb4724ef9 | [] | no_license | OtacilioNeto/EV3MicroPythonExamples | 716f76e4179d98157577d68b116a33a078aed085 | 037af9585402fe294d3c82d3b7d88cb49bc26bcf | refs/heads/master | 2023-06-08T19:34:49.916922 | 2023-06-02T13:24:10 | 2023-06-02T13:24:10 | 226,492,496 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,773 | sce | turnRight.sce | // Red Green Blue Red Green Blue
turnRight = [
29 41 60 29.42 42.81 59.66;
29 41 60 29.42 42.81 58.27;
29 41 60 29.42 42.81 59.66;
29 41 60 29.42 42.81 59.66;
29 41 60 29.42 42.81 59.66;
29 41 60 29.42 42.81 59.66;
29 41 60 29.42 42.81 59.66;
29 41 61 29.42 42.81 59.66;
29 41 60 29.42 42.81 59.66;
29 41 60 29.42 42.81 ... |
6120f28050b81aed0e02acb09fe9dadfedb5b59b | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/scicos/do_ccomlink.sci | 18bbefac77900be8afabe1a6a7b243090c29cba0 | [
"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 | 1,278 | sci | do_ccomlink.sci | function [ok]=do_ccomlink(funam,txt)
// Copyright INRIA
if stripblanks(funam)==emptystr() then
ok=%f;x_message('sorry C file name not defined');return
end
if getenv('WIN32','NO')=='OK' & getenv('COMPILER','NO')=='VC++' then
out_f = strsubst(TMPDIR,'/','\')+'\'+funam+'.c';
host('del '+ out_f);
else
unix_s('\rm... |
c00d283d309767ac3d468eac19e2e6ff12c09b3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH4/EX4.2/Exa4_2.sce | a4acc68f2ac71f6ccfa88ca76a86d3814e982964 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | Exa4_2.sce | //Exa 4.2
clc;
clear;
close;
//Given data :
Beta=2.5;//in degree
f=3600;//in PPs
Resolution=360;//in degree
disp(Resolution,"Resolution : ");
Beta1=Resolution/Beta;//steps/revolution
disp(Beta1,"Steps per revolution : ");
n=Beta*f/360;//in rps
disp(n,"Steps required for making 25 revolution(in rps) : "); |
22e975c41ee0a5486f9803347ee535683cf0ff46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH3/EX3.12/Chapter3_Example12.sce | b9f2519e7954fce066b0c85fc12115268cbe547b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | Chapter3_Example12.sce | clc
clear
//INPUT DATA
//callender and barnes continous flow method
V1=3;//potential difference in v
V2=3.75;//potential differnce in v
i1=2;//current in amp
i2=2.5;//current in amp
T=2.7;//the rise in temperature of the water in deg.C
m1=30;//water flow rate at 3 volts in gm/min
m2=48;//water flow rate at... |
68d7b084cbd1bc9d2900ad6d6404187d479fa850 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH24/EX24.7/24Ex7.sce | 17ea2f41ba9e586336fbb88b31b404a7832986da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | 24Ex7.sce | //Chapter 24 Ex 7
clc;
clear;
close;
l=110; b=65; w=2.5; cost=80;
A1=l*b; //area of plot
A2=(l-2*w)*(b-2*w); //area of plot excluding path
A3=A1-A2; // area of path
CP=A3*(cost/100);
mprintf("The cost of gravelling the path at 80 paise per sq. metre is Rs.%d",CP); |
1b860816318df590778a4f1614eb5731ed0a66e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH3/EX3.13/EX3_13.sce | a30a6582e714d82c7267fc6fec93273c218aa844 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 672 | sce | EX3_13.sce | //example 3.13
//Represent the sequence as sum of shifted unit impulse.
clear ;
close ;
clc ;
t= -1:1:4;T=3;
x=[3 2 -1 2 4 1];
for i =1: length (t)
if modulo(t(i),3)==0 then
h(i)=1;
else
h(i)=0;
end
end
y = convol(x,h);
//figure
f=scf(0);
plot2d (t,h)
xtitle ( ' Input Re spons e ' , ' t... |
e490588695e4625f9266a117aef024b0df3ab540 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH3/EX3.1/pe3_1.sce | 355b2e35d765fc71bd27da9aa5efe8e8b3631ea7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | pe3_1.sce | //example 3.1
clc; funcprot(0);
// Initialization of Variable
Ip=3;
f=150000;
t=5e-6;
//calculation
T=1/f;
It=Ip/T;
disp(It/1000,"ramp current in kAt/s")
I5=It*t;
disp(I5,"current at 5 micro sec in A")
clear()
|
ee3e9b4b72830c3bc401c4405a16ec568b8e93b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH4/EX4.3/4_3.sce | 205b6ce0554bdcbe243d25640eebbb1de2dff5b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | 4_3.sce | clear; clc; close;
Vce = 16;
Ic = 10*10^(-3);
Vbe = 0.7;
Ib = 25*10^(-6);
Vcc = Vce;
Rc = Vcc/Ic;
Rb = (Vcc-Vbe)/Ib;
disp('At Q-point')
disp(Vcc,'Value of Vcc(Volts) is :');
disp(Rc,'Value of Rc(ohms) is :');
disp(Rb,'Value of Rb(ohms) is :');
|
b9430014f8d3e297ea247909aabafea4e3da2ed5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/DEPENDENCIES/phase_shift.sci | 3c9a653cbf2d6a3cf4e30ca357c2fca4d129d8e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 106 | sci | phase_shift.sci | function theta=phase_shift(f,f_c)
theta_rad=-atan((f/f_c))
theta=theta_rad*180/%pi;
endfunction |
e18cc1ab1e9bf782c829cc05a4ef6b4c0bb17b2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH6/EX6.4/Ex6_4.sce | ed7cb0f4c000d350f359b355a65d3f41318e7ffa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sce | Ex6_4.sce | //Chapter-6, Example 6.4, Page 238
//=============================================================================
clc;
//Input parameters
a1=32*10^-3;//power in watts
a2=0;
a3=0;
//Calculations
[S]=[0.5,-0.5,0.707;-0.5,0.5,0.707;0.707,0.707,0];//S-matrix for H-plane tee
//[B]=[b1,b2,b3]
[B]=[S].*[a1,0,0;0,0,... |
5bcd6bcd1b66a0ae81b23d694887e927a54efe74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH6/EX6.10.2/Ch06Exa6_10_2.sci | 005e8f393a1b3743f71c4632051691cdde4a0af9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sci | Ch06Exa6_10_2.sci | // Scilab code Exa6.10.2 : To calculate the radius of proton orbit in synchrotron of given energy Page 275(2011)
c= 3e+08; // Speed of light in vacuum, m/s
q = 1.602e-019; // Charge on proton, coulomb
amu = 931; // Energy equivalent of 1 amu, MeV
m = 938; // Rest mass of a proton, MeV
KE = 12e+03; // Kinet... |
84dafcce39a5f7d03569f227d56c0316525808e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH8/EX8.14/14.sce | 96f774f90a421c42f7edc9c627ba459aa5c84248 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sce | 14.sce | clc
p=200*10^5; //Pa
pc=73.86*10^5; //Pa
Tc=304.2; //K
pr=p/pc;
Z=1;
Tr=2.48;
T=Tr*Tc;
disp("Temperature =")
disp(T)
disp("K") |
f9b83ffccd46485c94bd271bdac62954149099e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH3/EX3.12/3_12.sce | faa6c343ab8b7bc79367b8f276f77bd9308319e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | 3_12.sce | clc;
p=15;//bar
V=6;//m^3;
R=0.287;
T=313.5;
y=1.4
m=p*V/(R*T);
p2=12;//bar
T2=T/[(p/p2)^((y-1)/y)];
m2=p2*V*10^5/(R*T2*10^3);
disp("mass of air left");
disp("kg",m2)
|
d252aeaec3258e37ff7a429671df5158a4c8a228 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH14/EX14.10.5/EX14_10_5.sce | 01ba32b837a0c05fb2a73747a642d19f4d115f41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | EX14_10_5.sce | //Example No. 14.10.5
clc;
clear;
close;
format('v',6);
ht=100;//m(transmitter height)
d=4.12*sqrt(ht);//km(Horizon distance)
disp(d,"Horizon distance in km : ");
|
780524e6f0eb1096bafdd2cd31c1a6479916201f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH10/EX10.20/Ex10_20.sce | e5aa9039188514ec292bbeeab28fe000194e9629 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | Ex10_20.sce | //EX10_20 PG-10.67
clc
printf("\n Vo = -(0.1V1 + 0.5V2 + 20V3)\n\n")
Rf=10;//we assume feedback resistance to be equal to 10kohm
R1=Rf/0.1;//Rf/R1=0.1 given
R2=Rf/0.5;//Rf/R2=0.5 given
R3=Rf/20;//Rf/R3=20 given
printf(" R1= %.0f kohm R2= %.0f kohm R3 = %.0f ohm\n",R1,R2,R3*1e3)
printf("\n The circuit design i... |
ed67ae70de090e188446a32c7f961a0482bcd1d3 | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH3/EX3.5/ex3_5.sce | 5732f3627eb066f647d233d8e35420409989853e | [] | 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 | 136 | sce | ex3_5.sce | Vc=160;//given carrier voltage
Vi=80;//given intelligence voltage
m=Vi*100/Vc; //modulation factor
disp(m,'modulation factor is=');
|
2fa591d4a971c2fe0038b7e3d45b80aaacd1f3ad | 92c39b1bfa02d70fb861a7fa8c907a2a24613ebf | /Rmat.sci | 38e32b2e019b05c3f328a1bf10199da8df0644fa | [] | no_license | UTEC-mateIII/TAP-2 | 7e9d8aba21430ef00987dbf14418444f27cd20e7 | faeae752299402b9c7f43c37cf7d62b6a0daa42d | refs/heads/master | 2022-06-29T17:15:47.667656 | 2020-05-04T23:56:57 | 2020-05-04T23:56:57 | 260,448,794 | 0 | 2 | null | 2020-05-01T14:16:39 | 2020-05-01T12:00:47 | null | UTF-8 | Scilab | false | false | 651 | sci | Rmat.sci | // Alberto Oporto Ames 100%
// Una función para una función el ejercicio R
function [R] = Rmat(u, theta)
R = zeros(3,3)
ux=u(1)
uy=u(2)
uz=u(3)
R(1,1) = cosd(theta) + ux^2*(1-cosd(theta))
R(1,2) = ux*uy*(1-cosd(theta)) - uz*sind(theta)
R(1,3) = ux*uz*(1-cosd(theta)) + uy*sind(thet... |
a209cfebda2026477385c39ea5bd878152bd5dcb | e3c27edbd2f0a8e733cee84b90a906c0a6d7c176 | /sem_3/c/ljudge/2.tst | 9e76f081585247dd37a54e435b659a0bb4b9a33e | [] | no_license | dmitryhd/dmitryhd_code | c32223da5506156a068bbb0f20ad4cd06fdf2166 | 5173f6f74d4fa1c9c5fba9ffc4fc9134c56f4b0c | refs/heads/master | 2021-01-17T11:56:50.221745 | 2011-04-26T18:31:58 | 2011-04-26T18:31:58 | 1,650,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14 | tst | 2.tst | 12 123 -13 -1
|
dfa241072c90c3223f44d9a50a41bfaccf171298 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH10/EX10.10/Ex_10_10.sce | 23f8f1257e18028652e2173f57214c8caa1c7ad2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | Ex_10_10.sce | // Example 10.10;//threshold quantum limit
clc;
clear;
close;
e=1.6*10^-19;
R=0.5;//responsivity in amper per watt
n=1;//efficiency for idea case
ht=6.62*10^-34;//plank constt.
f=3*10^14;//frequency in hertz
R=35;//mega bits per second
h=0.50^-6;//wavelength in metr
BER=10^-7;//bit error rate
Zm=-(log(BER))... |
8ec4e4f1594e46225cb00189610c929e2357b197 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.36/2_36.sce | a9c0ecb1d241f1a485489f4f53b06c0fc1dfca3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | 2_36.sce |
clear;
clc;
//Example 2.36
//Calculate the heat loss per metre of pipe and outer surface temperature
//Given
k=1 //Thermal conductivity in [W/sq m.K]
h=8 //Het transfer coeff in W/sq m.K
rc=k/h //Critical radius in m
T1=473 //K
T2=293 //K
r1=0.055 //Outer radius =inner radius in [m]
Q_by_L=2*%pi*(T1-T2... |
ed3903f48febbe000db46a59de7600fa370e8b54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH10/EX10.13/example13_sce.sce | 9aef045072a59d0daa2fb48809ff8e1b42cc6805 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | example13_sce.sce | //chapter 10
//example 10.13
//page 373
Vref=7;Vsense=.65;
Voutmin=9;Voutmax=12; I1=.5;Imax=150*10^-3;
R2=10*10^3;//let assume
//(R1+R2)/R2=Vout/Vref-----------eq(1)
R1min=2*R2/7;
disp(R1min)
Voutmax=12
R1max=5*R2/7;//using eq (1)
disp(R1max)
Rsc=Vsense/I1;
disp(Rsc)
R3=(R1max*R2)/(R1max+R2)
Bmin=I1/Imax;
disp(Bmin) |
be24e561f42cf99baf4f9df8cdf0187cbafcd9d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH4/EX4.2/Exmp4_2.sce | 8d3506d8654fc95bb33bb41c31d20e22256a86a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | Exmp4_2.sce | //Example 4.2
clc
ft=25*2
format(3)
disp(ft,"(i) f_T(in MHz) = |A_i|*f =")
hfe=50000/200
format(4)
disp(hfe,"(ii) h_fe(in kHz) = f_T / f_beta =")
disp("(iii) |A_i| = h_fe / sqrt(1+((f/f_beta)^2)) =")
disp("At f = 10 MHz")
ai=250/sqrt(1+(((10*10^6)/(200*10^3))^2))
format(2)
disp(ai,"|A_i| =")
disp("At f =... |
77ddfaa18963d5de414f261df2438162e8e848cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH9/EX9.2/Ex9_2.sce | 7c76719af18cb91fef5aec2c974e6781cdc066db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 985 | sce | Ex9_2.sce | //Book - Power system: Analysisi & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J.Overbye
//Chapter-9 ;Example 9.2
//Scilab Version - 6.0.0; OS - Windows
clc;
clear;
Xn=0.05 //motor neutral is grounded through reactance in per unit
Sb=100 ... |
10289b8a14fb833da6b4397be52f3d8a50e6573b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH9/EX9.1.A/additional_ex_1.sce | d8a1f5cb75f1da4085b89afc39b63d02ef8bded3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | additional_ex_1.sce | clc;
clear;
P_white=5/8; //P(ball is white)
//white ball is removed,the remaining balls are four white and three green
P_green=3/7; //P(ball is green)
P_tot=P_white*P_green;
disp(P_tot," Desired Probability using multiplication theoram=")
|
f26a8ba4f2ed01d6cc7581bd132f5c02aeb7e4cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH4/EX4.3/Ch04Ex3.sce | e4e590706135e59b596bb5d30823f52305c91165 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch04Ex3.sce | // Scilab Code Ex4.3 : Page-4.14 (2004)
clc;clear;
function thet = degree_minute (d, m)
thet = d + m/60;
endfunction
degr = 8, minutes = 35; // Given glancing angle, degrees-minutes
theta = degree_minute (degr, minutes); // Convert degree-minutes to degrees
d = 0.282; // lattice spacing for NaCl c... |
5e52793fe6f757dd2380250d3ede141aa824a8f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH9/EX9.10/Example9_10.sce | bcadf9611ce45c4ffcbe57128cad168ec6ad18c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 713 | sce | Example9_10.sce | //Example 9.10. refer fig.9.54
clc
disp("We know that IB = VCC-VBE / RB+(1+beta)*RE")
format(5)
IB=((15-0.7)/((75*10^3)+(101*910)))*10^6
disp(IB,"Therefore, IB(uA) =") // in uA
disp("IE = (1+beta)*IB = 8.57 mA")
disp("The dynamic resistance is")
re=0.026/(8.57*10^-3)
disp(re," re(ohm) =") // in ohm
disp... |
1cb317882f7b256630ed3548029091a56f95b225 | 449d555969bfd7befe906877abab098c6e63a0e8 | /413/CH9/EX9.5/Example_9_5.sce | 41801f5556b04442bf4c759ca98ecf6991d600e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 943 | sce | Example_9_5.sce | clc
clear
//printf('(Solve the equation y''-(x+1)y=e^-x(X^2-x+2), with Neumann boundary conditions y'(2)=0, y'(4)=-0.036631)')
printf('\n Augmented matrix')
P=[2.542 -1.729 0 0 0 0.127
-1.729 5.167 -1.688 0 0 0.236
0 -1.688 5.333 -1.646 0 0.199
0 0 -1.646 5.5 -1.604 0.163
0 0 0 -1.604 2.792 0.072 ]
disp(P... |
5ee40fa95d12b80845d5d4276f390f3faec68344 | bae098aa91588d492ec8bb4c76c274001c27cfe7 | /simple3.tst | b5545710b5940d7fdfe06b119b043d939c26d803 | [] | no_license | i5-2/pentium-dual-core | 1e7abb217972ec468b54eee6fa077dc6eec1875d | e56c0a450666ddd15e99a351d9335952b29431e6 | refs/heads/master | 2020-04-20T21:55:34.594056 | 2019-02-26T16:52:19 | 2019-02-26T16:52:19 | 169,122,993 | 0 | 0 | null | 2019-02-25T18:36:58 | 2019-02-04T18:01:59 | Python | UTF-8 | Scilab | false | false | 100 | tst | simple3.tst | timelimit 5
boardsize 10
play b A4
play b A5
play b A6
play b A8
gogui-rules_board
genmove b
#?[A7] |
0bbeb752ac37fb27bdafee4646ccf9c0d76e2091 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Pinball Machine Tracking.sce | 2d4374715ff74a372c93a927aab9f153a0e4876c | [] | 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 | 59,647 | sce | Pinball Machine Tracking.sce | Name=Pinball Machine Tracking
PlayerCharacters=Alcove_Player
BotCharacters=QuantizBot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Alcove_Player
AddedBots=QuantizBot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=Pinball_Machine.map
MapScale=3.8125
BlockProjectilePredictors=true
BlockCheats=tru... |
0d601a2083947e1e2bed31031a8e2159e9bc9f1d | c247bce84b3facd1a13b48e7417327c40c8b3898 | /FOPID/fotf.sci | 65fe50bea41c48ce727d2ba12f517a7183e83d4f | [] | no_license | AstroSayan/FuzzyFOPID | 9de9fa761301da6ae1f5dfe7b8e7e8214f3b472b | ea0e31e8fa0b36e407de9dfa466cf46b583e4103 | refs/heads/main | 2023-04-26T19:18:30.590337 | 2021-05-13T18:27:32 | 2021-05-13T18:27:32 | 367,137,779 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sci | fotf.sci | function G=fotf(n,np,d,dp,f,N,w)
s=poly(0,'s'); s=syslin('c',s/((0*s)+1));
[nr,nc]=size(n);[npr,npc]=size(np);
[dr,dc]=size(d);[dpr,dpc]=size(dp);
Gnum=0;Gden=0;
exec('C:\Users\SAYAN\Documents\FuzzyFOPID\fod.sci');
if nc==npc & dc==dpc then
for i=1:nc
npTemp(i)=fix(np(i));
np(i)=np(i)-npTemp(i);
Gnum=Gnum+n(i... |
ee497b057574cce70fa9cf31f8f4bfa9492546cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH1/EX1.16/16.sce | f425c5afc5b1cfb5d21e752270db5e72f7fee068 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | 16.sce | clc
clear
//INPUT DATA
V=120000//Volume of the hall in m^3
T=1.55//The reverberation time in sec
S=26500//The total absorbing surface in m^2
//CALCULATION
TaS=(0.167*V)/T//The average absorbtion coefficient in sabine-m^2
a=(TaS/S)//The average absorbing power of the surface in sabine
//OUTPUT
printf('The ... |
30298f9639a8c00908a136d9550cf3d7c630aa6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH5/EX5.20/5_20.sce | d9f0682ad0e9eb20afa282199b9f886ebf01b407 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | 5_20.sce | clear; clc; close;
Vcc = 18;
Vbe = 1.6;
Rb = 3.3*(10^(6));
Re = 390;
Beta = 8000;
Ib = (Vcc-Vbe)/(Rb+(Beta*Re));
disp(Ib,"Ib :");
Ie = (Beta+1)*Ib;
disp(Ie,"Ie :");
Ve = Ie*Re;
disp(Ve,"Ve :");
Vb = Ve+Vbe;
disp(Vb,"Vb :");
disp(Vcc,"Vc :");
|
a484a6e1e0b0d2966104e9b851e8e8a5fd437887 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH1/EX1.5/ex_1_5.sce | b855ff845be30f2f4d2b24f7fde415524a8a19b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_1_5.sce | //Example 1.5 // distance between coherent source
clc;
//given data :
b=9.424D-4;//fringes width in m
w=5890D-10;// wavelength in m
a=0.05;// distance between source & prism in m
c=0.75;// distance between prism & screen in m
D=a+c;//distance between source and screen in m
d=(D*w)/b;//distance between coherent ... |
19691d331e33e290f965f043b6db0b842ffd5ff3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH11/EX5.b/ex_5_b.sce | e2ea95208c98382530a734c63904ba7afb295e70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | ex_5_b.sce | // Example 5(b): power absorbed
clc;
clear;
close;
v=400;//V
po=15;//kW
nfx=1440;//rpm
f=50;//Hz
z2=0.4+%i*1.6;//ohm
p=4;//
x=120;//Hz
ns=((x*f)/p);//rpm
s=((ns-nfx)/ns);//slip
ns1=(x*x)/p;//rpm
nfl1=(1-s)*ns1;//rpm
disp(nfl1,"full load speed is ,(rpm)=")
sm=real(z2)/imag(z2);//slip
disp(sm,"slip is,=")
tfy=((po*10^3)/... |
8e6cf0cd9296fd99521faa4d4b6a1f8afb0be31d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH10/EX10.2/2.sce | 621deafa5a7021e46b4e4013d50261ec7e8f4d98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | 2.sce | clc
clear
//input
la=0.535*10^-6//wavelength
nb=1.51//refractive index
dmin=34 //minimum deviation
//calculation
l=la/nb//wavelength of light
x=(nb-cosd(dmin/2))/sind(dmin/2)//refractive index of prism
y=acotd(x)
z=y*2
//output
printf("the wavelength of light is %3.3e m",l)
printf("\nthe angle of prism is ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.