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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
742c8fe2b8f696c321cd205535f954d7faa1e736 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH2/EX2.4/example_2_4.sci | 29f619d7f510003422af3eaa770716aa5bb5267e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,152 | sci | example_2_4.sci | clear all;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 2
// Heat Conduction in Solids
// Example 2.4
// Page 32
printf("Example 2.4, Page 32 \n\n")
Ti = 300; //Internal temp of hot gas in degree Celsius
OD = 0.1; //Outer diameter of long metal pipe in meters
ID = 0.0... |
43a33b39de54d3c1ac5b79e58f7efe66d98c4d2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH2/EX2.9/Ex2_9.sce | 4659c210ba1c934612522d0b0b985c804d604e60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,159 | sce | Ex2_9.sce |
clc
clear
//Input data
m=21000//Steam rate in kg/h
p1=17//Pressure in bar
T1=230+273//Temperature in K
P=132.56//Power in kW
x2=0.957//Dryness fraction
p2=3.5//Pressure in bar
Pl=1337.5//Power in l.p turbine in kW
p3=0.3//Pressure in bar
x3=0.912//Dryness fraction
//Calculations
h1=2869.7//Enthalpy in k... |
510f2291176598c3242afcf02ddb18e8dff8ff13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH11/EX11.4/Ch11Ex4.sci | a8a76c654b22c7e8f9ffe2c23795f9d5ecd8ec63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sci | Ch11Ex4.sci | // Scilab Code Ex11.4: Page-250 (2010)
lambda = 500e-009; // Wavelength of laser light, m
f = 15e-02; // Focal length of the lens, m
d = 2e-02; // Diameter of the aperture of source, m
a = d/2; // Radius of the aperture of source, m
P = 5e-003; // Power of the laser, W
A = %pi*lambda^2*f^2/a^2; ... |
c9a5159f9892074688d6d0864603230b41252e78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH1/EX1.2/Ex1_2.sce | b83bf39805c6289c4603f822cd0f516ca678d69f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_2.sce | //Example 2 Page No:1.83
//given
sr=0.000001;//volt/sec
freq1=100000;//hz
vsat=12;//volt
baw=100000;//hz
//determine vx
vx=2*(1/(sr*2*3.14*freq1));
format(6);
disp('maximum peak amplitude at 100khz = '+string(vx)+" volt");
|
fd363bf8202775c10f2f9116a27616e5cfe86aa2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH10/EX10.17/10_17.sce | 54183347b691ad2e18d81ef8cf071f287481a063 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 587 | sce | 10_17.sce | //Problem 10.17: In a Wheatstone bridge ABCD, a galvanometer is connected between A and C, and a battery between B and D. A resistor of unknown value is connected between A and B. When the bridge is balanced, the resistance between B and C is 100 ohms, that between C and D is 10 ohms and that between D and A is 400 o... |
fb3ae1da739ae46577d88ccf67d0d77319f80a1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH12/EX12.3/Ch12Ex3.sce | 8a635107202cad85248afeb243c0b0aa9aa200f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | Ch12Ex3.sce | // Scilab code Ex12.3: Pg 436 (2005)
clc; clear;
e_V = 1; // Energy applied to diode, eV
k_B_T = 0.025; // Product of Boltzmann constant and temperature, eV
// For simplicity let (q*V)/(k_B*T) = x
x = (e_V/(k_B_T));
I_f_r = (exp(x)-1)/(exp(-x)-1); // Ratio of forward current to reverse current in diode
pr... |
1c69e493fb38548271fa13c971af1657718c1839 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH7/EX7.2/Chapter7_Example2.sce | 123bd8d313780c75846d1149e72a83a2e3aa9f59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | Chapter7_Example2.sce | clc
clear
//INPUT
b=0.00136;//vanderwaal constant in suv/gm
a=0.011;//vanderwaal constant in atm(suv)^2/gm^2
r=0.003696;//universal gas constant in atm(suv)/gm.deg
t=423;//temperature of steam in K
cp=-0.674/0.024205;//specific heat at 423K in atm(cc)gm(deg)
//CALCULATIONS
dt=(-b+(2*a/(r*t)))/cp;//change o... |
216b7551c1d0efc8385b81aa36debd1f6ed7061c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH14/EX14.7/Example14_7.sce | ba6a106adf671854a48edffa6660d8600a0c7285 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,760 | sce | Example14_7.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 14: TRANSFORMERS
// Example 14-7
clear; clc; close; // Clear the work space and console.
// Given data
V = 10 * exp(%i * 0 * (%pi/180)); // Supply voltage of the source 10<0 V
R_s = 1000 ; // Res... |
304e714d1d8d3d4de3be5b5008437b257ea8b8f9 | 5ef198fade948c83b23b5441c96947fb5df5022c | /2d_conduction_steady_v01.sce | 2f876deaa7badb7206d999b52551eecbaccbfee8 | [] | no_license | anandtakawale/Con-duction | c774b0d38e7f7836c102f88129cbd36b5b097115 | d36237e4686a615fdea958a1251ece34336b7d67 | refs/heads/master | 2020-06-01T14:17:02.157334 | 2012-09-30T18:53:08 | 2012-09-30T18:53:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,412 | sce | 2d_conduction_steady_v01.sce | //code for solving 2d steady state conduction
pathname=get_absolute_file_path('2d_conduction_gauss_siedel.sce')
filename=pathname+filesep()+'2d_conduction_data.sci'
exec(filename)
T=[]; //Creating empty matrix for temperature
//Temperature at the bottom of the plate
for j=1:1:nx
T(1,j)=T_bottom;
end
//Temperature a... |
50a7c10c184c9e005db81f0b617322cddaa627ed | 0df913971c869b6b32c3ae37149015f99dd1b66b | /builtin/builder.sce | 9ff0c74f4c498d56c0958d6d2a8f3c14a482c21e | [
"Apache-2.0"
] | permissive | NelsonModules/cserial | b6b668c144eef9e21fb3e6ff233bdabfa388c383 | 877e050927d7f6a67802b2fae0fb2bae6f776f1e | refs/heads/master | 2022-11-12T19:15:04.414954 | 2020-06-30T19:25:47 | 2020-06-30T19:25:47 | 273,571,809 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,066 | sce | builder.sce | //=============================================================================
// Copyright 2020 Allan CORNET (Nelson)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www... |
f684c144a2d5638e6e58db54b549cd19e42e4af2 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.13_19.tst | 3c4c8f43a32ceed7639ef4fc0b451b7351b823b7 | [] | 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 | 239,734 | tst | 5.13_19.tst | 13 23:1 373:1 620:1 1009:1 1102:1 1351:1 1406:1 1754:1 1957:1 2008:1 2036:1 2262:1 2772:1 3837:1 4721:35 4748:1 4816:1 4909:1 5428:1 5567:1 5912:1 6646:1 6849:1 7197:1 7846:1 8160:1 9127:1 9255:1 9360:1 9580:1 9785:1 9955:1 9971:1 10198:1 10367:1 11286:1 11602:1 11891:1 13106:1 14448:1 14945:1 15400:1 15458:1 15507:1 1... |
faccd0c320feb0ee376f3ebb36727722f95c67b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH8/EX8.14.11/Ex8_11.sce | 022196943e5eed371acb0f2ab219c859eae46f57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,707 | sce | Ex8_11.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 8 Junction Transistors:Biasing and Amplification
clc
clear
VBE=0.7//VBE=base emitter voltage
b=99//b=dc current gain of the common emitter transistor
VCC=15//VCC=collector supply voltage
RE=7//RE=resistance in kilo ohms connected to the emitter terminal
RC=... |
65455484aa7c69a4310e82209e4c5fb4063b900e | 7050bad75281d5a9e019c4177b8361e6b7f8c129 | /02/ALU-nostat.tst | ac0193403e1583b2e2c18d1be6819d37a6a216fe | [] | no_license | augustopsalgado/ESC_2018 | a310be1e3328c7313ed9337cd8d3f79f01a4514d | bbc2545860b2ab449b0a6371a64917b080296bc7 | refs/heads/master | 2020-03-29T06:14:35.262171 | 2018-12-14T14:09:17 | 2018-12-14T14:09:17 | 149,616,131 | 0 | 0 | null | null | null | null | WINDOWS-1252 | Scilab | false | false | 3,481 | tst | ALU-nostat.tst | // ALU-nostat.tst é um teste parcial da ALU
// ALU-nostat.tst testa somente a parte computacional da ALU.
// A saida de 'zr' e 'ng'sao ignoradas.
load ALU.hdl,
output-file ALU-nostat.out,
compare-to ALU-nostat.cmp,
output-list x%B1.16.1 y%B1.16.1 zx%B1.1.1 nx%B1.1.1 zy%B1.1.1
ny%B1.1.1 f%B1.1.... |
3fa3f85aed9f3a38fda93d12dac0416f93bb602f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH10/EX10.21/Example10_21.sce | 53df24b39cd1bf603896aee154ecdeb07a67115a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Example10_21.sce | /////////Chapter 10 Properties Of Steam
///Example 10.21 Page No:201
/// Find Final enthalpy of steam
//Input data
clc;
clear;
m=4; //Steam in Kg
P=13; //Absolute pressure in bar
tsup1=450; //Absolute temp in degree celsius
deltaH=2.8*10^3;
Cps=2... |
84c8c665eec65acba2a8f1931435069a2c31c615 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.12/EX_2_12.SCE | ce6f9c28e3f80cd7713de83e36e0f257928e91b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | EX_2_12.SCE | // Example 2.12: Calculate Collector current and Collector to emitter voltage
Vcc=25;// Colector voltage in volts
Vbe=0.7;// Base to emitter voltage in volts
Rb= 180;// in KILLO OHMS
Beta=80;//Common emitter D.C. Current gain
Rc=0.82;// Collector resistance in killo ohms
Re=0.2;// Emitter resistance in killo oh... |
5842515ddd29b2e6584a5f82babcf65c9b2a949f | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH13/EX13.3/example13_3.sce | 266347521a26cafd8b813970329c9231fa341416 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | example13_3.sce | clear;
clc;
//Example13.3[View Factors Associated with a Tetragon]
//Given:-
//A pyramid with square base and it's sides being isoceles triangle
//Solution:=
F11=0;//Since base is a flat surface
//F12=F13=F14=F15=x
x=(1-F11)/4;
disp("of total radiation",x,"Each side pf the four surfaces of the pyramid reciev... |
03ad9fc4213a9893683ceb29f629618ea4c4a67e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH7/EX7.7/ex7_7.sce | c398a2f25bd4e96cf401081afb867ccbdeaa658a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | ex7_7.sce | clc;
t0=3600; //time in sec
t=3601; //time in sec
c=3*10^8; //velocity in m/sec
v=c*sqrt((1-(t0/t)^2)); //calculating velocity
disp(v,"Velocity in m/sec = "); //displaying result |
2627dc2c914604e79b6cdd32a0b60bf4e7d8b29a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH10/EX10.1/Ex10_1.sce | 2df972e1d288a5f52a5aff67ae24c469760bf7c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | Ex10_1.sce | clc//
//
//
//Variable declaration
C=2*10^-6; //capacitance(F)
V=1000; //voltage(V)
epsilon_r=100;
//Calculation
W=C*V^2/2; //energy stored in the condenser(J)
C0=C/epsilon_r;
W0=C0*V^2/2;
E=1-W0; //energy stored in the dielectric(J)
//Result
printf("\n energy stored in the condenser... |
c03efe05952c2bde5f9cc0bf6fa517381e6017b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /269/CH7/EX7.11/example11.sce | 022211b63aa6354ab0d39fdc923fbcf93dd917a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 52 | sce | example11.sce | s=%s
[A]=pfss((s+2)/(s^2+2*s+1)*(s+3))
disp([A])
|
275537f447e8614a0b332140899c36910984b16d | 15ff2aaf59d00ffdc078f735955c5c41dd8f31eb | /Comparator.tst | bf1c9c7a1482821ee772c8d7ecc1ad8a81bcff81 | [] | no_license | davidsmithmke/nand2tetris-project2 | bcce2c15a2752a7bfd09ee8b1660b6ed65b5d3f2 | c50b0517b373bdb81d75e1428619d0d3d5189d24 | refs/heads/master | 2020-05-01T08:20:51.117514 | 2014-02-03T17:24:10 | 2014-02-03T17:24:10 | 16,486,939 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | tst | Comparator.tst | load Comparator.hdl,
output-file Comparator.out,
compare-to Comparator.cmp,
output-list in%B1.16.1 eqz%B2.1.2 ltz%B2.1.2;
set in %B0000000000000000,
eval,
output;
set in %B0111111111111111,
eval,
output;
set in %B1000000000000000,
eval,
output;
set in %B1111111111111111,
eval,
output; |
d167db0f8fba124eec41771d18382214e359b698 | cb3612e7507309a5c30d1ea7f640c0ccde8f8bf9 | /classifier_training.sce | d90b70961aac80cd208655d53f39c7192ca87751 | [] | no_license | aforehand/thesis | b797c6646b5f6bc48d58c3df318c014038fc6c84 | 8189db373898e264544a5d9d52fc00296ea4abb6 | refs/heads/master | 2021-01-01T04:54:01.627632 | 2017-07-26T16:46:02 | 2017-07-26T16:46:02 | 97,270,443 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,972 | sce | classifier_training.sce | scenario = "Classifier Training";
response_matching = simple_matching;
active_buttons = 2;
button_codes = 1,2;
default_font = "Calibri";
default_font_size = 18;
default_text_color = 100,100,100;
default_clear_active_stimuli = false;
response_logging = log_all;
write_codes = true;
pulse_width = 6;
response_po... |
8fc37085f58a8ac23b0abcb4eff19fcd883f7a39 | 3daf46b810f462d6c8e936bef696ade9bd2e41a8 | /AulaPratica2/GaussSeidel_sist.sce | 2d7fb3ec3214bf6fe322dec66c9ab9da519b1eb2 | [] | no_license | JPMarciano/Algebra-Linear-Numerica | 4575a2bd95a4b056100a7d8adaaeb2a0a0fee2d4 | 6d2c8555650b5f8a156f3d1c207c77f6986b8fcd | refs/heads/master | 2021-03-12T14:27:28.360160 | 2020-05-11T14:59:05 | 2020-05-11T14:59:05 | 246,628,921 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | GaussSeidel_sist.sce | function x = sist(L,b)
n = size(L,1);
x = zeros(n,1);
x(1) = b(1)/L(1,1);
for i = 2:n
x(i) = (b(i) - sum(L(i,1:i-1)*x(1:i-1)))/L(i,i);
end
endfunction
function [x, d, k, r] =GaussSeidel_sist(A, b, x0, E, M, n)
L = tril(A);
U = triu(A, 1);
x = sist(L, -U*x0 + b);
k = 0;
while((norm(x-x0, n)>=E) && (k<M))
... |
380f0c26630d61ef2f3ace9968ee83f3f5a7a981 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH3/EX3.23/23.sce | 2524940a9df980e70c53235d3d36c01567bf5586 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sce | 23.sce | clc
// Given that
N = 4000 // Grating lines per cm
n = 2 // order
lambda = 5000 // wavelength of light in angstrom
// Sample Problem 23 on page no. 165
printf("\n # PROBLEM 23 # \n")
printf(" Standard formula used \n")
printf(" d_theta /d_lambda = n/(e+d)*cos(theta) \n")
theta = asin(n*lambda*1e-8*N) ... |
ec8a6ecac7662a02aea34daf0150725ed545790c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH39/EX39.18/Example39_18.sce | b7be75addd34b782fceb2d816489c236aade20ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,935 | sce | Example39_18.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 1: INDUSTRIAL APPLICATIONS OF ELECTRIC MOTORS
// EXAMPLE : 1.18 :
// Page number 699-700
clear ; clc ; close ; // Clear the w... |
5eb92ce3cd94fd29a7c3c85c64fcf4c0717a8713 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH3/EX3.5/Example3_5.sce | 021d0f13e621f26e7d033171ba65d6c995f54e52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | Example3_5.sce | close();
clear;
clc;
Vm = 200;
w = 377;
Im = 8; //A
theta = 30; //degree
//(a) power factor 'pf'
pf = cos(theta*(%pi)/180);
mprintf("Power factor, pf = %0.3f\n\n",pf);
//(b) true power 'S'
S = Vm*Im/2 * pf; //W
mprintf("True Power, S = %0.1f W\n\n",S);
//(c)Apparant power 'Q'
Q = Vm*Im/2; //VA
mprint... |
3f6b4c692ef85357d166342288601a1e04c70b53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH40/EX40.6/Example40_6.sce | 01c586c056d5556ac87c96d2c5d6d9852ca5b5c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,423 | sce | Example40_6.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 2: HEATING AND WELDING
// EXAMPLE : 2.6 :
// Page number 732
clear ; clc ; close ; // Clear the work space and console
// ... |
0c6be984b7b5ef7c71ee6aafdc9abe81e50cad97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH4/EX4.10/Chapter4_Example10.sce | 371862643da4f0b11c1f14ec091513c0584daee1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,280 | sce | Chapter4_Example10.sce | clc
clear
//Input data
r=7.8;//Compression ratio
p=1;//The pressure at the start of compression in atm
T1=335;//The temperature at the start of compression in K
//Calculations
W1=100;//Isentropic compression function for T1 in J/kg air K
W2=W1-(292*log(1/r));//Isentropic compression function in J/kg air K
... |
89fffc605ec6645ba3858bb5ab4803dc81c5a3ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH9/EX9.11/Example9_11.sci | c249ecca3e2178ad3cda77ba1d5e150f6d5c8843 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 974 | sci | Example9_11.sci | clc();
clear;
// To compute the temprature distribution
h=1; // Heat transfer coefficient in Btu/hr-ft^2-degF
x=1; // Assumed thickness in ft
k=1; // Thermal conductivity in Btu/hr-ft-degF
N=h*x/... |
00777702cfd5e14a4ca017aca3ee6f131a77511c | 2e162df2ad0363dd248a7604edce59180dfc431f | /1-laba/1-laba.sci | 5672c32a2956ce13e1e5da5252c54848b53ed577 | [] | no_license | imnetcat/graphs-online | 9f03a7071d1a5d79ead29e4e111dd38f28631b13 | 5a24fa16622355047467caead4d35129cba6d0e0 | refs/heads/master | 2022-09-01T02:23:20.724040 | 2020-05-20T19:19:48 | 2020-05-20T19:19:48 | 240,755,646 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sci | 1-laba.sci | n1 = 9
n2 = 5
n3 = 0
n4 = 5
nodes = 10 + n3
function [matrix] = getMatrix(nodes, n1, n2, n3, n4)
n1_str = string(n1);
n2_str = string(n2);
n3_str = string(n3);
n4_str = string(n4);
n = strcat([ n1_str, n2_str, n3_str, n4_str ]);
rand("seed", strtod(n));
T = rand(nodes, nodes) + rand(nodes, nodes... |
cd46b67b69aa04db7a421eeaa30b780eb403b3f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH3/EX3.5/3_5.sce | 0af65cc58a8363762bb56a1565f7cb4467484606 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 611 | sce | 3_5.sce | //Network Theorem 2
//pg no 3.7
//example 3.5
disp("When 5-A source is acting alone:");
disp("By current-division formula :");
I1=5*(2/(2+4));
printf("I1=5*(2/(2+4)) = %.2f A (down)", I1);
disp("When 2-A source is acting alone:");
disp("By current-division formula :");
I2=2*(2/(2+4));
printf("I2=2*(2/(2+4)) =... |
c19b0f14968c5d5456d1140612a72fede64957fa | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.5_3.tst | ba200e0ff863a9146c74bbc8791d032b46594b6d | [] | 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 | 37,222 | tst | bow.5_3.tst | 5 5:0.5 6:0.11764705882352941 15:0.2222222222222222 24:1.0 34:0.3 37:0.3333333333333333 42:0.2 56:0.3333333333333333 64:0.5 73:1.0 82:0.16666666666666666 97:0.5 140:0.5 173:2.0 191:0.3333333333333333 261:0.019230769230769232 320:2.0 373:0.3333333333333333 399:1.0 488:1.0 489:2.0 583:1.0 587:1.5 671:1.0 775:2.0 908:1.0 ... |
ed8272162c513f6715c4c9e8563cc6a3e8e07f9b | 3073307fa4b6da9371518f0718c199501b8c5c71 | /elimGaussPivoteoParcialEscalado.sci | 1f54ac17b5265ed17a99cb3c1bcb481042576a89 | [] | no_license | fern17/CalculoNumerico | 8b04abdf8e1da4b69a1256334a4bc58ff5c9180d | c793733ce17616361dd02f358ef63c1d9be5c99e | refs/heads/master | 2020-06-04T00:06:19.723655 | 2011-12-20T13:47:40 | 2011-12-20T13:47:40 | 2,929,202 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,624 | sci | elimGaussPivoteoParcialEscalado.sci | //Realiza la eliminacion de Gauss para una matriz A y un vector b
// Devuelve: B matriz triangular superior resultado de aplicar eliminación
// Gaussiana a A. Realiza pivoteo parcial escalado.
// Pivoteo Parcial Escalado: Busca el mejor candidato para pivote:
// Calcula el mayor valor absoluto de cada fila y en ca... |
0adc97b9bdedcd60e582ea65bf06bc5a5a33d3d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH7/EX7.3/Example_7_3.sce | b324f5e424f9e4d144fccbd1fb032fd8e426315b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 992 | sce | Example_7_3.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 7.3
//Caption : Program to Find the Critical Pressure and the Discharge Pressure
//Given Values
T1=573.15;//[K]
R=8314;
P1=700;//[KPa]
M=18.015;
Gamma=... |
e05c0d2a9bee20f805eb2aadb17fcddabb64c067 | c6196553a0199f808a6ec5cdb7c257bffc4e1832 | /TP_EDP/grad2.sci | 4caaa398399e5a9138118b07a91d0ab73665f168 | [] | no_license | rianaR/T.I.A | 034b5e503145e54460fa17404c4b51524e269dd8 | b1a3011f4d4101cbe163399c9f46abd31c4977e5 | refs/heads/master | 2021-01-10T05:09:03.931399 | 2015-11-05T08:55:45 | 2015-11-05T08:55:45 | 43,305,164 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sci | grad2.sci |
// gradiant
function [g] = grad2 (im)
// on definit une matice N,M full if 0
N=size(im,1)
M=size(im,2)
g=zeros(N,M,2);
g(:,1 :N-1,1)= im(:,2:N)-im(:,1:N-1);
g(1:M-1,:,2)= im(2:M,:)-im(1:M-1,:);
endfunction
|
7ff30f808b3c09be9b115488c3074ff055a087f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH2/EX2.3.33/2_3_33.sce | c09bf4b98ad5d84f56cf09d710134e8f6d620d66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_3_33.sce | disp('matrix A corresponding to transformation T is:')
A=[-5 9;4 -7];
disp(A)
disp('determinant of A is:')
disp(det(A))
disp('since det(A) is not equal to zero')
disp('by IMT, A is invertible')
disp('hence, the inverse of A exists')
disp('inverse of A is:')
disp(inv(A)) |
e87a94fbcfa07a3a6bbd2a093b797e33aca42230 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH19/EX19.10/Ex19_10.sce | 8e0abbba35995129e7095c61ed09c0ab5610d49c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | Ex19_10.sce | clc
clear
//Initalization of variables
cp=0.24
h=138.8
t3=1960 //R
//calculations
t4d=t3-h/cp
Qs=cp*(t3-t4d)
work=43.9 //Btu/lb
etat=work/Qs *100
//results
printf("Thermal efficiency of the unit = %.1f percent",etat)
|
bf3b10eb744ea3efdd6b84dabd0f876480732e71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH6/EX6.1/Ex6_1.sce | a6445aefde58326ddadf36feb52e674bca5c35bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 866 | sce | Ex6_1.sce | //example-6.1
//page no-169
//given
//molecular weight of CaF2 (calcium fluoride)
Mw=0.079 //kg/mol
//specific gravity of CaF2
sg=3.17
//density
rho=sg*1000 //kg/m^3
//avogadro's number
NA=6.023*10^23
//the no of lattice sites is
NL=NA*rho/Mw //calcium ions/m^3
//the ionic structure of CaF2
NI=2*NL /... |
e158e1cb4a288d3049ff5c3cc74d6a105bc251f0 | 3fd87fa4b5c921d71b9f4b3c20c2ec710a285d54 | /src/scilab/test_ceres_odom_plot.sce | 7ca80e229594d86d8c4067be0bfe7663ccf0147c | [] | no_license | mshicom/wolf | 8358bf5f84376a9f80b25c5cff8cf8a82f5d1d91 | 1d21ba4a2c72dcdc4347d91071f570beaadd3a29 | refs/heads/master | 2020-12-24T06:06:53.465173 | 2016-09-19T07:26:02 | 2016-09-19T07:26:02 | 73,229,005 | 0 | 0 | null | 2016-11-08T21:34:42 | 2016-11-08T21:34:41 | null | UTF-8 | Scilab | false | false | 2,104 | sce | test_ceres_odom_plot.sce | //plot log data from ceres test
// clear all
xdel(winsid());
clear;
// CERES ODOM BATCH
//load log file
data = read('~/Desktop/log_file_2.txt',-1,14);
//plot
fig1 = figure(0);
fig1.background = 8;
plot(data(2:$,10),data(2:$,11),"g.");
plot(data(2:$,1),data(2:$,2),"b-");
plot(data(2:$,4),data(2:$,5),"r-");
plot(data... |
8d9ec66ee82933c3c90de79887520b173074cde8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH3/EX3.5/eg_3_5.sce | 2236bc652a65960a33e4717b12d4f27857ed8562 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg_3_5.sce | clear;
clc;
disp("T(A,B,C,D)=A^C^+ABD+BC^D+AB^D^+ABCD^");
disp("Assume A^=x , C^=y , BD=z");
disp("Now from consensus theorem for the first three terms");
disp("BC^D is the redundant term so it can be removed");
disp("T(A,B,C,D)=A^C^+ABD+AB^D^+ABCD^");
disp("T(A,B,C,D)=A^C^+ABD+AD^(B^+BC)");
disp("we know that ... |
c66ca27582ef0379666dcfee317c49f2fc8a6924 | fa73b9454b1d003e901d57ef2121b7544bcdfef2 | /scenes/testc.sce | 2930ab546bce16f49624b3675b48096e0e01e617 | [] | no_license | bernielampe1/ray_tracer | ea91cf08188194f6a0d1e8c9e95baa4aea12f021 | 7fa963ccd07695be3a78acd4837af6cd439698b9 | refs/heads/master | 2021-01-02T01:16:52.595743 | 2020-03-02T12:36:03 | 2020-03-02T12:36:03 | 239,428,546 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | testc.sce | sce1.0
# camera
eyepos 1 -3 1.5
eyedir -0.2 1 -0.3
eyeup 0.0 0.0 1.0
wdist 1.0
fovy_deg 45
nx 400
ny 300
#options
max_recursion 4
aasample 0
# scene
background 0 0 0.6
ca 0.1 0.1 0.1
rotate 36 0 0 1
{
#ground
cr 0.4 0.5 0.4
cp 0.4 0.4 0.4
triangle -3 -10 0 3 -10 0 3 10 0
triangle -3 -10 0 3 10 0 -... |
6d586dce7dbd70d073181d27b6a622a86d3dcbfd | 0320d75d635104b38bca383bde2d5a012d0ccd4f | /Comp Org/assign3/a3/part2/RegisterFile.tst | b696bc02aad1974f4783e49f6c083644103b48c2 | [] | no_license | sbkohel/Class_files | 97d4392d977d1de715eadba674ccb042195fd383 | 4a4cced4c23fab038b45ac54649e9831c45ea9b7 | refs/heads/master | 2018-12-29T21:11:59.492247 | 2014-12-17T02:02:20 | 2014-12-17T02:02:20 | 15,176,186 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,838 | tst | RegisterFile.tst | load RegisterFile.hdl,
output-file RegisterFile.out,
compare-to RegisterFile.cmp,
output-list time%S1.4.1 rr1%D1.2.1 rr2%D1.2.1 wr%D1.2.1 wd%D1.5.1 load%B2.1.2 rd1%D1.5.1 rd2%D1.5.1;
set rr1 0,
set rr2 1,
set wr 0,
set wd 10,
set load 1,
tick,
output;
tock,
output;
set rr1 0,
set rr2 1,
set wr 1,
set wd 11,
set ... |
854e6816d0b8534633a7147f87eb4b59a28d912f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH13/EX13.1/Ex13_1.sce | 0b9e695cd9a3f9b12d1d022addae61c1210323e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | Ex13_1.sce | //Example 13.1, Page no 471
clc
m=9.11*10^-31//in kg
h=6.63*10^-34//in j-s
ef=4.72*1.60*10^-19//in J
n=%pi*(((8*m)/h**2)^(3/2))*((ef**(3/2))/3)
printf("\n The number of electron per unit volume in lithium is %e /m^3",n)
|
9f19a06a199a7ea479488d0ce119427c31c785bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH8/EX8.10/8_10.sce | 5fb4157a4d50fea84552949a22c58a4b94aa951a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,535 | sce | 8_10.sce | //Fuels and Combustion//
//Example 8.10//
C=810;//weight of carbon in 1kg of coal sample in grams//
O=80;//weight of oxygen in 1kg of coal sample in grams//
S=10;//weight of Sulphur in 1kg of coal sample in grams//
N=10;//weight of nytrogen in 1kg of coal sample in grams//
H=50;//weight of hydrogen in 1kg of coal... |
93aaf95ed882403104c911ce791ec8f34fdb775b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH3/EX3.9/EX3_9.sce | cd49625d804d51492b6d8e137c1bbc1c2e89249b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,396 | sce | EX3_9.sce | clc;funcprot(0);//EXAMPLE 3.9
// Initialisation of Variables
p1=1;.....................//Pressure in bar
t1=300;......................//Temperature in K
Q=1500;.....................//Heat added in kJ/kg
r=8;.......................//Compression ratio
Cv=0.72;....................//Specific heat at constant volume
... |
66bb5a8bc4cc77cb4ee352211c790663cf0249be | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/mpc/scilab/gpc_wtc.sce | 7ba778f456a2b7cdbf2e33bec3d5ac5625393ade | [] | 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 | 225 | sce | gpc_wtc.sce | // Updated(19-7-07)
// 12.8
A=[1 -0.44]; dA=1; B=[0.51 1.21]; dB=1;
C = [1 -0.44]; dC = 1;
k=1; N1 = 0; N2 = 2; Nu = 0; rho = 1;
getf gpc_Nc.sci;
[K,KH1,KH2,Tc,dTc,Sc,dSc,R1,dR1] = ...
gpc_Nc(A,dA,B,dB,C,dC,k,N1,N2,Nu,rho)
|
10e21176289d4bfb3773b8b6a4f7d2c8b7de8b84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH2/EX2.33/33.sce | 7ea939eb2911b99f554f9fb3c91e0d540a8ec4e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 505 | sce | 33.sce | clc
// Given that
theta = 0.3 // Angle of wedge in degree
lambda1 = 6e-5 // Wavelength of light in cm
lambda2 = 4.5e-5 // Wavelength of light in cm
r = 90 // Radius of curvature in cm
// Sample Problem 33 on page no. 120
printf("\n # PROBLEM 33 # \n")
printf("\n Standard formula used \n D_m^2 -D_n^2 = 4*p*r*... |
bd88caa11ace0b56d532c6185e89699e43ee52c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH4/EX4.32/32.sci | 2ce6fe94afe6ac531c88127c674a4154f49cd129 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 888 | sci | 32.sci | clc;
clear all;
disp("contact surface temperature")
disp("The rate of heat flow at a surface x =0 is given by")
disp(" Q = -k*A*delT/(%pi*a*tau)^0.5")
disp("Heat received by each unit area of contact surface from the body at a temperature t1 is")
disp("Q = -k1*A*(t1-ts)/(%pi*a1*tau)^0.5")
disp("Heat received by ... |
3265259d2202e6a612202f5f7b9486e9be691156 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH15/EX15.4/Ex15_4.sce | e13b274229b7fe5f10737b40e896a654a707c775 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | Ex15_4.sce | clc
// initialization of variables
clear
S_u=1300 //MPa
K_C=69 // MPa sqrt(m)
SF=2.2
//calculations
S_c=S_u/2.2
a=1/%pi*(K_C/S_c)^2
printf('a = %.2f mm',a*10^3)
|
404b342351f9fbfe6475ab64b2ba3a5ad0cc8df1 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/convmtx1.sce | 75fa2421c9ce0ec9e525b33f4ad77b143fcfa804 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 46 | sce | convmtx1.sce | h=[1 2 3 4 56];
n=6;
A=convmtx(h,n);
disp(A);
|
c7b396f82268c8c561ba09a3e25ffad509e018c1 | 73ea839815810db6710889ecaf76c2ee0c591999 | /Server/TW.Api.Models/TypeWriter/Models.tst | 5b7f98fea96db2fe38b9c00d14b744b54744e0f7 | [
"Apache-2.0"
] | permissive | TaoReiches/Tao | 40f0a7cc349cdb7800f2967a253f4a585ec7fb20 | bf54cdf5284d3a6fd7b2e8aec0bc26fa96442a01 | refs/heads/master | 2023-02-18T09:27:06.047300 | 2021-01-17T18:39:43 | 2021-01-17T18:39:43 | 299,950,460 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,438 | tst | Models.tst | ${
// Enable extension methods by adding using Typewriter.Extensions.*
using Typewriter.Extensions.Types;
Template(Settings settings)
{
settings.OutputFilenameFactory = file =>
{
var dirIndex = file.FullName.LastIndexOf(file.Name);
var dir = file.FullName.Substr... |
7842e7e0dd2114c7182c0ca9ec6a743442272b0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH21/EX21.3/21_3.sce | e9db19df3145facdcda4ebd2107b6bbfec9c1f17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,525 | sce | 21_3.sce | pathname=get_absolute_file_path('21_3.sce')
filename=pathname+filesep()+'21_3data.sci'
exec(filename)
clear
Lc1=Lc+ 0.1*10^3,Lc2=Lc- 0.1*10^3;
Mx1=-Sy*(L-Lc1);//moment at section1
L31=(L1*(L-Lc1)+ L2*Lc1)/L;//leangth of CS1
B31=(B1*(L-Lc1)+ B2*Lc1)/L;//breadth of CS1
Mx2=-Sy*(L-Lc2);//moment at section2
L32=(L... |
035a4aac6068961f57eb03deb0b7cafec96d429c | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/pmusic/pmusic5.sce | 17769c7b47788a2d4e27eab2858efcce185e3fbb | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | pmusic5.sce | x=[1 2 3 4 5 6 2 3 7];
p=3;
fs=4e6;
nfft=6;
[S,f] = pmusic(x,p,nfft,fs)
disp(S);
disp(f);
//output
//
// 6.4454494
// 0.5509978
// 0.2413610
// 0.1686702
//
// 0.
// 666666.67
// 1333333.3
// 2000000.
//
//
|
f528676304377976580adbc551449bf17982f9c6 | e59f7b8d4c0c495a34f4dfd66df058aa9c228b7b | /RESULTS/.sci | 4160bfed9c83bcf7c79f551bb79845d03a241f09 | [] | no_license | maxxonair/BlueBook-Descent-and-Landing-Analysis-Toolkit-DaLAT | d1b2071adc584cbe1551090834cd01142beb0725 | 6c71c971c2aa62e9f81f3c00c211d80caf8680eb | refs/heads/master | 2021-07-13T07:26:26.655134 | 2020-05-30T11:28:41 | 2020-05-30T11:28:41 | 169,849,595 | 3 | 0 | null | 2020-05-30T11:28:43 | 2019-02-09T09:09:13 | Java | UTF-8 | Scilab | false | false | 1,827 | sci | .sci | clear
RootFolder='C:\Users\Max Braun\Documents\Max_Braun_2017\05_Tools\LandingSim\LandingSim-3DOF\burst_container\';
filename = fullfile(RootFolder, 'burstres_20.txt');
filename2 = fullfile(RootFolder, 'burstres_30.txt');
BB_ascent_5_6 = csvRead(filename, " ");
BB_ascent_6_6 = csvRead(filename2, " ");
//-------------... |
56016f2f424cefee6d751d9e71fecc8458c6243b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH3/EX3.5/3_5.sce | fac7006351daaede81378c5bc47a150485e9cfab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | 3_5.sce |
clc
//initialisation of variables
v= 20 //ft/sec
d= 2 //in
w= 62.4 //lb/ft^3
g= 32.2 //ft/sec^2
//CLACULATIONS
A= (%pi/4)*(d^2/144)
hp= (w*A*v^3)/(2*g*550)
//RESULTS
printf (' horse power = %.3f hp ',hp)
|
0100c95ebc98878511dea1a53758fe569c9e6305 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH8/EX8.21/example8_21.sce | 2f19f8126981129e52c22a73facf668696188d1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | example8_21.sce | //Chapter 8
//Example 8_21
//Page 192
clear;clc;
l=214;
vsag=2.35;
w=1.125;
ww=1.5;
area=3.225;
bs=2540;
wt=sqrt(w^2+ww^2);
t=bs*area;
s=vsag*wt/w;
f=t*8*s/(wt*l^2);
printf("Total weight of 1m length of conductor = %.3f kg \n\n", wt);
printf("Working tension = %.0f/f kg \n\n",t);
printf("Slant sag = %.2f m \n\n", s... |
958a29cd1b55bbfd3d9c22a3adb71687c190e0a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH8/EX8.m.1/ExaMisc8_1.sce | 2e9e7b4a0c10738dda408f22e955ccdb82de6682 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sce | ExaMisc8_1.sce | //Exa Misc 8.1
clc;
clear;
close;
//given data
format('v',5);
L2=0.4;//in mH
C=0.004;//in µF
f=120;//in KHz
L1=1/(4*%pi^2*(f*10^3)^2*C*10^-6)-L2*10^-3;//in H
disp(L1*10^3,"Value of L1(in mH) :");
|
25edbb7b5d4ed498bae3593b20eecdbff8e3b832 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH9/EX9.2/Exa9_2.sce | 49e8ceac3f9ce62aeee037b4f8b49aebab0e0fcf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | Exa9_2.sce | //Exa 9.2
clc;
clear;
close;
//given data
Vreg=8;//in volts as IC 7808 is given
IL=100;//in mA
IR=100;//in mA
Iq=0;//in mA
RL=50;//in ohms
// let find the value of resistor to deliver required current
R=Vreg/(IR*10^-3);// in ohms; so current must be in amperes
disp(R,"Required Resistance in ohms : ");
disp... |
39589fb9f7885cdfaf624f09dfa186387ea15a48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH4/EX4.5/4_5.sce | 8e1b3a17ac33d7dc72f53d2f648bf3ea49b37089 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | 4_5.sce | clc
//initialisation of variables
g= 32.2 //ft/sec^2
Cd= 0.62
L= 7.573 //ft
H= 1.2 //ft
S= 2.85 //ft
//CALCULATIONS
Q1= 2*Cd*sqrt(2*g)*L*H^1.5/3
Q2= 3.33*L*H^1.5
Q3= sqrt(2*g)*L*H^1.5*(0.405+(0.00984/H))
He= H+0.004
Q4= (3.227+0.435*(He/S))*L*He^1.5
//RESULTS
printf ('Q = %.2f cuses ',Q1)
printf ('\n Q ... |
da5c274945212d4d9e22b23255db788a4e41d5c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH6/EX6.16/16.sce | f2853f1e4491d5016726114552244d4977b4e5ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | 16.sce |
//Variable declaration
rho=47*10**-2
e=1.6*10**-19
mu_n=0.39
mu_p=0.19
E=10**4
//Calculations
ni=1/(rho*e*(mu_n+mu_p))
Dh=mu_p*E
De=mu_n*E
//Results
printf('ni = %0.3f *10**19 /m**3 \n',(ni/10**19))
printf('Drift velocity of holes %0.3f ms**-1 \n',Dh)
printf('Drift velocity of electrons= %0.... |
dbdf5162acf8a4b55037086424b2dc1c2c6b1042 | 432a82a51d4b6a42ed39ce3bf8cd22df33296ab8 | /OSA.tst | 89d3e6a909119918730c8bab7f304dc1b9a6a3c9 | [] | no_license | mikenieva/osasatelital | a17e2f702c19a811fd545759718935aa7ca7ca67 | 6a75a9e57494ca9b2ed99a3513e97a03e4af1978 | refs/heads/master | 2021-06-03T10:08:37.578234 | 2014-06-17T16:32:54 | 2014-06-17T16:32:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 29 | tst | OSA.tst | OSA
-----------------------
|
d171c30efe3d61f56a97f2538e2416139d664ce7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH22/EX22.5/Ex22_5.sce | 4be1f74487f40373befb731b18572d2c95e06c5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,141 | sce | Ex22_5.sce | // from fig. 22.18A
clc
// Three gear ratios between input and intermediate shaft
nmax = 1400 // maximum speed in rev/min.
i1 = 1/1
i2 = 1/1.26
i3 = 1/(1.26)^2
// The two ratios between intermediate and output shaft
i4 = 1/1
i5 = 1/(1.26)^3
// number of teeth for input and intermediate shaft
t1 = 27/27
t2 =... |
2c958ce8b6ed9105cc6bf88d2766e5c01816908f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH11/EX11.10/10.sce | fa5a22b12632d71a111dde98cd33faad38343059 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | 10.sce |
//Variable declaration
n1=1.45; //refractive index of core
n2=1.44; //refractive index of cladding
//Calculation
delta=(n1-n2)/n1; //fractional refractive indices change
//Result
printf('fractional refractive indices change is %0.3f *10**-3 \n',(delta*10**3)) |
2ed20c1f37d081575573bc327a404ccfe1e44d2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH3/EX3.19/SolEx3_19.sce | 7fe30827fb6a35f51d5ec9fe04c118207a425bdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | SolEx3_19.sce | //Find the value of RB that just results in saturation if (a) the capacitor is present, and
//(b) the capacitor is replaced with a short circuit.
//Solved Example Ex3.19 page no 91
clear
clc
b=50
Vbeq=0.3 //V
Vcc=12//v
Vs=2//v
Rc=4//Kohm
Rs=100//Kohm
Vce=0.2
Icq=(Vcc-Vce)/Rc
printf("\n Icq = %0.2f mA... |
eb8dc892cf38eedad195004fb0e1fa7d40d4737b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH2/EX2.10/Ex2_10.sce | 78b9ccf2b9bdb8b3dc1f08eabb354fe69e2870d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | Ex2_10.sce | clear
//
//case a
I=12/(2+((12*24)/(36))) //values taken from circuit
I1=I*(24/(36))
I2=I*(12/(36))
printf("\n i= %0.1f A",I)
printf("\n i1= %0.1f A",I1)
printf("\n i2= %0.1f A",I2)
//case b
power=(I**2)*2
printf("\n power consumed by 2 ohm resistor= %0.1f W",power)
power=(I1**2)*12
printf("\n power consumed by 12 ... |
a47c22eb58ba6b62c7aea498c2ff4f3e2fe730c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH9/EX9.16/Ex9_16.sce | 0b6c5ca82e622099fc263ca28b29526c135a94c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | Ex9_16.sce | // chapter 9
// example 9.16
// Find the mobility and density
// page 279
clear;
clc;
//given
RH=3.66E-4; // in m^3/C (Hall coefficient)
rho=8.93E-3; // in ohm-m (resistivity)
e=1.6E-19; // in C (charge of electron)
// calculate
u=RH/rho; // calculation of mobility
n=1/(RH*e); // calculation of density
pri... |
c29220d5ace9eee72b0cf4db3e72e19ead88a801 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH12/EX12.3/Ex12_3.sce | 8593ca45aa0c5964bad54e88284983427d39bf4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,010 | sce | Ex12_3.sce | //Fluid Systems - By Shiv Kumar
//Chapter 12- Reciprocating Pumps
//Example 12.3
//To Calculate The Maximum Speed at which pump may be run and Determine Resultant Suction Head at Begining, Middle and End of the Stroke.
clc
clear
//Given Data:-
D=150; //Diameter of Plunger, mm
L=250; ... |
8f030425e9480396843650e7c5328297438b8ccc | 4014300a072f0492747983563943f01f78a1b16d | /test/unit_test/reports/tst-average.tst | f8fdf88b990120ec0e1542deaf0822399b2e4091 | [
"BSD-3-Clause"
] | permissive | eyasuashenafi/ninja | e351cc90e8c815e018447750cd40fa38796f6c51 | daf739b82e48d3b60c43cf699fbb39f96d9fa27a | refs/heads/master | 2020-12-03T13:50:39.324069 | 2012-09-28T14:23:00 | 2012-09-28T14:23:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 778 | tst | tst-average.tst | description = Test SLA with average and group availability for two hosts
logfile = average.log
global_vars {
start_time = 1199200000
end_time = 1199230000
host_name {
testhost
testhost2
}
}
test 1: using SLA - Group availability {
use_average = 0
correct {
TOTAL_TIME_UP = 20000
TOTAL_TIME_DOWN = 10... |
6671f29d5ada1db586e693be0644ba9742c5df36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH8/EX8.1/ch8_1.sce | bf1f1f58b48bd3df09c4d616959785bd765e975c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,186 | sce | ch8_1.sce | clc;
clear;
printf("\t\t\tChapter8_example1\n\n\n");
// Determination of the heat transferred to the wall.
// air properties at (400+120)/2 =260 degree F = 720 degree R from Appendix Table D1
rou= 0.0551; // density in Ibm/cu.ft
cp=0.2420; // specific heat BTU/(lbm-degree Rankine)
v= 27.88e-5; // viscosity in sq.ft/s... |
e71c9343d02d9515e778bcdedb04da15f071d893 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH9/EX9.10/ex10.sce | 179ab6c1ff69adc03b0357587a3951a728605b24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | WINDOWS-1252 | Scilab | false | false | 1,533 | sce | ex10.sce | //ex10
//Second-Law Analysis of an Otto Cycle
clear
clc
//In Example 9–2, various quantities of interest were given
r=8;//constant ratio
T0=290;//temp in K
T1=290;//temp at state 1 in K
T2=652.4;//temp at state 2 in K
T3=1575.1;//temp at state 3 in K
P2=179.97;//pressure at state 2 in kPa
P3=434.5;//pressur... |
b2a7722282766e25700c5e9ab2605ac823818718 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/penlaur.man.tst | 3374f786e4d72de6dab5fbad55b9d52f3e98456b | [
"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 | 165 | tst | penlaur.man.tst | clear;lines(0);
F=randpencil([],[1,2],[1,2,3],[]);
F=rand(6,6)*F*rand(6,6);[E,A]=pen2ea(F);
[Si,Pi,Di]=penlaur(F);
[Bfs,Bis,chis]=glever(F);
norm(coeff(Bis,1)-Di,1)
|
6f26b870dbb63f64ad2c507d2fd2ccab52638619 | 56847f714caed0d27764326fc9f81778717e6f53 | /projects/05/CPU.tst | b0c014abbaeea414e984a243ab035bb714d1d0ef | [] | no_license | jacindaz/nand2tetris | e4a8ede693bd652d9274302e4bf395657dc69f0e | 7815642eb1daf3bdaac721fdefb064b785386018 | refs/heads/master | 2021-05-15T11:12:37.599273 | 2018-01-31T22:57:52 | 2018-01-31T22:57:52 | 108,289,954 | 0 | 0 | null | 2017-11-05T23:11:14 | 2017-10-25T15:35:15 | Assembly | UTF-8 | Scilab | false | false | 527 | tst | CPU.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/05/CPU.tst
load CPU.hdl,
output-file CPU.out,
compare-to CPU.cmp,
output-list time%S0.4.0 inM%D0.6.0 instruction%B0.16.0 reset%B2.1.2 outM%D1.6.0 writeM%B3... |
d1380e181898e7b0ed627aef2e9871d891a8d355 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH5/EX5.11/5_11.sce | 1956f9941b9564af43c65a856d568d7429081eb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,869 | sce | 5_11.sce | clear;
clc;
printf("\t\t\tExample Number 5.11\n\n\n");
// high speed heat transfer for a flat plate
// Example 5.11 (page no.-257-259)
// solution
L = 0.7;// [m] length of flat plate
W = 1;// [m] width of plate
// flow conditions are
M = 3;
p = 101325/20;// [Pa]
T = -40+273;// [degree celsius]
Tw = 35;/... |
c8d05290d0b4e8b5233a71dd5aaf384e456c7cf3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH4/EX4.7/ex4_7.sce | 3308c6bbcc41aa9c9ca66a7bded123659b346f50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | ex4_7.sce | clc;
clear all;
V = 120000; // Volume of hall in cubic meters
T = 1.5; // Reverberation time
TSA = 25000; // Total absorbing surface area in square meters
A = (0.163*V)/T
TA = A/TSA;//The average absorbing power of the surface
disp('Sabine',TA,'The average absorbing power of the surface is ')
// Slight variatio... |
a8c7dabc8bc308b9168d0a09b0013f8ae34d7177 | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH2/EX2.30/ex_2_30.sce | ae7acf12e929b7043397acf7d6f2b647d125ee24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | ex_2_30.sce | //example 2.30//
//hexadecimal to binary conversion//
clc
//clears the screen//
clear
//clears already existing variables//
x=hex2dec('29FA')
//hexadecimal to decimal conversion//
a=dec2bin(x)
//decimal to binary conversion//
disp('conversion of hexadecimal given no to its binary form is:')
disp(a)
//answer... |
f329606d60eb9f4ad8d25bc6c53bae5dbb56e81e | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH6/EX6.2/exa6_2.sce | b2b2b36f8375c6a8ce7dcf396286aad2aabdba39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | exa6_2.sce | // Example 6-2
// Root Locus
clear; clc;
xdel(winsid()); //close all windows
s = %s;
H = syslin('c',s + 2, s^2 + 2*s + 3);
evans(H,10);
xgrid();
a = gca();
a.box = "on";
a.data_bounds = [-6 -3; 2 3];
a.children(1).visible = 'off';
xtitle('Root locus of G(s) = (s + 2)/ (s^2 + 2*s + 3)');
|
70815dc0924680df2e09d7a3185dcbbe652478f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH12/EX12.8/Ex12_8.sce | 7b619bc41b1652775c866a96ca79571085212a0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_8.sce | //chapter12
//example12.8
//page245
V_CC=20 // V
R_B=100 // kilo ohm
R_C=1 // kilo ohm
V_BE=0.7 // V
gain_beta=100
// we know that R_B=(V_CC-V_BE-gain_beta*R_C*I_B)/I_B so we get
I_B=(V_CC-V_BE)/(R_B+gain_beta*R_C)
I_C=gain_beta*I_B
V_CE=V_CC-I_C*R_C
printf("operating point is %.3f V, %.3f mA \n",... |
db9fd6edfbd598a651172fcc71b04a0c5adefd89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH5/EX5.1.a/Example5_1a.sce | f9d7ec518481c6932baa8616723e38f91ce1516f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example5_1a.sce | clear;
clc;
//Example 1.1
//Caption : Program to find transistor currents for npn transistor.
//Given Values
//Silicon Transistor
B=100; //Beta
Ico=20; //in nA
Rc=3;
Rb=200;
Vbb=5; //in V
Vcc=10; //in V
Vbe=0.7; //in Active region
//Applying KVL to base circuit
//Vbb+Rb*Ib+Vbe=0
Ib=(V... |
520db180cb2344a061b05d86b9bf43bc141a637f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH4/EX4.25/4_25.sce | 9f45f077634f212c565d117ad785134625c1269e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | 4_25.sce | clc
clear
//Initialization of variables
tin=298 //K
tout=273 //K
tout2=308 //K
tin2=294 //K
//calculations
eta1=(tin-tout)/tin
eta2=abs((tin2-tout2)/tin2)
//results
printf("Efficiency in case 1 = %.3f",eta1)
printf("\n efficiency in case 2 = %.3f",eta2)
|
251985e8f3844d497978eea454d4b00fda93ae0e | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.4_11.tst | 04faa9bd4573c2f8b43a08d5f99d1b47646fc081 | [] | 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 | 44,006 | tst | bow.4_11.tst | 4 8:0.045454545454545456 17:0.3333333333333333 28:1.0 81:0.5 206:0.25 268:1.0 402:1.0 488:1.0 761:1.0 762:1.0 880:1.0 990:1.0 1446:0.3333333333333333 1447:1.0 1620:1.0 2088:1.0 2330:1.0 2607:0.5 3090:1.0 3091:1.0 3768:1.0
4 8:0.09090909090909091 14:1.0 31:0.42857142857142855 37:0.1111111111111111 54:0.5 58:0.0909090909... |
4b2006c40a38ee706ec1f00e4f1144aa0cea8a6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH16/EX16.3/16Ex3.sce | 5a2ccc42c992544b71ef556fe9f230a03a0fc59a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 567 | sce | 16Ex3.sce | //chapter 16 Ex 3
clc;
clear;
close;
//let pipes be A and B
t12=12; //time taken by A and B to fill tank together
AB1hour=1/t12; //part filled by both in 1 hour
//Let reservoir be filled by pipe 1 in x hours, thus other in (10+x)hours, thus the equation that is formed is (1/x)+1/(10+x)=1/12; on solving we get... |
c150a0d2a278b2e21efca8f25fa3979c86a7ca67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH15/EX15.4/example15_4.sce | bb347904fa32f6c2cca2dc139cd33e7dd408f38e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 587 | sce | example15_4.sce |
//example 15.4
//calculate the economical depth of cutting for cross section of channel
clc;funcprot(0);
//given
B=5; //bed width
t=2; //top width of banks
h=2.92; //heigth of banks from bed
n=1.5;
//sectional area of digging=sectional area of two banks
//B... |
9f4befa2856b3ccea9a9ef13b8817ce144ad3bae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH6/EX6.6/Ex6_6.sce | 381e1dfcfebf66a953e285cd3649715ff9f1e25d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,028 | sce | Ex6_6.sce | clc
apsilen = 11.9*8.85*10^-14
disp("apsilen = "+string(apsilen)+"F/m") //initializing value of relative permitivity
phi_b = 0.66
disp("schottky barrier heights(in volts) = phi_b= "+string(phi_b)+"eV")//initializing value of schottky barrier heights(in volts)
mo = 9.1*10^-31
disp("mo = "+string(mo)+"kg") //initia... |
476edef4997e681cf11d8b3014cd04813ce43f86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH1/EX1.16/Ex1_16.sce | de46db93f0559b26645f43ae862b89ff0c6c5a69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | Ex1_16.sce | //Ex:1.16
clc;
clear;
close;
r=1000;// distance in m
l=1;// length in m
Irms=5;// current in Amp
f=1;// frequency in MHz
y=300/f;// Wavelength in m
le=(2/%pi)*l;// effective length in m
Erms=(120*%pi*le*Irms)/(y*r);// field strength in V/m
printf("The field strength = %d mV/m", Erms*1000); |
486a8059516a5b1dbbdaea52b45d731e70f98adc | af301357b0dfd5c5ca0825378008dd7924e7d5db | /newtonRaphson1.sci | 5846f92499c7bc12c4d7b5e83bfca49cd1a597c7 | [] | no_license | fonte-nele/Metodos-Numerico-Scilab | c544f1a9951f33708f62bdee38a7cddf7699625b | 62a2be7afb3a1f7901bc5f005500475f52f2caae | refs/heads/master | 2020-06-10T11:31:42.291337 | 2019-07-03T18:10:03 | 2019-07-03T18:10:03 | 193,640,719 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sci | newtonRaphson1.sci | clc; clear;
function y = funcao(valor)
y = (valor^2);//formula da funcao
endfunction
function y2 = derivada(valor)
y2 = (2*valor);//formula da derivada
endfunction
xi = 1;
iter = 0;
while(iter < 10)
x = xi - (funcao(xi) / derivada(xi));
erro = abs(funcao(xi));
iter = iter + 1;
xi = x;
end
disp... |
09ac5a5502efdf3ce198a45c4eea94d20a8b69cb | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/get_dac_info.sci | bee94e7914b7f11abeaca786a5dbf5de67189384 | [
"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 | 6,216 | sci | get_dac_info.sci | function dac_info = get_dac_info(hwid)
c_params_struct = struct(..
"c_number", [],..
"c_range_desc", [],..
"c_range_value", [],..
"c_range", []);
c_params_e1xxx = list();
c_params_e2000 = list();
c_params_e1xxx(1) = struct(..
"c_number", [1;2],..
"c_range_desc", ["0-5... |
81d05c59bfeb6bae5ffe62a28a089f8ceb9da328 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH3/EX3.2/Ex3_2.sce | ef670989757cfffc3e83cd964f0beece09dba88c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_2.sce |
//Exa:3.2
clc;
clear;
close;
//Given:
//V=12*sin(6*10^8*t+5*sin(1250)*t);
//Compairing it with V=A*sin(wc*t+mf*sin(wm)*t);
wc=6*10^8;
wm=1250;
mf=5;
A=12;
R=10;
Vrms=A/sqrt(2);
fc=wc/2/%pi;
fm=wm/2/%pi;
P=Vrms^2/R;
printf("\n Fc = %f MHz",fc/10^6);
printf("\n Fm = %fHz",fm);
printf("\n Power = %fW... |
224f15f721fe051e11678aac3592dc23d558fadf | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/percent/%lns.sci | 63cdcce8aca0e1fcf4c130ca08d7fd9ade929d94 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 33 | sci | %lns.sci | function [r]=%lns(l1,l2)
r=%t
|
e98f7da361bbd268b56a980f1ead1db0ba789773 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH5/EX5.6/5_6.sce | 252c383195d1d9e5289bad8928b712a8e905683e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 825 | sce | 5_6.sce | // Regulation at laggiing leading and unity power factors
clc;
clear;
ol=0.01;// Ohmic loss is 1% of the output
// Output = V*I; Ohmic loss =(I^2)*R
//(I*R)/V = 0.01
rd=0.05; // Reactance drop is 5% of the output voltage
// Power Factors
pf1=0.8;// lag
pf2=1; // unity
pf3=0.8;// lead
deff('y=an... |
d2565063ee9ea8278b422ea730971f634cacb1c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH6/EX6.17/6_17.sce | 25d76b70e61afc8a7c317f9b4959d7f2a711c2d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 126 | sce | 6_17.sce | clc
//initialisation of variables
p= 0.08 //atm
//CALCULATIONS
a= (1-p)/(p+1)
//RESULTS
printf ('fraction = %.2f ',a)
|
d512fb11e6156c561c280def4b5558b52738a1e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH7/EX7.7/Example_7_7.sce | bad21ac0fe8688e418ec4368a3cd315aaf9b2fb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | Example_7_7.sce | //Caption:Chi-square Distribution[Sampling Distributions of Variance]
//Example7.7
//Page210
clear;
clc;
n =20; //sample size
Sig = 81;//variance of mean annual sales of the population in Lakhs
S2 = 125;//Variance of mean annual sales of the population in Lakhs
Df = n-1; //degrees of freedom
X = ((n-1)*S2)/Sig... |
64f8766813110b9c7f283ff26a3fb83615a4aad0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH22/EX22.7/Ex22_7.sce | 2b231af999ca969b25714bc63e07f5e351056384 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,191 | sce | Ex22_7.sce |
function[r,theta]=rect2pol(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
theta=atand(y/x)
endfunction
function[z]=pol2rect(r,theta)
x=r*cos(theta*%pi/180)
y=r*sin(theta*%pi/180)
z=x+y*%i
endfunction
function[r]=mag(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
endfunction
j... |
8da8a12dae0cac9580a81e7fd93c306470a7cc31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH7/EX7.19/Ex7_19.sce | 841a21e91afcc1ca7d705e7e0d1476683535009e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 720 | sce | Ex7_19.sce | // chapter 7 example 8
//-----------------------------------------------------------------------------
clc;
clear;
// given data
S = 5*10^-2; // inter spacing distance
lamda = 6*10^-2; // operating wavelength in cms
phi_Az = 25 // angle in azimuth direction
phi_E = 35 ... |
d82c079099a04559038251c6f7e6f79ab929a587 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH7/EX7.6/Ex7_6.sce | 5a6ce6d191a5d46a95e7c1b8c7905bc45f9a78ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,314 | sce | Ex7_6.sce | // SAMPLE PROBLEM 7/6
clc;funcprot(0);
// Given data
m=70;// The mass of bent plate in kg
omega=30;// rad/s
x_A=0.125;// m
y_A=0.100;// m
x_B=0.075;// m
y_B=.150;// m
d_x=0.0375;// m
d_y=0.125;// m
d_z=0.075;// m
// Calculation
// Part A
m_A=x_A*y_A*m;// kg
m_B=x_B*y_B*m;// kg
I_xxA=((m_A/12)*(y_A^2+x... |
4b83f2b06d210ad46458b93d2ca50bfaee4e51b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.3/Exa_2_3.sce | de3e4c9c95d61fde346eafedace2c2b3778dbfd5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_2_3.sce | //Exa 2.3
clc;
clear;
close;
format('v',7);
//Given Data
WA=20;//KJ
QA=15;//KJ
QB=10;//KJ
U2subU1=QA-WA;//change in internal energy in KJ
disp(U2subU1,"Change in internal energy in KJ : ");
|
9b3dc72f00dbac543c08500a4669c2d5b1e985d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH22/EX22.5/Ex22_5.sce | 282350b05851c29e91f67d82893c688ba0078352 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 668 | sce | Ex22_5.sce |
function[r,theta]=rect2pol(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
theta=atand(y/x)
endfunction
function[z]=pol2rect(r,theta)
x=r*cos(theta*%pi/180)
y=r*sin(theta*%pi/180)
z=x+y*%i
endfunction
j=%i
Pout=10D+3//output of the motor at full load
e=.85//efficiency at full load
P... |
920dcd0f7085f2944706118f1fceabf6c2cf765f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH1/EX1.4/Ex1_4.sce | 3b1200aad4b7b7f3a0f14e2183943119ba762bcd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | Ex1_4.sce |
clear//
//Variable Declaration
d=3*4**-1 //Rivet diameter in inches
t=7*8**-1 //Thickness of the plate in inches
tau=14000 //Shear stress limit in psi
sigma_b=18000 //Normal stress limit in psi
//Calculations
//Design Shear Stress in Rivets
V=tau*(d**2*(%pi/4))*4 //Shear force maximum allowable in lb
//De... |
05b99c7d489e6542f5961a591c2b219eeb9f1859 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH19/EX19.12/Ex19_12.sce | 7d1341b7a046eb884c934dbced3918baf7a2b947 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | Ex19_12.sce | //chapter19
//example19.12
//page424
It=8.93 // A
Ic=8 // A
// we know that (It/Ic)^2=1+m^2/2 so making m as subject we get
m=(2*((It/Ic)^2-1))^0.5
printf("modulation factor = %.3f or %.3f percent \n",m,m*100)
|
4bdfb2e17a444f16ef277ed020b89efa375300a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH6/EX6.5/ex6_5.sce | 9ccb21a73e7591da37675c3ff3a9f6ce84d197ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | ex6_5.sce | // Example 6.5
format('v',5)
clc;
clear;
close;
// given data
R1= 10*10^3;// in Ω
R2= 2.2*10^3;// in Ω
R_C= 3.6*10^3;// in Ω
V_CC= 10;// in V
I_C= 1.1*10^-3;// in A
// The base voltage
V_B= R2*V_CC/(R1+R2);// in V
// The collector voltage
V_C= V_CC-I_C*R_C;// in V
disp(V_B,"The base voltage in V is : "... |
83e070cc692152065c985cf650913d186c243680 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH20/EX20.3/ex20_3.sce | 42a59986fc777478d63b361e774a03e79f3c394f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | ex20_3.sce | clc;
clear all;
H=1E6;//magnetic field intensity in A/m
X=-0.8e-5;//susceptibility
u0 = 4e-7*%pi;
M=X*H;//magnetization in A/m
B=u0*(M+H);//flux density in Wb/m^2;
disp('A/m',M,'magnetization is:')
disp('Wb/m^2',B,'flux density is:')
|
648aac6e2dd783f6bfa238771201810a1e4a2ef7 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.2_10.tst | 529f45aebf057d37019c3a6a5b8c14ad3d3c7a54 | [] | 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 | 3,640 | tst | bow.2_10.tst | 2 14:0.07692307692307693 21:1.0 41:0.09090909090909091 81:0.5 110:0.25 141:0.5 269:1.0 289:1.0 343:1.0 544:1.0 1099:1.0 1212:1.0
2 6:1.0 141:0.5 424:1.0
2 6:3.0 9:0.5 14:0.23076923076923078 16:0.02 21:1.0 27:0.3333333333333333 50:0.23076923076923078 52:1.0 81:0.5 84:0.1111111111111111 90:1.0 91:0.5 126:0.5 268:1.0 286:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.