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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
be4e585b576c90b4c54c7f11e429096554d89b1d | 5aa23349481ccf767e1bf388d96c8441b7ec1e2e | /projects/custom/Nor.tst | 941ae54a2f12ffc0e5b275d8fa47b2c59af290a9 | [] | no_license | bhargavbhat/nand2tetris | 70ffb5a8583e8b1ee04fcdbb71edddb771b839b6 | d06b63dd28d1155fa2183bb976f56dce87cf5fd7 | refs/heads/master | 2021-01-11T11:47:29.424785 | 2017-04-01T05:37:09 | 2017-04-01T05:37:09 | 79,630,757 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | tst | Nor.tst | load Nor.hdl,
output-file Nor.out,
compare-to Nor.cmp,
output-list a%B3.1.3 b%B3.1.3 out%B3.1.3;
set a 0, set b 0, eval, output;
set a 0, set b 1, eval, output;
set a 1, set b 0, eval, output;
set a 1, set b 1, eval, output;
|
daaf0aa68ca6b52fa0916c40b062d700a36c8906 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH2/EX2.15/Ex2_15.sce | 5d0ba5586c8ab79ae435baa77be90764fbce8545 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | Ex2_15.sce | //Example 2.15
y_0=0;//Initial position (m)
y_1=-5.10;//Position at which velocity is to be found (m)
v_0=-13.0;//Initial velocity (m/s)
g=9.8;//Acceleration due to gravity (m/s^2)
a=-g;//Acceleration (m/s^2)
v=sqrt(v_0^2+2*a*(y_1-y_0));//Velocity at position y_1(m/s), See Equation 2.77
printf('Velocity when 5.1... |
eb3269b4c612f512f5328f42f9547aebf6950248 | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH12/EX12.5/example_12_5.sce | af5f32eb1802a721bcf1bedcb7e037a58e149cb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,916 | sce | example_12_5.sce | //Chapter 12
//Page 329
//Example 12.5
//busimpedancematrix
clear;clc;
//Given
V_bus1 = 4.16e3;
V_bus_2 = 600;
Vm = 600;
n_m = 0.895;
Pop_m = 6000;
X11_m = %i * 0.2;X_2_m = %i * 0.20;X_0_m = %i * 0.04;X_n_m= %i * 0.02;
Vtr_ht = sqrt(3) * 2400;Vtr_lt = 600;Ptr =3 * 2500e3;
X11_tr = %i * 0.10;
Pg = 7500e3;Vg = 4.16e3;
X1... |
5b906382285aee958710b8597989f18a01eee504 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH1/EX1.15/Ex1_15.sce | beae58856018368bf76bde76cd6d28c5d3825ef9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sce | Ex1_15.sce | //Chapter1,Example1.15,Pg1.19
clc;
disp("Refer to the figure shown in the problem")
R1=4*4/(4+4) //Equivalent resistance of the upper triangular network
R2=3*3/(3+3) //Equivalent resistance of the triangular network on right
R3=2*(R1+R2)/(2+R1+R2)
R=2*(R3+1)/(2+R3+1)
printf("\n Equivalent resistance =%.2f ohms \... |
88772dacb7f294e666d622156379ea9c35e2d94f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH2/EX2.5/Ex2_5.sce | 1d4b6749a0a09cac3f1f2c880eb4dcf797b8b022 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | Ex2_5.sce | clc
E=2// eV
V0=20// eV
a=3*10^-10// a=3A = 3*10^-10 m
m=9.11*10^-31// kg*m/s
e=1.6*10^-19// eV
h=1.054*10^-34// J*s
K2=((2*m*(V0-E)*e)/(h*h))^0.5
disp(K2,"the value of K2 in m^-1 is")
T=16*(E/V0)*(1-E/V0)*exp(-2*K2*a)
disp(T,"the value of T is")
|
ae8a069ce5e3cc6fdd4c60520daaedec1661af7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH10/EX10.11/Example10_11.sce | 42df73c7a5886b68181a7196fb233017f4c356a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,170 | sce | Example10_11.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 3: STEADY STATE CHARACTERISTICS AND PERFORMANCE OF TRANSMISSION LINES
// EXAMPLE : 3.11 :
// Page number 135-137
clear ;... |
b5b278374c1d31a9850be1c1019c5e4b202de51a | fc5080a7a45bf85d49f1c431517e8212927894b6 | /mfcc_functions.sci | d29c09a3ca40be0cbe62102c11a2b622a739060e | [] | no_license | DanielPokorny/scilab_voice | 8f7ff13903ed0fc16ff117bcfae67d5329c0b501 | ba9a093ccc88b36df6326572ae24f2a34a190f34 | refs/heads/main | 2023-03-12T14:03:22.540802 | 2021-02-20T11:16:48 | 2021-02-20T11:16:48 | 340,635,274 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,062 | sci | mfcc_functions.sci | function [spectrum]=powerspectrum(segment)
hw=window('hm',length(segment));
spectrum=abs(fft(x.*hw));
spectrum=(spectrum./max(spectrum)).^2;
spectrum=spectrum(1:length(spectrum)/2)
endfunction
function [mel_banks]=melbanks(spectrum)
melfreq_from=[0, 133.33, 266.66, 399.99, 533.32, 666.65, 799.98, 933.31, 10... |
47b1428ad48621cd4050198fbf3a374ede27cee0 | 43799901e22e995d4db64000ef28c0a787aeb11b | /ISAWIN/LINOV/ROU/appli.tst | 773c09185635402723ee4625537559355523eb0f | [
"WTFPL"
] | permissive | aquaforum/tench_catch | 7082d8e8f3a224aa50be9150a96362f2f323a2be | 3f377476d82d7343edd985a6d3a41b57dc301f98 | refs/heads/master | 2023-07-17T13:33:10.901467 | 2021-08-22T19:29:09 | 2021-08-22T19:29:09 | 398,885,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,986 | tst | appli.tst | @ISA_SYMBOLS,80251327
#NAME,rou,3.41
#DATE,21.09.2015
#SIZE,G=6,S=0,T=0,L=0,P=3,V=50
#COMMENT,wsma1tst
@PROGRAMS,6
#!5001,PARM_RAM
#!5002,ANALOG
#!5003,CONTROL
#!5004,TX_X
#!5005,MUX2
#!5006,P_P0
@STEPS,0
@TRANSITIONS,0
@BOOLEANS,67
#!1001,X0001,+I,!0000,FALSE,TRUE
#!1002,X0002,+I,!0000,FALSE,TR... |
d615bfe692cdce4dc2f6ea82a645f15fae4c9ed8 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.5_19.tst | cafcd28256f2ffa4c51ee148a83b7bef20c6acb3 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 578,245 | tst | 5.5_19.tst | 5 31:1 84:1 248:1 273:1 433:1 606:1 889:1 996:1 1040:1 1415:1 1455:1 1464:1 1569:2 1570:1 1575:1 1848:1 1901:1 1917:1 1933:1 1938:1 1964:1 1981:1 2388:1 2506:1 2512:1 2613:1 2640:2 2648:1 2810:2 2897:1 3113:1 3352:1 3468:1 3498:1 3740:1 3786:1 3966:1 4149:1 4314:1 4331:1 4441:1 4442:2 4513:1 4910:1 5050:1 5084:1 5416:1... |
f11bfc014fae7536e2cb37ab1edf0ea5bf54e975 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH5/EX5.22/ex5_22.sce | 97f3f5306ef3b20d19c2429487651e638d4e9afa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex5_22.sce | // EXa 5.22
clc;
clear;
close;
// Given data
R = 10;// in k ohm
R = R * 10^3;// in ohm
C = 0.01;// in µF
C = C * 10^-6;// in F
f = 2;// in kHz
f = f * 10^3;// in Hz
Phi = -2*atand(2*%pi*R*C*f);// in degree
disp(Phi,"The phase shift in degree is");
|
ccd1aa71c07a43772226e0fc2c04e9af012dbe75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH1/EX1.6/Ex1_6.sce | 4c783408a433428f0e2caaaa002aa04659f61a7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | Ex1_6.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : DC Circuits
// Chapter 1 : Basic Concepts
// Example 1 - 6
clear; clc; close;
//
// Given data
t = 2.0000;
p = 10... |
43b9c24dfaa24ebdfd4f4b3e98d184a63c325e63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH2/EX2.7/Ex2_7.sce | 0ca7ef9d668c57ce0e4296d502a6bedd0201fc9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,036 | sce | Ex2_7.sce | // Exa 2.7
clc;
clear;
// Given data
// Fig. 2.11(a) shows the basic differential amplifier
Rc = 2*10^3; // Ω
Re = 4.3*10^3; // Ω
Vcc = 5 ; // Vcc = |VEE|
Bo = 200;
Vbe = 0.7; // Volts
Vt=25*10^-3; // Volts
// Solution
printf(' For V1 = V2 = 0, applying KVL for the base emitter loop, we may write,... |
fe2b3b611eaeb1e5ed338a95c1369dedb976ea98 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpklp2lp/test_4.sce | c162f8a5a9d12f1576fc025095929c0913915121 | [] | 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 | 276 | sce | test_4.sce | // Test # 4 : Checking the type for Input Argument #3
exec('./zpklp2lp.sci',-1);
[z,p,k,n,d]=zpklp2lp(0.43,0.2,[0.2 0.4],0.1,0.6);
// !--error 10000
//K must be a scalar
//at line 57 of function zpklp2lp called by :
//[z,p,k,n,d]=zpklp2hp(0.43,0.2,[0.2,0.4],0.1,0.6)
|
5b9bee4ce9f89c6d33ebedce4000d18caf18b5d1 | cb6a40836cee8114b57bbdae4a93ab55db0073c3 | /Domain/Modelts.tst | f1f9d413105201aca92c80b633357f316954cb83 | [] | no_license | Hemantham/FtDashboard | 9c3fdba787e633b8394e43bb66f3b1137aa748c7 | 7e7253d0c4d6e3a76f29883a3b8b9663b91bdcd0 | refs/heads/master | 2020-12-05T02:38:32.746196 | 2016-10-17T23:26:38 | 2016-10-17T23:26:38 | 66,912,086 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | tst | Modelts.tst | module App {
$Classes(*)[ // Find all classes with a name ending with Model
export class $Name {
constructor($Properties[public $Name: $Type][, ]) {
}
}
]
} |
d9ec21f0f384704d9638332b2fe9b0d85c7bb7a5 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/mdaq_disconnect.sci | 876e265318a8256c5a115049422ced6033687f34 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 227 | sci | mdaq_disconnect.sci | function result = mdaq_disconnect(connection_id)
result = call("sci_mlink_disconnect",..
connection_id, 1, "i",..
"out",..
[1, 1], 2, "i");
result = 0;
endfunction
|
e2419b71f68f9ec4c6171c4901e06c1d8559ef5e | 3ca7d40067d619bd7859f89de1882e22ef3a9fda | /testcases/public/test023.txt | 1f06aa010c2839d80d41b6797a2ad98ebaa1661f | [] | no_license | caojoshua/CS241-Advanced-Compiler-Construction-Project | 2b76c042ea6505c4a565ae5299efb5d983e0b4f3 | 1b25c9dd283b77555ccc3951924ac2882c1d92c2 | refs/heads/master | 2020-12-15T02:54:38.405198 | 2020-03-25T20:52:37 | 2020-03-25T20:52:56 | 234,971,962 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | txt | test023.txt | # Nested if/while testcase
# Based on discussions with Alex, Marcelo, and Babak
main
var a, b, c, d, e;
{
let a <- 1;
let b <- 2;
let c <- 3;
let d <- 4;
let e <- 5;
while ( c + 4 ) < d do
if ( a + 5 - b ) > ( b * 6 ) then
let a <- a / c * d;
let d <- d - 1
else
let d <- a + b
fi... |
652a051e7d70a60633a66cac0af2f76458638dfd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH5/EX5.2/Ex5_2.sce | 18c9d91cf8448d5de042147859a8dcc5ce0007d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 987 | sce | Ex5_2.sce | //Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 5
//example 5.2
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
l=50; //load in hp
f=60; //frequency in hertz
n=1764; //full load s... |
2b27b37fb0e3e3e2a9c4ba16d925d1daafd4c8ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH5/EX5.31/Ch05Ex31.sce | 788fa09afebd505308ae0e52f25511ad76e4b5cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sce | Ch05Ex31.sce | // Scilab Code Ex5.31:Page:312 (2011)
clc;clear;
lambda = 5.5e-007;....// Wavelength of light used, m
x = 1.5e-003;....// Distance between the two pinholes, m
a = 4.0e-003;....// Diameter of objective, m
D = a*x/(1.22*lambda); // Minimum distance from the telescope at which the the pinhole can be resolved from ... |
6da88ea708e3706ec6cb00d8ce466cb2450f2277 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH11/EX11.2/11_2.sce | 8e47035de295b682f7d3c8d4acad105bfe6b67ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,109 | sce | 11_2.sce | //To Determine the fault components of the system
//Page 606
clc;
clear;
L=4; //Total Length of the cable
Lov=3;//Length of Overhead Cable
Lu=L-Lov; //Length of Underground Cable
Nct=2; //Number of circuit terminations
T=10; //No of years for which the record is shown
Fov=2; // Faults Per Mile of the Over He... |
0c8e810627c32c4719d48c4e95793cf6684970bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH25/EX25.06/25_06.sce | 52373c214212c9784ad0aa7db80325d34f835673 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,545 | sce | 25_06.sce | //Problem 25.06: An a.c. network consists of a coil, of inductance 79.58 mH and resistance 18 ohm, in parallel with a capacitor of capacitance 64.96 μF. If the supply voltage is 250/_0° V at 50 Hz, determine (a) the total equivalent circuit impedance, (b) the supply current, (c) the circuit phase angle, (d) the current... |
240e99ded757f847be912c38b40052193249b9ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH11/EX11.17/gmvc_pid.sci | c00f2b000873548f4b9e48939ef13bc290ec1586 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,014 | sci | gmvc_pid.sci | // PID tuning through GMVC law
// 11.17
// function [Kc,tau_i,tau_d,L] = gmvc_pid(A,B,k,T,Ts)
// Determines p,i,d tuning parameters using GMVC
// Plant model: Integrated white noise
// A, B in discrete time form
function [Kc,tau_i,tau_d,L] = gmvc_pid(A,B,k,T,Ts)
dA = length(A)-1; dB = length(B)-1;
dT = le... |
37ae07559fcff6ee33f6a577c0146fe6597367b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH3/EX3.2/Ex3_2.sce | aa91a23f520269b88f9c3b3c5e3f7ad7cc86b956 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,143 | sce | Ex3_2.sce | //Caption:Calculate the charcteristic impedance, attenuation constant, phase constant of transmission line Calculate power delivered to load , if line length=500 km.
//Exa:3.2
clc;
clear;
close;
e=2.718;
//Given:
R=8;//in ohm/kilometer
L=2*10^-3;//in henry/kilometer
C=0.002*10^-6;//in farad/kilometer
G=0.07*1... |
cfb8896911bf0625ab2f0a807e4a2451e16762c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH3/EX3.3/ex3_3.sce | 2407d491025eeac54f700c2cd670f46bc9761a00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | ex3_3.sce | // Exa 3.3
clc;
clear;
close;
// Given data
P = 3.2;// in bar
P = P * 10^5;// in N/m^2
R = 292.7;// in kJ/kg-K
C_p = 1.003;// in kJ/kg-K
m = 1;
V1 = 0.3;// in m^3
V2 = 2*V1;// in m^3
W = P*(V2-V1);// in J
W = W * 10^-3;// in kJ
disp(W,"The work done in kJ is");
T1 = (P*V1)/(m*R);// in K
disp(T1-273,"Th... |
63c11032b4af59f23775b57ff98c28be4e9a5746 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH1/EX1.5/ex_1_5.sce | 4e529dda3ef356ac0d47e42c3e5ce09ba1f9577b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,228 | sce | ex_1_5.sce | //Example 1.5 // average kW ,KVA input ,arc voltage ,arc resistance and pf of the current drawn
clc;
clear;
close;
format('v',7)
sh=444;// specific heat of steel in J/Kg/°C
lh=37.25;//latent heat in kJ/kg
mp=1370;//melting point of steel °C
t1=19.1;//initial temperture in °C
e=0.5;//overall efficiency
ip=5700;//input c... |
4b5ff6725ba380c07ac018335120cbe25952735f | f78a758dc17a311b355e12366d1315f7a9c2b763 | /Daimler Chrysler/DC-10615-E 2007/7.5 Engine Cranking Low Voltage-Warm cranking 0.tst | ccf6c5d316de1e45d32de7a5b57a7dfff1c44785 | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,635 | tst | 7.5 Engine Cranking Low Voltage-Warm cranking 0.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTestC version="2.0.0">
<Pulse>CUSTOM WAVE</Pulse>
<Title></Title>
<Organization>Daimler Chrysler</Organization>
<Standard>DC-10615-E 2007</Standard>
<Item>7.5 Engine Cranking Low Voltage-Warm cranking</Item>
<voltage>13.5</voltage>
... |
2541f3554b7daba6969640a7b76c5ff27695d118 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH2/EX2.8/Ch02Ex8.sce | 00c21214ca78ce19a61f87b44c7d46d257f2650d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch02Ex8.sce | // Scilab code Ex2.8: Pg.52 (2005)
clc; clear;
// Part (a)
// Since 1 eV = 1.6e-19 J, therefore 3 eV = 3*1.6e-19
BE = 3*1.6e-19; // Binding energy of water, J
c = 3e+08; // Velocity of light, m/s
delta_m = BE/(c^2); // Mass difference of water molecule & it constituents, kg
printf("\nMass difference of... |
c2126af2bed32c7fa7fc2f241f99faa702d50409 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH14/EX14.1/ex14_1.sce | 65ad52b039483c9ba7c8be37ed54a101e6fc50ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | ex14_1.sce | //ex14.1
R1=25*10^3;
R2=R1;
A_cl=500; //closed loop voltage gain
R_G=2*R1/(A_cl-1);
disp(R_G,'value of the external gain setting resistor in ohms') |
a3583e1f434a6c51829edfdb1406fff1f17ccc57 | cd18f1040324d5a2746a8631b33d83076a970505 | /course/artificialIntelligence/mt/data/mt1by0.tst | 05a1d9440bd22c2c98599e1c5e1c4c9883181795 | [
"MIT"
] | permissive | ccckmit/ccckmit | 99ebd41e2ec413070834aab33af2cfc12c5f5641 | 318e6b91dcb03238fe4851f111c0ac7b53901ab1 | refs/heads/master | 2021-05-06T11:17:07.377777 | 2018-02-24T06:41:43 | 2018-02-24T06:41:43 | 114,251,434 | 34 | 21 | null | null | null | null | UTF-8 | Scilab | false | false | 71 | tst | mt1by0.tst | 一 隻 狗
一 隻 貓
黑 狗
黑 貓
一 隻 黑 狗
一 隻 黑 貓 |
e664235432fbc2c0cb2d37b57af2ae6edbaf9386 | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /main/testWalkerContraintes.sce | 33059c0ca3e707c3dde4783843aa047c5656ddb8 | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,311 | sce | testWalkerContraintes.sce | // 21 janvier 2013
// construction du modele du bonhomme
// modelisation 2 D 5 segments pour le bonhomme et
// le deambulateur est un objet rigide a trois branches
// On ajoute un PI pour vrifier que la pose est telle que les pieds touchent le sol.
// simuInit
q1 = 10*%pi/180 ;
q2 = -40*%pi/180 ;
q3 = 40*%pi/180 ;
... |
9230c3e0ea63ef7878232e8e72ff7673edffb3ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH1/EX1.3/1_3.sce | e8f5b712f979ea846937661f803083635249802a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sce | 1_3.sce | clc;
clear;
V=0.84;//ft^3
p=50;//psi
T=70;//degree farenheit
atmp=14.7;//psi
//the air density d=P/(RT)
//1ft^2=144 inches^2
d=((p+atmp)*144)/((1716)*(T+460));
disp(d)
//slugs/ft^3
//weight of air
W=d*32.2*V;
//1lb=1 slug.ft/sq sec
disp("lb",W,"W=")
//taking various values of p a graph is plotted between... |
089a2af3e3ff0b500276535917a7224b47acef90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH22/EX4.5.5/U4_C5_5.sce | 3c2f0ad006f3edc9af006c36b92e53170f37431b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | U4_C5_5.sce | //variable initialization
z1=13 //atomic no. of Al
z2=27 //atomic no. of Co
R=1.097*10^7; //(m-1)
//... |
f6b27af1a349e0973b8bda9b5be5fda9dbabe667 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.20_18.tst | 66ee515bc3961ac22262089c4cf72835589505a8 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 24,323 | tst | bow.20_18.tst | 20 29:0.3333333333333333 39:2.0 53:1.0 56:1.0 57:0.25 81:0.027777777777777776 83:0.3333333333333333 86:0.25 107:0.1111111111111111 110:0.14285714285714285 121:2.0 124:0.25 228:1.0 317:0.25 472:0.3333333333333333 577:0.3333333333333333 669:1.0 1150:0.5 1158:1.0 1161:1.0 1175:1.0 1749:1.0 2217:1.0 3361:1.0 4483:1.0 4536:... |
4508a0423f2ecb49c2446c0581e3ad69f13ade76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH3/EX3.6/Ex3_6.sce | 192081a59245f53ac97bc1fcf12e0f99a60a30b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 884 | sce | Ex3_6.sce | //CHAPTER 3- THREE-PHASE A.C. CIRCUITS
//Example 6
clc;
disp("CHAPTER 3");
disp("EXAMPLE 6");
//VARIABLE INITIALIZATION
v_l=3300; //line voltage in Volts
p_out=1500*735.5; //output power in Watts (1 metric horsepower= 735.498W)
eff=0.85;
pow_fact=0.81;
//SOLUTION
//solution (a)
p_in=... |
5de161929483863da25efc93851b0e51a4526adf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3482/CH10/EX10.3/Ex10_3.sce | ce6645a4f06ec0886904fb00cb0d4f6c6c36d85b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | Ex10_3.sce | clc;
m=1000;//kg, mass of krate
theta=60;//degree
theta=theta*%pi/180;//radians, conversion into rad
a=0.70;//m
L=3.20;//m
g=9.81;//m/s^2
//From theory we get
W=m*g;//N, Weight
W=W/1000;//kN, conversion into kN
S=sqrt(a^2+L^2-2*a*L*cos(theta));//m
F_DH=W*S/L/tan(theta);//kN
printf("Force exerted by each c... |
8fdc26e996c532ae7e63631db9c0d44121b39930 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH2/EX2.2/Ex2_2.sce | 77661ad80ba8caa178b8e03234b3a8b07c2a6dca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 760 | sce | Ex2_2.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 2,Example 2")
t1=0;//ice point temperature in degree celcius
p1=3;//thermometric property for ice point
t2=100;//steam point temperature in degree celcius
p2=8;... |
b225e3d2ea9eade285fd6254565a8a4ff3b16ae2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH14/EX14.9/EX14_9.sce | 1e776d19cfbd42ec383249337bad16a331cfe205 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | EX14_9.sce | //Example 14_9
clc;clear;funcprot(0);
// Given values
n=1170;// Rotation rate in rpm
H=23.5;// Net head in ft
v=320;// gpm
g=9.81;// m/s^2
// Calculation
N_spUS=(n*v^(1/2)/(H)^(3/4));
printf('The pump specific speed in customary U.S. units,N_sp,US=%0.1f \n',N_spUS);
omega=(2*%pi*n)/60;
// N_sp1=N_spUS*(N_s... |
53091dc4f94199aa485d61f5e9a42fd22f79508b | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH3/EX3.1/Ex3_1.sce | caf83c83fcc352bf56438ad4c33a43de29f6752d | [] | 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 | 320 | sce | Ex3_1.sce | //Variable declaration
Sample = [[0,0],[0,1],[1,0],[1,1],[0,2],[2,0]]
C = [[1,0],[0,1]]
D = [[0,0],[0,1],[0,2]]
E = [[0,0],[1,1]]
//Calculation
un = union(C,E)
inter = intersect(C,D)
D_comp = setdiff(Sample, D)
// Result
printf ( "Part A: ")
disp(un)
printf ( "Part B: ")
disp(inter)
printf ( "Part C: ")
disp(D_comp)
|
7567e01255e836f7c9ce78f20936ebb44f010d3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH6/EX6.2/6_2.sce | a076f951edc4ee9b16f573b8f5d76c7fe54e3675 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_2.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 6.2
//calculation of the force of friction exerted by the horizontal surface on the box
//given data
M=20//mass(in kg) of the box
muk=.25//coefficient of kinetic friction
g=9.8//gravitational acceleration(in m/s^2) o... |
644be2f49e9844def84be083ea4f2b30359531da | 2eac84edf941c64588fef76f10d02309aabcb2fb | /Library/Math/Scilab/loader_x64.sce | ace26f8aad91ec7a148a74185b4bf8c0dc4ec20c | [
"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 | 8,863 | sce | loader_x64.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
// Generated by builder.sce : Please, do not edit this file
// ----------------------------------------------------------------------------
//
if ~win64() then
warning(_("This module requires a Windows x64 platform."));
return
end
//
... |
991c4a3c284a51e7ee69504e1f9c6b381bf4d65e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH6/EX6.13/Ex6_13.sce | 5d95d5ef62da4c07416d247e6f8eb5bc37643bb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sce | Ex6_13.sce | //chapter 6
//page no181
//Ex6_13
//given
clear;clc;
dV=50; //in mV
di=3; //in Amp
Lcable=15; //in nH
fL=dV*10^-3/di/2/%pi/Lcable/10^-9;
printf("fLcable = %0.0f kHz",fL/1000);
|
0d2048a81bc31ebb47d9ccf44e6c8c97cffd2ce9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH13/EX13.8/Ex13_8.sce | 7ddcac1eeb226d05b8a1290b18c450897ea7a9f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 686 | sce | Ex13_8.sce |
// Example 13.8
// We Know that Pi= Ph+ Pe=( Af+ Bf^2 )
// there for at 60Hz 100= 60A+ 3600B
// at 40Hz 60 = 40A+ 1600B
// After Solving Equation We have
A=1.167; // A... |
8728c26123cc3b037d39e5eaba536e36a612b7bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH4/EX4.10/Example4_10.sce | 362d5556576d74b582e991fb2c4646a0b5252ee9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 710 | sce | Example4_10.sce |
clear;
clc;
printf("\t Example 4.10\n");
T1=308; //air temperature, K
Q=0.1; // heat transferred,W
k=16; //thermal conductivity of wires, W/(m*K)
d=0.00062; //diameter of wire,m
Heff=23; //convection coefficient, W/(m^2*K)
//the wires act actn as very long fins connected to ressistor hence tanh(mL)=1
... |
9730b8222a42d6537726738816e62a55126d777b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH6/EX6.1/6_1.sce | 662f5751d53cc12146110ff81c4baed546d2c454 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | 6_1.sce | clc
//initialisation of variables
m= 5 //kg
h= 10 //m
gc= 1.0 //kg m/N s^2
//CALCULATIONS
v2= 2*h*gc*9.8
KE= (m*v2)/(2*gc)
PE= (m*gc*9.8*h)/(gc)
//RESULTS
printf ('KE= %.f J',KE)
printf (' \n PE= %.f J',PE)
|
072333b78478e80672a3033f29fe8776e1e1cf3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH7/EX7.14/7_14.sce | 59eb837925c47e7f45a7f10f2c12927554b1012a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | 7_14.sce | clc,clear
printf('Example 7.14\n\n')
ECE_Cu=0.3281*10^-6 *3600//in kg/Ah
//500 cells, 6000 A, 40 hours per week, 52 weeks
ampere_hours_per_annum=500*6000*40*52
annual_output= ECE_Cu*ampere_hours_per_annum/1000 //in tonnes
V=0.25 //voltage per cell
energy_consumd_per_annum= ampere_hours_per_annum * V/1000 /... |
8c38582685364d741d1a3e505de1b52bb38bcae3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH13/EX13.13/Ex13_13.sce | 988cf8453a48543cdc226d94b01abc9a98e572ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | Ex13_13.sce | //Initilization of variables
P=70 //N
m_A=16 //kg
u_AH=0.25 //coefficient of friction between Block A and Horizontal Plane
m_B=4 //kg
u_BH=0.5 //coefficient of friction between Block B and Horizontal Plane
theta=10 //degrees
g=9.8 //m/s^2
//Calculations
//Applying sum of forces to both the FBD's
//Solving by ... |
1a41ce7fd0ee61362d79f9274c5c4f0168cfa003 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.106/EX2_106.sce | 89e13fb16810f69cf5e2b2139011ab4a390f73f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | EX2_106.sce | //EXAMPLE-2.106 PG NO-144
Fo=35.59; //frequency in HZ
V=50;
R=100;
I=V/R;
L=0.5;
XL=(2*%pi*Fo*L);
V.I=XL*L; //VOLTAGE ACROSS INDUCTION
XC=XL;
Q=XC/R;
S=L/Q;
W2=323.55; //UPPER HALF REQUENCY
W1=123.65; //LOWER HAL FREQUENCY
B.W=W2-W1; // BAND WIDTH
disp('i)... |
13801ac032434435be01734bf9b8ce32b797b828 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH7/EX7.8/Ex7_8.sce | 75c011f15d4e24486ade47427c6d61994234e2c7 | [] | 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 | 180 | sce | Ex7_8.sce | errcatch(-1,"stop");mode(2);//Example 7_8
;
;
//To calculate the numerical aperture
n1=1.55
n2=1.50
NA=sqrt(n1^2-n2^2)
printf("The numerical aperture is %.3f",NA)
exit();
|
0707ef01776a86746337b00cf67f81718d5aa945 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH9/EX9.13/Ex9_13.sce | 35485a864d5bbd690267a3e8303e9e3039b35478 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | Ex9_13.sce | //Chapter 9
//page no 310
//given
clc;
clear all;
R=25; //in nm
R1=25*10^-6; //in m
L=1000; //in nm
L1=10^-6; //in m
NA=0.2;
V=2*%pi/L1*R1*NA;
printf(" \n Normalised frequency(V) = %0.1f ",V);
y=2; //for parabolic
Mmax=y/(y+2)*(V^2)/2;
pr... |
3bdce129c2125ab0de530aa7da253e578f437aef | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/AdaBoost/results/AdaBoost.NC-C.vowel-10-1tra/result9s0.tst | fe6765ac6aa3049c56ca17d2ebf858a51ec1e6f6 | [] | 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 | 967 | tst | result9s0.tst | @relation vowel
@attribute TT integer[0,1]
@attribute SpeakerNumber integer[0,14]
@attribute Sex integer[0,1]
@attribute F0 real[-5.211,-0.941]
@attribute F1 real[-1.274,5.074]
@attribute F2 real[-2.487,1.431]
@attribute F3 real[-1.409,2.377]
@attribute F4 real[-2.127,1.831]
@attribute F5 real[-0.836,2.327]
@attribute... |
4916ba094aed141ec4fe294af2ad52c0afe1b6e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH15/EX15.1/Example_15_1.sce | 19ec001880e77046befec1ba30efcd6daaa43957 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,123 | sce | Example_15_1.sce | //clear//
clear;
clc;
//Example 15.1
//Given
Ds = 35/12; //[ft]
Do = 0.75/12; //[ft]
p = 1/12; //[ft]
P = 1; //[ft]
mdot = 10^5; //[lb/h]
mu_60 = 0.70; //[cP], at 60 [F], from Appendix 9
mu_140 = 0.38; //[cP], at 140 [F], from Appendix 9
Cp = 0.41; //[Btu/lb-F], from Appendix 16
k = 0.092; //[Btu/ft-h-F]... |
24150ebf29aba0ed3e16048cdc2999cee42ee917 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH16/EX16.3/16_3.sce | 3929fb6aeda69fbebada0eb59db93a19485e7be3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,001 | sce | 16_3.sce | pathname=get_absolute_file_path('16_3.sce')
filename=pathname+filesep()+'16_3data.sci'
exec(filename)
clear
Iyy=2*(ty*a^3)/12 +((b- 2*ty)*tx^3)/12;
Ixx=(a*b^3)/12 - ((a-tx)*(b-2*ty)^3)/12;
Mx=M*cos(theta),My=M*sin(theta);
alpha=(atan((My/Iyy)/(Mx/Ixx)))*180/%pi;
deff("[Sz1]=f(x)","Sz1=((Mx/Ixx)*(b/2))-((My/Iyy)... |
bc808f92c73e58b6f188b2acafd59524113a8667 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH6/EX6.5/example6_5.sce | fc6cf4d74418e50b6e019354f74417c3f90c6137 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | example6_5.sce | //clc()
T = [273 293 313 323 333 353 373];
Ps = [0.61 2.33 7.37 12.34 19.90 47.35 101.3];
plot2d('ll',T,Ps,rect=[250,0.1,380,195]);
P = get("hdl");
xtitle('Construction of cox chart','Temperature, K','Pressure, kPa');
T1 = [273 353]
Ps1 = [8.52 194.9]
plot2d('ll',T1,Ps1); |
acc1d904d68fa6998f73f2c858490769fe274b93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3506/CH3/EX3.2/EXP_3_2.sce | b738a36235201061e7f5a4bc7f7f2d4d7b46ae3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | EXP_3_2.sce | //Optical Fiber communication by A selvarajan
//example 3.2
//OS=Windows XP sp3
//Scilab version 5.5.1
clc;
clear all;
//given
NA1=0.2;//numerical apperture of fiber 1
NA2=0.1;//numerical apperture of fiber 2
D1=12;// core daimeter of fiber 1 in um
D2=6;// core daimeter of fiber 2 in um
Losses=20*log10(NA1/... |
6d9879165ec70720df790b3af054c72cb98f0c90 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/xchange.man.tst | e44d009bbcf90dec7d51ae349977ac4bbaf65d45 | [
"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 | 111 | tst | xchange.man.tst | clear;lines(0);
t=[0:0.1:2*%pi]';
plot2d(t,sin(t))
[x,y,rect]=xchange(1,1,"f2i")
[x,y,rect]=xchange(0,0,"i2f")
|
71115433e4e99d250dcaeac1846127bb483d4a5e | b6966e0c85d8ea6917fb5d0c77dc3558657ba584 | /macros/transpose.sci | a5780eea72ed532a00c4ce71233897b7d8648b61 | [] | no_license | YasaAliRizvi/Scilab6-Test-Toolbox | 81e737ad23c0a56e22b8b95ceae20c9184a12a78 | 8ddfb6156dfd1d694f971c4d2cfd60d9a01fd0f4 | refs/heads/master | 2023-03-21T19:10:52.557883 | 2021-02-24T13:17:46 | 2021-02-24T13:17:46 | 337,682,879 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sci | transpose.sci | function [y] = transpose()
// Calls a tranposition function defined in C with given input matrix and returns the transpose of the matrix
//
// Syntax
// y = transpose(in)
//
// Parameters
// y : output, i.e. transpose of the input matrix
// in : input matrix
//
// Description
... |
0d656051e47e306219eae0d0b2adc2739f3e037b | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH28/EX28.2/example28_2.sce | f9b07d9a8255c335eeb7b29b863b53e632d2dd68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | example28_2.sce | p=60;
v=120;
f=60;
disp("Part a");
r=v^2/p;
disp("the normal hot resistance (in Ω) is"); disp(r);
disp("Part b");
vrms=v/sqrt(2);
disp("the r.m.s. voltage (in V) is"); disp(vrms);
disp("Part c");
v1=85;
r1=r*v1/v;
disp("the resistance (in Ω) of the lamp is"); disp(r1);
disp("Part d");
prms=vrms^2/r1;
dis... |
2ae9341d229b2660aeaf8ae0e551c88007413c39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH9/EX9.1/Ch09Ex1.sci | dd4631643ecb42bf6d26417d5a11099a35ce27bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Ch09Ex1.sci | // Scilab Code Ex9.1 Maximum energy transferred by alpha particles: Pg:201 (2008)
E_alpha = 3e+06; // Incident energy of alpha particles, eV
m = 9.1e-031; // Mass of an electron, kg
M = 4*1.67e-027; // Mass of an alpha particle, kg
// As E_alpha = 1/2*M*v^2 so E_electron = 1/2*m*(2*v)^2
// From the two eq... |
c8eca4386884f81639d685888af910680e85500c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH4/EX4.27/4_27.sce | 255be1c8b6d00f497af9a8a301f280d467e172e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_27.sce | clc
clear
//Initialization of variables
hc=150 //Btu/lb
he=-115 //Btu/lb
hg=168 //Btu/lb
//calculations
frac=(hg-hc)/(hg-he)
//results
printf("Fraction of solid = %.3f",frac)
|
e16bdbe9ccc6608a327505c88bc938be77368118 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH8/EX8.5/ex5.sce | 2867b832be4b30fc513d7e3e3631f5dac6f431c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | ex5.sce | //example 5
//heating potential of a hot iron block
clear
clc
Tl=278 //Outdoor temp. in K
Th=300 //Room temp. in K
COPhp=1/(1-Tl/Th) //coefficient of performance of heat engine if its assumed to be reversible
E=38925-8191+13.6*8191 //potential energy of hot iron block in kJ
printf("\n Hence, the maxuimum amount... |
71e12a549c642b5ede31deb0acde59da26674a86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH6/EX6.9/Ex6_9.sce | 302a335aae481b7f23bd3094c240fa3c842c43a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | Ex6_9.sce | //exa 6.9
clc;clear;close;
format('v',7);
V=132;//kV
Z=25+%i*66;//ohm
Pr=100;//MW
pf=0.9;//lagging pf
P=Pr*10^6/3;//W
theta=acosd(pf);//degree
Q=Pr*10^6*tand(theta)/3;//vars
V1=V/sqrt(3)*1000;//V
V2=V1;//V
//ts^2*[1-(R*P+X*Q)/V1/V2]=V2/V1
ts=sqrt(V2/V1/[1-(real(Z)*P+imag(Z)*Q)/V1/V2]);
tr=1/ts;
disp(ts,"... |
e025ef35f5486ec570eb778855d0ea695cfe4547 | 7dbe475cd217e686e9689cb0536a9a73f625a85b | /Rez/univariate-lcmsr-post_mi/bfa_mt/~LCM-SR-bfa_mt-nat.tst | af8397e955b951e441750c9d1a276e1ab36780a3 | [] | no_license | jflournoy/lnt_pxvx | fac8d6b00b886fa3dc800dcaa288aa186027b9ea | 3f1ddc64e4bf0aecddfa21d45f889620dbdd442d | refs/heads/master | 2021-10-20T12:52:55.625243 | 2019-02-27T17:06:09 | 2019-02-27T17:06:09 | 64,423,528 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,999 | tst | ~LCM-SR-bfa_mt-nat.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.400264D+00
2 -0.562329D-02 0.334118D-02
3 -0.305912D-03 0.13912... |
31d5fe335fa35c094de459370effb0e681342d79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH10/EX10.15/Example10_15.sci | bdfb4df32accd89f7dc1002ba4cd1724210fd712 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,314 | sci | Example10_15.sci | //Example 10.15
//Reordering a list of strings
function[] = main()
n = 1;
printf("Enter each string on a seperate line below\n\n");
printf("Type END when finished\n\n");
//read in the list of strings
first = 1;
[x]={" "," "," "," "," "," "," "," "," "," "," "};
//To ... |
fa0b940436582134ada1c2e76ed20e6f203202ae | 341319310360f6bf37a7422eea7a73b66e811aab | /mat-generation/genalgocachemats.sce | 4d1cf2824fac2126856194f0badcdc2729cefbc0 | [] | no_license | callpraths/CS733 | 67873cc73faeb126feebd07c32e5fbbaff9f2df1 | 5ef0f09b1526c1afbb3b7da89485fa44aaf6840f | refs/heads/master | 2021-01-01T05:33:06.794194 | 2012-12-24T04:45:21 | 2012-12-24T04:45:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,672 | sce | genalgocachemats.sce |
rmdir('cachestudy/algo', 's')
mkdir('cachestudy')
mkdir('cachestudy', 'algo')
sz = stacksize()
d1size = 2**15 / 64; //number of doubles
d1size = 2**12 / 64; //hack
gbstack = (2**30)/(32);
stacksize(gbstack*4);
ns = [d1size*4 d1size*8];
updir = 'cachestudy/algo';
for n=ns
curdir = strcat(['n' string(n)]);
fullcu... |
abddccd88a14bbc0621a666728bfb95d459591f2 | 872b5ff8852c926ca1261037de07449db7ac51db | /area-02/minimos-quadrados-kx.sce | 5c9ececd317c59846e3283e4a3acfb506b9b19af | [] | no_license | BerdaSantos/numeric-calculus | 20e4c50d9f66f8582e89533a5101f597df6665ec | 0698409e7fa4158d6f7dd7e4d60f8a38538b3335 | refs/heads/master | 2020-05-14T18:07:02.017600 | 2018-11-23T01:50:38 | 2018-11-23T01:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 55 | sce | minimos-quadrados-kx.sce | x=[0:0.1:1]'
b=sin(x)
A=[x^1]
k=(A'*A)\(A'*b)
disp(k)
|
a878ab6ccf5587d140913b597c5c3cf1fd9b81f9 | e9affefd4e89b3c7e2064fee8833d7838c0e0abc | /aws-java-sdk-core/src/test/resources/resources/profileconfig/BasicProfile.tst | b62a2900be5adbb4292ed0201c517ead05358401 | [
"Apache-2.0"
] | permissive | aws/aws-sdk-java | 2c6199b12b47345b5d3c50e425dabba56e279190 | bab987ab604575f41a76864f755f49386e3264b4 | refs/heads/master | 2023-08-29T10:49:07.379135 | 2023-08-28T21:05:55 | 2023-08-28T21:05:55 | 574,877 | 3,695 | 3,092 | Apache-2.0 | 2023-09-13T23:35:28 | 2010-03-22T23:34:58 | null | UTF-8 | Scilab | false | false | 94 | tst | BasicProfile.tst | [default]
aws_access_key_id = defaultAccessKey
aws_secret_access_key = defaultSecretAccessKey
|
04fff98fb6f2753f31f906c875fcdf16768ff63f | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH5/EX5.6/5_6.sce | 8d2b9167711ffbf63e6d5db4abc057ccae2fed20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | 5_6.sce | //Eg-5.6
//pg-225
clear
clc
A=[1 2 4;3 1 2;4 2 5];
z=[1;1;1];
for i=1:7
printf('iteration number=%f\n',i);
a=A*z;
b=(sum(a.^2))^.5;
printf('dominant eigen value=%f\n',b);
z=a/b;
printf('z=%f\n',z);
end
disp("from iterations dominant eigen value converged to ")
disp(b)
di... |
a2d1f76d1c58f7c6d39f12458bcdcfb5c96bde86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH3/EX3.26/ex3_26.sce | 06d14f2817535bca423b634f9f89452c0336669b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | ex3_26.sce | //Exam:3.26
clc;
clear;
close;
wavelength=0.58;//in Angstrom
angle=9.5;//in degree
n=1;//First order
d_200=wavelength*n/(2*sind(angle));//interplanar spacing(in Angstrom)
//Miller indices of plane
h=2;
k=0;
l=0;
a=d_200*(h^2+k^2+l^2)^(1/2);//Size of unit cell(in Angstrom)
disp(a,'Size of unit cell(in Angst... |
ec55f0f1dd1b18b322a02cc19ba84c77c53afae6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH7/EX7.3/Ex7_3.sce | 18dc7fcb95a78e112863eda8c7a5e1922653829d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | Ex7_3.sce | // Exa 7.3
clc;
clear;
// Given data
Attn=40; // Attenuation in dB
x=2; // x= ratio of W to Wh
// Solution
printf(' Using equation 7.26,\n');
// 20*log(H(jw)/A0)=-40; // -ve since it is attenuation
// gives
// H(jw)/A0 = 10^-2 = 0.01
// so
// (0.01)^2 = 1/(1+2^(2*n));
// or 2^2n = 10^4 - 1;
/... |
854dd8f2db83612dadb5c571412d3e8c4863e10e | d0a6d5d85ead04c9e381d2f60cc2409632e9b3be | /tests/ieee-comps.tst | 669b3d656386a3b7601a43ddc139d333ba55ab52 | [
"LicenseRef-scancode-unknown-license-reference",
"Zlib",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | imane1992/hercules-390 | 841d40e09d28827f24b19edf3c84f602af2a01b0 | 3f185e1a9b5ad526aef41eb48d566e5a5e90a500 | refs/heads/master | 2021-01-19T00:13:57.946438 | 2016-06-12T18:42:38 | 2016-06-12T18:42:38 | 61,064,180 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 28,170 | tst | ieee-comps.tst |
*Testcase IEEE Compare, Load and Test, Test Data Class
*Message Testcase ieee-comps.tst: IEEE Compare, Load and Test, Test Data Class
*Message ..Includes COMPARE (5), COMPARE AND SIGNAL (5),
*Message .. LOAD AND TEST (3), TEST DATA CLASS (3), 16 instructions total
*Message ..Test case values include infinitie... |
1b5b386a20664a8b7f3145fe22beb2e323a8dfa4 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/trapezoidalCompuesta.sci | f31acb7ca19efe4158f6353e5eaa4f00bacb37ea | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sci | trapezoidalCompuesta.sci | function I = trapezoidalCompuesta(funcion, a, b, n)
// Escriba su código fuente aquí
x = a:(b-a)/n:b
fx0 = funcion(x(1))
fxm = sum(funcion(x(2:length(x)-1))*2)
fxn = funcion(x(length(x)))
I = (b-a)/(2*n)*(fx0+fxm+fxn);
endfunction
// deff('[y]=mifuncion(x)','y=x^2')
//-->deff('[y]=mifuncion(x)','y=0.2+25*x-200*x^2+675... |
92068e8ec0452254ed4ab7ad70e6b2538b4de3b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH7/EX7.3/Ex7_3.sce | 5554d0b0d4940e0a11fb74e21530881e202efc06 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | Ex7_3.sce | //============================================================================
// Chapter 7 example 3
clc;
clear;
// Variable declaration
Io = 0.25*10^-6; // large reverse biased current in A
V = 0.12; // applied voltage in V
Vt = 0.026; // Volt-equivalent of temperature in V... |
2194de99015a6aea6a4f7fad2bf04467976604ac | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/EC34S.prev.tst | 3bb6643af7a65958a27ea686066a3dc249906b75 | [
"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 | 124 | tst | EC34S.prev.tst | matList[0] = [[3,1,-1,2],[-2,0,1,-2],[-2,-1,1,-1],[2,1,0,2]]
matList[1] = [[3,1,-1,2],[-2,0,1,-2],[1,2,2,0],[-1,-2,-1,1]]
|
db2bc1d18b8321f8cf0147b4b4991511d104454d | a439c420539294c6e178cc89c43c4231246f9cbe | /Scripts/21. Signal/sampling.sce | 5e7fd373c47ac0fba4609e01a917dfab8f2690ee | [] | no_license | PirateKing19902016/Scilab-Spoken-Tutorials | b7927e196acbefa47abdbdeb326d37385d5cbc34 | a110fc425c123f7041cb9ee8eca42ce08619ae60 | refs/heads/master | 2021-05-02T06:14:37.089440 | 2018-02-09T16:23:27 | 2018-02-09T16:23:27 | 120,855,481 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 105 | sce | sampling.sce | t = 0:0.5:1;x=sin(10*t);
//scf(0)
subplot(221)
plot(x)
y = intdec(x,3);
//scf(1)
subplot(222)
plot(y)
|
5fdbc590c096b12805ac1e31c5cd3b70c1a15d2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH1/EX1.29/Ex1_29.sce | 490be0ddc196a4e293e01878ab5a109e0d4b132c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | Ex1_29.sce | //Example 1_29
clc();
clear;
//To calculate the smallest thickness of the plate
lemda=5890 //units in angstroam
//lemda=5890*10^-10 //units in mts
u=1.5
r=60 //units in degrees
t=lemda/(2*u*cos(r*%pi/180))
printf("The smallest thickness of ... |
97d317f666389340174c9a711d78980c01049118 | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH14/EX14.3/14_03.sce | d08581cb65c0bc808dfd579ad67e8c6bb2d821ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | 14_03.sce | clear
clc
vo=1;
t1=1/6;
t2=1;
t3=11/6;
w=1/10;
//Ratio of areas of the first 2 peaks
A2_by_A1=0.5;
R=A2_by_A1/(1-A2_by_A1);
//From the location of 1st peak
V1=(R+1)*vo*t1;
//From the time between peaks
V2=(R*vo)*((t2-t1)-(t1));
//From fig 14.3
N=1+(2*(t1/w))^2;
printf("\n The reflux ratio is %f",R)
pri... |
afd0222b5faeb6584fda32f032538c5579503d53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH1/EX1.6/Ex1_6.sce | c3c272e78368c1a8f6927ef8b4af320307b5c822 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | Ex1_6.sce | clc;clear;
//Example 1.6
//constants used
pw=1000;//density of water in kg/m^3;
g=9.81;//acceleration due to gravity in m/s^2;
//given values
SG=0.85;
h=55/100;//converting height from cm to m
Patm=96;
//calculation
p=SG*pw;
Ptank=Patm+(p*g*h/1000);//calculating pressure using liquid at same height ha... |
298bae9bccd2454195a1d71e092f45dfc0bf5dc6 | 72b0437731d44d03866f19e69d3356a2c65ef27f | /FREQ_SHIFT.sce | 675d9305328d05312170b22691d3afeb476dea27 | [] | no_license | sonusharma55/Discrete-Time-Signal-Processing | 217f1753fbacf4bd67e557d3630ce1cf018ce036 | 6c255a9ca331c984598a04b81bb67e903e2e4c16 | refs/heads/master | 2020-07-25T21:12:32.026102 | 2019-09-14T11:36:56 | 2019-09-14T11:36:56 | 208,425,368 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sce | FREQ_SHIFT.sce | //D.) Frequency Shifting property
clear
function[X] = dft_s(x)
N = length(x)
n = 0:1:N-1
w = exp(-1*%i*2*%pi/N)
z = n'*n
TF = w.^z
X = x*TF
endfunction
clc
disp("To Verify : DFT[exp(-i*2*pi*n*l/N)*x(n)] == X(k-l)")
x = input("Enter a sequence x(n)=")
l = input("Enter frequency t... |
3ada55ba1dba3f37cda70ce727e964a035b83dce | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH34/EX34.15.1/ex15_1.sce | c14a530c0b401012ff5eb40656e9f277bb845f88 | [] | 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 | 300 | sce | ex15_1.sce | errcatch(-1,"stop");mode(2);
disp('probability of getting 7 in first toss and not getting it in second toss=1/6*5/6')
1/6*5/6
disp('probability of not getting 7 in first toss and getting it in second toss=5/6*1/6')
5/6*1/6
disp('required probability=1/6*5/6+5/6*1/6')
1/6*5/6+5/6*1/6
exit();
|
905a29ad6e61f3acee6c698dbaa640c4b6487003 | 3a0f15f7dcecb91239592e081ea54e118343d278 | /assets/scene/CollisionTest.sce | 113abb6cb8c59233224bbf85be2d4e2739c706e7 | [] | no_license | JBrown88/dod | 547d53d451f97205d65a272b4a9961d6ff571339 | 703a1a0e89291abae4999334aa0101bd9df78d01 | refs/heads/master | 2023-02-18T22:41:26.649143 | 2021-01-06T14:14:30 | 2021-01-06T14:14:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,993 | sce | CollisionTest.sce | {
"Scene": {
"ptr_wrapper": {
"id": 2147483649,
"data": {
"value0": 2,
"value1": 0,
"value2": {
"Tag": "Entity 0",
"Id": {
"uuid": "985a3f21-0ff2-45f8-8e56-414f9b84c2fd"
... |
2025a49d607bbe1fe00f75dddb483cfa1880ecdc | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/signal/wfir.sci | 9077c5ca7158f6e288399a25b87d829c32a0e6d3 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,307 | sci | wfir.sci | function [wft,wfm,fr]=wfir(ftype,forder,cfreq,wtype,fpar)
//[wft,wfm,fr]=wfir(ftype,forder,cfreq,wtype,fpar)
//Macro which makes linear-phase, FIR low-pass, band-pass,
//high-pass, and stop-band filters
//using the windowing technique.
//Works interactively if called with no arguments.
// ftype :Filter type ('lp','hp... |
41ad14bb0a4d4766833a16206385aeb58d2e576a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH7/EX7.12/Ex7_12.sce | dc3894dfddf07598b21ed47bfe76e3aba17c5669 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 666 | sce | Ex7_12.sce | // Ex7_12 Page:141 (2014)
clc;clear;
E_K_alpha = 21.99; // The energy in silver for K_alpha X-ray, keV
E_K_beta = 25.145; // The energy in silver for K_beta X-ray, keV
EB_K = 25.514; // The binding energy of K electron in silver, keV
E_L_alpha = E_K_beta - E_K_alpha; // The energy in silver for L_alpha... |
7fdc834e1110757e5c2fb907a811a4e3f522b02b | aaf4b47c862ed2d0095735a8359cf26d35618188 | /chips/Gates/Not16/Not16.tst | dbb2614b3b70d47130a5a5680638bf56398ef469 | [] | no_license | DevCoop-code/ElementsOfComputingSystems | c838acd695ea84000a2f63d227ba8f5c979a1178 | 98e8a5b21371cb0c4b513445b3c27dd74692caa6 | refs/heads/master | 2023-06-11T19:07:36.378129 | 2021-07-07T16:12:56 | 2021-07-07T16:12:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | tst | Not16.tst | load Not16.hdl,
output-file Not16.out,
output-list in out;
set in %B0000000000000000, eval, output;
set in %B1111111111111111, eval, output;
set in %B1010101010101010, eval, output;
set in %B0011110011000011, eval, output;
set in %B0001001000110100, eval, output; |
297e19457800cb4f777004a92df11408ac36af90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH6/EX6.5/Ex6_5.sce | 6eaa4c3cea1ec6bf7e60c882c843c68ca665f127 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | Ex6_5.sce | clc;
B=300;
Ie=0.03; //Ampere
Ib=0.0001; //Ampere
A=B/(B+1);
Ic1=A*Ie; //Ampere
Ic2=B*Ib //Ampere
disp('Amperes',Ic1,"Ic1=");//The answers vary due to round off error
disp('Amperes',Ic2,"Ic2=");//The answers vary due to round off error
|
ab957ef125e8ee1757e3d1cc107efabb1d5524eb | 002b6230874dea6e4d76defafc1ae293b5744918 | /solvers/CompressibleFlowSolver/Tests/IsentropicVortex16_P8_GAUSS.tst | 544ce5d93d0a1605cde93c6446000e2d1e1e5d39 | [
"MIT"
] | permissive | SCOREC/nektar | f3cf3c44106ac7a2dd678366bb53861e2db67a11 | add6f04b55fad6ab29d08b5b27eefd9bfec60be3 | refs/heads/master | 2021-01-22T23:16:16.440068 | 2015-02-27T17:26:09 | 2015-02-27T17:26:09 | 30,382,914 | 6 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 1,050 | tst | IsentropicVortex16_P8_GAUSS.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Euler Isentropic Vortex P=8 GAUSS</description>
<executable>CompressibleFlowSolver</executable>
<parameters>IsentropicVortex16_P8_GAUSS.xml</parameters>
<files>
<file description="Session File">IsentropicVortex16_P8_GAUSS.xml</file>
... |
f9a8eebc58329a853d263273237eb1b0985138e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH4/EX4.8/4_8.sce | b38382745070ce1a211b3fc95f58799b1912d56e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | 4_8.sce | disp("(E-Ef)=3*K*T");
T=300;
K=1.38*(10^-23);
a=3*K*T;
b=K*T;
c=1/(1+exp(a/b)); //say probability,f(E)=c
d=c*100;
printf('the probablity that an energy level 3*K*T above the fermi level Ef is occupied by an electron at T=300k is %f percent',d); |
bdb5966e565eb3c28dbf50f6a2c59a89491ab6fb | 0fa1451e55c04fdd8c63e1e308aa720d75c346c1 | /Kalman/kalman.sce | 6133b6723e396caea4bb4ed29d5469d7c653ac41 | [] | no_license | synergia/Quadro-STM32F100C8T6B | d5c9d089f5c236d4958fe3df5080afbfbbee754f | 627ae42a8cc32111d6d6ff6a523896826db3a5fc | refs/heads/master | 2020-04-09T10:37:31.519004 | 2015-09-09T13:33:01 | 2015-09-09T13:33:01 | 19,859,868 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,130 | sce | kalman.sce | //https://github.com/TKJElectronics/KalmanFilter/blob/master/Kalman.h
funcprot(0);
clear all;
MDEG = 8.75; //milistopni na sekundę
Q_angle = 0.001;
Q_bias = 0.003;
R_measure = 0.03;
angle = 0;
bias = 0;
rate = 0;
P=[0,0,0,0];
K=[0,0];
dt = 0.02;
function angle2=getAngle(X) //X(1) -> newAngle , X(2) -> newRate
... |
6df21e05d3865ff94356558689b928fcd14d71db | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH5/EX5.10/Ex5_10.sce | 426fa152495b14c9dd1558694ff73d316bb6c87f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | Ex5_10.sce | //Example 5_10
clc();
clear;
//To calculate how large the average frictional force
a=9.8 //units in meters/sec^2
s=4 //units in meters
v=6 //units in meters/sec
m=3 //units on Kg
f=m*((a*s)-(0.5*v^2))/s //units in Newtons
printf("The average frictional force f=%.1f N",f)
|
b4183a80e07832e839f601f6c67b1054f693d0e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH13/EX13.4/Ex13_4.sce | 3dd7c236d98cc186ea65b0176207dd75784893ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 868 | sce | Ex13_4.sce | // chapter 13
// example 13.4
// page 279
Vcc=20 // V
Re=0 // kilo ohm, since given as negligible
Rc=10 // kilo ohm
Rl=30 // kilo ohm
Vbe=0.7 // V
Vce=10 // mV
Ic=1 // mA
// dc load line
// when Ic=0, Vce=Vcc i.e. Vce=15 and when Vce=0, Ic=Vcc/(Rc+Re) i.e. Ic=20/10 mA
// so equation of load line becomes Ic=... |
c92141399db5a9fb4f1cb46e054b3bbad7c39d3d | 66037af205d3b3535f7a38922c80089a7f65c479 | /NRZ Unipolar/NRZ UNIPOLAR.sce | 3c32a7a5a832483ee773020dd4931f725a98f5df | [] | no_license | Sid-149/Line-Code-in-Digital-Communication | d7fa5d0966c94478cdce3bb0648a9e2b8da875c3 | bfebdd70407e2b94035ee077589c5234429da5e7 | refs/heads/main | 2023-01-09T06:22:45.268396 | 2020-11-13T13:04:48 | 2020-11-13T13:04:48 | 309,885,670 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | NRZ UNIPOLAR.sce | clc;
clf;
x=[0,0,1,1,1,0,1,0]
z=0;
for i=1:length(x)
t=[z:1:z+1]
subplot(2,1,1)
a=gca();
a.data_bounds=[0,-1.5;length(x),1.5]
a.grid=[1,-1]
title('NRZ UNIPOLAR')
if(x(i)==0)
plot(t,0)
else
plot(t,1)
end
z=z+1
end
|
1701b63c66b4587e1d761367694ecccdedc7e632 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH2/EX2.1/ex2_1.sce | a7a947942decdbaeb7c1797d468181ccdca956fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sce | ex2_1.sce | clc;
patm = 14.5 ; // atmospheric pressure in psia
pgauge = 2.5; // gauge pressure in psia
A = 10; // Area of the piston in in^2
g=9.80665; // Acceleration due to gravity in m/s^2
p = patm + pgauge; //total pressure of gas
m=(p-patm)*A ; //mass of the piston
disp("lbm",m,"Mass of the piston =","In English units"... |
26d007262df2c3a672efd9a6dd79e3edd08e9f9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH11/EX11.1/Ex_11_1.sce | 3d96d686938513b8b8d07bb894efae5da55ddfdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | Ex_11_1.sce | //Example 11.1
clc;clear;close;
x=[0:6 0:6];
y=x(1:3:length(x));
disp(x,'Input signal x(n)=');
disp(y,'Output signal of decimation process by factor three y(n)');
subplot(2,1,1);
plot2d3(x);title('Input signal x(n)');
subplot(2,1,2);
plot2d3(y);title('Output signal y(n)');
|
036e7338aee1901f463a051a1123fc5e0037a8f7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/auto/sm2des.sci | 11a7090172ab7b9198cb76f2b258ee2c927dd7b4 | [
"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 | 655 | sci | sm2des.sci | function des=sm2des(sysmat,n)
// Generalized system-matrix to descriptor
// sysmat=[-s E + A , B; C , D]
// des=list('des',A,B,C,D,E)
// n=size(A) (assumed square) (optional parameter)
// Copyright INRIA
[LHS,RHS]=argn(0)
[nl,nc]=size(sysmat);
E=-coeff(sysmat,1);
if RHS==1 then
k=nc;n=k;
while E(:,k)==0*E(:,k... |
a0669e7169b42aa1454bf75f869817f248f5da9e | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/bfp-002-loadr.tst | c791fe8b5c60f4125151b39a50d43f9c78086f96 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 49,042 | tst | bfp-002-loadr.tst | *Testcase bfp-002-loadr.tst: LEDBR, LEDB, LEXBR, LEXB, LDXBR, LDXB
#Testcase bfp-002-loadr.tst: IEEE Load Rounded
#..Includes LOAD ROOUNDED (6). Tests traps, exceptions, results
#..from all rounding modes, and NaN propagation.
sysclear
archmode esame
#
# Following suppresses logging of program checks. This te... |
cd5070cdc297edd2a8f3fb688955b10e806157d9 | c87a44be475d3008f7d0fcb8dd2eac3b2fa78e94 | /Examples/Chapter_10/Ex104.sce | d06731d52b51f9a4686b27c1a1b811ea153f0357 | [] | no_license | Echeban/icmd3e | 6c766ffafab0137a64de46448879d8a9eed2903c | 6ca0273e322fa390fcabc66669f3f56c9af5a563 | refs/heads/master | 2020-03-27T09:08:47.798549 | 2018-08-27T15:45:44 | 2018-08-27T15:45:44 | 146,316,991 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,069 | sce | Ex104.sce | // Ex 10.4
clc;clear;mode(0); funcprot(0);
format(7); // displays 4 decimal places
exec('C:\Users\EJB\OneDrive\Scilab\CLT.sci',0);
b = 9; tk = 3; L = 54; // dimensions [mm]
P = 1000; // Newtons
E1 = 76E3; E2 = 5.56E3; G12 = 2.3E3; //MPa, Kevlar/epoxy
v12 = 0.34;
Q = buildQ(E1,E2,G12,v12)
orientation = [45,... |
1acf323c68b0b9a115c17bf19905ee2e090995aa | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/speech.sce | 49d4b4155794a1b3af623789e2a5b8578aa95e19 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 267 | sce | speech.sce | style.fontSize=14;
style.displayedLabel="<table> <tr> <td align=center><b>bias<br>cap<br>vdd</b></td> <td></td> <td></td> <td align=center>Speech</td> <td></td> <td></td> <td><b>Vout1<br>Vout2</b></td> </tr> </table>";
pal5 = xcosPalAddBlock(pal5,"speech",[],style);
|
c2f14ba89a11cff28f4df5983a1062d592a91b51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH3/EX3.10/3_10_Finned_Cylinder.sce | 772e9dd20317db596ebfb30dd0e8573a476b2e0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 904 | sce | 3_10_Finned_Cylinder.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 3.10 Page 156 \n'); //Example 3.10
// Study of motorcycle finned cylinder
H = .15; //[m] height
k = 186; //[W/m.K] alumunium at 400K
h = 50; //[W/m^2.K] Heat convection coefficient
Tsurr =... |
5942bed78c6cd4b5600ea7b94950cee269c34e86 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Closefile.sci | f2928103b4708b0dd5d76e1d70cade1dd5bd9224 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sci | Closefile.sci | //
// 13.05.19 openfile error tackled
// 13.11.01 Endpicture joined optionally
// 13.11.05 debugged
function Closefile(varargin)
global Wfile FID;
if length(varargin)>=1 then
Pa=varargin(1);
if type(Pa)==10 then
if Pa=="1" then // 2013.11.05
Endpicture(1)
end;
if Pa=="0" then
... |
7ad19222084a09633d8cdba1d0da16ff735bdd28 | a095402148fd6b18b79f79dcaf460ddd3a81cd14 | /exp4/masterexp4.sce | 58eb1b83482f1eab5a8d0ba92e34b61962cffffd | [] | no_license | avravikiran/sip-lab | b3ccc5b4e4f9d3353aff364adc966d9d46835f10 | 213d7e63bd08da70e286484dcc3d4e55fb43fbcd | refs/heads/master | 2021-06-22T19:03:10.747224 | 2017-08-10T20:59:57 | 2017-08-10T20:59:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | masterexp4.sce | stacksize('max');
mode(-1);
exec('/usr/share/scilab/contrib/sivp/loader.sce');
getd;
pic='inputimage';
RGB=evstr(x_dialog('RGB bands range [1 6] ?','1')); //here only one band value is taken as input
path='/home/priya/Desktop/edge/';
edgetype='prewitt';
thresh=0.02;
direction='horizontal';
[img, RbandVal]=imgdisplay1(... |
fa181c88eb29655367ddcb452e4bae3f5312f420 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH17/EX17.24/17_24.sce | 4bd97e6482dbc81c4589533a49c896b4318f5419 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,206 | sce | 17_24.sce | clear;
clc;
//Example - 17.24
//Page number - 631
printf("Example - 17.24 and Page number - 631\n\n");
// Given
T = 600 + 273.15;//[K] - Reaction temperature
P = 1;//[atm] - Reaction pressure
// The Gibbs free energy of formation of various species at 873.15 K are
delta_G_CH4_RT = -2.82;// delta_G_CH4/(R... |
496dfa83bec901797493eee3a176ecb49b4dd560 | efa427de3490f3bb884d8ac0a7d78829ec7990f9 | /division-multiplication.sce | 65b326a745ab71473c2448b8d27d2f8e329d9bbb | [] | no_license | letyrobueno/Scilab | a47648473aa681556561d5cea20659d143e4f492 | 2f23623dccea89a3ab2db12ec1f615186f785aa4 | refs/heads/master | 2020-09-01T19:00:30.804237 | 2019-11-01T17:45:22 | 2019-11-01T17:45:22 | 219,031,973 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 772 | sce | division-multiplication.sce | printf("Operations:\n (1) Multiplication \n (2) Division \n (3) Exit the program \n \n")
option = input("Enter with your choice: ")
while option~=3
if option==1
x = input("Enter a number: ")
y = input("Enter another number: ")
printf("The multiplication is: %g \n \n", (x*y))
elseif opti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.