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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c33526abfb10ac043e04ca92fe6cae12fa507019 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH3/EX3.3/Example33.sce | 3aca28cf5c64f51b539bf63560acfb574b6d10b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | Example33.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 3, Example 3")
disp("Refering Figure")
disp("Given Data")
U2= 14//m/s
U1=U2
Q = 0.82//m3/s
H =45//m
beta2 = 180-160
Cv = 0.98
g ... |
a65c25a3f44bc3b1a567c1985de21bc097305952 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/util/%sp_triu.sci | c97c707861ada51ac9358a729130423750a807a2 | [
"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 | 179 | sci | %sp_triu.sci | function d=%sp_triu(a,k)
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==1 then k=0,end
[ij,v,sz]=spget(a)
m=sz(1);n=sz(2)
l=find(ij(:,1)<=(ij(:,2)-k))
d=sparse(ij(l,:),v(l),[m,n])
|
f960bdbdd84bd1fb845e815261a1fbd0d880d7a1 | 7ad0d60cf81a6a597c854f34eb8e4d0f0238449f | /Controle/T1/Código/observador_plotter.sce | 9f6bbe55c713063e95a563470b4bf8bd671bb2a4 | [] | no_license | Lucas-Okamura/Poli-USP | 83c5bf59a8d1f04215db1caeb3898a2394c0797c | 2875cd8e0f3a2549f0461d0256cf5e8cc24d204c | refs/heads/master | 2023-06-07T21:29:13.123960 | 2021-06-23T21:59:01 | 2021-06-23T21:59:01 | 304,692,746 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,009 | sce | observador_plotter.sce | function plotter_observador(x0,A,C,Koal,Kolq)
// Koal é a matriz de ganho para observador por alocação de polos
//Kolq é a matriz de ganho para observador por controle LQR
// Matriz de transição
dt = 0.1
nit = 100
x1 = []
x2 = []
x3 = []
x4 = []
dt = 0.1
nit = 500
for i =... |
1193ee283222b13f0f3fc894d02fd6aad6216230 | eda0ddb3e310b6d8e0a674f5cccfd207915546d1 | /a.sce | 39706b3f797b559cf19a6b0384abf5a5c38ec94d | [] | no_license | jithinsisaac/Scilab-Experiments | 046e781291cf08b68eec84084446ffee91adeb14 | 3f4d18b2f32b74abed963f02d6ecb8509d5fabc1 | refs/heads/master | 2022-11-09T08:24:39.953452 | 2020-06-25T07:52:07 | 2020-06-25T07:52:07 | 274,857,905 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | a.sce | Fs =100; //Sampling Frequency
t = [0 : Fs]
//Fs; // sampling instants
iniphase = 0; //initial carrier phase
Fc = 10; // Carrier frequency
x=sin(2∗%pi∗t); //Sinusoidal signal
y = ssbampmod(x, Fc, Fs, iniphase,′lower′);
z = fft(y); // find frequency spectrun
zz = abs(z(1 : length(z)/2)); //take positive frequencies
axis ... |
6f3bef513f993373110b25d8c9db079625d3fe8c | 4014300a072f0492747983563943f01f78a1b16d | /test/unit_test/reports/tst-softstates_service.tst | ebaddb1bd85b1dfb2fcf41c038ee5b59be95e0b5 | [
"BSD-3-Clause"
] | permissive | eyasuashenafi/ninja | e351cc90e8c815e018447750cd40fa38796f6c51 | daf739b82e48d3b60c43cf699fbb39f96d9fa27a | refs/heads/master | 2020-12-03T13:50:39.324069 | 2012-09-28T14:23:00 | 2012-09-28T14:23:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 886 | tst | tst-softstates_service.tst | description = Include/exclude service soft states
logfile = softstates_service.log
Include service soft states {
start_time = 1202684400
end_time = 1202770800
includesoftstates = 1
service_description {
testhost;PING
}
correct {
TIME_OK_UNSCHEDULED = 82800
TIME_WARNING_UNSCHEDULED = 3600
}
}
Exclude serv... |
abc6b67c7924029fcb8dfef82fb1e3c2f00dcc85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH3/EX3.9/Ch03Ex9.sci | eb8b95c033910149623920ef4fcd215da7c32a68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sci | Ch03Ex9.sci | // Scilab code: Ex3.9 : Wavelength of matter waves: Pg: 81 (2008)
E = 2e-016; // Energy of electrons, joule
h = 6.624e-034; // Planck's constant, J-s
m = 9.1e-031; // mass of the electron, kg
// since E = (m*v^2)/2, the energy of an electron, joule
// such that v = sqrt(2*E/m); // Velocity of electron... |
32bfc2e9a5a034fa564287f08bdc4d4318159b0a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Irrigation_And_Water_Power_Engineering_B._C._Punmia_2087.zip/Irrigation_And_Water_Power_Engineering_B._C._Punmia_2087/CH4/EX4.42/example4_42.sce | 4b2769d2d047318fd8033a2c88bbbc374b6007af | [] | 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 | 601 | sce | example4_42.sce | mode(2);errcatch(-1,"stop");driver("GIF");
//example 4.42
//calculate mean precipitaion using thiesson polygon method
clc;funcprot(0);
//given
a=4; //dimension of plot sides
P1=4.8;P2=13;P3=8;P4=5.4;P5=3.2;P6=9.4; //precipitaion at respective stations
A1=a^2/8+a^2/(4*1.73);
A2=a^2/8;
A3=A2;... |
b86d9c977350d4a302e0b54d8e05acc32195d091 | 494b677053e1199325a80808377463794e1003e5 | /experiments/chi-rw-c/chi-rw-c/results/Ignore-MV.Chi-RW-C.vehicle/result9.tst | 0447b0959077daa86d304ec1a2b2d42d73fed4c7 | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,852 | tst | result9.tst | @relation vehicle
@attribute COMPACTNESS integer[73,119]
@attribute CIRCULARITY integer[33,59]
@attribute DISTANCECIRCULARITY integer[40,112]
@attribute RADIUSRATIO integer[104,333]
@attribute PRAXISASPECTRATIO integer[47,138]
@attribute MAXLENGTHASPECTRATIO integer[2,55]
@attribute SCATTERRATIO integer[112,265]
@attr... |
a51a210c568fc36fe0011aa78c1319a6d1927181 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH12/EX12.5/example12_5.sce | 1c4d5df5a6148db243d3f976e4c19b6307c41eee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 820 | sce | example12_5.sce | clc
clear
disp('example 12 5')
po=5 //mva rating
v=10 //voltage in kv
n=1500;ns=n/60 //speed
f=50 //freaquency
pfb=0.8//power factor in b
x=0.2*%i //reactance of machine
md=0.5 //machanical displacement
//no load
v=1;e=1;
p=4
spu=v*e/abs(x);sp=spu*po*1000;mt=(%pi*p)/(180*2)
spm=sp*mt //synchronous power i... |
0afa6031208214b17176b2f269ec3c56d2fe628a | ad83b0d5959ff5ccc6ccffe929c9c007345d02c0 | /Sistemas de equações lineares - algoritmo de solução/testeConvergenciaColunas.sce | 0bc4dc4a6000bce298544607ae52f1f0060a413c | [] | no_license | rodolfostark/Experimento3CN | 5146116b866a7e110ccef5ccff918730683f569a | 8253245c50d76917d8442481b40fb039789d8aef | refs/heads/master | 2020-03-28T21:16:03.786439 | 2018-09-30T23:01:32 | 2018-09-30T23:01:32 | 149,142,776 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | testeConvergenciaColunas.sce |
function [x, flag] = testeConvergenciaColunas(A)
[l, c] = size(A);
x = zeros(c, 1);
for i=1:c
soma = 0;
for j=1:l
soma = soma + A(i, j);
end
x(i) = soma;
end
if max(abs(x)) < 1 then
flag = 1;
else
flag = -1;
... |
a1a61de5af426c4ebceb6a0ee5d89d01a44930d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH10/EX10.3.1/Ex10_3_1.sce | c6ebb3fb3155c805a8508bc9875c820aaf09bc64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 851 | sce | Ex10_3_1.sce |
clc
//Initialization of variables
G = 2.3 // Gas flow in gmol/sec
L = 4.8 // Liquid flow in gmol/sec
y0 = 0.0126 // entering gas Mole fraction of CO2
yl = 0.0004 // Exiting gas mole fraction of CO2
xl = 0 // Exiting liquid mole fraction of CO2
d = 40 // Diameter of the tower in cm
x0star = 0.0080// if the ami... |
0a33ba4061e0836e04a26f7a4fd41e691d8402e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH4/EX4.23/Ex4_23.sce | 4114660b294c8e85949e3a9a9f4c89c707c29e32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sce | Ex4_23.sce | //Caption:Calculate the breakdown power of air filled rectangular waveguide for dominant mode at 9.375 GHz.
//Exa:4.23
clc;
clear;
close;
//Given:
c=3*10^10;//in cm/s
a=2.3;//in cm
b=1;//in cm
f=9.375*10^9;//in Hz
wl_o=c/f;
P_bd_TE11=597*2.3*1*{1-{wl_o/(2*a)}^2}^0.5;
disp(P_bd_TE11,'Breakdown power for dom... |
905ae9db9ef3462b4618debbd85812577a7f2816 | 717ddeb7e700373742c617a95e25a2376565112c | /806/DEPENDENCIES/2_44.sci | 67778c4c51a04f386fa5ca900d26574be810b482 | [] | 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 | 98 | sci | 2_44.sci | h1=0.38//m
h2=0.33//m
h3=0.6//m
S1=0.8
S2=3.0
S3=1.0
p=9.81//kN/m^2(Weight density of water) |
7c1d468a1a8a6c017de07efc0c862ab1b52c29a7 | 97135f725c599527ba0fd95a5289373c755daf3b | /Examples/test-suite/scilab/inout_runme.sci | 5413b7488a2b787bc85abdaf7978f63fec091829 | [] | no_license | maqalaqil/swag-c- | b8880cfc92424d5bbca1fe15ed98663a41063f27 | 6fd1ba2bf1d353f24c116a3c89a8540292b86a7d | refs/heads/master | 2020-07-06T21:02:08.949652 | 2019-09-01T07:56:55 | 2019-09-01T07:56:55 | 203,137,066 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sci | inout_runme.sci | exec("alaqiltest.start", -1);
a = AddOne1(10);
if a <> 11 then alaqiltesterror(); end
[a, b, c] = AddOne3(1, 2, 3);
if a <> 2 then alaqiltesterror(); end
if b <> 3 then alaqiltesterror(); end
if c <> 4 then alaqiltesterror(); end
a = AddOne1r(20);
if a <> 21 then alaqiltesterror(); end
exec("alaqiltest.quit", -1);... |
3eabe702798cbb7d827ecbfa0045f6b412e954d2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%lss_o_p.sci | 8feeae1f76bc93eba02f30deccfcc29b520c9bfa | [
"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 | 91 | sci | %lss_o_p.sci | function [r]=%lss_o_p(s1,s2)
//%lss_o_p(s1,s2) test s1==s2
//!
// Copyright INRIA
r=%f
|
8d888b39fe1da212b5592d49199d096560bc6705 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/SCHI/YE70NQR/ATWM1_Working_Memory_MEG_YE70NQR_Session1/ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | bdfc302a78aa70d1c1403adcdc91061ef22a43ce | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,408 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monit... |
052793a1074b1e789d1d11761b4998680170408f | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_MatFunc/inplaceTrans.sce | c372d8ea946d9b59933c666e35681b5b6f2a70a8 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | inplaceTrans.sce | // Function Name: inplaceTrans
// Returns transposed matrix
// Calculating the inplaceTrans
inputMat = [ 1, 2; 3, 4;]
result = armaMatFunc("inplaceTrans",inputMat)
|
a734e6bda3fee1b384064c62dcf621087ca56fbf | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH5/EX5.23/Ex5_23.sce | d41fd6cedec11f1541d79ae232ea184b8cb50c30 | [] | 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 | 635 | sce | Ex5_23.sce | // Variable declaration
Mean1 = 35 // Mean time in coating process( in minutes)
Variance1 = 11 // variance of time in coating process( in minutes)
Variance2 = 5 // variance of time in rinse process( in minutes)
Mean2 = 8 // Mean time in rinse process( in minutes)
// Calculati... |
85f6efcc3d5a4c61f84a9b2bc1e969054cfd2474 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH1/EX1.a.11/Example_a_1_11.sce | 4af08c4604a1413cdb31a2192832b885028ed618 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_a_1_11.sce | //Example 1_11 page no:28
clc;
R1=5;
R2=25;
R3=10;
V=50;
It=6;
//current in branch ADB
I30=V/(R2+R1);
disp(I30,"the current in branch ADB is (in A)");
//current in branch ACB
I10=It-I30;
disp(I10,"the current in branch ACB is (in A)");
R=(V/I10)-R3;
disp(R,"the resistance R is (in ohm)");
|
74d15e9ccb3ba7e4fae574b39f3c822270715edc | 5523237709a6b6082f723934030bd36314a3b267 | /frontend/buttonMapping.sce | 67c11474d36691fed7bdb3191dc18ed2c2a7a4cc | [] | no_license | mode777/retrolove | 54d8bd852ed67f4b6c27cdee63f35a5195fadc8c | 4626062c98797f3d4b3c7510ce4d5de1cf3b66e2 | refs/heads/master | 2021-06-01T22:36:42.600874 | 2017-12-18T09:40:50 | 2017-12-18T09:40:50 | 19,409,879 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,480 | sce | buttonMapping.sce | local input = cine.input
local scene = {}
local layer = cine.layer.new()
local cfg = require("frontend/config")
local sw, sh = love.window.getDimensions()
local font = cfg.font[2]
local smFont = cfg.font[1]
local selection = require("frontend/selectMenu")
local function waitInput()
while not input.getCurrentInput(... |
11ecc3f073b0ef2f520256007cad264f920b399d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH3/EX3.8/ex_3_8.sce | 4c5acb7fa5a32c4a22c3c305eda064ba73c58af2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | sce | ex_3_8.sce | // Example 3.8: overall efficiency
clc, clear;
Vcc=20; // in volts
Vce=2.5; // in volts
eta=78.5*(1-(Vce/Vcc));
disp(eta,"the overall efficiency (%) = ")
|
7d4be747c902a20d3a19719c19c00d0c13c9bdc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.11/ex5_11.sce | 1006a9a8dfdbb2abf3fcec922f56ff57f6c9f355 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,052 | sce | ex5_11.sce | //Chapter-5, Example 5.11, Page 169
//=============================================================================
clc
clear
//INPUT DATA
V=200;//supply voltage in volts
f=50;//freq in hz
P=7000;//power in Watts
Vr=130;//volatge across resistor in volts
P=7000;//power in Watts
//CALCULATIONS
R=((Vr)^2)/P;//... |
a16c5349366d8ec8fb5da2f86d18ab3436447244 | cac765899ef2f4a3fea7b30feb7d3cc9e32a4eb4 | /src/asserVisu/thetheredRobotCatenary.sci | a83d44b443eb13f0cd2e186d3f7cce2049edcfde | [] | no_license | clairedune/AsserVisu | 136d9cb090f709a410f23d3138ab115b722066d2 | f351f693bffd50b5ae19656a7fcb7b52e01d6943 | refs/heads/master | 2020-04-11T09:56:32.106000 | 2017-01-12T14:01:12 | 2017-01-12T14:01:12 | 1,187,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,777 | sci | thetheredRobotCatenary.sci | function [param,D,wP,XA,YA,ZA,wMsigma1] = thetheredRobotCatenary(wMr1,wMr2,r1Msigma3,r2Msigma2,R,Hmax)
// then it follows the frame in the world reference frame
wMsigma3 = wMr1*r1Msigma3;
wMsigma2 = wMr2*r2Msigma2;
sigma2Msigma3 = inv(wMsigma2)*wMsigma3;
posesigma... |
3a5fccc14b115754b404a1a3feab62fba5dd5be9 | 9e8ee5cada387d28d7b64dd58a1d43add9abf855 | /Test/examples/family_relations.tst | d4f6310494f5c4b766e8c487c5ef868fb2e1e0bd | [
"MIT"
] | permissive | nvitucci/pyke | 2804504666cdf0bd3219daa6a1aca8a58d4bfdb8 | dc4fc6056a3d2bb701cda645359dcb92332d7f51 | refs/heads/master | 2023-04-01T17:21:59.906819 | 2021-04-16T23:20:00 | 2021-04-16T23:20:00 | 267,141,385 | 7 | 3 | MIT | 2021-04-20T21:26:38 | 2020-05-26T20:09:55 | Python | UTF-8 | Scilab | false | false | 10,620 | tst | family_relations.tst | # family_relations.tst
>>> import sys
>>> import pyke
>>> import os
>>> new_path = os.path.join(os.path.dirname(os.path.dirname(pyke.__file__)),
... 'examples/family_relations')
>>> sys.path.append(new_path)
>>> import driver
>>> driver.fc_test() # doctest... |
46b83971f3e66265eba1eb77328085603d7c92b5 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testmatrixhandle.sce | d3f0efb662f64473b7f63a7e37a3de72c81538d4 | [] | 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 | 159 | sce | testmatrixhandle.sce | lines(10) //to delete
plot() // commande graphique Scilab
E=gce() // handle de type Compound
E.children(1) // 1er des 41 descendants de E
|
640906ff2eafe0668c422014758e21a469546033 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH11/EX11.2/exa11_2.sce | f0cc432e29a5268358d3d9450b37fee1aa6b0755 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | exa11_2.sce | //Caption:transfer_function
// example 11_2
//page 469
syms G1 G2 G3 H1;
s=%s;
G1=4/(s*(s+4));
G2=s+1.2;
G3=s+0.8;
H1=1;
H2=(G2+G3);
a=G1/.H1;
y=a/(1+a*H2)
disp(y,"C(s)/R(s)=") |
bed9890120a510ca9ced1c4bfd69269986ed295f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH5/EX5.10/Example_10.sce | d2c27a4d57952ea10df6c69a0cece24f63a136f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_10.sce | //Chapter-5,Example 10,Page 125
clc();
close();
T1=50 //time in sec
T2 = 25 //time in sec
a1=0.5 //initial concentration
a2= 1
// (T1/T2) = (a2/a1)^(n-1)
//therefore (50/25) =(1/0.5)^(n-1)
// 2=2^(n-1)
// n=2
//hence its 2nd order
t_half= T1
k=1/(a1*t_half)
//... |
8223a2036fecebf84e2b2c771c136b3c7f02f131 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3740/CH5/EX5.4/Ex5_4.sce | b72806df3e0aff8bfcb201dbf181b82cf8b3f214 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_4.sce | //Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 5.4
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
n1=1;//Refractive index of air medium
n2=3.6;//Refractive index of GaAs medium
R=((n2-n1)/(n2+n1))^2;//Reflectance at GaAs/air interface by Fresnel eq... |
f0dc901e484a6b21ba1eb4dc2e4368c9e8ad05cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH12/EX12.16/12_16.sce | b16a242a3d7ff384d038adebff0200dae77895b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | 12_16.sce | //Problem 12.16:
//initializing the variables:
pB = 35; // mm of Hg at 0 deg F
//calculation:
//from example 12.15
pA = 70.01; // in mm of Hg
aAB = pA/pB
printf("\n\nResult\n\n")
printf("\n the relative volatility is %.0f",aAB) |
aa53b084cf3faca36de81ccbd3008f939d51b5fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH3/EX3.1/ex3_1.sce | e9c7e8d497c524cb83ba365a0e7e5ff612917b91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex3_1.sce | // Exa 3.1
format('v',7);clc;clear;close;
// Given data
N = 100;// number o turns
B = 0.15;//air gap in Wb/m^2
I = 5;//current in mA
I = I * 10^-3;// in A
l= 10;//length in mm
b = 8;//width in mm
A = l*b;//area in mm^2
A = A * 10^-6;// in m^2
Td = N*B*A*I;//deflecting torque in Nm
K = 0.2*10^-6;// in Nm/deg... |
f7b18e77a04db3bca5bd9ca3abf89d74d8f38e3f | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/CX75DJQ/ATWM1_Working_Memory_MEG_CX75DJQ_Session2/ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | 55f2f06d5cffab68f4cbfee7bfc446409e281295 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,386 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
46f55afd49190cdd64fb0767e7d7af106da104b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.7/3_7.sci | 87297a193ec9ff1d62e27799218d113e5666bfcd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 3_7.sci | // calculate the value of relative limiting error in resistance
clc;
Re_P=1.5;
Re_I=1;
Re_resistance=(Re_P+2*Re_I);
disp(Re_resistance,'the value of relative limiting error of resistance in percentage(+/-)=') |
a35ce48387a2c5931786d00f90f319b0fbf8d6a1 | a550430672dfb5984bd8561b894897323028b7f5 | /tests/results/power12.tst | 8c4f2126192883d5725d579cbef82e090fd8ca6c | [] | no_license | carlosmata/LabelPropagation | c91f68489a941e6f8cfb15de478d2fe28eadbcad | 2f169cc4ece49a0d0f868fee15e5eefe02bbc6df | refs/heads/master | 2020-12-18T17:46:23.501020 | 2020-05-09T06:13:16 | 2020-05-09T06:13:16 | 235,474,033 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | tst | power12.tst | argc:7
Dataset: ../datasets/converted/5powergrid.net
Nodes Edges Com Mod NMI Time
seq semisync 4941 13188 517 0.797223 -1 0.0369399
par semisync 4941 13188 1119 0.65376 -1 0.16538
|
47f9de5f711253d11a40893e904367ff6ac58b67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH1/EX1.16/1_16.sce | fcdb430846b222d568ff2905f6afa1000e5cb4af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 728 | sce | 1_16.sce | clear;
clc;
// Illustration 1.16
// Page: 44
printf('Illustration 1.16 - Page:44 \n\n');
// Solution
//*****Data*****//
// Nickel Carbonyl-A carbon monoxide-B
T = 323; // [K]
P = 1; // [atm]
R = 8.314; // [cubic m.Pa/mole.K]
y_A1 = 1.0;
y_A2 = 0.5;
delta = 0.625; // [mm]
D_AB = 20; // [square mm/... |
13ca78eaff1da200c7857d80fd831759eba33d33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH1/EX1.22/Example1_22.sce | 47adb0e1f6494010ef361111247f0cb65a370eb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | Example1_22.sce | //Resistance R, Current I
close();
clear;
clc;
R1 = 15;//ohm
R2 = 25;//ohm
I = 5;//A
I1 = R2/(R1+R2)*I;
I2 = R1/(R1+R2)*I;
P1 = I1^2*R1;
P2 = I2^2*R2;
mprintf('Power consumed by Resistance R1, P1 = %0.1f W \nPower consumed by Resistance R2, P2 = %0.1f W',P1,P2); |
807a69d1d388706242bb22db9d0df8f6251b8579 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH15/EX15.20/Ex15_20.sce | 55178a76f3487fa8895ff3484ba8d72c3ace5171 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 145 | sce | Ex15_20.sce | //Initilization of variables
r=50 //mm
//Calculations
Ixy=(1/8)*(50^4) //mm^4
//Result
clc
printf('The moment of inertia is %f mm^4',Ixy)
|
d85ac1fb3775739f7a8b78ae3b7f35f5b0f1f227 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH4/EX4.6/Ex4_6.sce | d58da26f1fc4699a151dbefc3a3dc11767dd92c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | Ex4_6.sce | clc,clear
//Example 4.6
//To determine the length of the rope
d=8 //distance between places in feet
r=2 //radius of cylinder in feet
//from the figure
DA=d/2,BE=r
DE=3 //distance from centre of container to wall
AE=sqrt(DE^2 + DA^2) //pythagoras theorem
AB=sqrt(AE^2 - BE^2) //pythagoras theorem
//all an... |
0988b686eb7c61e7616fb0461ac35ed51aecdc87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH4/EX4.2/ex4_2.sce | 2e1080000ac51ac1720a25ca30fde59435d8cea3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | ex4_2.sce | //Page Number: 193
//Example 4.2
clc;
//Given
a=0.38;//cm
a1=a/100;//m
b=0.76;//cm
b1=b/100;//m
f=50D+9;
c=3D+8;
//Length for TE102
m=1;
n=0;
p=2;
l=1/sqrt((f/c)^2-(1/(4*b1^2)));//m
disp('cm',l*100,'Length c:');
|
31917bc3c1c7d2a4b2b6fcddebf438ba926170ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH18/EX18.3/18_3.sce | 71ea40d1de9ae46dd2313672c8a18f27a5e96ccf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 18_3.sce | clc
//initialisation of variables
clear
n= 1 //mole
n1= 400 //mole
T= 25 //C
H1= 23540 //cal
H2= -5410 //cal
//CALCULATIONS
dH= -(H1+H2)
//RESULTS
printf ('Heat required to remove the water = %.f cal',dH)
|
07694a00868b69c222d012f326780377d4ebc927 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH3/EX3.16/Ch03Ex16.sci | 24885dd0055c065238badb54182290b5baffcf61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 648 | sci | Ch03Ex16.sci | // Scilab code: Ex3.16 : Zero point energy of system:Pg: 86 (2008)
m = 9.1e-031; // Mass of an electron, kg
a = 1e-010; // Length of box, m
h = 6.624e-034; // Plancks constant, joule second
n = 1; // Principal quantum number for the lowest energy level
E1 = 2*h^2/(8*m*a^2); // Energy for the two ele... |
047a1f0d4fd6cae3c23ad53dcfdd3b88345265de | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH12/EX12.2/ex2.sce | 4c0325a98690dbc240c649f2e71ab60135157b7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,156 | sce | ex2.sce | //Calculation mistake in book
//ques2
//Standard brayton cycle
clc
clear
//Calculation mistake in book
//1-Inlet for compressor
//2-Exit for compressor
//T-Temperature at a state
//P-Pressure at a state
T1=288.2;//K
P2=1000;//kPa
P1=100;//kPa
k=1.4;
T2s=T1*(P2/P1)^(1-1/k);//K
nc=.80;//Compressor Efficien... |
459042cd69c01084a93a1ab6a0e0c5ccba2bfa87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH5/EX5.7/5_7.sce | eb4befd7ac8583935494ebf5a0b4cee7c37cf167 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_7.sce |
clc
//initialisation of variables
p= 0.91 //units
u= 0.21 //poise
q= 200 //gallons
h= 40 //ft
l= 200 //ft
w= 62.4 //lb/ft^3
d= 3/4 //in
g=32.2 //ft/s^2
//CALCULATIONS
v= u/(p*(30.5)^2)
Q= q*10/(w*3600*p)
V= Q/(%pi*(d/12)^2/4)
Re= V*(d/12)/v
F= 64/Re
Hf= F*l*V^2/(2*g*(d/12))
Ht= Hf+h
P= w*p*Ht/144
... |
59e6345c00b2f16a7f880b0a007056fc914245a8 | 036a77bd5f07b7b2b808ef3d90e92d20bd7b6c33 | /hard/tests/tooLargeInt.tst | 711aa148f250e915a358a80e39bf529e7e79832c | [] | 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 | 93 | tst | tooLargeInt.tst | main begin
int i;
i = 111000000000000000;
i = 0 - 948117614885700293;
return i;
end
|
280e5f738e1cf83ce2f8306395ac0e3cb9126332 | f5d97602ad111cf2fe570b890646522118e3f9f1 | /prep.sce | e2a5c5d2fce8918db3da372445984a9d714f9516 | [] | no_license | HugoJF/scilab-pid-controller | 5d6d869d00e7bcc404ae358db92976863d2619cc | f4726b3f6a01cac1526632c31a6e2c840b6fb07c | refs/heads/master | 2023-01-28T11:20:43.264090 | 2020-12-11T20:27:29 | 2020-12-11T20:27:29 | 320,695,475 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 122 | sce | prep.sce | clc
clear
s=%s
clf
g=syslin('c', 162*s^4-864*s^3+2160*s^2-2880*s + 1680, 405*s^5+2241*s^4+5832*s^3+8280*s^2+5640*s+840);
|
60d1663c41ad999e21f277da911cf3923478b0a9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/m2sci/sci_whos.sci | 57dcab5632d0faedcfb1e12be75e47425f26b3b8 | [
"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 | 99 | sci | sci_whos.sci | function [stk,txt,top]=sci_whos()
// Copyright INRIA
txt=[]
stk=list('whos()','0','0','0','0')
|
513b0a4c39bd98173641c7b9b7ae57b99d3d55ec | 7f8a82b193633b744689e1f194923592e656b470 | /rltoolSci/macros/rltFuncLimpar.sci | e4baf02aafbaca35a901bcd3a7447617b32b8b17 | [] | no_license | josuemoraisgh/rltoolSci | 3b5a5e8fc6a27b60bca3354af5222350cd8e8b3b | a76ad9fbfe988bb2674adfeb466847a32719474a | refs/heads/main | 2023-07-14T10:40:12.549424 | 2021-08-26T17:52:16 | 2021-08-26T17:52:16 | 385,216,740 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sci | rltFuncLimpar.sci | function rltFuncLimpar
global axes1 sys comp cnum cden cCk
cCk='1';
cnum='1';
cden='1';
set('eCNum','String',cCk);
set('eCDen','String',cnum);
set('eCk','String',cden);
plotEvans();
endfunction
|
40ab6454958ea90f979609ca60e595463115d338 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/unr_var_08.tst | 33ee78edb396351011b967a037cccce193c1c3c0 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | tst | unr_var_08.tst | // @Harness: verifier
// @Purpose: "Test for variable resolution"
// @Result: "UnresolvedVariable @ 9:15"
architecture unr_var_03 {
instruction "I" {
execute {
local e: int = 0;
e = a;
}
}
}
|
3b8b92f2a9efe96cafe283e26acba2a8f73388e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH26/EX26.2/Chapter26_example2.sce | bbb3954e2a18c59da50cac611621cf8c374eb694 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter26_example2.sce | clc
clear
//Input data
CV=10000//Calorific value in kcal/kg
F=1.4//Fuel consumption in kg per hour per kg of thrust
T=900//Thrust in kg
Va=425//Aircraft velocity in m/s
w=19.5//Weight of air in kg/sec
//Calculations
af=(w/((F*T)/3600))//Air fuel ratio
nv=((T*Va*3600)/(427*F*T*CV))*100//Overall efficiency in... |
e44a27230c46eb279ca71cc326cb0939124fe653 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH5/EX5.7/Ex5_7.sce | d7b2feaee2fd059b5827de6c064edc8099287504 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 921 | sce | Ex5_7.sce | // Scilab Code Ex5.7: Page-286 (2008)
clc; clear;
h = 6.62e-034; // Planck's constant, Js
c = 3e+008; // Speed of light, m/s
e = 1.6e-019; // Energy quivalent of 1 eV, J
phi = 4.2*e; // Work function for material, J
lambda = 2000e-010; // Wavelength of incident radiation, m
E = h*c/lambda; // E... |
ab04445bc1e3c49fc8c8b764f07c8c0ad384a8b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH3/EX3.6/ex3_6.sce | 32f1cf6f9d8c3115ed7d7ab1d41f3abd04b5d601 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | ex3_6.sce | // Exa 3.6
format('v',7);clc;clear;close;
// Given data
// The first range is 0-10 mA
I1 = 10;//in mA
Im = 2;// in mA
Rm = 75;// in ohm
R1 = (Im*Rm)/(I1-Im);// in ohm
disp(R1,"The value of R1 in ohm is");
// Second range is 0-50 mA
I2 = 50;// in mA
R2 = (Im*Rm)/(I2-Im);// in ohm
disp(R2,"The value of R2 in ... |
81d699d73d0e6bbf801581806e695b8034803da6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH5/EX5.4/Ex5_4.sce | 4d014da943e7492b34094b1f7cb026a1b56cc31f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 690 | sce | Ex5_4.sce | //EX5_4 PG-5.9
clc
Vbe=0.7;//base emitter voltage for silicon
Vcc=12;//supply voltage
Rb=150e3;
Rc=2e3
hFE_min=50;
hFE_max=60;
printf("i) for hFE_min=50")
Beta=hFE_min;//minimum voltage gain
Ib=(Vcc-Vbe)/((1+Beta)*Rc+Rb);//since Vcc=Ib*Rb+Vbe
printf("\n base current is %.2f microA \n",Ib*1e6)
Ic=Beta*Ib
... |
0d68fe8c5d2077b1e7c2b7d31e3243089e243027 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH7/EX7.5/Ex7_5.sce | e2a096e791c396f5b3f5f8dab53aa5776c77a4bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | Ex7_5.sce | //Chapter 7: Solid State
//Problem: 5
clc;
//Declaration of Variables
r_Li = 68 //in pm
r_F = 136. //in pm
// Solution
rr = r_Li / r_F
mprintf("Radius ratio = %.1f\n", rr)
mprintf(" The structure of LiF is SCC and Co-ordination Number of Li+ is 6")
|
25a524de300301c60a7fb91e26e621b51a512931 | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/changeModeMtlbSci.sci | a626549e259b931f4f1d781b2b44bc5b3f9666b7 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sci | changeModeMtlbSci.sci | function changeModeMtlbSci()
//strPath = fullpath(get_absolute_file_path("changeModeMtlbSci.sci")+'..'+filesep()+'images'+filesep());
//fd = mopen(strPath+'funInSciChanged.txt','rt');
//line = mgetl(fd);
//mclose(fd);
//absptr=funptr("exec");// get the function_ptr associated with the exec functio... |
abbd37dbfdbfb2a0ed2f1f8d274ea70b92de5e00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH4/EX4.4/Chap4_Ex4_R1.sce | da2129791e8c55761fa3d9d43c40f64d046bbed7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,563 | sce | Chap4_Ex4_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-4,Example 4,Page 97
//Title:Energy transferred and final state masses of liquid and vapour
//================================================================================================================
clear
... |
9d824518fa6d9a516034f7fabf893714ce9223e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH29/EX29.14/29_14.sce | 8a7a1517462669d8b15fed05f0be19eaa784c597 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 689 | sce | 29_14.sce | clear//
//Variables
Av = 300.0 //Voltage gain without feedback
Ri = 1.5 * 10**3 //Input resistance (in ohm)
Ro = 50.0 * 10**3 //Output resistance (in ohm)
beta = 1.0/15.0 //feedback ratio
//Calculation
A1v = Av/ (1 + beta*Av) //Voltage gai... |
15c5d8154e964d911ae4ec35ed5ef03345ecd891 | eee96b986bbe9b02c28910e531dc5e4bc96ab8a6 | /taylor-pendulo/plotimg.sce | 546e05e6b46992dfcee0230cadbee69d2ed5fa0c | [] | no_license | jilcimar/computacao-numerica | 7b7c85bac6a66e8d428cfed08b4f9b61558d19f1 | 093b6f0723026880b10dd100fa523107583eca85 | refs/heads/master | 2021-07-10T11:13:20.533276 | 2019-09-09T13:50:17 | 2019-09-09T13:50:17 | 203,243,471 | 0 | 2 | null | 2020-10-02T12:19:49 | 2019-08-19T20:13:24 | Scilab | UTF-8 | Scilab | false | false | 113 | sce | plotimg.sce | scicv_Init()
M = imread('/home/jilcimar/PESSOAL/computacao-numerica/taylor-pendulo/files/image.jpg')
matplot(M)
|
63dfb2fd9b66c5a9017c8e587a5390522ff80e1d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/lft.man.tst | c3c3315d4d75cc6b9e94731d3621ee6cb483682c | [
"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 | 348 | tst | lft.man.tst | clear;lines(0);
s=poly(0,'s');
P=[1/s, 1/(s+1); 1/(s+2),2/s]; K= 1/(s-1);
lft(P,K)
lft(P,[1,1],K)
P(1,1)+P(1,2)*K*inv(1-P(2,2)*K)*P(2,1) //Numerically dangerous!
ss2tf(lft(tf2ss(P),tf2ss(K)))
lft(P,-1)
f=[0,0;0,1];w=P/.f; w(1,1)
//Improper plant (PID control)
W=[1,1;1,1/(s^2+0.1*s)];K=1+1/s+s
lft(W,[1,1],K); ss2tf(lf... |
32ef42620acf28bbf8b391bde22b45e950208bfe | d01bf962afff16bc1ce292c49da5923ebbe59775 | /Maths/neuralNet2.sce | 9e0799a628df1c1d79880e39f408765a2f2d8faf | [] | no_license | fredkerdraon/Reference-research | 71d0af22f84605ed0c53907acd6b248400c47388 | 1f48fdfebbe766bbd268b4f1853ab98162f57425 | refs/heads/master | 2023-05-05T12:18:18.655367 | 2020-02-08T22:08:15 | 2020-02-08T22:08:15 | 71,020,179 | 0 | 0 | null | 2023-04-19T18:37:49 | 2016-10-15T23:49:14 | POV-Ray SDL | UTF-8 | Scilab | false | false | 16,865 | sce | neuralNet2.sce | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//FK - Activation function
function y=activate(x)
y = 1*(tanh(x) + 1)/2;
endfunction
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//FK - D... |
efe2cf34e2e0cdc82a242c473996c67b67f59f1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.2/Exa2_2.sce | 52408c2a9b51a18b3f50abce0c5e6472394830fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | Exa2_2.sce | //Exa 2.2
clc;
clear;
close;
//Given data :
P=8;//no. of poles
f=50;//in Hz
N=700;//in rpm
//Part (a) :
Ns=120*f/P;//in rpm
disp(Ns,"Synchronous speed in rpm : ");
//Part (b) :
S=(Ns-N)*100/Ns;//in %
disp(S,"Slip(in %) : ");
//Part (c) :
//At the time of stsrt S=1;
fdash=f;//in Hz
disp(fdash,"Rotor fr... |
9228c2ccc21fa053da6f19fd738e9d1d5a7fdfed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH2/EX2.38/exa_2_38.sce | d0f32403bc54918117e3026a1c06ed669a3ebf6a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | exa_2_38.sce | // Exa 2.38
clc;
clear;
close;
// Given data
format('v',11)
I_F= 2;// in mA
I_F= I_F*10^-3;// in A
V_T= 25;// in mV
V_T=V_T*10^-3;// in V
n=1;
r_F= n*V_T/I_F;// in Ω
disp(r_F,"The dynamic resistance of a Ge p-n junction diode in Ω is : ")
|
82a854c63cf46297c7b6f3f00188ad28d0721a09 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/flags25.tst | f63648f1c966b896e4a4976fc22ca85b571adc2c | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 199 | tst | flags25.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the BLD (bit load from register T) instruction"
; @Result: "flags.t = 1, r17 = 4"
start:
set
bld r17, 2
end:
break
|
96baba695c891bf8e89dba21fafa71a42e2f675c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.5/ex1_5.sce | 27ab5fee33e41d0c13f37d0da0725f533fa59347 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex1_5.sce | //Exa:1.5
clc;
clear;
close;
V=220;//in volts
V_1=200;//in volts
N=1000;//in rpm
I=100;//in amperes
R_a=0.1;//in ohms
E_b=V-I*R_a;//in volts
I_1=I;//in amperes
E_b1=V_1-I_1*R_a;//in volts
N_1=N*E_b1/E_b;
disp(ceil(N_1),'Motor Speed (in rpm)=') |
cb0fa9625af975234f0eb0a558339ad5fcd15c0f | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /manwing cover+movement (logic scoring).sce | c73035d789547838f9b1b174aafbe862c3b04158 | [] | 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 | 147,654 | sce | manwing cover+movement (logic scoring).sce | Name=manwing cover+movement (logic scoring)
PlayerCharacters=Counter-Striker
BotCharacters=Counter-Striker Bot PEEKER.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Counter-Striker
AddedBots=Counter-Striker Bot PEEKER.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=apexLowgroundToHighground.map
Ma... |
25c7f9f1baca95df75bcdbc026eaa7822b65565c | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/com/netfx/src/clr/security/store/makefile.tst | 04d374729776aeb3ab3964adfc23111b2cf1c840 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | Scilab | false | false | 2,975 | tst | makefile.tst | #
# Build instructions for this directory
#
# Shajan Dasan
# Feb 2000
#
# Store, along with the test/debug utils can be built by 'nmake /f Makefile.tst'
#
# The files 'sources' and 'Makefile' are used in the COM Runtime Build
#
#
# define PS_STANDALONE for the standalone .exe
# define PS_LOG for enablin... |
80e50c8c3d270cf8096ce4f7b18f3f46c4d43279 | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/example/ボード線図2.sce | e4e9f620158d9a7b6bf3bfc50dea6ad86e1cce45 | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | UTF-8 | Scilab | false | false | 277 | sce | ボード線図2.sce | s=%s;
G1=(1+s)/(s^2+s+1);
G2=(1-s)/(s^2+s+1);
t=0:0.1:10;
sys1=syslin("c",G1);
sys2=syslin("c",G2);
y1=csim("step",t,sys1);
y2=csim("step",t,sys2);
xset("window",0);
clf();plot2d(t',[y1',y2'],[1,-9],axesflag=5);
xset("window",1);clf();
bode(sys1,0.01,10);
bode(sys2,0.01,10);
|
898e3e59ec2fb2dd3dfa9b72948b40297038df70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH10/EX10.1/10_1.sce | 710986dd7b76f65c4b48bc56328158f1808c1c91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 10_1.sce | //example 10.1
clc; funcprot(0);
// Initialization of Variable
phi=0.7;
pg=0.3632;//lbf/in^2
omega2=0.0052;
pv1=phi*pg;
omega1=0.622*pv1/(14.7-pv1);
disp(omega1,"lb(vapor)/lb(dry air) is");
mv1=1/(1/omega1+1);
ma=1-mv1;
mv2=omega2*ma;
mw=mv1-mv2;
disp(mw,"mass of water vapor that condenses in lb");
clear(... |
2585cb559693cc461aaedadb367507e4414214c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH33/EX33.08/33_08.sce | 0669f2cb5c913da87c04dbd53ff018dfe424abeb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,740 | sce | 33_08.sce | //Problem 33.08: For the a.c. bridge network shown in Figure 33.35, determine the current flowing in the capacitor, and its direction, by using Th´evenin’s theorem. Assume the 306/_0° V source to have negligible internal impedance.
//initializing the variables:
rv = 30; // in volts
thetav = 0; // in degrees
R1 = ... |
0b0a1f2bd408921e38ad630ef77358afb72e4240 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH6/EX6.25/6_25.sce | 133b462f4f0a9604ccfe441a6f5919b54ffb5283 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | 6_25.sce | clc
//initialisation of variables
W= 62.4 //ls/ft^3
d1= 3/4 //in
d2= 3 //in
f= 0.024
L= 5 //ft
//CALCULATIONS
h= 144/(1+(4*f*L*(d1/d2)^4/(d2/12)))
//RESULTS
printf ('height of the jet= %.f ft',h)
|
c3365cb3a5da510a224280610860a0f3078bc5fd | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/cheby1.sci | 9005b29bccd3b05877bde98bcf2137b8fee1f30f | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,768 | sci | cheby1.sci | function [a, b, c, d] = cheby1 (n, rp, w, varargin)
<<<<<<< HEAD
//Chebyshev type I filter design with rp dB of passband ripple.
//Calling Sequence
//[b, a] = cheby1 (n, rp, w)
//[b, a] = cheby1 (n, rp, w, "high")
//[b, a] = cheby1 (n, rp, [wl, wh])
//[b, a] = cheby1 (n, rp, [wl, wh], "stop")
... |
483eeec9231023891a9df712e0d24351c114560e | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassshiftc/test_8.sce | 261b2732c4b21d2b1d570a72e1c0fc1964615203 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | test_8.sce | // Test # 13 : For zero valued inputs
exec('./allpassshiftc.sci',-1);
[n,d]=allpassshiftc(0,0);
disp(d);
disp(n);
//
//Scilab Output
//d=1. 0.
//n= 0 1.
//
//Matlab Output
//d= 1 0
//n = 0 1
|
690a930b1ba0605f27356d03be1ea4acf4e728b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH4/EX4.17/Ex4_17.sce | f72c2aa298af878c4e220f7f02f49bb5bb0c67d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_17.sce | //Example 4.17
//Convolution sum of x[n] and h[n]
clc
clear
n1=2:12;
n2=4:14;
n3=6:26;
a=1/3//assume the constant a=1/3
for i=1:length(n1)
x(i)=a^-n1(i);
h(i)=1;
end
y=convol(x,h);
subplot(3,1,1)
xtitle("input signal x(n)","....................n","x[n]");
plot(n1,x,'.');
subplot(3,1,2)
xtitle("system response h... |
df4da3274de5f4bb90d377ef16b5905ba3fc1ca4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH12/EX12.4/12_4.sce | 22ca86cb8385e5fd4d0318b0bddc87814b014ae3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | 12_4.sce | clc;
// page no 412
// prob no 12_4
baud_rate=24.3;// in kilobaud
// In this problem dibit system is used.
//Therefore symbol_rate=baud_rate=0.5*bit_rate
bit_rate=2*baud_rate;
disp('kb/s',bit_rate,'The channel data rate is'); |
b089949e778558cbba279d017585812e54147d7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH7/EX7.4/Ex7_4.sce | b7c8a446e9803e58df8d06e4892fef42a67c9d44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | Ex7_4.sce | // Scilab Code Ex7.4: Page-377 (2008)
clc; clear;
function p = find_cell_type(x)
if x == 1 then
p = 'simple cubic';
end
if x == 2 then
p = 'body centered';
end
if x == 4 then
p = 'face centered';
end
endfunction
M = 130; // Gram atomic wei... |
cf5d8e39aa0669dccd0a15bd955591f610e5b499 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/replace_brackets.sci | bda3be0340496c72e305b567767aaef9f1b03c0f | [
"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 | 313 | sci | replace_brackets.sci | function txt=replace_brackets(txt)
// Copyright INRIA
for k=1:size(txt,'r')
tk=txt(k)
ko=strindex(tk,'{')
if ko<>[] then
kf=strindex(tk,'}')
//create matching pairs
kw=[ko,kf]
for kk=1:size(ko,'*')
pchar=abs(str2code(part(tk,ko(kk)-1)))
if pchar<36 then // extraction
end
end
|
de476b92d5b139601933e6788c5cd5119f4c17c9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/abinv.man.tst | f672f2a8af91b9aff6578f11270caada4296208a | [
"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,756 | tst | abinv.man.tst | clear;lines(0);
nu=3;ny=4;nx=7;
nrt=2;ngt=3;ng0=3;nvt=5;rk=2;
flag=list('on',nrt,ngt,ng0,nvt,rk);
Sys=ssrand(ny,nu,nx,flag);alfa=-1;beta=-2;
[X,dims,F,U,k,Z]=abinv(Sys,alfa,beta);
[A,B,C,D]=abcd(Sys);dimV=dims(3);dimR=dims(1);
V=X(:,1:dimV);X2=X(:,dimV+1:nx);
X2'*(A+B*F)*V
(C+D*F)*V
X0=X(:,dimR+1:dimV); spec(X0'*(A+B*F... |
2ac1af7cd14bb79dbd7133edc1dad7b60dcb3d46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH5/EX5.12/Example5_12.sce | f99a8d68060f1e0ee3d8124c5baa2687593feab1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example5_12.sce | //Example 5.12
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
//To Design the Filter using Impulse Invarient Method
clear;
clc ;
close ;
s=%s;
HS=1/(s^2+sqrt(2)*s+1);
pp=ilaplace(HS);
syms n z;
t=1;
X= symsum (pp*(z^(-n)),n ,0, %inf );
disp(X,'Factorized HS = '); |
198f1c0392f11fb31d393c1bd9e58bbd3a6200d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH1/EX1.4/Ex1_4.sce | 34a5d070175d0f8f064d2ab5fc27338b7239585e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | Ex1_4.sce | //Example number 1.4, Page number 11
clc;clear;
close;
//Variable declaration
N=6.02*10**26; //Avagadro Number
e=1.6*10**-19; //charge(coulomb)
epsilon0=8.85*10**-12;
r0=0.324*10**-9; //equilibrium distance(m)
A=1.75; //madelung constant
n=8.5; //repulsive exponent value
//Calculat... |
098b57558df2fb14cf308df6fb1c45f3ed6056c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH11/EX11.2/Ex11_2.sce | 535fc3b72efcc0de28e5fb4d31a64e119f2992a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 715 | sce | Ex11_2.sce | clc
// from figure 11.23
y1 = 0.15 // mu_m
y2 = 0.25 // mu_m
y3 = 0.35 // mu_m
y4 = 0.25 // mu_m
y5 = 0.30 // mu_m
y6 = 0.15 // mu_m
y7 = 0.10 // mu_m
y8 = 0.30 // mu_m
y9 = 0.35 // mu_m
y10 = 0.10 // mu_m
y1sqr = y1^2 // mu_m
y2sqr = y2^2// mu_m
y3sqr = y3^2 // mu_m
y4sqr = y4^2 // mu_m
y5sqr = y5^2 //... |
7bdd26f305c433668e19d2c399bcbc99e18f50c2 | 3ed5a52e0f80c733ece42755e2e0466d187450b2 | /23.sci | 25b2ad446b203303b2147ae8826e439b3a500cdb | [] | no_license | manasa-0107/scilab | 6dffe21b42194039feaefab95df5cf6a5b1a643d | 83fcf498583d4ec7e23b2347f64e9871dfa31bc4 | refs/heads/master | 2020-12-02T18:16:19.942360 | 2017-07-07T06:12:19 | 2017-07-07T06:12:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sci | 23.sci | function y=exp1c1(z)
t=-%pi:0.0001:%pi;
ts=-0.446.*(t-3);
y=3.*cos(ts).*exp(-ts/10).*(ts>0);
plot(t,y)
endfunction
|
a8838b202f4e090cccb6288e3ad57ef8a1c28ac0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH1/EX1.35/ex_1_35.sce | fbd2aeda03458dc4d8ac47f6a3f137879bfbcddb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | ex_1_35.sce | //ex_35 to check if a system is linear or non-linear
clear;
clc;
close;
x1=2;
x2=3;
y1=x1*x1;
y2=x2*x2;
y=y1+y2;
z=(x1+x2)*(x1+x2);
if z==y then
disp('the system is linear')
else
disp("the system is nonlinear")
end |
d205c7fa711c7c0e5c74df5058aa4189a3e464a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH12/EX12.7/example12_7.sce | 56b72417b6e7bd3fc93ff4ad3492b032d28136c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sce | example12_7.sce | //clc()
m = 100;//kg of pyrites charged
xfes2in = 0.8;
xganguein = 0.2;
xfes2out = 0.05;
//let x be the FeS2 in the feed, then, Fe2O3 = (80 - x)*159.69 / (119.98*2) and gangue = 20, total = 73.24 + 0.3345, be FeS2 is only 5 % in the product, hence
x = 0.05 * 73.24 / (1 - 0.05*0.3345);
mfes2reacted = m*xfes2in - ... |
dd471b3f0f0165bfa1f1d0eed1e620a390c984db | 203811c2233e8539e9c88a0c988b651914c07c97 | /130040019_assignment2/code/q1.sce | ab67dca90fd6083cd673a81420259d1effe521e9 | [] | no_license | kalpeshpatil/SpeechProcessingAssignments | eeef26f925e137f045cfef996b1bcf59a1be3902 | f80137d2c55a249244a79b5aed13b9ddeb20a80b | refs/heads/master | 2021-01-10T23:31:37.828701 | 2017-03-09T08:58:18 | 2017-03-09T08:58:18 | 70,431,248 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,478 | sce | q1.sce |
clear all
//Function to calculate filter response using difference equation
function [y]= time_response (x,num,den)
n_samples = length(x);
y = zeros(n_samples,1)
//numerator is constant (all pole filter)
y(1) = num(1)*x(1)
k = num(1)
//response by taking coefficients for denominato... |
bf2bda920c1069ea2bcaf7bc8a7378352cc9528f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.11/Ex9_11.sce | ed652588f2d943f83fc8892434183ab6c8216c37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_11.sce | //Example 9_11 page no:362
clc;
Irmag=10;
Irang=20;//phase angle in degree
Iymag=Irmag;
Iyang=Irang-120;
Ibmag=Irmag;
Ibang=Irang-240;
disp(Irmag,"the magnitude of Ir is(in A)");
disp(Irang,"the angle of Ir is (in degree)");
disp(Iymag,"the magnitude of Iy is(in A)");
disp(Iyang,"the angle of Iy is (in degre... |
42a9c39dc19c7605a94b477d4646d17f217b3515 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH2/EX2.18/ex2_18.sce | dfd36d93200518d389cf7e8f6da703d080fce340 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | ex2_18.sce | // Exa 2.18
clc;
clear;
close;
// Given data
Miu_h = 500;// in cm^2/V.s
Miu_e = 1500;// in cm^2/V.s
n_i = 1.6*10^10;// in /cm^3
e = 1.6*10^-19;// in C
Sigma_i = n_i * e * (Miu_e+Miu_h);// in mho/cm
disp(Sigma_i,"The conductivity of pure silicon in mho/cm is");
|
e5801919c2dbe9151c4a53a1115849f7e66ddd34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH3/EX3.5/Ex3_5.sce | 65cf94ec31bceb4cea509700e5c83a9d051834cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,235 | sce | Ex3_5.sce | //Example 3.5
y_0;//Initial position (m)
y=-20;//Final position (m)
v_0=25;//Initial velocity (m/s)
theta_0=35;//Initial angle (deg)
v_0y=v_0*sind(theta_0);//y-component of initial velocity (m/s)
g=9.8;//Acceleration due to gravity (m/s^2)
p=[(-1/2*g) (v_0y) (y_0-y)];//Rearranging Equation 3.57 to get a quadra... |
1ec732112bd3cd95a83335bb24e85776fbadf8ba | 991911b2a5fe25b4515d60ea80978b8550f90178 | /SCILab/Scripts/sistema_linear.sce | a7444ee1c0c000364bb0df06c8d29e85b70f944a | [] | no_license | fongoses/comunicacao-dados-2013-2 | 48d2f0cd592ea50c8b1ec6f815c8de62f122c4de | 2981e42c5be4550ccd8dd4d4ef93b4397a1ea0d3 | refs/heads/master | 2016-09-10T10:44:16.480842 | 2013-12-17T12:48:45 | 2013-12-17T12:48:45 | 32,294,010 | 0 | 0 | null | null | null | null | IBM852 | Scilab | false | false | 752 | sce | sistema_linear.sce | mode(7);
// Sistemas lineares
// definindo-se um sistema linear por matrizes de espašo de estados
A=[0 -1;1 -3]; B=[0;1]; c=[-1 0];
Sys = syslin('c',A,B,C)
Sys.A
Sys.B
// transformacao para funcao de transferencia
hs = ss2tf(Sys)
hs.num
hs.den
// define a variavel dos polinomios
s=poly(0,'s')
// define os ... |
f29f8a3da1f629f4b00a0cbabf5adbe254727a6b | dc1af20bca10db33d1adcbf61d5fe874eb6eab07 | /CurrentRelease/vcast-workarea/vc_manage/PointOfSales_Manage/environment/LUA/LUA.tst | 61a24184002b9b3e7e8602957a279260d2a98436 | [] | no_license | TimSVector/PointOfSales_v2 | 2d1130516cfc5d77f2e5d0f60adcde96374f6fc2 | ef630f05850715568725cf94cc0e497146a049d4 | refs/heads/master | 2023-08-04T10:51:50.031346 | 2023-08-03T20:50:28 | 2023-08-03T20:50:28 | 133,404,783 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 966 | tst | LUA.tst | -- VectorCAST 22.sp6 (10/24/22)
-- Test Case Script
--
-- Environment : LUA
-- Unit(s) Under Test: lapi
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:REMOVED_CL_PREFIX
TEST.SCRIPT_FEATURE:MI... |
c3cb024294b9d564ce5c28943b91e650e786b7e6 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Introductory_Methods_Of_Numerical_Analysis_S._S._Sastry_1673.zip/Introductory_Methods_Of_Numerical_Analysis_S._S._Sastry_1673/CH1/EX1.10/1_10.sce | 34c1fbb246ca2483f239a8efe6d19baae3218329 | [] | 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 | 252 | sce | 1_10.sce | errcatch(-1,"stop");mode(2);//relative error
//example 1.10
//page 12
;;
a=6.54;b=48.64;c=13.5
da=0.01;db=0.02;dc=0.03;
s=(a^2*sqrt(b))/c^3;
disp(s,'s=');
r_err=2*(da/a)+(db/b)/2+3*(dc/c);
printf(' the relative error is :%f',r_err);
exit();
|
5d44961f077a653b23044a87d45a899d150e8d2d | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GFS-GCCL-C/results/GFS-GCCL-C.vehicle-10-1tra/result1s0.tst | b998f21335006e9cb0bb91637df109ac74b0178a | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,896 | tst | result1s0.tst | @relation vehicle
@attribute Compactness integer[73,119]
@attribute Circularity integer[33,59]
@attribute Distance_circularity integer[40,112]
@attribute Radius_ratio integer[104,333]
@attribute Praxis_aspect_ratio integer[47,138]
@attribute Max_length_aspect_ratio integer[2,55]
@attribute Scatter_ratio integer[112,26... |
58799e3d2faf08e605f04baa9da9b1b29c6ba44e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH16/EX16.6/16_6.sce | a0dad2a8f6c22b32effde6722e86bd03426bbf0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | 16_6.sce | //example 16.6
clc; funcprot(0);
// Initialization of Variable
pi=3.14;
h=100;//W/m^2/K
P=pi*0.005;
k=398;
Ac=pi/4*0.005^2;
thetab=100-25;
qf=(h*P*k*Ac)^0.5*thetab;
disp(qf,"heat rate in copper rod in W");
L=2.65*(k*Ac/h/P)^0.5*1000;
disp(L,"minimum value of the length in mm");
clear()
|
ffcf982e799b52c835a0de782f3c36eeceedcb3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH5/EX5.23/Ch05Ex23.sce | 55b82bd308f7075a7d83be327fbc40c5df4300ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | Ch05Ex23.sce | // Scilab Code 5.23: Page:307 (2011)
clc;clear;
lambda1 = 6000;....// Wavelength of yellow line, angstrom
lambda2 = 4800;....// Wavelength of blue line, angstrom
theta = asin(3/4); // Angle of diffraction, radian
// As a_plus_b*sin_theta) = n*lambda, so n*lambda1 = (n+1)*lambda2, solving for n
n = poly(0, 'n')... |
7d8e3cbb6ffabcce3603f5e864e894924fabfec3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.10/ex1_10.sce | ce95397d2abf5f8541c7f5ee0f7bc91293ce74de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | ex1_10.sce | //Exa:1.10
clc;
clear;
close;
V=230;//in volts
I_1=90;//in amperes
R_a=0.08;//in ohms
R_se=0.05;//in ohms
R_m=R_a+R_se;//in ohms
R=1.5;//in ohms
E_b1=V-I_1*(R_m+R);//in volts
E_2=180;//in volts
N2=700;//in rpm
N1=N2*(E_b1/E_2);
disp(ceil(N1),'Speed (in rpm)=');
T=9.55*E_b1*I_1/N1;
disp(T,'Torque (in New... |
3dadb8f4aadc4a25e743893019426c860a4b80d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH1/EX1.1/ex1_1.sce | 4b25d8bba28ad67c936e2ef8ce7f749843cf44c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | ex1_1.sce | clc;
clear all;
Y = 2e12 // Youngs modulus of steel in dynes per cm square
g = 981; // Gravity Constant in am per second square
l = 400; // Length of wire in cm
r = 0.1; // Radius of wire in cm
deltaL = 0.1; // Change in length of wire in cm
M = (Y * %pi * r^2 * deltaL )/(g*l*1000);
disp('kg',M,'The mass to be... |
94aa29425d3cc9951d00f38eefbad70bd9136029 | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH7/EX7.7/Ex7_7.sce | 71497bc7e7f547f49d822ad84d16deb6b8628ad5 | [] | 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 | 371 | sce | Ex7_7.sce | clc
// Intialization of variables
Rw = 1/15 // Ratio of widths
Q = 125 // m^3/s
t = 24 // hr
w = 20 //m
//calculations
Qm = Q*(Rw)^2.5
tm = t*(Rw)^0.5
wm = w*Rw
// results
printf(" the required model width is %.3f m",wm)
printf(" \nthe required model flow rate is %.3f m^3/s",Qm)
printf(" \nthe operating m... |
feae7be96b8bfdd171d0efa962557df98c2eb7f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH18/EX18.20w/18_20w.sce | 5ddd63c97192db18bf6bad8644fe40f79a8d73be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 18_20w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 18.20w
//calculation of position of diverging mirror to obtain real image at the source itself for given system
//given data
u=-15; //object distance(in cm)
f=10; //focal length(in cm) of converging lens
fm=12; //foc... |
5ec4a15a501bb2513abb8d79d12acaa4c343cd18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH23/EX23.06/23_06.sce | 5f5e3a34b32955d2ebac631161229d516ef20b4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 669 | sce | 23_06.sce | //Problem 23.06: Two impedances in an electrical network are given by Z1 = (4.7,35°) and Z2 = (7.3, -48)°. Determine in polar form the total impedance ZT given that ZT = Z1*Z2/(Z1 + Z2)
//initializing the variables:
r1 = 4.7; // magnitude
theta1 = 35; // in degree
r2 = 7.3; // magnitude
theta2 = -48; // in degre... |
5f6137fc29ff8310ad8314c86a44ed52c579d7c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH10/EX10.6/Ex10_6.sce | b4d0e04fe709897587f00dba5ac2146c578e97df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,308 | sce | Ex10_6.sce | clear;
clc;
disp('Example 10.6');
// aim : To determine
// (a) the energy supplied in the boiler
// (b) the dryness fraction of the steam entering the condenser
// (c) the rankine efficiency
// given values
P1 = 3.5;// steam entering pressure, [MN/m^2]
T1 = 273+350;// entering temperature, [K]
P2 = 1... |
825d8a32b164a6132cc18e2b8595917862fc04ba | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/scicos_flex/dspic/macros/flex_blocks/FLEX-Communication/FLEX_canout.sci | 060289e15480301e756a6f734467dcb0cd674595 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,338 | sci | FLEX_canout.sci | function [x,y,typ] = FLEX_canout(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
exprs=arg1.graphics.exprs;
can_msg_id = exprs(1);
n_channels = exprs(2);
standard_draw(arg1);
case 'getinputs' then
[x,y,typ] = standard_inputs(arg1);
case 'getoutputs' then
[x,y,ty... |
3d62bf04ef391125499d3ed49e94d4cceb4a5221 | f9157b24bd3482d72ec64073a522b11a2db1c9ff | /sound_calibrator/sound_calibrate.sce | 41247ff893cca9b9063f7184e276ce7b68ea67e1 | [] | no_license | gjcooper/presentation-utility-experiments | 3c35f4b075fba3c5415e1091dcdda72e337f53db | e2c989c80181b0ed2d690639d16b1f0ac1acfe2d | refs/heads/master | 2021-01-10T10:51:01.588392 | 2017-03-15T02:54:55 | 2017-03-15T02:54:55 | 53,284,692 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,759 | sce | sound_calibrate.sce | pcl_file = "sound_calibrate.pcl";
no_logfile = true;
# button 1 should be the right arrow
# button 2 should be the left arrow
# button 3 should be 's'
active_buttons = 9;
/*Buttons:
1: S - Adjust Step Size
2: Up - Increase Attenuation (Reduce Volume)
3: Down - Decrease Attenuation (Increase Volume)
4: Left - Sw... |
7a80789071cba0c78b5c997977223333155e0bdc | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testxchoices.sce | e74442cb2af8ffc116bf6331cb7e5dc08bd0401f | [] | 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 | 158 | sce | testxchoices.sce | l1=list('letter',3,['a','b','c']);
l2=list('number',2,['1','2','3']);
l3=list('boolean',1,['%T','%V']);
rep=x_choices('make your selection :',list(l1,l2,l3))
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.