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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dc9999a452b7a2aad0f2c3ff4e15ae5b737e378f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH9/EX9.4/Aerials_Ex_9_4.sce | c3a9405e7cfa6e773b187c413657f6a27f88270a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Aerials_Ex_9_4.sce | clc
//Chapter9
//Example9.4, page no 398
//Given
dl=2// length of wire
I=6//current in the wire
f=1e6// operating freq
r=30e3//distance at which field is to be calculated
theta=90//right angles to the wire axis
lambda=300// wavelength
w=2*%pi*f//angular freq
c=3e8,t=f^-1
Phi=w*(t-(r/c))//Phase shift
Erad=... |
4dfc6ff8e7ec49c68ce6a8a051da023b770fbe33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2288/CH3/EX3.21.11/ex3_21_11.sce | 45c386ccc9dd695088d753024c11d8eb6a608869 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | ex3_21_11.sce | // Exa 3.21.11
clc;
clear;
close;
// Given data
n_i = 1.5 * 10^10;// in per cm^3
n_n = 2.25 * 10^15;// in per cm^3
p_n = (n_i)^2/n_n;// in per cm^3
disp(p_n,"The equilibrium electron density per cm^3 is");
h_n = n_n;// in cm^3
disp(h_n,"Hole density in per cm^3 is");
|
07a2d6272795caa23fed34c5d60904685ee92b77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH3/EX3.13/ex3_13.sce | c15f824d79db21e6e3ee953e7573fbdccce27057 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | sce | ex3_13.sce | // Example 3.13, page no-135
clear
clc
slew=0.5
f=10*10^3
Vmmax=slew/(2*%pi*f)
Vmmax=Vmmax*10^6
printf('Vm(max)= %.2f Hz',Vmmax)
|
10021c0916a7e3594713daa7b2bc726fb4c5d95a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH1/EX1.11/Ex1_11.sce | 78d0494530b51f06736d314d744aa2d35c2e6016 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,063 | sce | Ex1_11.sce | clc
//Chapter1
//Ex_1.11
//Given
//from fig 7.1
//at 210 degree celcius
disp("At 210 degree celcius")
C_L=50 //CL=50% Sn
C_alpha=18 //C_alpha=18% Sn
Co=40 // solidification of alloy
//lever rule
W_alpha=(C_L-Co)/(C_L-C_alpha)
disp(W_alpha*100,"weight fraction of alpha in the alloy is")
W_L=1-W_alpha
disp(... |
b7c74f7a9e81fd52026853b021a5524fa794f46a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Integrated_Circuits_P._Raja_2582.zip/Integrated_Circuits_P._Raja_2582/CH2/EX2.4/Ex2_4.sce | 9a80113d9ba49bc66204f0c7b5520929d773324b | [] | 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 | 301 | sce | Ex2_4.sce | errcatch(-1,"stop");mode(2);//Ex 2.4
;;
format('v',6);
SR=10/10^-6;//V/s
Vout=10;//V(magnitude of output voltage)
fm=SR/(2*%pi*Vout)/1000;//kHz
disp(fm,"Full power bandwidth(kHz)");
VT=25/1000;//V(Thermal voltage)
ft=SR/(2*%pi*4*VT)/10^6;//MHz
disp(ft,"Unity gain bandwidth(MHz)");
exit();
|
30412fe8532ac664bc2e056a0e4559363d6b6730 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3888/CH13/EX13.2/Ex13_2.sce | f73866fb66464a13f7796dfa91e0ed88549a892b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,351 | sce | Ex13_2.sce | //Electric Power Generation, Transmission and Distribution by S.N.Singh
//Publisher:PHI Learning Private Limited
//Year: 2012 ; Edition - 2
//Example 13.2
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
w=0.35; //Weight of the conductor in kg/m
Ts=800; ... |
fe5e918b244b9226403bcf6d30ae1b82cc650b41 | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualProcessComm_V4/macros/commRead.sci | 3629745856ec04cf07d9971a25cf86b75516e250 | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 962 | sci | commRead.sci | function buf=commRead(h,n)
// Faz a leitura em Hexadecimal de uma porta serial
// Calling Sequence
// buf=hrtSerialRead(h,n)
// Parameters
// h : Porta Serial Aberta
// n : Quantidade de Caracteres
// buf : String retornada
// Description
// Função que faz a leitura em Hexadecimal de uma porta serial aberta pela funçã... |
bee54b7f14cf44a46a90a11cff868df407c03b7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH8/EX8.4/Ex8_4.sce | f14162dd147a77a324c875e4cc1d7c0512360d3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sce | Ex8_4.sce | // Example 8_4
clc;funcprot(0);
// Given data
lambda=4;// W/mK
// From example 6.4
mu=6.7*10^-5;// Pa s
V=18.85;// m/s
h=1*10^-4;// m
// Calculation
// (a)
q_w=-(mu)*((V^2)/h);// The heat flux to the wall (y =0) for the bearing in W/m^2
// (b)
deltaT=(mu/lambda)*((V^2)/(2*h));// The temperature difference... |
26acf6fc0918ebc33c10ce6c49b9999bf938b82a | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH11/EX11.2/example_11_2.sce | f09a9e99f88234021f58a6c492dbd3a193daac54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,621 | sce | example_11_2.sce | // example 11.2
//this code needs
//donkmapij.sci // function to minimize given expression using a kmap
//noof1.sci
//above two shoulb be executed before executing this code
clc;
tt=[0 0 0 0 0 0 0 0 0 0; // given state synthesis table
0 0 0 1 0 0 0 0 0 0;
0 0 1 0 0 1 0 0 0 1;
0 0 1 1 1 0 0 0 ... |
6327483f74ef2cea1a90358dda0645602e231e3f | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/SI2.prev.tst | 514b21d457f6c247a971e5528688bc3de1b19a6b | [
"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 | 51 | tst | SI2.prev.tst | (a^2 + 2*a*b + b^2).getIsolatedSignature() = null
|
f717d27666806882e5f616f1cbd3b35eb6b823d0 | 09c4a8bcbc605cc3a5a45779e9218e6f309b0132 | /MC2/question-1-2.sci | 1a37a58bebc0990840fbb158ddf57e579a3d4ce6 | [] | no_license | emilemathieu/ImportanceSampling | 8224833f7255160230532329aeb220723338eea2 | 2afeb94bc6b1063d0a1f24fc41b79c434b34a5ca | refs/heads/master | 2021-05-28T20:54:32.251555 | 2015-06-01T17:57:00 | 2015-06-01T17:57:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,343 | sci | question-1-2.sci | // Pour simuler W a l'instant T on ecrit une fonction
function [W_T] = brownien(N,T,Sigma)
// Sigma est obtenu par sqroot(Gamma)
// et lorsque la matrice Gamma est non inversible (ex: rho = 1).
// et le "sqroot" de scilab renvoie une matrice dxn (n<d) au lieu de dxd
// ou n est le rang de Gamma
n=size(Sigma)... |
19463badb971290267e8ab0936b83575b9e36233 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PIL_bpt_lsjj_J_mat.sci | 7cb8ffa8a02c34bbbf95b4769516fcc6e5ffb274 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,056 | sci | PIL_bpt_lsjj_J_mat.sci | // **** Purpose ****
// generates the two-particle Jx, Jy, Jz matrix with LS or JJ coupling
// **** Variables ****
// [L1],[S1],[L2],[S2]: 1x1, integer or half-integer
// <= the quantum number
// [coup]: 1x1, string, 'jj' or 'ls'
// <= the coupling type
// [Jx_j],[Jy_j],[Jz_j]: n x n, real
// => the angular momentum m... |
b3bfdd9eba4876366ce8203715ea0d2c89a7f30a | 52891b40d6509dbdf55faa562cf0f3692c2d958b | /algoritmos/busqueda/correlacion.sci | eba8b979de84f4c39ffdb366bed33ada69ff73d3 | [] | no_license | google-code/audio-fingerprint | f78981721d3def3ad557cceb1c010cc759684442 | 9d3dc04103a9bd0f3e3951a6180312865b7f3b8a | refs/heads/master | 2016-09-08T16:59:21.186418 | 2015-03-15T16:13:40 | 2015-03-15T16:13:40 | 32,270,052 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sci | correlacion.sci | function [r] = correlacion(x,y);
x = x - mean(x);
y = y - mean(y);
nx = length(x);
ny = length(y);
r = [];
for l=1:ny-2*nx
for m=0:nx-1
sumax = 0;
sumay = 0;
sigmax = 0;
sigmay = 0;
suma = 0;
for k=1:nx
yk = y(l:l+2*nx-1);
suma = suma + (x(k)*yk(m+k)... |
02422fc5dfb1444d6e9947dad387b649c09e6d4c | 2a68cb9b7c7006d8a7bdda5635e6eda03abed1b1 | /gump/scenario/runner.sce | 53ae250c794f72d519c545dd02525d966a9bf17c | [] | no_license | zhao-kun/gump | a16dd68c166e1f78b77c89a8415e6009ea05f14d | c54676ad8aeb2cfb7d1d67bbb6e16ba8e948f6e8 | refs/heads/master | 2020-12-25T18:20:35.480150 | 2014-07-21T01:56:45 | 2014-07-21T01:56:45 | 22,003,996 | 0 | 1 | null | null | null | null | GB18030 | Scilab | false | false | 1,363 | sce | runner.sce | #
# 测试案例的名称
#
test-case TM_SVR
#
# 压力测试的时长 (minutes)
#
time-elapse 10
#
# 虚拟用户配置
# 每类虚拟用户执行的服务名称,数量等信息
#
virtual-user
beps_credit_going:2 #10个虚拟用户执行小额贷记汇出交易
# hvps_credit_going:1 #10个虚拟用户执行小额贷记汇出交易
#
# 每笔交易的思考时间(单位毫秒), 注意thinktime的时间会降低系统的每秒交易处理量
#
#think-time 200
#
# 日志级别 0 - DEBUG; 1 - INFO; ... |
a3f2eddd85f27937e7e275e47dfe66d78df5ad95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH5/EX5.7/exp5_7.sce | 0a409466488642395f0a85144336903c23813ec4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 870 | sce | exp5_7.sce | //Example 5.7 calculate torque developed on full load by the motor.
clc
disp("P = 4, f = 50 Hz, R2 = 0.1 ohm, X2 = 1 ohm, N = 1440 r.p.m")
disp("Stator turns/Rotor turns = 2/1")
disp("Therefore, K = E2/E1 = Rotor turns/Stator turns = 1/2 = 0.5")
ns=(120*50)/4
format(5)
disp(ns,"N_s(in r.p.m) = 120f/P =")
disp(... |
c0703f979ce2f4662535f9cdbe69ef65a8d0cef8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH15/EX15.4/ex15_4.sce | e24247d73b9f82efedd4e478fd547b7756ddee15 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | ex15_4.sce | //Example 15.4
clc;
C=2.2*10^-9; //in farads
R=47*10^3; //in ohms
x=2*%pi*R*C;
fl=invr(x);
printf('\nLower Cut Off frequency fl Of 2nd order Butterworth HPF = %.2f kHz\n',fl/1000) |
57f00f59715734e7abd25868ca3169f3da954aed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH5/EX5.7/Ex5_7.sce | 7e54daca0c758d0d1b7d253e9df7f1dc8689d073 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 651 | sce | Ex5_7.sce | //==================================================================================
// chapter 5 example 7
clc;
clear;
//input data
//for common metal copper
n = 8.5*10^28; //number of atoms in m^-3
sigma = 6*10^7; //sigma in ohm^-1m^-1
m = 9.1*1... |
256dd06033519cb4c19d6acb258ac7841262dfd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH7/EX7.9/7_9.sci | 3f34870089c92729052aaccbe08a5d529cda9283 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sci | 7_9.sci | //7.9
clc;
R2=1000;
R4=833;
f=50;
w=2*%pi*f;
C=0.38*10^-6;
R3=16800;
R1=(R2*R3*R4*w^2*C^2)/(1+w^2*R4^2*C^2);
printf("Resistance=%.2f ohm",R1)
L=R2*R3*C/(1+w^2*R4^2*C^2);
printf("Inductance=%.2f H",L) |
6ec982a95e842cfb141976a22df3ed3eff810fc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH3/EX3.25/EX3_25.sce | f8ed7ef01f1bad0b8db76def181a6eddf7ca2619 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 841 | sce | EX3_25.sce | //Calculate efficiency of transformer //Chapter 3
//Example 3.25
//page 234
clear;
clc;
disp("Example 3.25")
kVA=500; //rating of the transformer
R1=0.4; //resistance in primary winding inohms
R2=0.001; //resistance in secondary winding in ohms
V1=6600; ... |
2b75dcbdb98257646ccc9f4e992e457713523824 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH15/EX15.5/115ex2.sce | db691440eaa9f1e3100f7e62bc8b6470259392d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | sce | 115ex2.sce |
clear;
clc;
close;
x=poly(0,'x');
p1=x^4-27*x;
p2=x^2-9;
p=p1/p2;
q1=x^2+3*x+9;
q2=x+3;
q=q1/q2;
p/q
|
38214cd8acafb4f6abc26c18add2b599f9b7ff30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /46/CH14/EX14.1/Example14_1.sce | dadfd2ed21b44bb57901815e19460906083ed606 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | Example14_1.sce | //Example 14.1
clear
clc
s=%s;
G1=10*((0.5*s+1)/s);
G2=1/(2*s+1);
H=1;
G=G1*G2*H
//The characteristic equation is therefore
disp('1+G=0')
disp('=0',1+G,'1+G=');
//which is equivalent to
disp("s^2+3*s+5=0");
h=poly([5,3,1],'s','coeff');
r=roots(h)
disp(r,'roots=')
//Since the real part of roots are negative, the system ... |
ee84dbf82df2286ce34eef66ba233a6a67838603 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH17/EX17.7/17_7.sce | 351aec21871b04b0b2c25dc3827f78c2c311404c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | 17_7.sce | Mx = 1.8; Pyx = 3.6133;
Px = 0.5; Tx = 280; Ty = 429;
Py = Pyx*Px; cp = 1.005;R = 0.287;
disp("bar",Py,"Pressure Py is")
Pxox = 0.17404;
Pox = Px/Pxox;
disp("bar",Pox,"Stagnation pressure is")
Txox = 0.60680;
Tox = Tx/Txox;
disp("K",Tox,"Stagnation temperature is")
sysx = cp*log(Ty/Tx)-R*log(Py/Px);
disp("kJ/kg K",sys... |
2f852a776aa38e332cb5523e0d7c756180466f79 | 25ecbf436e9499640445c5f8dd256d12dcfecf2a | /Vclamp/StochHH_K5 DAss Vclamp.sci | 500b445ff7e080550fbbb0db8cc4c28123cf9bab | [] | no_license | ModelDBRepository/141272 | 89fa654099db5fe443f1d34b43071108882d740e | 67f44e52600c751f37f731f71a5b13a21fd28e8e | refs/heads/master | 2020-05-29T18:22:46.893645 | 2019-05-31T02:44:35 | 2019-05-31T02:44:35 | 189,298,198 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,194 | sci | StochHH_K5 DAss Vclamp.sci | // Potassium channel from original HH model
// Voltage clamp simulations with non-stationary noise analysis
// Coupled activation particles (5-state channel), Diffusion approximation algorithm
// Steady-state approximation of variables in stochastic terms.
stacksize('max');
nsim=200; //number of sweeps to be simulate... |
7c16c29494d3830bfafe02c92780a2c5cb528b23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH10/EX10.1/PoRW_Ex_10_1.sce | 09fb6a7336f732731c86badd2ca69852534f9a33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | sce | PoRW_Ex_10_1.sce | clc
//Chapter10
//Example10.1
//Given
Pt1=100//Radiated power
Pt2=30// Reduced Power
r=1//assume distance to be unity for easeof calculation
E1=300*sqrt(100)/r
E2=300*sqrt(30)/r
E=20*log10((E2/E1))// Reduction in field strength in dBs
mprintf('Field strength will reduce by %f dBs',-E)
|
6277e9b387d953c8f1280811d302b98654639608 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH1/EX1.8/ex1_8.sce | 2dca100d82859144f61090c0a6a2926ac3b2a3be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 769 | sce | ex1_8.sce | // Exa 1.8
clc;
clear;
close;
// Given data
lembda = 0.58;// in Å
n = 1;
theta1 = 6.45;// in degree
d = (n*lembda)/(2*sind(theta1));// in Å
disp(d,"Part (i) : At angle of 6.45°, Interplaner spacing of the crystal in Å is ");
theta2 = 9.15;// in degree
d1 = (n*lembda)/(2*sind(theta2));// in Å
disp(d1,"Part... |
9354311ea0002b0801758e0e0b169a7ba244a4c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH5/EX5.14/Ex5_14.sce | cadd1fad04681a61c928470dfad7f1bef885a894 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,117 | sce | Ex5_14.sce | clc
clear
//DATA GIVEN
D=0.25; //bore of the engine in m
L=0.375; //stroke of the engine in m
Vc=0.00263; //clearance volume in m^3
p1=1; //initial pressure in bar
T1=50+273; //initial... |
56ad084a9d702e2444d5556f492a447ef356b0f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH7/EX7.03/7_03.sce | f5e3bb65307dddb4a5dd32e543d190c6c3b2620b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | 7_03.sce | //Problem 7.03:
//initializing the variables:
H200 = 1170; // in Btu/lbmol
H2000 = 14970; // in Btu/lbmol
n = 20000; // in scfm
Cpav = 7.53; // in Btu/lbmol
T1 = 200; // in deg F
T2 = 2000; // in deg F
//calculation:
dT = T2 - T1
ndt = n*1/379
Q = ndt*Cpav*dT
printf("\n\nResult\n\n")
printf("\n the h... |
aa4c038d218e9936f0ef16cf8c49a87499ff2a23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH14/EX14.3/Chap14_Ex3.sce | 4e1a107a19333c05cb6c745fba32bb314d263e3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sce | Chap14_Ex3.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-14, Example 3, Page 351
//Title: Single-Size Feed of Shrinking Particles
//==========================================================================================================
clear
clc
/... |
ba30e28d2a6822807ffedb0723b31b488b559676 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_S._L._Kakani_And_A._Kakani_1085.zip/Material_Science_S._L._Kakani_And_A._Kakani_1085/CH3/EX3.25/ex3_25.sce | 802a1a6ea1ccb219d7fe2d3ce0f65c400611c721 | [] | 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 | 277 | sce | ex3_25.sce | errcatch(-1,"stop");mode(2);//Exam:3.25
;
;
Wavelength=1.54*10^(-10);//in meter
Angle=20.3;//in degree
n=1;//First order
d=Wavelength*n/(2*sind(Angle));//the interplanar spacing(in Meter)
disp(d/(10^-10),'the interplanar spacing between atomic plane(in A)=');
exit();
|
3af7c754820e79f5f520d39c28f09f4947e4bbbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/DEPENDENCIES/LandU.sce | fee5d09ea5226de617fcf4941b9d250eea798efe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | LandU.sce | function [U,L]=LandU(A,n)
U=A
L=eye(n,n)
for p=1:1:n-1
for i=p+1:1:n
m=A(i,p)/A(p,p);
L(i,p)=m;
A(i,:)=A(i,:)-m*A(p,:);
U=A;
end
end
endfunction |
1fe6fde09bdf99a07d2c29783d17853766eb319c | 84ea66af72ab1c482a1a03fd2d8bdc74e9ad1668 | /Tutorial04-ODE/Scilab_code/Tutorial4_ode_simple.sce | 66431a488a7657af2899dc4c317b462a297bb8e3 | [] | no_license | FOSSEE/scilab-tutorials | c4a9464a5b163074566234e42659f99e2012ecc0 | 301609f6ef1653dee4fa2ed74bca3e6f7abc1308 | refs/heads/master | 2020-03-26T23:48:04.178016 | 2018-10-08T00:44:39 | 2018-10-08T00:44:39 | 145,567,949 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sce | Tutorial4_ode_simple.sce | //This script demonstrates the use of ODE solver
clear
clc
//Definition the function.
//The function is dy/dt = cos(t)*sin(t) - tan(t) + 1
function ydot = func(t,y)
ydot = t^2*exp(-2*t) + y
endfunction
//Initial condition of the problem, a scalar or vector
y0 = -1;
//Initial time, a real scalar
t0= 0;
//The time ... |
18808ee2990c7216bb6d50a0f6c8ef45f1f05eca | efba0810ec7227f4fe228c95563e792b0b9eee9c | /demos/barly_1.dem.sce | 50255ee2bae924fc71a7108dcdab8e225f3ca29f | [] | no_license | mstroehle/Plotly | 99d626c68ddb65f388034fa4e24b276d04a7cfec | e360ffcae3639471e72e4ee742878443e9072737 | refs/heads/master | 2023-03-23T09:13:19.890260 | 2020-04-21T16:34:29 | 2020-04-21T16:34:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | sce | barly_1.dem.sce | function demo_barly_1()
y=[1 -3 5];
barly(y);
endfunction
demo_barly_1();
clear demo_barly_1;
|
4ba0dddf7a9488ce4761bf54c7d6051b997ad776 | 93640402789b9a9d07c82958f433765f1e2a8397 | /part 2/Register4.tst | b97764ee6be63b629cd996de1da7439165b86924 | [] | no_license | Slayingripper/Z80-CPU | 7a6b71f9e59850c3d4492a7f1867f4e81be278ba | 451873966cf071f8088407300629994a8d33f13c | refs/heads/master | 2020-05-04T02:42:27.419333 | 2019-04-01T19:27:22 | 2019-04-01T19:27:22 | 178,932,396 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,724 | tst | Register4.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/03/a/Register.tst
load Register4.hdl,
output-file Register4.out,
compare-to Register4.cmp,
output-list time%S1.4.1 in%D1.6.1 load%B2.1.2 out%D1.6.1;
set in 0,
set... |
6e4b861e65c32651fe80fd25fa407f0cac8f6361 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH5/EX5.5c/eg5_5c.sce | 5b50c756ebf9999ff57454142d2668dfe58e95eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg5_5c.sce | r =3;
avg = 6;
std= 1;
var = std^2;
expecV2 = var + (avg^2);
expecW = 3*expecV2;
disp(expecW, "Expectation of W is ")
limw=120;
limV = sqrt(limw/r);
disp(1-cdfnor("PQ", limV, avg, std), "P{W>120} is") |
a1bb3f9ce942f19e43bdc52ddb3fb197982ca9ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH8/EX8.1/example1.sce | 92e04874bb681bc6fc24b098c6c8a1e4143e1965 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 773 | sce | example1.sce | // calculate the collector-emmitter voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 8-1, page 263
clear;clc; close;
// Given data
Vcc=10;// collector supply voltage in volts
R1=10*10^3;// in ohms
R2=2.2*10^3;// in ohms
Rc=3.6*10^3;// coll... |
cf144c17c5308066a6428803a787d1d1b73ad7b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH3/EX3.8/Ex3_8.sce | 450ea5b3e22822272739433e86da03587b80de7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,005 | sce | Ex3_8.sce | //CHAPTER 3- THREE-PHASE A.C. CIRCUITS
//Example 8
clc;
disp("CHAPTER 3");
disp("EXAMPLE 8");
//VARIABLE INITIALIZATION
v_ph=230; //in Volts and in polar form
z=8+(%i*6); //in Ohms and in rectanglar form
//SOLUTION
//converting z from rectangular form to pol... |
6d4fe71351c03694d9383ebd6b22aea02eaca774 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH24/EX24.12/Example24_12.sce | 74fd6ad7f0d62b8d0037ae2d2104a5daa20a0fc1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sce | Example24_12.sce | //Example 24.12.
clc
disp("(i) A + AB = A(1+B) distributive law")
disp(" = A.1 law 2")
disp(" = A law 4")
disp('')
disp("(ii) A + A''B = (A+A'')(A+B) distributive law")
disp(" = 1.(A+B) law 6")
disp(" ... |
6179ea66ff2cb2f8f7852bcf9dac36eae2207d25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH11/EX11.21/Ex11_21.sce | 59b22ab077c61f9561f95921a599470e24bcd4d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,076 | sce | Ex11_21.sce | clc;
clear;
lambda=0.171 //wavelength of X-ray in nm
tetha_1=30 //Braggs angle in degree
tetha_2_degrees=35 //part of Braggs angle in degrees
tetha_2_minutes=17 //part of Braggs angle in minutes
//calculation
//case(1)((Assuming metal is bcc for plane 111))
h=1 //x intercept of the parallel plane
k=1 //y in... |
7cc6d7257ba21221d695ff3a35207fb97229a23b | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/DEPENDENCIES/jacobianmat.sci | 1a6d8ba75f75461036680dd4f25d2331cc8735be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sci | jacobianmat.sci | function J= jacobianmat (f1,f2,h,k)
J=zeros(2,2);
J(1,1)=(f1(1+h,1)-f1(1,1))/2*h;
J(1,2)=(f1(1,1+k)-f1(1,1))/2*k;
J(2,1)=(f2(1+h,1)-f2(1,1))/2*h;
J(2,2)=(f2(1,1+k)-f2(1,1))/2*k;
endfunction |
0eededef5ca860989dd77a9b98f6520f466b6364 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH16/EX16.8w/16_8w.sce | d7af3a859fa6f986f323f0fa08278b96b08785f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | 16_8w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 16.8w
//calculation of the amplitude of vibration of the particles of the air
//given data
I=2*10^-6//intensity(in W/m^2) of the sound wave
nu=1*10^3//frequency(in Hz) of the sound wave
rho0=1.2//density(in kg/m^3) o... |
95734b6ba090faf8e0ea314d6f1aaa63b80d90d9 | 494b677053e1199325a80808377463794e1003e5 | /experiments/irprop-c/irprop-c/results/Ignore-MV.iRProp+-C.vehicle/result3s0.tst | cb1648b9473988632431fdd8da12ed515682807f | [] | 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,576 | tst | result3s0.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]
@attri... |
5abc4adcf11362267369a7fb939dbbf77b00dcc8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH6/EX6.20/Ex_6_20.sce | b3268a041ae5075a8a61aa998eead644f4b0794c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | Ex_6_20.sce | //Example 6.20
clc;clear;
n=0:7;
x=2^n;
X=clean(fft(x));
disp(x,'x(n)=');
disp(X,'X(k)='); |
ef27d11cef8fb9fc46d8a6c3193134759453229b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH13/EX13.12/13_12.sce | 941a9282a63d7cf9c225f3c58cb1de2103a20fb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | 13_12.sce | clc
//initialisation of variables
clear
dH= 83 //cal
R= 1.98 //cal mole K^-1
T= 25 //C
M1= 128 //gms
M2= 4 //gms
M3= 2 //gms
M4= 129 //gms
I1= 4.31 //g cm^2
I2= 0.920 //g cm^2
I3= 0.459 //g cm^2
I4= 8.555 // g cm^2
//CALCULATIONS
K= 10^((-dH/(2.303*R*(273.2+T)))+1.5*log10(M1^2*M2/(M3*M4^2))+log10(I1^2*I2... |
e9c1360efd6769f8afb148fa9fdcaa418e74f0e8 | f4cccb1d183c2a78921332ce45a9bc948b052939 | /itpp_cross_deinterleaver/builder_help.sce | fc5dc0b22f22aaa9e6e401f6bcf1e69962652c61 | [] | no_license | PratikKapoor/ITPP | 3058791296fb1c57215463709ae9794904594428 | 37bed58c1a5793ad5797499c254ce4ab869156e1 | refs/heads/master | 2021-01-10T16:09:24.563865 | 2015-07-01T09:21:01 | 2015-07-01T09:21:01 | 36,710,869 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | builder_help.sce | mode(-1)
lines(0)
TOOLBOX_TITLE = "ITPP - Signal Processing"
tbx_build_help(TOOLBOX_TITLE,get_absolute_file_path("builder_help.sce"));
ok = add_help_chapter('itpp_cross_deinterleaver',get_absolute_file_path("builder_help.sce"));
clear TOOLBOX_TITLE;
|
38861a5e504a1f24e2acd1153f286c5da6b6a0ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH3/EX3.4/Ex3_4.sce | f46fbb552fc4d2b8f0b2e7aec7b7b5870bab559e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | Ex3_4.sce | //Ex:3.4
clc;
clear;
close;
V_in=5;//in volts
r1=4000;
r2=1000;
r_p=r1*r2/(r1+r2);
V_out=V_in*(r2/(r1+r2));
V_out_p=V_in*(r_p/(r_p+r2));
printf("output voltage at no load = %f A",V_out);
printf("\n output voltage when loaded by 10kohms = %f A",V_out_p); |
c79d914780a19c69cb687e0a71eb859cbace02ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH2/EX2.24.2/ex24_2.sce | 86deb6e109feb7e54f4517a11e58f941daa568df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 84 | sce | ex24_2.sce | clear
clc
A=[0 1 -3 -1;1 0 1 1;3 1 0 2;1 1 -2 0]
disp("Rank of A is ")
rank(A)
|
d9eaf6fb69bdac5380637a9907d569cc5548a9ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH8/EX8.1/8_1.sce | 21301c163d63ceb086a11fe370c023cca406726c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | 8_1.sce | //8.1
clc;
Vcc=12;
Re=3.8*10^3;
Rc=4.1*10^3;
Ie=(Vcc-0.7)/Re*10^3;
printf("Ie=%3f mA",Ie)
Ic=0.5*Ie;
printf("\nIc=%3f mA",Ic)
Vo=Vcc-Ic*Rc*10^-3;
printf("\nVo=%1f V",Vo) |
80dc6ce4cfff8becdeeb01111da9c863b3096be2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH2/EX2.6/2_6.sce | ccdfe62c33d4601a49c223f54709c8773f836904 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | 2_6.sce | clc
//ex2.6
//we display the equations in scilab as follows
disp('At node 1:')
disp('(V1/R1)+((V1-V2)/R2)+i_s=0') //KCL at node 1
disp('At node 2:')
disp('((V2-V1)/R2)+(V2/R3)+((V2-V3)/R4)=0') //KCL at node 2
disp('At node 3:')
disp('(V3/R5)+((V3-V2)/R4))=i_s') //KCL at node 3
|
75efbc279ba7417926ee6f4bc9d6652e06aa6e19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH3/EX3.09/3_09.sce | f814a116852ced41dbf7564486aa8b9e94b1571d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | 3_09.sce | //pathname=get_absolute_file_path('3.09.sce')
//filename=pathname+filesep()+'3.09-data.sci'
//exec(filename)
//Work interaction(in kJ):
w=-200
//Increase in enthalpy(in kJ/kg):
dh=100
//Heat picked up by the cooling water(in kJ/kg):
qc=-90
//Heat flow(in kJ/kg):
Q=dh+w
//Heat transferred to atmosphere(in kJ/... |
fab5ae197eb31f0b1ca175f381d7606e6c4d39a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH12/EX12.9/12_9.sce | 934e96ee0110d793f7503dd4189237ebc53c96e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | 12_9.sce | clc
//initialisation of variables
M= 500000 //lb in
r= 15
n=3
b= 20 //in
l= 12 //in
As= 1 //in^2
//CALCULATIONS
At= r*As*n
x= (-2*At+sqrt((2*At)^2+8*At*b*l))/(2*l)
Ina= ((l*x^3)/3)+At*(b-x)^2
Scmax= M*x/Ina
Ssmax= r*M*(b-x)/Ina
//RESULTS
printf ('Maximum bending stress in concrete= %.3f psi',Scmax)
prin... |
cfd15969ff845e15f9853225aef905120654671b | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Histograma.sce | eb2ba468d2b3993793df36f168d98057b389dcfe | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 58 | sce | Histograma.sce | clc
clear
close
x=0:.1:5;
y=sin(x.^2);
plot2d2(x,y)
|
c1452ad8e747241a1d73a6d076a2c2c773dfc7bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH4/EX4.6/ex_4_6.sce | ab6640f7dd03ca31b9ac0e41afd8cb720751b46a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | ex_4_6.sce | clc;
clear;
a=10; //Amplitude in V
Pt=a*(0.18^2 +2*(0.33^2 +0.05^2+0.36^2+0.39^2+0.26^2+0.13^2+0.05^2+0.02^2+0.01^2));
disp(" For B=5 from the Bessel table,The Bessel Function is taken upto J9");
disp(Pt," Hence the average power of the modulated signal (in W) is");
disp("Hence, the average power of the modulat... |
3f6f7c3099a81850dd05822010ee09a4930bf9c7 | e822c26ab557aca59a6a1da98e64e1490f3c521b | /Memory/Dec1.tst | 9b7421e6f7b0d98ef7fb78a32854381f53dff046 | [] | no_license | imilicic/computer-circuits-hdl | 92e886422d182f9d2272f8a01a548b9ff0e9c005 | e21c052564976997ed176edeb3df4af67d1d2f98 | refs/heads/master | 2020-05-30T20:25:47.967396 | 2019-06-03T06:43:10 | 2019-06-03T06:43:10 | 189,949,252 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | tst | Dec1.tst | load Dec1.hdl,
output-file Dec1.out,
output-list x out%B1.2.1;
set x 0, eval, output;
set x 1, eval, output; |
81d3dc55c9e0ff03e8dc34177de1bdb91c3fb679 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH9/EX9.2/Ch09Ex2.sci | fc3687049821c74452bef992347f808a53a030f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,612 | sci | Ch09Ex2.sci | // Scilab Code Ex9.2 Rate of energy loss and range of deuteron and alpha particle: Pg:201 (2008)
E_loss_P = 59; // Specific rate of energy loss per unit mass per unit area of proton, keV per mg cm square
R_prime_P = 50; // Range of proton, mg per cm
Z_D = 1; // Atomic number of deuteron
m_D = 2; // Mass... |
7e66990fb5f2dc01de830f1fa60d6cf20c7745fd | d088ae9e719eeef13286d537a52c3c2f5163f1e4 | /ehl_pruefstand/schraubkappen_a.tst | 638004cae8f03ac1f3a9cfb01774311c3db74088 | [] | no_license | ngocminhdao88/dao_masterarbeit | a83fa0d1bcab9b08d40e1bf7d6f22d7c7cd6c8a5 | e9f4207a1d86d92ed84f3facefe187c735d24541 | refs/heads/master | 2018-09-21T16:26:09.667374 | 2018-06-15T10:28:45 | 2018-06-15T10:28:45 | 106,830,933 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | tst | schraubkappen_a.tst | Varianten_Name des Modells Regenerierungsstatus
SCHRAUBKAPPEN_A_7X075_6SCHRAUBKAPPEN_A Erfolgreich
|
bdbdfc27d24a2b5ffcaed0088943d3ede66dcf63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH1/EX1.1/Example1_1.sce | 44889576b73cc90c15b573ac9fcbdd9a4a648125 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | Example1_1.sce | //Exa 1.1
clc;
clear;
close;
//Given data :
BaseVoltage=1100;//in Volts
BasekVA=10^6;//kVA
BasekV=BaseVoltage/1000;//kV
IB=BasekVA/BasekV;//in Ampere
ZB=BasekV*1000/IB;//in ohm
disp(ZB,"Base Impedence (in ohm) :");
|
b5544b5b79c5d121958311d8483d0e5a74599cfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH7/EX7.2/Chapter7_Example2.sce | 6081a29159f3a8a23e84b7732f8036c80357db08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,178 | sce | Chapter7_Example2.sce | //Chapter-7, Example 7.2, Page 275
//=============================================================================
clc
clear
//INPUT DATA
Ta=20;//Temperature of air in degree C
Tp=134;//Temperature of heated plate in degree C
v=3;//Velocity of flow in m/s
L=2;//Length of plate in m
W=1.5;//Width of plate in ... |
5ebd9c60b1c13a75ef112fda83883b370caae07a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH11/EX11.9/Ex11_9.sce | a5316bc215aecb6c2c75b97f9b98d86982cacd97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex11_9.sce | clear;
clc;
Tj=400 //junction temperature in Celsius
TA=50 //ambient temperature in Celsius
P=90 //power supplied in Watts
Rth_dp=1.5 //in C/W
convection_coeff=100 //heat convection cofficient in W/degree-C*m^2
//Calculation
Rth_sa=((Tj-TA)/P)-Rth_dp
A=1/(Rth_sa*convection_coeff)
format("v",5)
disp(Rth_s... |
26af48ffa770be43715528a49090bf10c1fd6684 | 2707da68619819d8105f9ae472647dc578c75730 | /GetResistances.sci | 208f84eec1ae1fa6a5989828dc4f34ef2fc41cdc | [
"Apache-2.0"
] | permissive | KrayzeX/ToE | 1aa62db747841e960fb47fbd59e38c6afa3a0723 | ad81dd433c0d3b23ebb00f0e65095ab6c1bed34e | refs/heads/master | 2020-05-26T09:19:33.970171 | 2017-06-02T08:50:16 | 2017-06-02T08:50:16 | 82,474,743 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 673 | sci | GetResistances.sci | //Данный модуль получает матрицу сопротивлений из поля objs структуры scicos_diagram
function [result] = GetResistances(lst)
//Номер очередного найденного блока
BlockNumber = 0;
//Число элементов в списке
Count = length(lst);
result = [];
for i=1:1:Count
if type(l... |
37abee0898cbd0751e09550186ed494701445e97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH2/EX2.10/Ex2_10.sce | 61f1779af54ff8d29e2a187624cbf4e76b4ce48a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_10.sce | //EX2_10 PG-2.37
clc
T1=27;//initial temperature
Vfl=0.7;//forward voltage
Vtc=-2.3e-3;//voltage temperature coefficient
disp("at T2=25 degree C")
T2=50;
Vf2=Vfl+((T2-T1)*Vtc)
printf("\n therefore forward voltage drop at 50 degree C is %.4f V \n",Vf2)
disp("at T3=77 degree C")
T3=77;
Vf2=Vfl+((T3-T1)*Vtc)
p... |
1d63ae5658c654db70b93186235a57cce3f695ab | 10b625bb4f968cf83298dd40b285b6f15ab4354f | /MP2_Valaquio/functions/Root_Finding.sci | 57893e2e3d1b45bcc0de398a28cf7bd7c602e7a5 | [] | no_license | edvalaquio/SciLabProjects | 885b1493b1368bbdccd671a58fba6ead6da9bca1 | aa8efd42ca65d4779376e2ccaf132fd75713fe7f | refs/heads/master | 2021-09-14T20:03:14.736024 | 2018-05-18T10:42:59 | 2018-05-18T10:42:59 | 131,813,353 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,720 | sci | Root_Finding.sci | function tol = checkTolerance(result)
tolerance = (1e-15)
tol = abs(result) < tolerance
endfunction
function bi = bisection(x0, x1, coord, maxIteration, ft)
midx = 0
for count = 1:1:maxIteration
midx = (x0 + x1)/2
result = func(midx, ft)
plot2d(midx, func(midx, ft), -1)
if (result < 0) then
x0 = midx
... |
32cfeb6303f43e8ba6d8afddf22998987253c674 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH7/EX7.7/type_test.sce | 1539de5e9474b053e63a17cf6ac71bff83e60118 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,301 | sce | type_test.sce | // Illustration of system type, as explained in Example 7.10 on page 275.
// 7.7
exec('rowjoin.sci',-1);
exec('zpowk.sci',-1);
exec('polmul.sci',-1);
exec('polsize.sci',-1);
exec('indep.sci',-1);
exec('t1calc.sci',-1);
exec('makezero.sci',-1);
exec('move_sci.sci',-1);
exec('clcoef.sci',-1);
exec('colsplit.... |
43424c71937e0e906bebe4a8561a84d24cd325e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH5/EX5.3/Example5_3.sce | 583bcd87ee642ac3547c5a1928109cf9fce7679f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | Example5_3.sce | ///Example 5.3 Page No:88
///Find Height required to setup of bar
//Input data
clc;
clear;
//Import maths
L=100; //Height of sine bar
theta=12.8 //angle in degree minut
//Z=sin(theta)=0.22154849
Z=0.22154849
///Calculation
b=Z*L; //Height required to setup in mm
///Output
printf('H... |
69d3e679efd88e82566348145b48f93251c4e2ba | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/U19.prev.tst | 7838ec2f067315d263c153c338c11bbaea49fe41 | [
"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 | 20 | tst | U19.prev.tst | a+b
x^3+y^4
x^2+y^5
|
0a13efd40d764e8c3814469d192c42e958edb3f4 | c9e04373e33a2721547c7ae2be20ee84f115be1c | /evaluationData/mappedrevenue.sce | 39c67b4d75d95afb660b7e40b735a9c153d3be5c | [] | no_license | lspxian/junsp | f944ce163267608cb9cdb939a0ac809f724fb396 | ca1571bbc30e6a9a183fa8d675567e169288acf4 | refs/heads/master | 2021-01-23T14:10:34.141815 | 2017-10-06T17:03:10 | 2017-10-06T17:03:10 | 34,068,408 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 114 | sce | mappedrevenue.sce | figure();
mapped= read("MappedRevenue.txt",-1,2);
time = mapped(:,$-1);
mapped= mapped(:,$);
plot2d(time,mapped);
|
a09ccbd50d7b7c49486d6c966af9fa0e1f48ac52 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testdispprintf.sce | a44cb3fd7ac000e832e9b7258c2d67cfebaf188e | [] | 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 | 278 | sce | testdispprintf.sce | e=string(%e) // convert to a string
// display real numbers
disp("pi="+string(%pi)+"..., e="+string(e)+'...')
printf("pi=%f..., e=%f...\n",%pi,%e)
// display integers
printf(" un=%d \n deux=%d \n trois=%d\n",1,2,3)
prettyprint(eye(2,2)) // identity matrix in LaTeX
|
7ce66047e4e5653fb149add14f08b150deef3f7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH5/EX5.4/5_4.sci | f51bacb8b58b4d3fd403fb615c981977733f04cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 748 | sci | 5_4.sci | //Line commuted Converters//
//Example 5.4//
Edc=460;//dc terminal voltage of the thyristor in volts//
E2=415;//input voltage of the thyristor in volts//
Id=200;//dc motor current in amps//
C=Edc/(1.35*E2);
printf('cosine of the firing angle=C=%f',C);
A=acos(C)*180/%pi;
printf('\nfiring angle of the converter=A... |
b91e02c1eced8b03a9fa2b021ace9a74e708c643 | 7a77a301987b89460fe3eddfbb6110d64a45e293 | /c.sci | f161228450fcf62dfd1bc5e644a58fc54481e28e | [
"MIT"
] | permissive | UTEC-mateIII/TAP-1 | e73758b5401730365b9e14f8405234b94151f2b1 | d6c0c2d2e1e890864107d680a6e0d7547d271d6f | refs/heads/master | 2022-06-06T03:39:54.375274 | 2020-04-19T18:55:40 | 2020-04-19T18:57:51 | 256,275,251 | 0 | 4 | MIT | 2020-04-19T17:15:09 | 2020-04-16T16:50:29 | Scilab | UTF-8 | Scilab | false | false | 134 | sci | c.sci | exec('gausspivot.sci')
[A b] = plates(5,1,1)
x=gausspivot(A,b)
disp('Ejercicio c:')
disp('Solucion por gauss con pivote')
disp(x)
|
b2cfbe6a1765b9856c7491894f8e85e0a5a5fef4 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/VM2.prev.tst | 9a4a1821586955cc578baa76864fa2441e5cd096 | [
"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 | 35 | tst | VM2.prev.tst | {a=>-a-1,b=>-b-1,c=>-c-1,d=>-d-1}
|
fad72f3b7cb029a3a902796f5b23954f3b289e3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH1/EX1.13/Example1_13.sce | 321915e6973a4d8f9c01ac6b9ae45fdde72df7d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | Example1_13.sce | clc
//Given
t=40// length of tube in cm
lambda=5e-5// wavelength of incident light in cm
n=150// order of fringe
//Sample Problem 13 Page No. 52
printf("\n # Problem 13 # \n")
printf(" \n Standard formula used \n (mu – 1 )*t = n* lambda \n")
t=n*lambda/t+1
printf("\n Refractive index of oil film is %f .", ... |
353dda6441fd655ed4ac11820e8b11336ed13e5c | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.15_1.tst | 1b0a8255ca9216fc99cc9eeeafea001a6dd8b21f | [] | 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 | 500,461 | tst | 5.15_1.tst | 15 180:1 1726:1 2594:1 3290:1 3463:1 3663:1 3949:1 5305:1 6668:1 7465:1 7545:1 7955:1 8109:1 8922:1 9226:2 9747:1 9802:2 11222:2 12008:1 12685:1 13299:1 13508:1 13634:1 13645:1 13657:1 15373:1 16043:2 17818:1 17958:1 18086:1 18093:1 18158:1 18875:1 19304:1 19514:1 20149:1 20727:1 20754:1 21665:1 22013:90 22533:1 23639:... |
c5c2aa52f735b4becaac339d3eb44290aded75c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH8/EX8.2/Ex8_2.sce | 3d6d9e657a286afac4b796b670240a8cfe7096a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_2.sce | clc
//initialisation of variables
h=200//m
h2=300//m
p=7.5*10^-2//cm
g=9.8//m/s^2
T=746//j/s
q=9802//N/m^3
//CALCULATIONS
V=sqrt(2*g*h)//m/s
Q=(%pi)*(p)^2*V/4//m^3/s
HP=(q*h*Q)/T//hp
E=(h/h2)*100//percent
//RESULTS
printf('The efficiency is=% f percent',E)
|
2308eeca94e484f8ad56bd5567454e6f0be68b0e | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.37.sci | a3d2e668fc13cf5205775dd81831ffcb09f04517 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 976 | sci | Ch_6_Eg_6.37.sci | // A program to illustrate the nested try-catch structure.
function nestedtry(a, b)
disp("START")
try
disp ("Executing the try 1 block.")
t=10/b; // err when b=0
try
disp ("Executing the try 2 block.")
z=a+1; // err when a is a string
catch
... |
1a9cbb46913585079b23bab46279bbc6d6014ec8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH9/EX9.14/Ex9_14.sce | 9e3a1e4ae4413db5e3288ebe2f4a0e1ac1f1b3ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 745 | sce | Ex9_14.sce | //Exa 9.14
clc;
clear;
close;
// given :
N1=400 // electron density of D layer in electrons/cm^3
N2=5*10^5 // electron density of E layer in electrons/cm^3
N3=2*10^6 // electron density of F layer in electrons/cm^3
// formula : fc=9*sqrt(N)
fc1=9*sqrt(N1) // critical frequency in Khz of EM wave for D layer
... |
f72d7aea5e226bc7aad438bc7dc228fbbc65dcdf | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.5_9.tst | cdd636a369997e81af06363ae995518957f41898 | [] | 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 | 34,294 | tst | bow.5_9.tst | 5 4:0.5 6:0.2857142857142857 7:0.5 8:0.16666666666666666 12:0.3333333333333333 20:0.2 21:0.2857142857142857 23:1.0 26:0.02 38:1.0 48:1.0 49:0.015503875968992248 51:2.0 55:0.36363636363636365 64:1.0 68:1.0 71:2.0 100:0.08333333333333333 133:1.5 137:1.0 176:1.0 183:1.0 190:0.2 236:0.5 366:1.0 383:1.0 407:1.0 483:0.666666... |
3f457c8e0a42c571da681e2de0c8661996354083 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/i2v_pfet_gatefgota.sce | 1858395b097ed7f3bef5944492a0d2ac56b4a476 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,089 | sce | i2v_pfet_gatefgota.sce | //**************************** i2v pfet gatefgota ******************************
if (blk_name.entries(bl) =='i2v_pfet_gatefgota') then
//addvmm = %t;
mputl("#I2V_pfet_gatefgota",fd_w);
DC_in_char = [3.0e-06 2.4462;2.5e-06 2.4163;2.0e-06 2.2968;1.5e-06 2.0720;1.0e-06 1.7760;0.9e-06 1.7016;0.8e-06 1.6102;0.7... |
af21a1bd6883e5c27e231a604badec2ed9445758 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.10/exa7_10.sce | b15aaffaa39dc45ce949e46b076aca101ab455ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | exa7_10.sce | // Example 7-10
// Nyquist Plot
clear; clc;
xdel(winsid()); //close all windows
s = %s;
num = 1;
den = s^2 + 0.8*s + 1;
G = syslin('c',num,den);
nyquist(G,-1000,1000);
xgrid(color('gray'));
xtitle('Nyquist plot of G(s) = 1 / (s^2 + 0.8*s + 1)');
// Note: nyquist function plots frequencies -1000 and 1000 in Hz and ... |
9f4e518ea3a363c6192284f3e9c6c3a371ab8416 | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH3/EX3.4/3_4.sce | c9c6d09ec78e8c1c967a8bb6ca2e880c3607808d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 769 | sce | 3_4.sce | d = 0.03 ; // diameter of the shaft in meter
T2 = 450 ; // Torque in N-m
T1 = 275 ; //
T3 = 175 ; //
Lbc = 0.5 ; // Length of shaft in meter
Lcd = 0.4 ; // Length of shaft in meter
G = 80e09 ; // Modulus of elasticity
Tcd = T2-T1 ; // torque in segment CD
Tbc = -T1 ; // torque in segment BC
tcd = (16*Tcd)/(%pi... |
21cb3daac4073565fc4949582ac3ce384dd7cf87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH5/EX5.14/ex_5_14.sce | 20acc64140efae7fd68a61959ead654ecb3aad41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | ex_5_14.sce | //Example 5.14 : mobility and average time
clc;
clear;
close;
//given data :
format('v',6)
m=9.109*10^-31; // in kg
e=1.602 *10^-19;
d=8.92*10^3;// in kg/m^3
p=1.73*10^-8;// ohm-m
A=63.5;//atomic weight
N=6.023*10^22; // avogadro's number
n=(N*d)/A;
b=1/p;// conductivity
mu=b/(n*e);
disp(mu,"mobility,mu(m^2/V-s) = ")
t... |
f20575086966fe07b3e2bdaf06925fee1455c73b | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH2/EX2.8/Example2_8.sce | ef5ab4b392a25188c903f524c39bc017bdd23ab7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sce | Example2_8.sce | //Example 2.8
//Program to estimate cutoff wavelength for a step index fiber to
//exhibit single mode operation
clear;
clc ;
close ;
//Given data
a=4.5*10^(-6); //metre - CORE RADIUS
n1=1.46; //CORE REFRACTIVE INDEX
delta=0.0025; //RELATIVE REFRACTIVE INDEX DIFFERENCE
... |
c55d1f945e9a05600286336e9cdeb0b3cdda4247 | 33f77c32fb16283501d950b6fc6b43a07914f32e | /scilab_autopilot/lib/math/mat/mat_mult.sci | 9f02192e1691dd1a65b88507dcb23ec663e93e2c | [] | no_license | CLUBMODELISMECEADSTOULOUSE/autopilot | 26b79d6a2a632f08989a5528e82f553616617646 | a6ffae2f8a86fbc79e636ddd5173af104e1af9cd | refs/heads/master | 2021-01-21T00:59:06.271128 | 2015-10-25T09:31:54 | 2015-10-25T09:31:54 | 34,409,237 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sci | mat_mult.sci | // Multiplication of a matrix and a vector
//
// INTPUT
// - m: the matrix
// - vIN: the input vector
//
// OUTPUT
// - vOut: the output vector
//
// USAGE
// vOut = mat_multVect(m, vIn);
//
// HISTORY
// 28/03/2014: T. Pareaud - Creation
function [m3] = mat_mult(m1, m2)
nRow = size(m1,1);
nCol1 = size(m1,2);
... |
38eb071b3855a119e37a1db8edd287c0538e4b05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH13/EX13.6d/eg13_6d.sce | 13739a0fee1c73415ad222dfef8e539a27c20707 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | eg13_6d.sce | X = [29 33 35 42 36 44 43 45];
u =30;
sig = 8;
d =0.5;
B =5;
Y = X - u - (d*sig);
S = zeros(9);
S(1) =0;
for i=2:9
S(i)= max(S(i-1) + Y(i-1), 0);
end
disp(S, "S is")
cl = B*sig;
disp(cl)
answer =100;
for i=1:9
if(S(i)>cl)
answer = i;
end
end
disp("The mean has increased after ... |
b4835da5fecfac806d9fd385504d65080fab9738 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH1/EX1.5/Ex1_5.sce | 25ecf548a4d2da85a531536ca3eb60227caa508c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 871 | sce | Ex1_5.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 - 5
clear; clc; close;
//
// Given data
t = 0.0030;
i = 5... |
5a82ea6b48b177e39f98a4d4a7e40aee8d45cd80 | bf22bf34daeceb2106b5e2af1c24e480f628960c | /singlelayer-perceptron/perceptron-adaline/scilab/perceptron_test.sci | 4e3b74a7bba39243bbd160ed8705d19898afec71 | [] | no_license | edielsonpf/neural-networks-examples | e3a045bf37e4b2ea681f05512ac71fdbb0cb4992 | 9fabec297b07987f3506401751719c56055d0f5f | refs/heads/master | 2020-12-24T08:46:39.412676 | 2017-09-23T11:22:11 | 2017-09-23T11:22:11 | 32,630,396 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,663 | sci | perceptron_test.sci | function perceptron_test()
X=[
-1 -0.6508 0.1097 4.0009;
-1 -1.4492 0.8896 4.4005;
-1 2.0850 0.6876 12.0710;
-1 0.2626 1.1476 7.7985;
-1 0.6418 1.0234 7.0427;
-1 0.2569 0.6730 8.3265;
-1 1.1155 0.6043 7.4446;
-1 0.0914 0.3399 7.0677;
-1 0.0121 0.5256 4.6316;
-1 -0.0429 0.46... |
6dd7e49109bc52e13e5b08a1f2c3bc537ea4ba47 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /The Click timing.sce | 0bad8e465b11c564fc1b32d0874f1f52cbe5b525 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 49,103 | sce | The Click timing.sce | Name=The Click timing
PlayerCharacters=Ascended Tracking
BotCharacters=longAA.rot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Ascended Tracking
AddedBots=longAA.rot
PlayerMaxLives=0
BotMaxLives=60
PlayerTeam=1
BotTeams=2
MapName=1A.map
MapScale=5.0
BlockProjectilePredictors=true
BlockCheats=true
Invinc... |
45ef37686d0f6f33f9472b8f3b6380d21aa6ccd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH8/EX8.6/8_6.sce | 9d4e2134d4cecbf42b21537b705647254de43575 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | 8_6.sce | clc
//Initialization of variables
sf=0.0016
n=0.02
Q=0.84 //m^3/s
gam=9.81*1000
//calculations
y53= Q*n/sqrt(sf)
y=y53^(3/5)
//results
printf("depth of flow = %.2f m",y)
|
855052023869cb45bffc2a49c41ef12489b89b18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH8/EX8.13/ex8_13.sce | e5d2447a2fb250fc45c4882689bc7db9c250f9df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | ex8_13.sce | //Page Number: 8.14
//Example 8.13
clc;
//Given
Pni=-100; //dBm
PniW=((1D-3)*(10^(Pni/10)));
To=290; //K
F=1.6; //dB
NF=(10^(F/10));
//(a) Noise tempertaure of antenna
//As Te=Pni/K*B;
K=1.38D-23;
B=20D+6;
Te=(PniW/(K*B));
disp('K',Te,'Noise tempertaure of antenna');
//(b)Effective noise temperta... |
040879085df326575c0ce4c95d310960122398d7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/int/%i_contour.sci | ee5204fd4ca17321d749eb9241a8e675910040fd | [
"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 | 88 | sci | %i_contour.sci | function %i_contour(x,y,z,varargin)
contour(double(x),double(y),double(z),varargin(:))
|
d65473a729d613d410cd6e118eea7a13f4ae06c2 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/examples/uart/add_uart_block.sce | a8359b6af6622ef11611e2e8f348a07690c7c69c | [
"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 | 448 | sce | add_uart_block.sce | // Make 'UART Receive' block definition
uartRead = mdaqBlock()
uartRead.name = "UART Receive";
uartRead.param_name = [];
uartRead.in = [];
uartRead.out = [1];
uartRead.use_sim_script = %T;
// Make 'UART Transmit' block definition
uartWrite = mdaqBlock()
uartWrite.name = "UART Transmit";
uartWrite.param_name = []... |
6de554dcff64ef0fa5f34b128341d6eff9950896 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH19/EX19.2/Example19_2.sce | 294d2e57a73018b5ace8f1fa9554ff71534878fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 967 | sce | Example19_2.sce | clear ;
clc;
// Example 19.2
printf('Example 19.2\n\n');
//Page No.564
// Solution
// Use phase rule to get degree of freedom(F) = 2-P+C
// (a)
N1 = 5;
P1 = 1; // Number of phases present,here 1 gas
C1 = 3 ;//Number of independent components present,here 3 because 3 elements(C,O and H)
F1 = 2-P1+C1 ;//Number of ... |
198bbdca503d254ad93b0c0e85808da39f7aab70 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Fundamentals_And_Applications_D._Chattopadhyay_And_P._C._Rakshit_2300.zip/Electronics_Fundamentals_And_Applications_D._Chattopadhyay_And_P._C._Rakshit_2300/CH17/EX17.17.1/Ex17_1.sce | 06a624d7152752396e7208b6db28408e8c9ebacc | [] | 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 | 281 | sce | Ex17_1.sce | errcatch(-1,"stop");mode(2);//scilab 5.4.1
//Windows 7 operating system
//chapter 17 Number Systems,Boolean Algebra,and Digital Circuits
x=25
s=dec2bin(x)
disp(,s,"1 Binary equivalent of 25 is ")
y=576
s1=dec2bin(y)
disp(,s1,"2 Binary equivalent of 576 is ")
exit();
|
452a76815d4157e7fe2e2ebb0d390a848558a37f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH3/EX3.21/Ex3_21.sce | dec2583064317b2c85032fb357e6d95090a4a59e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_21.sce | clc;
//Ex3.21
Vr=1.5; //Volt
Zl=5; //Ohm
RL=120; //Ohm
Rs=51; //Ohm
R1=(Zl*RL)/(Zl+RL); //Ohm
Vrout=(R1/(R1+Rs))*Vr; //Volt
disp('mVpp',Vrout*1000,"Vrout="); //The answers vary due to round off error
|
b2e8ccbda19994a3888b823987e172fa3a22bd3d | e52f9efaf8fba9ce7f791c79a0c7a6de3ce24a4a | /compand.sci | e0e2b583c3f9f662957b172edd65707a004b90e6 | [] | no_license | ashwinimarathe/ScilabComm | dfbc9cc6abb80ad354b1d3b22e7b59d2123a93d6 | d833d13b7da6bc562897d4e781afb557838ad6dd | refs/heads/master | 2016-08-12T03:21:03.087786 | 2016-03-28T10:02:47 | 2016-03-28T10:02:47 | 54,882,753 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,854 | sci | compand.sci | function out = compand(in, param, V, method)
[lhs,rhs] = argn(0)
if (rhs<3)
error("comm:compand:NotEnoughInputs")
elseif (rhs<4)
method = 'mu/compressor'
else
if ~type(method)==10 then
error("comm:compand:InvalidParam")
e... |
ea1f9b933eb6c152fe7d579082999eae9dc96c09 | dc1af20bca10db33d1adcbf61d5fe874eb6eab07 | /PluginTesting/environment/SIMPLE_ADA_TEST/SIMPLE_ADA_TEST.tst | ce7d3e8844f6796637f5a8f477d19fbb33ad461e | [] | 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 | 3,251 | tst | SIMPLE_ADA_TEST.tst | -- VectorCAST 19.sp1 (06/26/19)
-- Test Case Script
--
-- Environment : SIMPLE_ADA_TEST
-- Unit(s) Under Test: MANAGER
--
-- Script Features
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FEATURE:ADA_DIRECT_ARRAY_INDEXING
--
-- Subprogram: <<INIT>>
-- Test Case: <<INIT>... |
0777b02751682ce560c02d9110b043f7fefe887d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH2/EX2.27/2_27.sce | 49734267d9fc19963c1dfd1ec3cbd789a9a392ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | 2_27.sce | //Network Theorem 1
//page no-2.31
//example2.27
disp("Applying KCL to node 1:");
disp("50*V1-20*V2 = 2400");....//equation 1
disp("Applying KCL to node 2:");
disp("-10*V1+19*V2 = 240");...//equation 2
disp("Solving equations 1 and 2");...//solving equations in matrix form
A=[50 -20;-10 19];
B=[2400 240]'
X=i... |
d9ed87eb9341eed9a732714e200f2a4e61e85f48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH12/EX12.3/Ex12_3.sce | 5a29dfd02851e2dedb139ae7b43776eb811af65c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 674 | sce | Ex12_3.sce | clear all; clc;
disp("From the stam Mollier diagram,we have h1=1528 Btu/lbm,s1=1.82 Btu/(lbm_R at 250 psia and 1000 degrees Farenheit)")
disp("Hence at p2=10 psia,we have hs2=1165 btu/lbm, where ss2=s1")
disp("From Eta_t=(h1-h2)/(h1-hs2) we have")
h2=1528-0.85*(1528-1165)
printf("\n h2= %0.2f Btu/lbm",h2)
m... |
a3159c17f4f29fb0e0786190e8895d79d87e3675 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Mechancis-schaum_Series_Mclean_3137.zip/Engineering_Mechancis-schaum_Series_Mclean_3137/CH15/EX15.20/Ex15_20.sce | 40d632be336064f2bd0d894b71019fa9c59aae8d | [] | 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 | 179 | sce | Ex15_20.sce | errcatch(-1,"stop");mode(2);//Initilization of variables
r=50 //mm
//Calculations
Ixy=(1/8)*(50^4) //mm^4
//Result
printf('The moment of inertia is %f mm^4',Ixy)
exit();
|
733f283224ed85efdb5e940be62aa8797036fd79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH8/EX8.17/Ch08Ex17.sci | 775f9adfd037cafab2750a8d8d756c313fde392d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,085 | sci | Ch08Ex17.sci | // Scilab code Ex8.17: Diffraction of electrons from fcc crystal planes Page 295 (2010)
// Declare a function for converting angle into degrees and minutes
function [d,m] = degree_minute(n)
d = int(n);
m = (n-int(n))*60;
endfunction
h = 6.626e-034; // Planck's constant, Js
m = 9.1e-031; ... |
cd91e0da086a5d5cf41cf8eedb7a307590f2b476 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH13/EX13.16.15/Ex13_15.sce | 831aac95a2af2bfd101d4373d0b5da5bd69ece7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 742 | sce | Ex13_15.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 13 Field-Effect Transistors
clc
clear
//r given in textbook is taken as rd afterwards.Hence r=rd
rd=100*10^3//rd=drain resistance in ohms
gm=3500*10^-6//gm=transconductance in terms of A/V (or S)
RL=5*10^3//RL=load resistance in ohms
u=rd*gm//u=amplificatio... |
968fc42d8cbc526be0b184de9a96f7c355b5bece | b5a6d0e4c3d84d1a446434b60e55627f017991d7 | /ode.sce | 31cbfa4f876d65252c38e4fdd62f7bc1fa0cd487 | [] | no_license | mayra-diaz/Scilab-Funciones-Matrices | 249cdec506befa4e5e88da9aaf8f6752e401153f | dc89d7dccc7fd22851e6a31867f986cb543b4c50 | refs/heads/master | 2022-12-10T12:50:48.449166 | 2020-09-14T01:10:43 | 2020-09-14T01:10:43 | 259,477,803 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,053 | sce | ode.sce | function [z] = rk2(f, a, b, y0, h)
z = [a y0]
x = [a:h:b]
n = length(x)
for k = 1:n-1
k1 = h*f(x(k), y0)
k2 = h*f(x(k+1), y0+k1)
y1 = y0 + 0.5*(k1+k2)
z = [z; x(k+1) y1]
y0 = y1
end
endfunction
function z = rk4(f, a, b, y0, h)
z = [a y0]
x = [a:h:b]
n = length(x)
for k = 1:n-1
k1 = h*f(x(k)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.