blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fccae1e148a818c04c2caca2ad11a6452f8bc588 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH21/EX21.4/Example_21_4.sce | bbc99599b83f798243b7443d28e8364ce73c06c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 754 | sce | Example_21_4.sce | //clear//
clear;
clc;
//Example 21.4
//Given
Nre = 20000;
T = 40; //[C]
D = 2; //[in.]
Dv1 = 0.288; //[cm^2/s], for water-air
Dv2 = 0.145; //[cm^2/s], for ethanol-air
//Solution
//For air at 40 C
rho = 29/22410*273.16/313.16; //[g/cm^3]
mu = 0.0186; //[cP], from Appendix 8
mubyrho = mu*10^-2/rho; //[cm... |
9676a8e9be21e7559034cbe2d41a606a9eae4217 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Proyecto1/floydwarshall.sce | 2802b2ea35c12a57ee037e1fb2e23f4780c8770d | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,100 | sce | floydwarshall.sce | function [S, P]=FloydSPR(AdjMax)
// *INPUT:*
// AdjMax: Adjacent matrix that represents a weighted, directed graph
//
// *OUTPUT:*
// S: distance to destination node
// P: next hop node
//
// *DESCRIPTION*
// Given a input adjacent matrix (AdjMax) that represents a weighted, directed graph.
// The function finds the ... |
dd247623cd45611928069acf0a69b620a9dab174 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH4/EX4.1/Ex4_1.sce | e85112f1dd46598ae34098007c442cbb94e27ded | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 617 | sce | Ex4_1.sce | //Exa 4.1
clc;
clear;
close;
L=poly(0,'L') //Defining L as lambda
l=10*L
N=20 // number of elements
d=l/N
// formula : BW=(2*(L/d)*1/N)
BW1=(horner((2*L/(N*d)),1))
disp(BW1,"Null-to-null BW of broadside array in radians when l=10*L,N=20:")
l=50*L
N=100 // number of elements
d=l/N
// formula : BW=(2*(L/... |
9dcdd60b7fdccd33930e0f3e989993540e8bb346 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3889/CH7/EX7.4/Ex7_4.sce | 260d603216c6d70035e12ed5ef1a6c5a6dbdc042 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | Ex7_4.sce | //Example 7.4
//page 436
//Control Systems: Principles and Design
//M Gopal, Second Edition, Tata McGraw-Hill
//Chapter:Compensator Design Using Root Locus
xdel(winsid())//close all graphics Windows
clear;
clc;
//transfer function
s=%s;
P=1/((s)*(s+3)*(s^2+2*s+2));
//Root locus plot using evans root loc... |
5987988e99ab7b58446f863d0e2b82e0cb13c6f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH17/EX17.2/172.sce | 29cfca9bcde7d196cefd6b10cef159eb7f477754 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | 172.sce | clc;
//Example 17.2
//page no 201
printf("Example 17.2 page no 201\n\n");
rpm=1694//speed of fan
q=12200//flow rate of q_a
rpm_n=2100//new speed of fan
q_n=q*(rpm_n/rpm)//new flow rate
printf("\nnew flow rate q_n=%f acfm",q_n);
//applyingeq 17.5
P=5//pressure ,in
P_n=P*(rpm_n^2/rpm^2)//new pressure
printf... |
a517911d9e2d2290fa8455bed35c69e4b88dee6a | ccd668354774dcc20ed466510e78952e1205ad54 | /Finute-Impluse-Response-Filter.sce | b2ee5cc3f733f1a90d64f8fe05fb8ca09dba0d2e | [
"MIT"
] | permissive | nikhita/filter-theory | 6d9d9bb7375acd1c1f545fd9b7ee7b6dc90a56b5 | 031c8dd652bbe50e0130f83b9884d6a11b2c7339 | refs/heads/master | 2023-08-16T13:23:28.993482 | 2017-04-09T16:23:46 | 2017-04-09T16:23:46 | 87,696,376 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,289 | sce | Finute-Impluse-Response-Filter.sce | clear;
clc;
clf;
// enter cut-off frequencies and input length
wc1 = input("Enter the starting cut-off frequency")
wc2 = input("Enter the ending cut-off frequency")
M = input("Enter the input length")
Tuo = (M-1)/2 // center value
// if the cut off frequencies are equal
if wc1 == wc2 then
wc = wc1*%pi
for n ... |
aa23b698de07dc5e9612d7dbfba06eaa7a2d9d77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH18/EX18.3/EX18_3.sce | 3844993638a55a874196b192e6dc3e37a73c8f47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 114 | sce | EX18_3.sce | //Example18.3
delta_Vac=42//in volt
R_eq=14//in ohm
I=delta_Vac/R_eq
disp("solution b")
disp(I,"Current in amps=") |
ab9a91a233546d9626f5cd2316611445e334ca58 | 2707da68619819d8105f9ae472647dc578c75730 | /PTime.sci | c29acd0cb70afbfb026ad9ffe91a6f08d67d351a | [
"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 | 395 | sci | PTime.sci | //Марчук Л.Б. 5307 подгруппа 3
//Данный модуль принимает на вход корни характеристического многочлена;
//возвращает практическую длительность переходного процесса.
function result = PTime(p1, p2)
result = 3/min(abs(real(p1)), abs(real(p2)));
endfunction
|
344f8e38ecd67ae461bca0adc7061da3062541ee | 53ebf1e1ac047080afe96b265db1bec2fe5d00eb | /simulacao1/autocor.sce | 9aef1c3fb818e3f17cd81daece9b7c1c764fb05e | [] | no_license | angelomarcelino/DSP_projects | 766a22c4a19decb3e4c1dc1e7d48063896edba98 | f3bff9dc80738b5b13292a2c67ad80a48acac270 | refs/heads/master | 2020-04-30T16:43:11.353981 | 2019-07-25T14:20:41 | 2019-07-25T14:20:41 | 176,957,151 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 898 | sce | autocor.sce | clc;
clear;
function Rxx = autocor(N,L)
// Generates a random signal
x = rand(1,N*L,"normal");
// Fill a matrix (NxN) with zeros
Rxx = zeros(N,N);
// Main loop
for l = 0 : L-1
/* Creates L different vectors of segmented parts
from the original random signal */
... |
d0f628ddc8e4c4d569dd51448207865e87fe0923 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH6/EX6.8/ex6_8.sce | 3fedd980b21c6ac2d4f0a9464fe8e62cf921d4c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | sce | ex6_8.sce | // Exa 6.8
format('v',7);clc;clear;close;
// Given data
R1 = 1.2;// in k ohm
R1 = R1 * 10^3;// in ohm
R2 = 4.7;// in k ohm
R2 = R2 * 10^3;// in ohm
C1 = 1;// in µF
C1 = C1 * 10^-6;// in F
C3 = 1;// in µF
C3 = C3 * 10^-6;// in F
Rx = (R2*C1)/C3;// unknown resistance in ohm
Rx = Rx * 10^-3;// in k ohm
Cx = (... |
b27ce0be4828ec8cf849ab5daf1f665384fc8f85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH9/EX9.4/Ch09Ex4.sce | e2b76c7cda2ad4b56f879aeedc910d4b0908dae8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch09Ex4.sce | // Scilab Code Ex9.4 Page:280 (2006)
clc;clear;
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
E_g = 3.4e-04; // Energy gap of aluminium, eV
v_F = 2.02e+08; // Fermi velocity of aluminium, cm/sec
h_bar = 1.05e-034; // Planck's constant
L = h_bar*v_F/(2*E_g*e); // Coherence Length of aluminium, cm
... |
258311d8ad02d21dd4fa1b90401d35a04596ced6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH1/EX1.22/exa_1_22.sce | ec07d04bf6cc424badb6b3783cab6449a28fb221 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | exa_1_22.sce | // Exa 1.22
clc;
clear;
close;
// Given data
vo= -10;// in V
i_f= 1;// in mA
i_f= i_f*10^-3;//in A
// Formula vo= -i_f*Rf
Rf= -vo/i_f;// in Ω
// The output voltage, vo= -(v1+5*v2) (i)
// vo= -Rf/R1*v1 - Rf/R2*v2; (ii)
// Comparing equations (i) and (2)
R1= Rf/1;// in Ω
R2= Rf/5;//... |
062368c9e0f873f3d078b347ab8f1b3817be75a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH9/EX9.9/Ex9_9.sce | 3a650583f9e2e0491a4c488964b322b03b5bac4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | Ex9_9.sce | clear
//variable declaration
//summation of all horizontal forces is zero & vertical forces is zero.
//Let the left support C be at a distance x metres from A.
P1=(30) //vertical down load at A,KN
Pu=(6) //uniform distributed load over whole span,KN/m,(20m of span)
P... |
e4970facc3adeb9cf6249aa21dcd5a085e14581e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH6/EX6.6/Exa_6_6.sce | ddf6a61a5acb9a74695893d029673bb718d8dbe4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,465 | sce | Exa_6_6.sce | //Example No. 6.6
clc;
clear;
close;
format('v',6);
//Given Data :
V=400;//volt
P=8;//pole
f=50;//Hz
r1=1.2;//ohm
r2dash=1.2;//ohm
x1=2.5;//ohm
x2dash=2.5;//ohm
N=720;//rpm
Ns=120*f/P;//rpm
S=(Ns-N)/Ns;//full load slip
S2=2-S;//Slip during plugging
V1=V/sqrt(3);//V
I2dash=V1/sqrt((r1+r2dash/S2)^2+(... |
910b421c4aef4b173222054b8b5c8ed59ef435f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH2/EX2.16/example_2_16.sce | efa74023f5adcb1f4bb419e7e8703110087040a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | example_2_16.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 2
// Heat Conduction in Solids
// Example 2.16
// Page 75
printf("Example 2.16, Page 75 \n\n")
//Theoretical Problem
printf('\n\n This is a Theoretical Problem, does not involve any mathematical computation.');
//END |
a036483120bdedab46824a2b7260c2e00266721d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/champ1.man.tst | a36efdc12b23187227eadb83b7e6019e91463ccf | [
"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 | 102 | tst | champ1.man.tst | clear;lines(0);
xset("use color",1)
champ1(-5:5,-5:5,rand(11,11),rand(11,11),2,[-10,-10,10,10],"021")
|
ddfb93f48c6cd1dbdc5218263df06b0317905bd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/3_23_data.sci | 49979eedb769063a15909a73981328c25515ed68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sci | 3_23_data.sci | //Compression ratio
r=8;
//Compression and expansion process follow the law pv^1.3=const
n=1.3;
//Pressure at beginning of compression(in bar)
p1=1;
//Temperature at beginning of compression(in K)
T1=300;
//Specific heat at constant pressure(in kJ/kgK)
Cp=1.004;
//Specific heat at constant volume(in kJ/kgK)
... |
afe25723f47d12ba63d8fefb8cedaf1567ffe85c | 7dbe475cd217e686e9689cb0536a9a73f625a85b | /Rez/univariate-lcmsr-post_mi/hrz_ind_d/~LCM-SR-hrz_ind_d-nat.tst | d83188ac4f1a1276e8efe5f4612fc3445b12cd5f | [] | 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 | 2,064 | tst | ~LCM-SR-hrz_ind_d-nat.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.270712D+00
... |
9e79103cf13050f2588dff390d3d325ee29d213f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH9/EX9.44/Ex9_44.sce | 572c605116a13e6eaf5ab215be1e991fa075cce2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_44.sce | //Caption: efficiency
//Example 9.44
//page no 436
//Find efficiency of the code
clear;
clc;
px1=1/2;
px2=1/4;
px3=1/8;
px4=1/8;
n1=1
n2=2;
n3=3;
n4=3;
//information content of each symbol
Ix1=-log2(px1);
Ix2=-log2(px2);
Ix3=-log2(px3);
Ix4=-log2(px4);
HX=px1*log2(1/px1)+px2*log2(1/px2)+px3*lo... |
b3d22d02499ace8d1ac4e5e807c72ddada126cb0 | 33f77c32fb16283501d950b6fc6b43a07914f32e | /scilab_autopilot/lib/math/quat/quat_definePositive.sce | 69f6049e38b2c616b2d5f49109e3f3b89186b10d | [] | 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 | 628 | sce | quat_definePositive.sce | // Define positive a quaternion
//
// This function ensures that the scalar part is positive.
// This function is typically used to ensure sign of vectorial part
// when considering the product of two quaternions with a small angles
// approximation.
//
// INTPUT
// - qIn: input quaternion
//
// OUTPUT
// - qOut: quat... |
c93d413479a85a9486fa1c7bf1ddba72291a4b06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.6/ex2_6.sce | 0509ad16f4afef7fd60518723c7931072b7aa534 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | ex2_6.sce | //Chapter2, Ex2.6,Pg 2.11
function [R] = deltatostar(R1,R2,R3,n)
Rtotal=R1+R2+R3
if(n==1)
R=R1*R2/Rtotal
elseif(n==2)
R=R2*R3/Rtotal
else
R=R1*R3/Rtotal
end
endfunction
clc;
disp("Refer to the diagram shown in the figure")
r1=deltatostar(20,5,15,1) //Converting delta... |
f763f8a49c49224ea179846281cd8d22abb8d904 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH8/EX8.2.b/8_2_b.sce | 33519177cfb2c86e81135bacd023c01608a7fbe5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | 8_2_b.sce | //Example 8_2<b>
//determine the nyquist rate of x(t)=sinc2(200*pi*t)
//sinc(400t)=0.5cos(400t)/400t
clc;
clear all;
wp=400;
F1=wp/2;
Fs=2*F1;
disp('Nyquist Rate=');
disp(Fs);
|
8417adae86f6e88c0801092ee09a91c9f92bdfe7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH5/EX5.19/Chap5_Ex19_R1.sce | 2c72ed36f2931ec9d13b10f8673e2a53ea56c652 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,515 | sce | Chap5_Ex19_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-5,Example 19,Page 186
//Title: Power consumed by the compressor
//================================================================================================================
clear
clc
//INPUT
Ti=25;//te... |
1e4b5d9b42e32009c767fa6355e945db49d7e0b5 | 7ece83a3894d7610e8367eb0a19f9d50ba5e3ce5 | /mex/outer_hull.m | a320bcf0ac2366fd821403cb3809106002b2b3f0 | [
"Apache-2.0",
"MIT"
] | permissive | alecjacobson/gptoolbox | b4d1a3cb6cd604f8dcf2527d08c9a63efc110b72 | dda5c0d3ae7773837945631463134e577990263a | refs/heads/master | 2023-08-20T05:50:46.191141 | 2023-08-08T17:38:45 | 2023-08-08T17:38:45 | 17,057,368 | 598 | 189 | MIT | 2023-05-22T23:41:52 | 2014-02-21T13:46:13 | MATLAB | UTF-8 | Scilab | false | false | 907 | m | outer_hull.m | % OUTER_HULL Compute the "outer hull" of a potentially non-manifold mesh (V,F)
% whose intersections have been "resolved" (e.g. using `cork` or
% `igl::selfintersect`). The outer hull is defined to be all facets (regardless
% of orientation) for which there exists some path from infinity to the face
% without intersect... |
92ae920b68a0d3b819374f5bd30ff69d01840e90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH1/EX1.10/1_10.sce | 1caaac830f81401c90d636d8d038aa796a57af3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | sce | 1_10.sce | h=6.625*10^-27;//plank's constant//
g=10^3;//particle mass in grams//
l1=1;//length of one dimensional box in cm//
n1=1;
n2=2;
dE1=((n2^2-n1^2)*h^2)/(8*g*l1^2);//Energy difference between two energy levels of particle in eV//
printf('Energy difference between two energy levels of particle=dE1=1*10^-44eV');
l2=2*... |
5db3ba85f4225dc8e46ce80eeac7a1b23763fbe2 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/HR4.prev.tst | 853f89f7df70f2999c1b69e33b651e074360634e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,503 | tst | HR4.prev.tst | polys[0]=0
polys[1]=-4
polys[2]=-4
polys[3]=2,1
order=2
initialize: mN=-1, mRElen=3, mNPlen=1, mOrder=2, mLinit=2
exp: multiply ring=[0,0,*0] by mN=0
exp: multiply ring=[0,0,*0] by mN=0
exp: multiply ring=[0,0,*0] by mN=0
setRE(0,1): [*0,0,0] -> [*1,0,0]
result=1, RE=[*1,0,0]
0 1
exp: multiply r... |
42360ef7756a70acdb1a91c5956cf4b42d772078 | 8bc8cad4ff08d4d9e353e7a5a1baa8b188b994f3 | /LinearConvolution/LinearConvolution.sce | 545f3a6ebda088b8f605c4f579ad6b2604fdb9c5 | [] | no_license | ROHITDH/scilabBasics | 259c74030901258dbe8d77c61eacd467fc58b9de | f29b20b645d0f8181a3abc14c0d03ff59b69bd40 | refs/heads/main | 2023-02-22T12:21:31.459103 | 2021-01-27T01:24:22 | 2021-01-27T01:24:22 | 333,165,290 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | sce | LinearConvolution.sce | //Linear convolution
clc
clear
close
x = input("sequence x(n): ")
h = input("sequence h(n): ")
y = conv(x,h)
disp("Linear Convolution: ",y)
//plots
x_n = 0:length(x)-1;
h_n = 0:length(h)-1;
y_n = 0:length(y)-1;
figure(0)
subplot(311)
plot2d3(x_n,x)
plot(x_n,x,"red.")
title("x(n)")
xlabel("---> samples (n)")
ylabel(... |
6b97a0133980f694b8f0a374246f31231b304957 | 3fe56b0e8930ef0b9dfb33d9cc5b1afb7c410f1a | /Act7/non-parametric.sce | 29bb9cf59aaf3961a0b91440e4887194f5b162fb | [] | no_license | loujoseftan/AP186 | 3ce3ef0bb16030928900c49fbeb912ac61e3b13f | 0686a1087f8a24b064d6eeb0ec3e98ef10269855 | refs/heads/master | 2020-06-30T23:22:36.014422 | 2019-11-19T10:38:17 | 2019-11-19T10:38:17 | 200,981,424 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,191 | sce | non-parametric.sce | I = imread('C:\Users\loujoseftan\Dropbox\SciNotes\Act 7\ROI.jpg');
I = double(I); //I is the image of the region of interest
imshow(I);
R = I(:,:,1); G = I(:,:,2); B = I(:,:,3);
Int = R+G+B;
Int(find(Int==0))=100000;
r = R./ Int; g = G./Int;
BINS = 32;
rint = round(r*(BINS-1) + 1);
gint = round(g*(BINS-1) + 1)... |
89cc5b1b167edf87eb52bb7145d23c491a8a161b | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/CH2/EX2.4/ch2_4.sce | 623b4b90d5ddc6c410ec093d115d1deda4598ddb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | ch2_4.sce | clc
disp("Example 2.4")
printf("\n")
printf("Given")
disp("Current through diode is 30mA")
//From the table the nearest value is at v=0.74V
V=0.74;I=28.7*10^-3;
R=V/I;
delV=0.75-0.73
delI=42.7*10^-3-19.2*10^-3
r=delV/delI
p=(V*I)*10^3
printf("\n \n Static resistance is %3.2fohm\n",R)
printf("Dynamic resist... |
11579c4984279195aa70e4d024a28daaab908751 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH2/EX2.1/Chapter2_Example1.sce | 75371c726525cb2aed58c80674b712de3879ba72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,261 | sce | Chapter2_Example1.sce | //Chapter-2, Illustration 1, Page 55
//Title: Gas Power Cycles
//=============================================================================
clc
clear
//INPUT DATA
P1=0.1;//Pressure of air supplied in MPa
T1=308;//Temperature of air supplied in K
rv=8;//Compression ratio
q1=2100;//Heat supplied in kJ/kg
C... |
874e0e5140434a5abf6440a39805c05b27a5d788 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH4/EX4.5/example_4_5.sce | 57764412b5bfcbe7ba23438e85c074d924b89df0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | example_4_5.sce | clear;
clc;
disp("--------------Example 4.5---------------")
data_rate=1; // 1 Mbps
frac= 0.25 // 4B/5B coding adds 25% to the baud rate
add=data_rate*frac;
N = (data_rate+add)*10^6; // Hz
NRZI_B= N/2; // minimum bandwidth using NRZ-I
Manchester_B = data_rate; // minimum bandwidth using Manchester scheme
// d... |
974f10e322f4e0f3bb60ba2cc13d0de3c4eaa12e | bae098aa91588d492ec8bb4c76c274001c27cfe7 | /simple6.tst | 4e56e39741c0a6bd3c92c0d1f0b458f6dbaa5555 | [] | no_license | i5-2/pentium-dual-core | 1e7abb217972ec468b54eee6fa077dc6eec1875d | e56c0a450666ddd15e99a351d9335952b29431e6 | refs/heads/master | 2020-04-20T21:55:34.594056 | 2019-02-26T16:52:19 | 2019-02-26T16:52:19 | 169,122,993 | 0 | 0 | null | 2019-02-25T18:36:58 | 2019-02-04T18:01:59 | Python | UTF-8 | Scilab | false | false | 395 | tst | simple6.tst | timelimit 5
boardsize 10
play w C3
play w D3
play w F3
play b A2
play w B2
play w C2
play w D2
play w E2
gogui-rules_board
genmove b
# b's move can be any (random because loss)
gogui-rules_board
genmove w
#?[F2|E3]
gogui-rules_board
genmove b
# b's move can be any (random because loss)
gogui-rules_board
# Should comp... |
df2658db86f3cb0dd97de8c71fdad51e9146c5e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH4/EX4.9/4_9.sce | 3a0b7e829bcb9f4309142de95c704e0f94e6fe70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sce | 4_9.sce | clear//
//Variables
V = 10.0 //Voltage (in volts)
R1 = 10**6 //Resistance (in ohm)
R2 = 10 * 10**3 //Resistance (in ohm)
//Case (a):
//Calculation
RT = R1 + R2 //Total Resistance (in ohm)
I = V / RT //Current (in Ampere)
//Result
p... |
895265beb2629f851ec4318ed03725f6ab2001e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH7/EX7.28/Ex7_28.sce | ade35ba92d2a9a8bf230a6c2524983666415b8c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,353 | sce | Ex7_28.sce |
clc
clear
//Input data
P=100//Power in MW
T=550//temperature in degree C
p=0.1//Pressure in bar
m=500000//Mass flow rate in kg/h at rated load
mo=25000//Mass flow rate in kg/h at zero load
x=[1/4,1/2,3/4,1]//Fraction of load
//Calculations
b=(m-mo)/(P*10^3)//Steam rate in kg/kWh
y1=(x(1)*(P*10^3))//For on... |
76292fd6da25d82a904fb37f4077c689ed4a2a32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH15/EX15.10/Example15_10.sce | 485863971561c8e7962044c8f4912a264e191cb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example15_10.sce | //Example 15.10.
clc
format(6)
disp("(i) To find capacitance, C:")
disp(" Frequency of oscillation is")
disp(" fo = 1 / 2*pi*fo*R*C*sqrt(6+4K)")
disp(" C = 1 / 2*pi*fo*R*C*sqrt(6+4(Rc/R))")
fo=1/(2*%pi*(10*10^3)*(7.1*10^3)*sqrt(6+((4*40*10^3)/(7.1*10^3)))) // in Farady
x1=fo*10^9 // in nF
disp(x1," C(nF)... |
0a25cebee285980fb8aa7f541d1f0675c6eb3e66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2129/CH5/EX5.13.9/ex5_13_9.sce | 37ef9427ff5f5ccb68aad2b15de6dab7f54d37a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 631 | sce | ex5_13_9.sce | //Exa 5.13.9
clc;
clear;
close;
//Given data
bita = 100;
V_CE = 0.2;//in V
V_BE = 0.8;// in V
R_C= 500;// in Ω
R_B= 44*10^3;// in Ω
R_E= 1*10^3;// in Ω
V_CC= 15;// in V
V_GE= -15;// in V
// Applying KVL to collector circuit
// V_CC-V_GE - I_Csat*R_C-V_CE-I_E*R_E=0, but I_Csat= bita*I_Bmin and I_E= 1+bita
... |
6598a1a69360edef10a138fac046383636b23432 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH6/EX6.4/Example6_4.sce | cde78d6d830faaed60be0aee78e48fcf77e4e6e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | Example6_4.sce | //chapter-6,Example6_4,pg 493
d=1*10^-3//separation between plates
fe=300//acceleration of electron
e=1.6*10^-19//charge of 1 electron
me=9.1*10^-31//mass of 1 electron
Vp=((me*fe*d)/e)//voltage apllied between plates
printf("voltage applied between plates\n")
printf("Vp=%.14f Kgm^2/s^2C",Vp) |
810dc6c49627fbeddba05561193ce0ae1d1167f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH9/EX9.6/Ex9_6.sce | 4b0ca7e58f68f30db8328711e4287654c811a5b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,420 | sce | Ex9_6.sce | //Book - Power system: Analysisi & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J.Overbye
//Chapter-9 ;Example 9.6
//Scilab Version - 6.0.0; OS - Windows
clc;
clear;
Vf=1.05 //Prefault voltage in per unit
Z0=%i*0.250 ... |
d895fb48fa095cad01982d5e50ff36c76ea1b478 | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH1/EX1.4/Example1_4.sce | 075ea584970b0c4c8fa0be17eda6f7c976228893 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 862 | sce | Example1_4.sce | //clear//
//Caption:Transform the vector of Rectangular coordinates into spherical coordinates
//Example1.4
//page 22
clc;
y = sym('y');
x = sym('x');
z = sym('z');
ax = sym('ax');
ay = sym('ay');
az = sym('az');
ar = sym('ar');
aTh = sym('aTh');
aphi = sym('aphi');
G = (x*z/y)*ax;
disp(G,'Given vector i... |
b4851d1e27179e099c64cc08cd035b73387fbb92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH6/EX6.6/Ex6_6.sce | a46a269039ba97303e8e0c9b9e21d4c64f444f4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_6.sce | clear;
clc;
funcprot(0);
//page no. 188
p1 = 14.7;// psia
v1 = 1732;// fps
a1 = 862;// fps
beta = 40;// degrees
M1 = v1/a1;
T1 = a1^2 /(1.4*32.2*53.3);
p2 = p1*(1 + 2*(1.4/2.4)*(M1^2 *(sin(beta*%pi/180))^2 -1));
theta = beta - (180/%pi)*atan(tan(beta*%pi/180) * (0.4*(M1*sin(beta*%pi/180))^2 +2)/(2.4*... |
3cb4ac3cb6fe559cd04392c51b85c686f9a65d42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH6/EX6.4/Figure6_4.sce | 8ce6fb9bd0f0326c594085f6e070c5a12c527ee1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,576 | sce | Figure6_4.sce | //clear//
//Caption:Power Spectra of different binary data formats
//Figure 6.4: Power Spectal Densities of
//Different Line Coding Techniques
//[1].NRZ Polar Format [2].NRZ Bipolar format
//[3].NRZ Unipolar format [4]. Manchester format
//Page 241
close;
clc;
//[1]. NRZ Polar format
a = input('Enter the Amp... |
e3f25a7c00c748e6c39e1b12113a798960884190 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH19/EX19.6/19_6.sce | 65d4125487e1bf3fbb777d8c168a3008fb9fecc3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 19_6.sce | clc;
clear;
r=30000e3;
v1=11e3;
v2=110e3;
zb1=v1^2/r;
zb2=v2^2/r;
zp1=80/zb2;
zp2=.1*%i*30000/35000;
zp3=.2*%i*30000/10000;
zp3r=real(zp3);
zp2r=real(zp2);
zp3i=imag(zp3);
zp2i=imag(zp2);
zb2=round(zb2*10)/10;
zp1=round(zp1*1000)/1000;
zp2i=round(zp2i*10000)/10000;
zp3i=round(zp3i*10)/10;
mprintf("the... |
25fb6e566f3e91853f2c82d90087b43e4788f114 | 06a62d768e69fd9dda11b30011c252807e301813 | /newRKAlgorithm.sce | 8325bfdc197fc585015c900ae53fbba9d68826be | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | newRKAlgorithm.sce | function ydot = f(t, y)
ydot = 6 * t^4 + 5 * t^3 + 4 * exp(t);
endfunction
h = 0.01;
y(1) = 0;
t(1) = 0;
for i=1:50
k1 = f(t(i), y(i));
k2 = f(t(i) + h/2, y(i) + h * k1 / 2);
k3 = f(t(i) + 3*h/4, y(i) + 3*h*k2/4);
k4 = f(t(i) + h, y(i) + 2*h*k1/9 + h*k2/3 + 4*h*k3/9);
y(... |
8d943c5b0fcabfaa34355b7cec3ffca60f9cd322 | 9733f939913e963ec556f5f89248dacb75801a8d | /pmode/sphere_harmonics1.sce | 66947cc3e92fc112779c82a7d31bc22a79052bf8 | [] | no_license | mikeg64/solar | 4546c0182bb7f7cde21bc7f102e659ff7a488ad8 | 46ab043441a4f2523daa7cfaf5008c959f61d7d6 | refs/heads/master | 2023-08-22T04:29:33.974673 | 2023-08-19T09:19:40 | 2023-08-19T09:19:40 | 17,345,330 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,394 | sce | sphere_harmonics1.sce | //Spherical harmonics
//solution for perturbed pressure for a spherical hydrodynamical system
//Using scilab
//http://www.scilab.org/
//Scilab is free and open source software for numerical computation providing a powerful computing environment
//for engineering and scientific applications.
//http://solarwavetheory... |
1e2791cc1157837404ccf477447e7c3a8d8a73e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH31/EX31.18/31_18.sce | 5c18c0490f47271fb136d68c4158649b6a9fc885 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 957 | sce | 31_18.sce | clear//
//Variables
fo = 2.0 * 10**3 //Frequency (in Hertz)
hie = 2.0 * 10**3 //hie (in ohm)
R1 = 20.0 * 10**3 //Resistance (in ohm)
R2 = 80.0 * 10**3 //Resistance (in ohm)
RC = 10.0 * 10**... |
08e25af5f41b588cd850b69f0a6534450fb6329b | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH3/EX3.25/Example3_25.sce | ca3cdfda40e61b60ffc759642b84228bbb7f59c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | Example3_25.sce | //Example 3.25
//Program to Compute the 8-point Circular Convolution of the Sequences
//x1[n]=[1,1,1,1,0,0,0,0]
//x2[n]=sin(3*pi*n/8)
clear;
clc ;
close ;
x1=[1,1,1,1,0,0,0,0];
n=0:1:7;
pi=22/7;
x2=sin(3*pi*n/8);
//DFT Computation
X1=fft (x1,-1);
X2=fft (x2,-1);
//Circular Convolution using DFT
Y=X1.*X2... |
d093ae482da6de6cf2caa39d112b4fb6d68d276b | d7a288ffaf218a0b0389c4ed30c17cb584a6b75d | /files/humor/COMPUTER/hacker.tst | 2fe815765dc378838bb1b42f49435562b03f831d | [] | no_license | AbbeBlubb/lunr-backend | abce156d8d88a5d67714a6cb88d51ecc5a1364be | 6f322fa5b80632b8f99bf3e3e8ca2df6d13bf595 | refs/heads/master | 2022-09-03T21:33:51.159519 | 2020-06-01T19:43:12 | 2020-06-01T19:43:12 | 208,758,789 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 20,484 | tst | hacker.tst | TITLE: THE HACKER TEST - Version 1.0 (LONG)
Preface: 06.16.89
This test was conceived and written by Felix Lee, John Hayes and Angela
Thomas at the end of the spring semester, 1989. It has gone through
many revisions prior to this initial release, and will undoubtedly go
through many more.
(Herewith a compe... |
19d2eddd6d5065d9e7ff2b0503450e93ce497f88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH8/EX8.1/Ex8_1.sce | d7729826a6d3e2e578d3aada02fff06189df5c7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | Ex8_1.sce | //Calculate the Specific conductance
//Example 8.1
clc;
clear;
C=0.689; //Cunductance of the cell in ohm^-1
c=0.255; //Cell constant in cm^-1 (c=l/A)
k=C*c; //Specific conductance in ohm^-1 cm^-1
printf("Specific conductance = %.3f ohm^-1 cm^-1",k);
|
a02fcaaad8ed496c0e9c1a13c0e19b7220beb17d | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.10.1/ques10_1.sce | 49fc4ccb065241cbc6981c27aff377fba09a7055 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | ques10_1.sce | //ques10(i)
clc
disp('To find the the given integral find the laplace of tsin(t) and put s=2 ');
syms t s m
f=sin(t)*t;
l=laplace(f,t,s)
s=2
disp(eval(l));
|
bc53472c04dfc050bb1d8308dbccc5323e2b2756 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH5/EX5.2/Ex5_2.sce | 3d3056997f1b89a1094dcbc21d6594eb14114fc8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | Ex5_2.sce | //Ex 5.2 page 185
clc;
clear;
close;
R=5;// ohm
Vs=300;// V
f=1*1000;// Hz
Ton=20;// ms
Toff=10;// ms
k= Ton/(Ton+Toff);// duty ratio
f=1000/(Ton+Toff);//Hz
Voav=Vs*k;// V
Ioav=Voav/R;// A
printf('\n duty ratio = %.3f',k)
printf('\n chopping frequency = %.2f Hz',f)
printf('\n Average load voltage = %.2f V', Voav)
pr... |
050bf21ec88cf110d72c605bef583b4a28ea6dc8 | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0014.tst | 4e50629a133e32b861b3f9d60189c87b8ee78f0f | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 353 | tst | 0014.tst | spLitteR S {}
FiLtEr CiVR { }
fIltER l {B or noT S OR VI or Mkb }
Y -> Okt -> F -> rr -> Ec
groUpEr q {moDUle e{ f > VkU dElta 5720 } aggrEgate yjE }
UNGrOUper d { }
gRouPFiLTEr wFN {biTOR () oR 3.228.153.228 NOT in izVPV or bf:3D:cD:FE:Ab:6D
IN 6 }
merGER aK { modUle S { bRanchEs U, uv not zK ( ) } moD... |
ba4e3dc54525e835c1bd6b26413c56601cf76e3c | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/Z-trans/scilab/disc2.sce | a288da6d6180ce9238e1f0b9decdd1dfb53bd5ab | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 77 | sce | disc2.sce | // Updated(18-7-07)
// 8.1
sys = tf(10,[5 1]);
sysd = ss2tf(dscr(sys,0.5));
|
be28520ba61783a49c651ef8c7c8817a80b79b23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH19/EX19.12/Ex19_12.sce | fe4395ad01a53af43534171e23cf9a96bce2bace | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | Ex19_12.sce | clc;
VEE=10;
RE=10*10**3;
RB=100*10**3;
B=50;
VBE=0.7;
IE=(VEE-VBE)/(RE+(RB/B));
re=25/IE*10**-3;
Ri=B*(RE+re);
disp('Kohm',Ri*10**-3,"Ri=");
Ris=(RB*Ri)/(RB+Ri);
Rs=0;
Ro=re+((RB*Rs)/(RB+Rs))/B;
disp('ohm',Ro,"Ro=");
Av=RE/(re+RE);
disp(Av);
|
d0a2ee2045b653da62eea21649ebbfbba099799b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH6/EX6.6/6_6.sce | 7f332736d0e5f4bced9ef7aaa558e3022c710a61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | 6_6.sce | clc
//Initialization of variables
disp("from steam tables,")
h1=1416.4 //B/lbm
s1=1.6842 //B/lbm R
//calculations
s2=s1
P2=50 //psia
T2=317.5 //F
h2=1193.7
W=h2-h1
//results
printf("Work calculated = %.1f B/lbm",W)
|
52ed0ecc8c6dfe18080de415539a58956b14e2a3 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Arrowdata.sci | f6ac6ef2e9e82b02839412058b0548a8724c4f61 | [] | 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 | 1,084 | sci | Arrowdata.sci | // 08.05.08
function Out=Arrowdata(varargin)
global YaSize YaAngle YaPosition YaThick YaStyle;
Nargs=length(varargin);
P=varargin(1);
Q=varargin(2);
R=Q;
Futosa=YaThick;
Ookisa=YaSize;
Thickness=1;
Hiraki=YaAngle;
Yapos=YaPosition;
Position=1;
Str=YaStyle;
Flg=0;
for I=3:Nargs
Tmp=varar... |
747588c07d7883abd31ed1d28a2a9dde21f792b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH13/EX13.3/Exa13_3.sce | d10286616c5656cd26acd74a05a0a7f9b1e17db0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa13_3.sce | //Exa 13.3
clc;
clear;
close;
//given data :
SP=500;//in Rs.
VC=300;//in Rs.
FC=400000;//in RS.
BEP=FC/(SP-VC);//in units
disp(BEP,"BEP in units : ");
disp("Since the demand(1500units) is less than the break even quantity, the company should buy the cabinets for its TV production.") |
8e2e48e2c2adbcaf93fbb63cfc7afad87cbaf3ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH4/EX4.58/Ex4_58.sce | e7f942f5c0a6d559ad4a63c63bc16eb075dc9eda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | Ex4_58.sce |
// Example : 4.58
v1=233.73-%i*8.934;
vs=240+%i*0;
r1=0.6+%i*0.8;
i1=(vs-v1)/r1;
disp('the value of I1 is = '+string(i1)+' Amp');
r2=0.5+%i*0.866;
vs1=239.5-%i*14.359;
i2=(vs1-v1)/r2;
disp('the value of I1 is = '+string(i2)+' Amp');
r3=16+%i*12;
il=i1/r3;
disp('the value of I1 is = '+string(il)+' Amp... |
860703658d90e8fb51f46973f3fa4c81f007744b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH1/EX1.24/Ex1_24.sce | 1d831b5ab618bbb1583e903fe4c4535825c1dc7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | Ex1_24.sce | //Example 1_24
clc;
clear;
close;
format('v',6);
//given data :
V1=6;//V
V2=15;//V
R1=6;//ohm
R2=3;//ohm
R3=4;//ohm
R4=6;//ohm
//writing KVL equation for the loop
I=poly(0,'I');
eqn=V2-R2*I-R1*I-V1;//KVL equation
I=roots(eqn);//A
VCD=V2-R2*I;//V
//Potential of point A with respect to B
VAB=VCD;//V
VO... |
b47732e20d212c6466950059d8ff939bda8d34cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH14/EX14.19/example14_19.sce | 304d71a0d4022fd71204002fddc61a755bcfed93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | example14_19.sce | clc
// Given that
w = 2 // work function of sodium in eV
h = 6.62e-34 // Planck constant in J-sec
c = 3e8 // speed of light in m/sec
e = 1.6e-19 // charge on an electron in C
// Sample Problem 19 on page no. 14.27
printf("\n # PROBLEM 19 # \n")
printf("Standard formula used \n ")
printf(" E = (h * c)/ lambda \n")
lamb... |
7192e8f9dafd8f167588d4a6d4eea8c61dde00e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH15/EX15.43/example15_43.sce | a4ca3ebb612f468cdebbd35d6260cd20a8c8af41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | sce | example15_43.sce | //Example:15.43
//eigen values of matrix A
clear;clc;
xdel(winsid());
A=[0 6 -5;1 0 2;3 2 4];
spec(A)
|
cea98989634e0fdd44cb9e9d05042190b4e0f21c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/timer.man.tst | ee4d79b6cf935e163b5ebeb4ee45c917542c065d | [
"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 | 48 | tst | timer.man.tst | clear;lines(0);
timer();A=rand(100,100);timer()
|
25c6ebd4b9ec8833177ce87defd9604706453302 | 3aecc0a856e5ab896077f26d338574613e42a223 | /src/05.MiddleSquare.sci | f2eade309aa38b9ece62a65085b4ac629b1873ff | [] | no_license | wmotti/simulation | 9ebed2818f83a1ba864399ee3dc664e5303e3983 | ec4cce2ce180f947edf0ed9f501799d06b8a0416 | refs/heads/master | 2020-03-28T08:10:23.668854 | 2018-09-08T16:14:42 | 2018-09-08T16:14:42 | 147,949,219 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sci | 05.MiddleSquare.sci | function [n]=vonNeumannNextRand(n)
l=ceil(log10(n));
sn="";
for i=floor(l/2)+1:floor(3*l/2),
j=part(string(n^2),i);
sn=sn+j;
end;
n=evstr(sn);
endfunction
function [result]=MS_gen(N,seed)
result=[];
n=seed;
for i=[1:N],
n=vonNeumannNextRand(n);
result($+1,1)=n/9999;
end
endfunction
... |
5441bb3dee86ed0a9557ed3a65ef7b22b774a048 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH10/EX10.36/Example10_36.sce | 70f104d2f1a1fb43230848268bb6eecbb7a661af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | Example10_36.sce | //clear//
//Example 10.36:To find output response of an LTI System
syms n z;
H = z/(z+3)
X = z/(z-1)
Y = X*H
F1 = Y*(z^(n-1))*(z-1);
y1 = limit(F1,z,1);
F2 = Y*(z^(n-1))*(z+3);
y2 = limit(F2,z,-3);
disp(y1*"u(n)"+y2*"u(n)",'y[n]=')
//Result
//y[n] = u(n)/4-(-3)^(n+1)*u(n)/4
//Equivalent to = (1/4).u[n]-... |
e2bd47ffef94b201efe76e57686190bf56c248ac | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0045.tst | de1ea3e8cf90a467822e90886968e6cea6b56cc3 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 316 | tst | 0045.tst | SPLItter N {}
fiLter cq { }
fILtER y {YsK rC or nOt D oR nOt Q E Not i Or E or M }
r brAnCh f
grOUPEr Tj {moduLe g{ } mOduLe k{ } aGGReGate kWQ ,tbTXt ,suM(Q.D) aS u }
uNGrOuPEr AHds { }
gROUPFIlteR dMM {noT O ( 157.58.123.161, ::C2Ee:c:EDb:cE2:bB4:cEd:6, ) BITANd ( D, ) }
MergEr l { export Rw } |
0633561835495737e69675ac324782cea056263a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH3/EX3.2/Ex3_2.sce | b79a8a1917a56a4b4c79f2b76fd9152dca838b6a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | Ex3_2.sce | //fiber optic communications by joseph c. palais
//example 3.2
//OS=Windows XP sp3
//Scilab version 5.4.1
clc
clear all
//given
SW=1//spectral width of laser in nm
lambda1=0.82e-6//wave length in m
d=10//path length in km
lambda2=1.5e-6//wave length in m
M1=110//Material dispersion ps/(nmxKm) for lambda1
M2... |
90ae633e14f87757d17b5c29b6edaa7f21b7e513 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH2/EX2.9/example9.sce | 23279db50d2728014d264ecb0676b16ed8206ccb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | example9.sce | //Chapter-2 example 2.9
//=============================================================================
clc;
clear;
Pt=500000;//peal power in watts
F=10*10^9;//operating frequency in hz
MRP=0.1*10^-12;//minimum receivable power in pico watts
Ac=5;//capture area of antenna in m^2;
RCS=20;//radar cross sectional ... |
51c03c6110d08fd50e48d01dc44479ca28c4bad9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH9/EX9.11/Example9_11.sce | 67f4a53e61cffdb58df58cb502ad3b00d4622119 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,142 | sce | Example9_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 2: CONSTANTS OF OVERHEAD TRANSMISSION LINES
// EXAMPLE : 2.11 :
// Page number 109
clear ; clc ; close ; // Clear the wo... |
0913be8a75a045c2ed42adb383e8b2be9a4c227a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH6/EX6.2/6_2.sce | 91799c868101a89aae8c09f43a99e81ac4cebc1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | 6_2.sce | //example 6.2
clc; funcprot(0);
// Initialization of Variable
Qcdot=8000;
Wcycledot=3200.0;
Tc=268.0;
Th=295.0;
Beta=Qcdot/Wcycledot;
disp(Beta,"coeff. of performance");
Betamax=Tc/(Th-Tc);
disp(Betamax,"maximum coeff. of performance");
clear()
|
d2dadcc7855306e64f215a773a31219c7049bc96 | 46ffb5fda9448453eba4d6787a1568028b241d88 | /ABMLangangen/calibration/cal_7561.337.sci | 025381ae6220ac2e90cda3bc365923a8a5b6b287 | [] | no_license | JusteRaimbault/Models | f81f886dc050445dae68e933e0c052c7f9c0b59c | 52f9c28fe20c8e491fb83e22ef162256eb966d32 | refs/heads/master | 2016-09-10T23:23:05.419418 | 2013-07-30T22:02:34 | 2013-07-30T22:02:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17,796 | sci | cal_7561.337.sci | bref=[];bnorm=[];income-mean=[];rents=[];
bref(1)=5000;
bnorm(1)=10000;
income-mean(1)=10000;
rents(1,1)=36.529802855125276;
rents(1,2)=36.52980285512526;
rents(1,3)=36.529802855125254;
rents(1,4)=36.52980285512521;
rents(1,5)=36.529802855125226;
rents(1,6)=36.52980285512523;
rents(1,7)=36.52980285512532;
rents(1,8)=36... |
f4ad068c844685d7d5b4e36e4eb51f12773fa040 | 5309e64e28c21b706c3a9557d62f7d67bbe5047a | /tests/callf5/kat10.tst | 7445ad85453e045b1a7ae88ebd389cf8b25036f6 | [] | no_license | ederc/scripts | 8387c51009bcf05028b4772623b29d4c09a14bc4 | 185784086ea9bd33ad12d44609d4c50d3bbed38a | refs/heads/master | 2021-01-10T21:13:42.721908 | 2013-05-23T15:21:30 | 2013-05-23T15:21:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | tst | kat10.tst | system("--allow-net", 1);
system("--min-time", "0.001");
system("--ticks-per-sec", 1000);
LIB"../LIB/f5ex2.lib";
sprintf("Example: Katsura-10");
katsuran(10);
bigint mem2 = memory(2);
int tr = timer;
ideal g = f5e(i);
timer-tr;
memory(2)-mem2;
nvars(basering);
size(i);
size(g);
$
|
431ff30821541aa01d1eca61eff0fb7b8cb5d87d | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH12/EX12.1/12_1.sce | 3df604daebd504c7d6c9eb3f6cd7049c0f41c113 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | 12_1.sce | //To find total load
clc
//Given:
P=120*1000 //W
d=250/1000, r=d/2 //m
N=650 //rpm
phi=20 //degrees
//Solution:
//Calculating the angular speed of the gear
omega=2*%pi*N/60 //rad/s
//Calculating the torque transmitted
T=P/omega //N-m
//Calculating the tangential load on the pinion
FT=T/r //N
//Calculating... |
a224439371dedbc0e2c94236f6e393989aeab875 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH6/EX6.10/Ex6_10.sce | 6b504fa37dc3f0cce6ed8f030e45c4abb916f58d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,023 | sce | Ex6_10.sce | // Exa 6.10
// To calculate the data link protocol efficiency with
//(1) Stop and Wait protocol — full duplex,
//(2) SRP with window size W=8, and
//(3) Go-Back-N protocol with window size W=8.
clc;
clear all;
Tprop=4; //maximum propogation delay in sec
R=10; // data rate in Mbps
PackLen=400; //data pack... |
372e0e70ffae57844afcaad2238d228f55daa049 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH5/EX5.36/Ex5_36.sce | 38f0ba3e6395cb4ca9840cb5994db0fcd9d7a371 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sce | Ex5_36.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 5.36\n\n\n");
// Chapter 5 : Properties Of Liquids And Gases
// Problem 5.36 (page no. 219)
// Solution
//Because the tank volume is 10 ft^3,the final specific volume of the steam is 10 ft^3/lbm.Interpolations in Table A.2 yield a final pressure of 42 p... |
92e7202598bc56eeab334083b047ca70980ccc35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH3/EX3.13/3_13.sce | 91d3b5d8565c089a7735d999708133a5cce25f5b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | 3_13.sce | clc;
disp("Example 3.13")
density=1000 // in kg/m^3
b= 0.005 // gap between plates in m
mew=0.1 // viscosity in kg/ms
q=1/60 // in m^3/s/m
U= q/b
// here the pressure gradient is delP= 12*mew*U/b*b
delP= (12*mew*U)/(b*b)
Re= b*U*density/mew
disp(" Reynolds number is ")
disp(Re)
|
5b7c993ef068842460908d4313a7f8eebd616379 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436.zip/Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436/CH4/EX4.11/ex4_11.sce | 18d298c29fe42ab39e4e658e2da6c18c8aa10d5a | [] | 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 | 333 | sce | ex4_11.sce | errcatch(-1,"stop");mode(2);// Example 4.11, page no-213
//(a)
v_obj=2/1000
wt=1.5
dx=wt/v_obj
sg=dx/1000
printf("(a)\nSpecific Gravity = %.2f",sg)
//(b)
sgl=0.8
dens=800
W1=dens*v_obj-wt
printf("\n(b)\nW1 = %.1f kg",W1)
//(c)
sg2=1.2
dens2=1200
W2=dens2*v_obj-wt
printf("\n(c)\nW2 = %.1f kg",W... |
21d8f37b7676daf20cc82807e43a9ef2ed90e972 | 71f4155ea1a152a751be99f2e99151209cc1fbee | /virtualHartSci/macros/hrtSerialRead.sci | b736974bd455eb023d2c5fcb4fc883f0383a8517 | [] | no_license | rai-rodrigues/virtualHartSci | 11d28d72766d7d904a7d45c1a72d0c857b0e1b15 | 1cd142e7e0051fbf9a53552f55ae474216ccfcf8 | refs/heads/main | 2023-06-23T14:22:21.901083 | 2021-07-28T09:49:02 | 2021-07-28T09:49:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sci | hrtSerialRead.sci | function buf=hrtSerialRead(h,n)
if ~exists("n","local") then
N=serialstatus(h);
n=N(1);
end
TCL_EvalStr("binary scan [read "+h+" "+string(n)+"] cu* ttybuf")
buf=part(msprintf(" %02s",dec2hex(evstr(TCL_GetVar("ttybuf")))'),2:$);
endfunction
|
ffe26822f02efc1429c8e7764bd407d526793df4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH5/EX5.30/Ex5_30.sce | c94b11189d0f5276d12dc223b5596046bd90e168 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | sce | Ex5_30.sce | // Scilab Code Ex5.30: Page-300 (2008)
clc; clear;
e = 1.602e-019; // Energy equivalent of 1 eV, J
E1 = 3.2e-018/e; // Minimum energy possible for a particle entrapped in a one dimensional box, eV
n = [1 2 3 4]; // Principal quantum number for K, L, M and N states
printf("\nThe next three energies which t... |
7e1c4589b5cac14f7995d29dd566830c3ba674ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.52/2_52.sci | 27ee1b2fef8621764fac7dc43e715cbce47e7e03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 2_52.sci | //2.52
clc;
Kq=40*10^-3;
Cp=1000*10^-12;
K=Kq/Cp;
printf(" Sensitivity of the transducer=%.2f V/m",K)
Cc=300*10^-12;
Ca=50*10^-12;
C=Cp+Cc+Ca;
Hf=Kq/C;
printf("\n High frequency sensitivity =%.2f V/m",Hf)
R=1*10^6;
tc=R*C;
M=0.95;
w=(1/tc)*[(M^2)/(1-M^2)]^0.5;
f=w/(2*%pi);
printf("\n Minimum frequency=%... |
25333b9b86786209e0a62ff707f4a44ec0fdc5c3 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_V._Rajendran_1826.zip/Material_Science_V._Rajendran_1826/CH19/EX19.3/ex19_3.sce | 32e84cd2aa23cd394046ce70c01d796e59c3a25a | [] | 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 | 213 | sce | ex19_3.sce | errcatch(-1,"stop");mode(2);// Example 19.3, page no-542
H=10^4 //A/m
sus=-0.8*10^-5
mu=4*%pi*10^-7
M=sus*H
B=mu*(M+H)
printf("The flux density in the material is %.2f * 10^-2 Wb.m^-2",B*10^2)
exit();
|
f6f966b46d28b0da413687c1ea0fa648d3764cba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH1/EX1.10/1_10.sce | f57c46c9e16cbef091111b7bbbbd694c0cd9c7a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 726 | sce | 1_10.sce | // RLC circuit problems on resonace
clc;
clear;
R=6.28;
L=20*(10^-3);
f=5*(10^3);
w=2*%pi*f;
C=1/(L*(w^2));
Xc=1/(w*C);
Xl=L*w;
Vc=5;
Z=Xc+R+Xl;
I=Vc/Xc // Total current
V=I*R;
// frequency is inversely proportional to square root of capacitance
// So if C is halved; f will increase s... |
92cb0df32bb25065952b18fb7d07485638179988 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH7/EX7.12/7_12.sce | 85ff0a262379399b5505e3ded5b3ba4918e9a1c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 97 | sce | 7_12.sce | clc;
mH2O=3*18;
q=2441.8;
h0=-3301397+(mH2O*q)
disp(h0,"Δh0 for H2O in the vapour phase:")
|
9b02b9c08c75e7ec280ff36024d5948d9090cbc1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH22/EX22.1/22_1.sce | 621c936a0f306b036f892ab1dfe52b9de3770a60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | 22_1.sce | clc;
// page no 842
// prob no 22.1
PR = -100;//In dBm
// The mobile transmitted power is
PT_dBm =-76-PR;//this is in dBm
disp('or','dBm',PT_dBm,'The mobile transmitted power in dBm is');
PT_mW =10^(PT_dBm/10);
disp('mW',PT_mW,'The mobile transmitted power is'); |
220c3b3e7a491b5ff2b39cd56878213712e20bdd | 449d555969bfd7befe906877abab098c6e63a0e8 | /196/CH2/EX2.2/example_2_2.sce | 6608ff270231fd5bdddd33519efaf90ab84143ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example_2_2.sce | //Chapter 2
//Example 2-2
//ProbOnPWM
//Page 34
clear;clc;
//Given
f=50;//in Hz
Vtemp=4; //input signal in volts
Ecm=10; //maximum peak voltage of sawtooth carrier wave in volts
//Example 2-2(a)
T=1/f;
Th=(Vtemp*T)/Ecm;//High time in seconds
printf("\n\n High Time = %.4f s \n\n",Th)
//Example 2-2(b)
d=(Th/T)*100;//... |
f32ef98f204b878da5d797b6a9b17beccedd48db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH6/EX6.11/exmaple6_11.sce | 5b8cccc012f4609295ff1e366b225a3d1c6baf24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,632 | sce | exmaple6_11.sce | //example6.11
clc
disp("I_m=15 mA, R_m=1.5 ohm at 15 degree celcius, R=3.5 ohm")
r=1.5+3.5
disp(r,"Therefore, R_mT(in ohm)= Total meter resistance = 1.5+3.5 = ")
disp("i) I=20A")
r=(15*5*10^-3)/(20-(15*10^-3))
format(10)
disp(r,"Therefore, R_sh(in ohm)=[(I_m)*(R_mT)]/[I-(I_m)]=")
disp("ii) V=250 V")
r=(100/(1... |
057014db94c93bdb7b4f9e842bffeb1ba3ecf1b9 | 92ee0d6597bbad55ede3ff57b6d98b044527cfb8 | /Sztuczna/2/perceptrondzialajacy.sce | 46bbd292ba8ed904ab8fa45250e334445109f0f0 | [] | no_license | Dearn/Sprawozdania | 32888683a098080434aa407b2055bc2a84f36446 | 53efa5dfb20e4d86c33b18f913a62c8a16478612 | refs/heads/master | 2020-04-13T00:52:24.978071 | 2014-10-24T14:49:07 | 2014-10-24T14:49:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 917 | sce | perceptrondzialajacy.sce | // generujemy punkty
X1 = 2 * rand(1, 20);
X2 = 2 + 2 * rand(1, 20);
Y1 = 2 * rand(1, 20);
Y2 = 2 + 2 * rand(1, 20);
X = [X1 X2];
Y = [Y1 Y2];
Z = (-1) * ones(1, 40);
// macierz punktow
P = [X; Y; Z];
D = [ones(1,20) zeros(1,20)];
plot(X1, Y1, 'go');
plot(X2, Y2, 'rx');
function y=perceptron(x, w)
net = x * w';... |
ff0b76ee795d042136d12ca951f9cee7cb9d0cf8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH9/EX9.1/1.sce | 3f764a5decb5fadf7803eaeeaca7c3c8abc6a485 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | 1.sce | clc; funcprot(0);
//Example 9.1 Lift due to Circulation
// Initialisation of variables
D = 4;
L = 12;
V = 40*1.467;
rho = 0.002378;
W = 100/60; // Revolution per second
// Calculations
R =D/2;
Vt = 2*%pi*R*W;
T = 2*%pi*R*Vt;
Lift = rho*T*V;
L_total = Lift*L
//Results
disp(L_total,"Total lif... |
e8a8e9776dde5f837b47d662966770487ffc8879 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.66/Ex4_66.sce | c54ec073ac9ee7372c45d2e706b5db24e57b92f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | Ex4_66.sce | clc;
// answer is calculated for torque=30 but it is asked for torque=40 i.e why answer varies
p=4; // number of dc series motor
f=4*10^-3; // ratio of flux per pole to armature current
T=40; // torque of fan
n=1000; // speed of motor
a=2; // number of parallel path for waave winding
z=480; // number of conducto... |
b550e6dfb2d71b54e58439204347daf88c8f9976 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH11/EX11.1/ex_11_1.sce | 1411cd27bdc80a5403efb65b5b7416c7fb240b28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | ex_11_1.sce | //Example 11.1: Total Length
clc;
clear;
close;
//given data :
l=20;// in m
w=0.5;// weight per meter in kg
T=500;// Tension applied in kg
del=(w*l^2)/(2*T);
two_S=2*(l+(2/3)*(del^2/l));
disp(two_S,"Total Length(m) = ")
|
7c1682659db0156afaa562332bdf3bcf72aaf897 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2bp/test_8.sce | 2ebf3e20c79fd3f447dfe3cd49e8074227e67dc5 | [] | 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 | 277 | sce | test_8.sce | // Test # 8 : Input Argument #1 or #2 length test
exec('./allpasslp2bp.sci',-1);
[n,d]=allpasslp2bp([0.3,0.2],[0.6,0.8]);
//!--error 10000
//Wo must be real ,numeric and scalar
//at line 36 of function allpasslp2bp called by :
//[n,d]=allpasslp2bp([0.3,0.2],[0.6,0.8]);
|
6bea9a3c9c5c3909711ce17c40128cec8a59e9e5 | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/models/mdl_cylindrical.sce | 2c063e4a60f8a7633c61a61d0e08f484e219648a | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 494 | sce | mdl_cylindrical.sce | //mdl_cylindrical.sce cylindrical robot
// This file creates a cylindrical (RPP) robot
// www.controlsystemslab.com October 2012
clear L;
// length and offset parameters
d1 = 1;
d2 = 2; // maximum stretch for variable d2, d3
d3 = 1;
L(1)=Link([0 d1 0 0]);
L(2)=Link([0 d2 0 -pi/2],'P'); // prismatic j... |
d338254e70cb92ba3d380807b5c75f283d10080b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH3/EX3.11/Ex3_11.sce | 84a4ec0d9e25e6055a58ebe412982b2cb7f5387c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 790 | sce | Ex3_11.sce | //Ex 3.11 page 125
clc;
clear;
close;
Vs=230;// V
Io=5;// A
alpha = 45;// degree
printf('part(i)')
Vo=2*sqrt(2)*Vs/%pi*cos(alpha*%pi/180);// V
printf('\n dc output voltage = %.1f V',Vo)
Pi=Vo*Io;// W
printf('\n Active power = %.1f W',Pi)
Qi=2*sqrt(2)*Vs/%pi*sin(alpha*%pi/180)*Io;// VAR
printf('\n Reactive power = %.1... |
1e55156f4f3a523f206b4455b5b3735b16b1802a | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH2/EX2.5/ex2_5.sce | 854914872b7df2167d9c161108db8a6f9ac26f47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sce | ex2_5.sce | //Example 2.5
clc
funcprot(0);
sum = 10+ 20;
printf("%d\n", sum);
|
28f0e464fbed5baebf5e6a86c253175644507e11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH9/EX9.4.A/additional_ex_4.sce | 4a0b3bb232736d1eba929b91cbcaf38757e433b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | additional_ex_4.sce | clc;
clear;
//Y is a Gaussian Random Variable
syms y;
x=5;
m=-3*(x)+5; //mean
disp(m,"mean");
var=4*7; //variance
disp(var,"variance");
Y=exp(-{(y+10)^2}/56)/sqrt(56*%pi);
disp("Y is an N{-10,28} random variable");
disp(Y,"density function f(y)= ");
|
4f2fee7701324ed68c472abda721aad77c7bde4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH11/EX11.3/Ex11_3.sce | a1fb3406013d4adf5fcea88e0cca8c0a568a47df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | Ex11_3.sce | // Example 11_3
clc;funcprot(0);
// Given data
p=1.00;// MPa
// Solution
// From Table C.2b at p = 1.00 MPa, we find that,
h_fg=2015.3;// kJ/kg
T_sat=179.90;// °C
s_fg=h_fg/(T_sat+273.15);// kJ/kg .K
printf("\nThe phase change entropy for water,s_fg=%1.4f kJ/kg.K",s_fg);
|
db4935b479485e81a6addae2945714ebc7030a40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH9/EX9.5/ex9_5.sce | 4b0419ce7b7b21dda0439115b4929bb0b05ccc15 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | ex9_5.sce | clc;
clear all;
m = 9.1e-31; // Mass of electron in kg
h = 6.62e-34; // Planck's constant in J.s
c = 3e8; // Velocity of light in vaccum
lambda = 1.8e18; // Frequency of the incident rays
theta = 180;//angle in degree
lambda = c/lambda;
delta = (h*(1-cosd(theta)))/(m*c);
Nlambda = lambda+delta;//'Wavelength of... |
fb2aa00fbe6f54683af5a6d98334055f0d10fdec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH6/EX6.9/ex6_9.sce | 0a81225a7e66a849b9b85e46bfec2e766a821023 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | ex6_9.sce | //Determine the value of base resistance
clear;
clc;
//soltion
//given
B=100; //dc beta
Rc=200;//ohm //resistor connected to collector
Re=500;//ohm //resistor connected to emitter
Vcc=9;//V //Voltage supply across the collector as it is PNP so taking positive
Vce=4.5;//V //... |
184b71f30203263d46e8c2807a84f93114092d77 | 036a77bd5f07b7b2b808ef3d90e92d20bd7b6c33 | /hard/tests/tooManyParameters.tst | f174e394bdaafaf5d7d17b77a81e5ca60f6947db | [] | no_license | Jaymee-Ericca-7/simple-compiler | 186b11486e5af8debdde301acba84851c4545b02 | 209a8ed43c579a9ce34c63a10083cdbde5546313 | refs/heads/master | 2020-09-18T06:19:53.304100 | 2015-08-11T13:44:06 | 2015-08-11T13:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | tst | tooManyParameters.tst | int sum(int x, int y) begin
return x + y;
end
main begin
int s;
int x;
int y;
int z;
x = 1;
y = 2;
z = 3;
s = sum(x, y, z);
return s;
end
|
885c0991e5c66d846a31dda0c751fc2eb36b9b01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH14/EX14.9/Ex14_9.sce | e322eacff123e40c84edb9bd2b2fa7820b2c755e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,777 | sce | Ex14_9.sce | // chapter 14
// example 14.9
// Determine motor torque, motor current and supply power factor
// page-878-879
clear;
clc;
// given
P=20; // in HP (power rating of motor)
E0=650; // in V (voltgae rating of motor)
N=1000; // in rpm
Ra=0.25; // in ohm (armature resistance)
K_af=0.03; // in NmA^2
K_res=0.075; // in Vs/rad... |
f70324b13673a965abcf45c4d1132fdde408e96e | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH3/EX3.12/3_12.sce | eafbfb1cb5cb25377934ac527c58191b247beaed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,954 | sce | 3_12.sce | clear;
clc;
printf("\t\t\tExample Number 3.12\n\n\n");
// Three-dimensional numerical formulation
// Example 3.12 (page no.-110-113)
// solution
Tinf = 10;// [degree celsius] environment temperature
h = 500;// [W/square meter degree celsius]
Ts = 100;// [degree celsius] four side temperature
k = 2;// [W/m de... |
c930f8a9364a1fab4804ae4f2877d0cd888c5dd6 | a2845a06ebac1138c6854d691780b120cdd556ab | /runge-kutta.sce | d00c831b10dbad1c7d2f60716c1aa87d323dec40 | [] | no_license | asp2809/Scilab-Programs | d734202084dc70e2b4e3281410833d315ce1558c | 6a49e9401ee81dd3ffc909fe6a3954b5e184c70c | refs/heads/master | 2020-03-10T15:11:33.831289 | 2018-10-05T09:50:06 | 2018-10-05T09:50:06 | 129,443,439 | 1 | 0 | null | 2018-10-05T09:50:07 | 2018-04-13T19:10:50 | Scilab | UTF-8 | Scilab | false | false | 388 | sce | runge-kutta.sce | //program to solve differential equation using runge-kutta method
function []=rungekutta(x0,y0,xn,h)
deff('y1=f(x,y)','y1=x+y')
while x0<xn
k1=h*f(x0,y0)
k2=h*f(x0+h/2, y0+k1/2)
k3=h*f(x0+h/2, y0+k2/2)
k4=h*f(x0+h,y0+k3)
k=(k1+2*k2+2*k3+k4)/6
x0=x0+h
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.